Andrew Lunn | 7e0a6b8 | 2014-05-26 21:29:49 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree file for LaCie 5Big Network v2 |
| 3 | * |
| 4 | * Copyright (C) 2014 |
| 5 | * |
| 6 | * Andrew Lunn <andrew@lunn.ch> |
| 7 | * |
| 8 | * Based on netxbig_v2-setup.c, |
| 9 | * Copyright (C) 2010 Simon Guinot <sguinot@lacie.com> |
| 10 | * |
| 11 | * This file is licensed under the terms of the GNU General Public |
| 12 | * License version 2. This program is licensed "as is" without any |
| 13 | * warranty of any kind, whether express or implied. |
| 14 | */ |
| 15 | |
| 16 | /dts-v1/; |
| 17 | |
| 18 | #include "kirkwood.dtsi" |
| 19 | #include "kirkwood-6281.dtsi" |
| 20 | #include "kirkwood-netxbig.dtsi" |
| 21 | |
| 22 | / { |
| 23 | model = "LaCie 5Big Network v2"; |
| 24 | compatible = "lacie,net5big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
| 25 | |
| 26 | memory { |
| 27 | device_type = "memory"; |
| 28 | reg = <0x00000000 0x20000000>; |
| 29 | }; |
| 30 | |
| 31 | }; |
| 32 | |
| 33 | ®ulators { |
| 34 | regulator@3 { |
| 35 | compatible = "regulator-fixed"; |
| 36 | reg = <3>; |
| 37 | regulator-name = "hdd2power"; |
| 38 | regulator-min-microvolt = <5000000>; |
| 39 | regulator-max-microvolt = <5000000>; |
| 40 | enable-active-high; |
| 41 | regulator-always-on; |
| 42 | regulator-boot-on; |
Jason Cooper | d854fa8 | 2014-06-21 19:21:13 +0000 | [diff] [blame^] | 43 | gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | 7e0a6b8 | 2014-05-26 21:29:49 +0200 | [diff] [blame] | 44 | }; |
| 45 | |
| 46 | regulator@4 { |
| 47 | compatible = "regulator-fixed"; |
| 48 | reg = <4>; |
| 49 | regulator-name = "hdd3power"; |
| 50 | regulator-min-microvolt = <5000000>; |
| 51 | regulator-max-microvolt = <5000000>; |
| 52 | enable-active-high; |
| 53 | regulator-always-on; |
| 54 | regulator-boot-on; |
Jason Cooper | d854fa8 | 2014-06-21 19:21:13 +0000 | [diff] [blame^] | 55 | gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | 7e0a6b8 | 2014-05-26 21:29:49 +0200 | [diff] [blame] | 56 | }; |
| 57 | |
| 58 | regulator@5 { |
| 59 | compatible = "regulator-fixed"; |
| 60 | reg = <5>; |
| 61 | regulator-name = "hdd4power"; |
| 62 | regulator-min-microvolt = <5000000>; |
| 63 | regulator-max-microvolt = <5000000>; |
| 64 | enable-active-high; |
| 65 | regulator-always-on; |
| 66 | regulator-boot-on; |
Jason Cooper | d854fa8 | 2014-06-21 19:21:13 +0000 | [diff] [blame^] | 67 | gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | 7e0a6b8 | 2014-05-26 21:29:49 +0200 | [diff] [blame] | 68 | }; |
| 69 | }; |
| 70 | |
| 71 | &mdio { |
| 72 | ethphy1: ethernet-phy@1 { |
| 73 | reg = <0>; |
| 74 | }; |
| 75 | }; |
| 76 | |
| 77 | ð1 { |
| 78 | status = "okay"; |
| 79 | ethernet1-port@0 { |
| 80 | phy-handle = <ðphy1>; |
| 81 | }; |
| 82 | }; |
| 83 | |