diff options
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-nsa310.dts')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-nsa310.dts | 111 |
1 files changed, 12 insertions, 99 deletions
diff --git a/arch/arm/boot/dts/kirkwood-nsa310.dts b/arch/arm/boot/dts/kirkwood-nsa310.dts index 69003598f5fa..7aeae0c2c1f4 100644 --- a/arch/arm/boot/dts/kirkwood-nsa310.dts +++ b/arch/arm/boot/dts/kirkwood-nsa310.dts | |||
@@ -1,10 +1,8 @@ | |||
1 | /dts-v1/; | 1 | /dts-v1/; |
2 | 2 | ||
3 | /include/ "kirkwood.dtsi" | 3 | #include "kirkwood-nsa310-common.dtsi" |
4 | /include/ "kirkwood-6281.dtsi" | ||
5 | 4 | ||
6 | / { | 5 | / { |
7 | model = "ZyXEL NSA310"; | ||
8 | compatible = "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | 6 | compatible = "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
9 | 7 | ||
10 | memory { | 8 | memory { |
@@ -16,6 +14,17 @@ | |||
16 | bootargs = "console=ttyS0,115200"; | 14 | bootargs = "console=ttyS0,115200"; |
17 | }; | 15 | }; |
18 | 16 | ||
17 | mbus { | ||
18 | ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>; | ||
19 | pcie-controller { | ||
20 | status = "okay"; | ||
21 | |||
22 | pcie@1,0 { | ||
23 | status = "okay"; | ||
24 | }; | ||
25 | }; | ||
26 | }; | ||
27 | |||
19 | ocp@f1000000 { | 28 | ocp@f1000000 { |
20 | pinctrl: pinctrl@10000 { | 29 | pinctrl: pinctrl@10000 { |
21 | pinctrl-0 = <&pmx_unknown>; | 30 | pinctrl-0 = <&pmx_unknown>; |
@@ -41,11 +50,6 @@ | |||
41 | marvell,function = "gpio"; | 50 | marvell,function = "gpio"; |
42 | }; | 51 | }; |
43 | 52 | ||
44 | pmx_usb_power_off: pmx-usb-power-off { | ||
45 | marvell,pins = "mpp21"; | ||
46 | marvell,function = "gpio"; | ||
47 | }; | ||
48 | |||
49 | pmx_led_sys_green: pmx-led-sys-green { | 53 | pmx_led_sys_green: pmx-led-sys-green { |
50 | marvell,pins = "mpp28"; | 54 | marvell,pins = "mpp28"; |
51 | marvell,function = "gpio"; | 55 | marvell,function = "gpio"; |
@@ -95,20 +99,6 @@ | |||
95 | marvell,pins = "mpp46"; | 99 | marvell,pins = "mpp46"; |
96 | marvell,function = "gpio"; | 100 | marvell,function = "gpio"; |
97 | }; | 101 | }; |
98 | |||
99 | pmx_pwr_off: pmx-pwr-off { | ||
100 | marvell,pins = "mpp48"; | ||
101 | marvell,function = "gpio"; | ||
102 | }; | ||
103 | }; | ||
104 | |||
105 | serial@12000 { | ||
106 | status = "ok"; | ||
107 | }; | ||
108 | |||
109 | sata@80000 { | ||
110 | status = "okay"; | ||
111 | nr-ports = <2>; | ||
112 | }; | 102 | }; |
113 | 103 | ||
114 | i2c@11000 { | 104 | i2c@11000 { |
@@ -119,57 +109,6 @@ | |||
119 | reg = <0x2e>; | 109 | reg = <0x2e>; |
120 | }; | 110 | }; |
121 | }; | 111 | }; |
122 | |||
123 | nand@3000000 { | ||
124 | status = "okay"; | ||
125 | chip-delay = <35>; | ||
126 | |||
127 | partition@0 { | ||
128 | label = "uboot"; | ||
129 | reg = <0x0000000 0x0100000>; | ||
130 | read-only; | ||
131 | }; | ||
132 | partition@100000 { | ||
133 | label = "uboot_env"; | ||
134 | reg = <0x0100000 0x0080000>; | ||
135 | }; | ||
136 | partition@180000 { | ||
137 | label = "key_store"; | ||
138 | reg = <0x0180000 0x0080000>; | ||
139 | }; | ||
140 | partition@200000 { | ||
141 | label = "info"; | ||
142 | reg = <0x0200000 0x0080000>; | ||
143 | }; | ||
144 | partition@280000 { | ||
145 | label = "etc"; | ||
146 | reg = <0x0280000 0x0a00000>; | ||
147 | }; | ||
148 | partition@c80000 { | ||
149 | label = "kernel_1"; | ||
150 | reg = <0x0c80000 0x0a00000>; | ||
151 | }; | ||
152 | partition@1680000 { | ||
153 | label = "rootfs1"; | ||
154 | reg = <0x1680000 0x2fc0000>; | ||
155 | }; | ||
156 | partition@4640000 { | ||
157 | label = "kernel_2"; | ||
158 | reg = <0x4640000 0x0a00000>; | ||
159 | }; | ||
160 | partition@5040000 { | ||
161 | label = "rootfs2"; | ||
162 | reg = <0x5040000 0x2fc0000>; | ||
163 | }; | ||
164 | }; | ||
165 | |||
166 | pcie-controller { | ||
167 | status = "okay"; | ||
168 | |||
169 | pcie@1,0 { | ||
170 | status = "okay"; | ||
171 | }; | ||
172 | }; | ||
173 | }; | 112 | }; |
174 | 113 | ||
175 | gpio_keys { | 114 | gpio_keys { |
@@ -246,30 +185,4 @@ | |||
246 | gpios = <&gpio1 8 0>; | 185 | gpios = <&gpio1 8 0>; |
247 | }; | 186 | }; |
248 | }; | 187 | }; |
249 | |||
250 | gpio_poweroff { | ||
251 | compatible = "gpio-poweroff"; | ||
252 | pinctrl-0 = <&pmx_pwr_off>; | ||
253 | pinctrl-names = "default"; | ||
254 | gpios = <&gpio1 16 0>; | ||
255 | }; | ||
256 | |||
257 | regulators { | ||
258 | compatible = "simple-bus"; | ||
259 | #address-cells = <1>; | ||
260 | #size-cells = <0>; | ||
261 | pinctrl-0 = <&pmx_usb_power_off>; | ||
262 | pinctrl-names = "default"; | ||
263 | |||
264 | usb0_power_off: regulator@1 { | ||
265 | compatible = "regulator-fixed"; | ||
266 | reg = <1>; | ||
267 | regulator-name = "USB Power Off"; | ||
268 | regulator-min-microvolt = <5000000>; | ||
269 | regulator-max-microvolt = <5000000>; | ||
270 | regulator-always-on; | ||
271 | regulator-boot-on; | ||
272 | gpio = <&gpio0 21 0>; | ||
273 | }; | ||
274 | }; | ||
275 | }; | 188 | }; |