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"; |
| 17 | }; |
| 18 | |
| 19 | ocp@f1000000 { |
Andrew Lunn | 5d183ef | 2012-11-17 17:00:51 +0100 | [diff] [blame] | 20 | pinctrl: pinctrl@10000 { |
Andrew Lunn | 5d183ef | 2012-11-17 17:00:51 +0100 | [diff] [blame] | 21 | pmx_usb_power_enable: pmx-usb-power-enable { |
| 22 | marvell,pins = "mpp29"; |
| 23 | marvell,function = "gpio"; |
| 24 | }; |
| 25 | pmx_led_right_cap_0: pmx-led_right_cap_0 { |
| 26 | marvell,pins = "mpp38"; |
| 27 | marvell,function = "gpio"; |
| 28 | }; |
| 29 | pmx_led_right_cap_1: pmx-led_right_cap_1 { |
| 30 | marvell,pins = "mpp39"; |
| 31 | marvell,function = "gpio"; |
| 32 | }; |
| 33 | pmx_led_right_cap_2: pmx-led_right_cap_2 { |
| 34 | marvell,pins = "mpp40"; |
| 35 | marvell,function = "gpio"; |
| 36 | }; |
| 37 | pmx_led_right_cap_3: pmx-led_right_cap_3 { |
| 38 | marvell,pins = "mpp41"; |
| 39 | marvell,function = "gpio"; |
| 40 | }; |
| 41 | pmx_led_left_cap_0: pmx-led_left_cap_0 { |
| 42 | marvell,pins = "mpp42"; |
| 43 | marvell,function = "gpio"; |
| 44 | }; |
| 45 | pmx_led_left_cap_1: pmx-led_left_cap_1 { |
| 46 | marvell,pins = "mpp43"; |
| 47 | marvell,function = "gpio"; |
| 48 | }; |
| 49 | pmx_led_left_cap_2: pmx-led_left_cap_2 { |
| 50 | marvell,pins = "mpp44"; |
| 51 | marvell,function = "gpio"; |
| 52 | }; |
| 53 | pmx_led_left_cap_3: pmx-led_left_cap_3 { |
| 54 | marvell,pins = "mpp45"; |
| 55 | marvell,function = "gpio"; |
| 56 | }; |
| 57 | pmx_led_green: pmx-led_green { |
| 58 | marvell,pins = "mpp46"; |
| 59 | marvell,function = "gpio"; |
| 60 | }; |
| 61 | pmx_led_orange: pmx-led_orange { |
| 62 | marvell,pins = "mpp47"; |
| 63 | marvell,function = "gpio"; |
| 64 | }; |
| 65 | }; |
Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 66 | serial@12000 { |
Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 67 | status = "ok"; |
| 68 | }; |
| 69 | |
| 70 | nand@3000000 { |
Eric Hutter | 2992714 | 2013-03-18 19:48:56 +0100 | [diff] [blame] | 71 | chip-delay = <40>; |
Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 72 | status = "okay"; |
| 73 | |
| 74 | partition@0 { |
| 75 | label = "u-boot"; |
| 76 | reg = <0x0000000 0x100000>; |
| 77 | read-only; |
| 78 | }; |
| 79 | |
| 80 | partition@100000 { |
| 81 | label = "uImage"; |
| 82 | reg = <0x0100000 0x400000>; |
| 83 | }; |
| 84 | |
| 85 | partition@500000 { |
| 86 | label = "pogoplug"; |
| 87 | reg = <0x0500000 0x2000000>; |
| 88 | }; |
| 89 | |
| 90 | partition@2500000 { |
| 91 | label = "root"; |
| 92 | reg = <0x02500000 0xd800000>; |
| 93 | }; |
| 94 | }; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 95 | sata@80000 { |
| 96 | status = "okay"; |
| 97 | nr-ports = <2>; |
| 98 | }; |
| 99 | |
| 100 | }; |
| 101 | gpio-leds { |
| 102 | compatible = "gpio-leds"; |
Thomas Petazzoni | 7cfbb28 | 2013-05-24 11:44:42 +0200 | [diff] [blame] | 103 | pinctrl-0 = < &pmx_led_orange |
| 104 | &pmx_led_left_cap_0 &pmx_led_left_cap_1 |
| 105 | &pmx_led_left_cap_2 &pmx_led_left_cap_3 |
| 106 | &pmx_led_right_cap_0 &pmx_led_right_cap_1 |
| 107 | &pmx_led_right_cap_2 &pmx_led_right_cap_3 |
| 108 | >; |
| 109 | pinctrl-names = "default"; |
Andrew Lunn | f3af1c7 | 2012-07-17 08:05:27 +0200 | [diff] [blame] | 110 | |
| 111 | health { |
| 112 | label = "status:green:health"; |
| 113 | gpios = <&gpio1 14 1>; |
| 114 | linux,default-trigger = "default-on"; |
| 115 | }; |
| 116 | fault { |
| 117 | label = "status:orange:fault"; |
| 118 | gpios = <&gpio1 15 1>; |
| 119 | }; |
| 120 | left0 { |
| 121 | label = "status:white:left0"; |
| 122 | gpios = <&gpio1 10 0>; |
| 123 | }; |
| 124 | left1 { |
| 125 | label = "status:white:left1"; |
| 126 | gpios = <&gpio1 11 0>; |
| 127 | }; |
| 128 | left2 { |
| 129 | label = "status:white:left2"; |
| 130 | gpios = <&gpio1 12 0>; |
| 131 | }; |
| 132 | left3 { |
| 133 | label = "status:white:left3"; |
| 134 | gpios = <&gpio1 13 0>; |
| 135 | }; |
| 136 | right0 { |
| 137 | label = "status:white:right0"; |
| 138 | gpios = <&gpio1 6 0>; |
| 139 | }; |
| 140 | right1 { |
| 141 | label = "status:white:right1"; |
| 142 | gpios = <&gpio1 7 0>; |
| 143 | }; |
| 144 | right2 { |
| 145 | label = "status:white:right2"; |
| 146 | gpios = <&gpio1 8 0>; |
| 147 | }; |
| 148 | right3 { |
| 149 | label = "status:white:right3"; |
| 150 | gpios = <&gpio1 9 0>; |
| 151 | }; |
Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 152 | }; |
Andrew Lunn | 280b348 | 2012-11-17 15:46:13 +0100 | [diff] [blame] | 153 | regulators { |
| 154 | compatible = "simple-bus"; |
| 155 | #address-cells = <1>; |
| 156 | #size-cells = <0>; |
Thomas Petazzoni | 7cfbb28 | 2013-05-24 11:44:42 +0200 | [diff] [blame] | 157 | pinctrl-0 = <&pmx_usb_power_enable>; |
| 158 | pinctrl-names = "default"; |
Andrew Lunn | 280b348 | 2012-11-17 15:46:13 +0100 | [diff] [blame] | 159 | |
| 160 | usb_power: regulator@1 { |
| 161 | compatible = "regulator-fixed"; |
| 162 | reg = <1>; |
| 163 | regulator-name = "USB Power"; |
| 164 | regulator-min-microvolt = <5000000>; |
| 165 | regulator-max-microvolt = <5000000>; |
| 166 | enable-active-high; |
| 167 | regulator-always-on; |
| 168 | regulator-boot-on; |
| 169 | gpio = <&gpio0 29 0>; |
| 170 | }; |
| 171 | }; |
Josh Coombs | 5136b2a | 2012-07-16 11:52:50 +0200 | [diff] [blame] | 172 | }; |