Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
Ezequiel Garcia | 0ab6129 | 2013-07-26 10:18:02 -0300 | [diff] [blame] | 3 | #include "kirkwood.dtsi" |
| 4 | #include "kirkwood-6281.dtsi" |
Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 5 | |
| 6 | / { |
| 7 | model = "Seagate GoFlex Net"; |
Andrew Lunn | f39c110 | 2012-07-18 19:22:54 +0200 | [diff] [blame] | 8 | compatible = "seagate,goflexnet", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 9 | |
| 10 | memory { |
| 11 | device_type = "memory"; |
| 12 | reg = <0x00000000 0x8000000>; |
| 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10"; |
Sebastian Hesselbarth | ab83361 | 2014-04-30 14:56:30 +0200 | [diff] [blame] | 17 | stdout-path = &uart0; |
Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 18 | }; |
| 19 | |
| 20 | ocp@f1000000 { |
Sebastian Hesselbarth | a948396 | 2014-04-30 14:56:32 +0200 | [diff] [blame] | 21 | pinctrl: pin-controller@10000 { |
Andrew Lunn | 5d183ef | 2012-11-17 17:00:51 +0100 | [diff] [blame] | 22 | pmx_usb_power_enable: pmx-usb-power-enable { |
| 23 | marvell,pins = "mpp29"; |
| 24 | marvell,function = "gpio"; |
| 25 | }; |
| 26 | pmx_led_right_cap_0: pmx-led_right_cap_0 { |
| 27 | marvell,pins = "mpp38"; |
| 28 | marvell,function = "gpio"; |
| 29 | }; |
| 30 | pmx_led_right_cap_1: pmx-led_right_cap_1 { |
| 31 | marvell,pins = "mpp39"; |
| 32 | marvell,function = "gpio"; |
| 33 | }; |
| 34 | pmx_led_right_cap_2: pmx-led_right_cap_2 { |
| 35 | marvell,pins = "mpp40"; |
| 36 | marvell,function = "gpio"; |
| 37 | }; |
| 38 | pmx_led_right_cap_3: pmx-led_right_cap_3 { |
| 39 | marvell,pins = "mpp41"; |
| 40 | marvell,function = "gpio"; |
| 41 | }; |
| 42 | pmx_led_left_cap_0: pmx-led_left_cap_0 { |
| 43 | marvell,pins = "mpp42"; |
| 44 | marvell,function = "gpio"; |
| 45 | }; |
| 46 | pmx_led_left_cap_1: pmx-led_left_cap_1 { |
| 47 | marvell,pins = "mpp43"; |
| 48 | marvell,function = "gpio"; |
| 49 | }; |
| 50 | pmx_led_left_cap_2: pmx-led_left_cap_2 { |
| 51 | marvell,pins = "mpp44"; |
| 52 | marvell,function = "gpio"; |
| 53 | }; |
| 54 | pmx_led_left_cap_3: pmx-led_left_cap_3 { |
| 55 | marvell,pins = "mpp45"; |
| 56 | marvell,function = "gpio"; |
| 57 | }; |
| 58 | pmx_led_green: pmx-led_green { |
| 59 | marvell,pins = "mpp46"; |
| 60 | marvell,function = "gpio"; |
| 61 | }; |
| 62 | pmx_led_orange: pmx-led_orange { |
| 63 | marvell,pins = "mpp47"; |
| 64 | marvell,function = "gpio"; |
| 65 | }; |
| 66 | }; |
Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 67 | serial@12000 { |
Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 68 | status = "ok"; |
| 69 | }; |
| 70 | |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 71 | sata@80000 { |
| 72 | status = "okay"; |
| 73 | nr-ports = <2>; |
| 74 | }; |
| 75 | |
| 76 | }; |
| 77 | gpio-leds { |
| 78 | compatible = "gpio-leds"; |
Thomas Petazzoni | 7cfbb28 | 2013-05-24 11:44:42 +0200 | [diff] [blame] | 79 | pinctrl-0 = < &pmx_led_orange |
| 80 | &pmx_led_left_cap_0 &pmx_led_left_cap_1 |
| 81 | &pmx_led_left_cap_2 &pmx_led_left_cap_3 |
| 82 | &pmx_led_right_cap_0 &pmx_led_right_cap_1 |
| 83 | &pmx_led_right_cap_2 &pmx_led_right_cap_3 |
| 84 | >; |
| 85 | pinctrl-names = "default"; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 86 | |
| 87 | health { |
| 88 | label = "status:green:health"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 89 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
Jason Cooper | dcdf14c | 2013-10-14 17:37:55 +0000 | [diff] [blame] | 90 | default-state = "keep"; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 91 | }; |
| 92 | fault { |
| 93 | label = "status:orange:fault"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 94 | gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 95 | }; |
| 96 | left0 { |
| 97 | label = "status:white:left0"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 98 | gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 99 | }; |
| 100 | left1 { |
| 101 | label = "status:white:left1"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 102 | gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 103 | }; |
| 104 | left2 { |
| 105 | label = "status:white:left2"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 106 | gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 107 | }; |
| 108 | left3 { |
| 109 | label = "status:white:left3"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 110 | gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 111 | }; |
| 112 | right0 { |
| 113 | label = "status:white:right0"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 114 | gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 115 | }; |
| 116 | right1 { |
| 117 | label = "status:white:right1"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 118 | gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 119 | }; |
| 120 | right2 { |
| 121 | label = "status:white:right2"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 122 | gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 123 | }; |
| 124 | right3 { |
| 125 | label = "status:white:right3"; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 126 | gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 127 | }; |
Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 128 | }; |
Andrew Lunn | 280b348 | 2012-11-17 15:46:13 +0100 | [diff] [blame] | 129 | regulators { |
| 130 | compatible = "simple-bus"; |
| 131 | #address-cells = <1>; |
| 132 | #size-cells = <0>; |
Thomas Petazzoni | 7cfbb28 | 2013-05-24 11:44:42 +0200 | [diff] [blame] | 133 | pinctrl-0 = <&pmx_usb_power_enable>; |
| 134 | pinctrl-names = "default"; |
Andrew Lunn | 280b348 | 2012-11-17 15:46:13 +0100 | [diff] [blame] | 135 | |
| 136 | usb_power: regulator@1 { |
| 137 | compatible = "regulator-fixed"; |
| 138 | reg = <1>; |
| 139 | regulator-name = "USB Power"; |
| 140 | regulator-min-microvolt = <5000000>; |
| 141 | regulator-max-microvolt = <5000000>; |
| 142 | enable-active-high; |
| 143 | regulator-always-on; |
| 144 | regulator-boot-on; |
Andrew Lunn | 3a31f2d7 | 2013-12-04 16:51:39 +0100 | [diff] [blame] | 145 | gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; |
Andrew Lunn | 280b348 | 2012-11-17 15:46:13 +0100 | [diff] [blame] | 146 | }; |
| 147 | }; |
Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 148 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 149 | |
Jason Gunthorpe | 7045ff5 | 2013-09-17 12:44:33 -0600 | [diff] [blame] | 150 | &nand { |
| 151 | chip-delay = <40>; |
| 152 | status = "okay"; |
| 153 | |
| 154 | partition@0 { |
| 155 | label = "u-boot"; |
| 156 | reg = <0x0000000 0x100000>; |
| 157 | read-only; |
| 158 | }; |
| 159 | |
| 160 | partition@100000 { |
| 161 | label = "uImage"; |
| 162 | reg = <0x0100000 0x400000>; |
| 163 | }; |
| 164 | |
| 165 | partition@500000 { |
| 166 | label = "pogoplug"; |
| 167 | reg = <0x0500000 0x2000000>; |
| 168 | }; |
| 169 | |
| 170 | partition@2500000 { |
| 171 | label = "root"; |
| 172 | reg = <0x02500000 0xd800000>; |
| 173 | }; |
| 174 | }; |
| 175 | |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 176 | &mdio { |
| 177 | status = "okay"; |
| 178 | |
| 179 | ethphy0: ethernet-phy@0 { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 180 | reg = <0>; |
| 181 | }; |
| 182 | }; |
| 183 | |
| 184 | ð0 { |
| 185 | status = "okay"; |
| 186 | ethernet0-port@0 { |
| 187 | phy-handle = <ðphy0>; |
| 188 | }; |
| 189 | }; |