diff options
-rw-r--r-- | arch/arm/boot/dts/armada-385-linksys.dtsi | 414 |
1 files changed, 206 insertions, 208 deletions
diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi index 2306c45685b1..481e4a36e26b 100644 --- a/arch/arm/boot/dts/armada-385-linksys.dtsi +++ b/arch/arm/boot/dts/armada-385-linksys.dtsi | |||
@@ -61,214 +61,6 @@ | |||
61 | MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000 | 61 | MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000 |
62 | MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000 | 62 | MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000 |
63 | MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>; | 63 | MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>; |
64 | |||
65 | internal-regs { | ||
66 | i2c@11000 { | ||
67 | pinctrl-names = "default"; | ||
68 | pinctrl-0 = <&i2c0_pins>; | ||
69 | status = "okay"; | ||
70 | |||
71 | tmp421@4c { | ||
72 | compatible = "ti,tmp421"; | ||
73 | reg = <0x4c>; | ||
74 | }; | ||
75 | |||
76 | pca9635@68 { | ||
77 | #address-cells = <1>; | ||
78 | #size-cells = <0>; | ||
79 | compatible = "nxp,pca9635"; | ||
80 | reg = <0x68>; | ||
81 | }; | ||
82 | }; | ||
83 | |||
84 | /* J10: VCC, NC, RX, NC, TX, GND */ | ||
85 | serial@12000 { | ||
86 | status = "okay"; | ||
87 | }; | ||
88 | |||
89 | ethernet@70000 { | ||
90 | status = "okay"; | ||
91 | phy-mode = "rgmii-id"; | ||
92 | buffer-manager = <&bm>; | ||
93 | bm,pool-long = <2>; | ||
94 | bm,pool-short = <3>; | ||
95 | fixed-link { | ||
96 | speed = <1000>; | ||
97 | full-duplex; | ||
98 | }; | ||
99 | }; | ||
100 | |||
101 | ethernet@34000 { | ||
102 | status = "okay"; | ||
103 | phy-mode = "sgmii"; | ||
104 | buffer-manager = <&bm>; | ||
105 | bm,pool-long = <0>; | ||
106 | bm,pool-short = <1>; | ||
107 | fixed-link { | ||
108 | speed = <1000>; | ||
109 | full-duplex; | ||
110 | }; | ||
111 | }; | ||
112 | |||
113 | mdio@72004 { | ||
114 | status = "okay"; | ||
115 | |||
116 | switch@0 { | ||
117 | compatible = "marvell,mv88e6085"; | ||
118 | #address-cells = <1>; | ||
119 | #size-cells = <0>; | ||
120 | reg = <0>; | ||
121 | |||
122 | ports { | ||
123 | #address-cells = <1>; | ||
124 | #size-cells = <0>; | ||
125 | |||
126 | port@0 { | ||
127 | reg = <0>; | ||
128 | label = "lan4"; | ||
129 | }; | ||
130 | |||
131 | port@1 { | ||
132 | reg = <1>; | ||
133 | label = "lan3"; | ||
134 | }; | ||
135 | |||
136 | port@2 { | ||
137 | reg = <2>; | ||
138 | label = "lan2"; | ||
139 | }; | ||
140 | |||
141 | port@3 { | ||
142 | reg = <3>; | ||
143 | label = "lan1"; | ||
144 | }; | ||
145 | |||
146 | port@4 { | ||
147 | reg = <4>; | ||
148 | label = "wan"; | ||
149 | }; | ||
150 | |||
151 | port@5 { | ||
152 | reg = <5>; | ||
153 | label = "cpu"; | ||
154 | ethernet = <ð2>; | ||
155 | |||
156 | fixed-link { | ||
157 | speed = <1000>; | ||
158 | full-duplex; | ||
159 | }; | ||
160 | }; | ||
161 | }; | ||
162 | }; | ||
163 | }; | ||
164 | |||
165 | sata@a8000 { | ||
166 | status = "okay"; | ||
167 | }; | ||
168 | |||
169 | bm@c8000 { | ||
170 | status = "okay"; | ||
171 | }; | ||
172 | |||
173 | /* USB part of the eSATA/USB 2.0 port */ | ||
174 | usb@58000 { | ||
175 | status = "okay"; | ||
176 | }; | ||
177 | |||
178 | usb3@f8000 { | ||
179 | status = "okay"; | ||
180 | usb-phy = <&usb3_phy>; | ||
181 | }; | ||
182 | |||
183 | flash@d0000 { | ||
184 | status = "okay"; | ||
185 | num-cs = <1>; | ||
186 | marvell,nand-keep-config; | ||
187 | marvell,nand-enable-arbiter; | ||
188 | nand-on-flash-bbt; | ||
189 | |||
190 | partition@0 { | ||
191 | label = "u-boot"; | ||
192 | reg = <0x0000000 0x200000>; /* 2MB */ | ||
193 | read-only; | ||
194 | }; | ||
195 | |||
196 | partition@100000 { | ||
197 | label = "u_env"; | ||
198 | reg = <0x200000 0x40000>; /* 256KB */ | ||
199 | }; | ||
200 | |||
201 | partition@140000 { | ||
202 | label = "s_env"; | ||
203 | reg = <0x240000 0x40000>; /* 256KB */ | ||
204 | }; | ||
205 | |||
206 | partition@900000 { | ||
207 | label = "devinfo"; | ||
208 | reg = <0x900000 0x100000>; /* 1MB */ | ||
209 | read-only; | ||
210 | }; | ||
211 | |||
212 | /* kernel1 overlaps with rootfs1 by design */ | ||
213 | partition@a00000 { | ||
214 | label = "kernel1"; | ||
215 | reg = <0xa00000 0x2800000>; /* 40MB */ | ||
216 | }; | ||
217 | |||
218 | partition@1000000 { | ||
219 | label = "rootfs1"; | ||
220 | reg = <0x1000000 0x2200000>; /* 34MB */ | ||
221 | }; | ||
222 | |||
223 | /* kernel2 overlaps with rootfs2 by design */ | ||
224 | partition@3200000 { | ||
225 | label = "kernel2"; | ||
226 | reg = <0x3200000 0x2800000>; /* 40MB */ | ||
227 | }; | ||
228 | |||
229 | partition@3800000 { | ||
230 | label = "rootfs2"; | ||
231 | reg = <0x3800000 0x2200000>; /* 34MB */ | ||
232 | }; | ||
233 | |||
234 | /* | ||
235 | * 38MB, last MB is for the BBT, not writable | ||
236 | */ | ||
237 | partition@5a00000 { | ||
238 | label = "syscfg"; | ||
239 | reg = <0x5a00000 0x2600000>; | ||
240 | }; | ||
241 | |||
242 | /* | ||
243 | * Unused area between "s_env" and "devinfo". | ||
244 | * Moved here because otherwise the renumbered | ||
245 | * partitions would break the bootloader | ||
246 | * supplied bootargs | ||
247 | */ | ||
248 | partition@180000 { | ||
249 | label = "unused_area"; | ||
250 | reg = <0x280000 0x680000>; /* 6.5MB */ | ||
251 | }; | ||
252 | }; | ||
253 | }; | ||
254 | |||
255 | bm-bppi { | ||
256 | status = "okay"; | ||
257 | }; | ||
258 | |||
259 | pcie-controller { | ||
260 | status = "okay"; | ||
261 | |||
262 | pcie@1,0 { | ||
263 | /* Marvell 88W8864, 5GHz-only */ | ||
264 | status = "okay"; | ||
265 | }; | ||
266 | |||
267 | pcie@2,0 { | ||
268 | /* Marvell 88W8864, 2GHz-only */ | ||
269 | status = "okay"; | ||
270 | }; | ||
271 | }; | ||
272 | }; | 64 | }; |
273 | 65 | ||
274 | usb3_phy: usb3_phy { | 66 | usb3_phy: usb3_phy { |
@@ -372,6 +164,197 @@ | |||
372 | }; | 164 | }; |
373 | }; | 165 | }; |
374 | 166 | ||
167 | &ahci0 { | ||
168 | status = "okay"; | ||
169 | }; | ||
170 | |||
171 | &bm { | ||
172 | status = "okay"; | ||
173 | }; | ||
174 | |||
175 | &bm_bppi { | ||
176 | status = "okay"; | ||
177 | }; | ||
178 | |||
179 | ð0 { | ||
180 | status = "okay"; | ||
181 | phy-mode = "rgmii-id"; | ||
182 | buffer-manager = <&bm>; | ||
183 | bm,pool-long = <2>; | ||
184 | bm,pool-short = <3>; | ||
185 | fixed-link { | ||
186 | speed = <1000>; | ||
187 | full-duplex; | ||
188 | }; | ||
189 | }; | ||
190 | |||
191 | ð2 { | ||
192 | status = "okay"; | ||
193 | phy-mode = "sgmii"; | ||
194 | buffer-manager = <&bm>; | ||
195 | bm,pool-long = <0>; | ||
196 | bm,pool-short = <1>; | ||
197 | fixed-link { | ||
198 | speed = <1000>; | ||
199 | full-duplex; | ||
200 | }; | ||
201 | }; | ||
202 | |||
203 | &i2c0 { | ||
204 | pinctrl-names = "default"; | ||
205 | pinctrl-0 = <&i2c0_pins>; | ||
206 | status = "okay"; | ||
207 | |||
208 | tmp421@4c { | ||
209 | compatible = "ti,tmp421"; | ||
210 | reg = <0x4c>; | ||
211 | }; | ||
212 | |||
213 | pca9635@68 { | ||
214 | #address-cells = <1>; | ||
215 | #size-cells = <0>; | ||
216 | compatible = "nxp,pca9635"; | ||
217 | reg = <0x68>; | ||
218 | }; | ||
219 | }; | ||
220 | |||
221 | &nand { | ||
222 | status = "okay"; | ||
223 | num-cs = <1>; | ||
224 | marvell,nand-keep-config; | ||
225 | marvell,nand-enable-arbiter; | ||
226 | nand-on-flash-bbt; | ||
227 | |||
228 | partition@0 { | ||
229 | label = "u-boot"; | ||
230 | reg = <0x0000000 0x200000>; /* 2MB */ | ||
231 | read-only; | ||
232 | }; | ||
233 | |||
234 | partition@100000 { | ||
235 | label = "u_env"; | ||
236 | reg = <0x200000 0x40000>; /* 256KB */ | ||
237 | }; | ||
238 | |||
239 | partition@140000 { | ||
240 | label = "s_env"; | ||
241 | reg = <0x240000 0x40000>; /* 256KB */ | ||
242 | }; | ||
243 | |||
244 | partition@900000 { | ||
245 | label = "devinfo"; | ||
246 | reg = <0x900000 0x100000>; /* 1MB */ | ||
247 | read-only; | ||
248 | }; | ||
249 | |||
250 | /* kernel1 overlaps with rootfs1 by design */ | ||
251 | partition@a00000 { | ||
252 | label = "kernel1"; | ||
253 | reg = <0xa00000 0x2800000>; /* 40MB */ | ||
254 | }; | ||
255 | |||
256 | partition@1000000 { | ||
257 | label = "rootfs1"; | ||
258 | reg = <0x1000000 0x2200000>; /* 34MB */ | ||
259 | }; | ||
260 | |||
261 | /* kernel2 overlaps with rootfs2 by design */ | ||
262 | partition@3200000 { | ||
263 | label = "kernel2"; | ||
264 | reg = <0x3200000 0x2800000>; /* 40MB */ | ||
265 | }; | ||
266 | |||
267 | partition@3800000 { | ||
268 | label = "rootfs2"; | ||
269 | reg = <0x3800000 0x2200000>; /* 34MB */ | ||
270 | }; | ||
271 | |||
272 | /* | ||
273 | * 38MB, last MB is for the BBT, not writable | ||
274 | */ | ||
275 | partition@5a00000 { | ||
276 | label = "syscfg"; | ||
277 | reg = <0x5a00000 0x2600000>; | ||
278 | }; | ||
279 | |||
280 | /* | ||
281 | * Unused area between "s_env" and "devinfo". | ||
282 | * Moved here because otherwise the renumbered | ||
283 | * partitions would break the bootloader | ||
284 | * supplied bootargs | ||
285 | */ | ||
286 | partition@180000 { | ||
287 | label = "unused_area"; | ||
288 | reg = <0x280000 0x680000>; /* 6.5MB */ | ||
289 | }; | ||
290 | }; | ||
291 | |||
292 | &mdio { | ||
293 | status = "okay"; | ||
294 | |||
295 | switch@0 { | ||
296 | compatible = "marvell,mv88e6085"; | ||
297 | #address-cells = <1>; | ||
298 | #size-cells = <0>; | ||
299 | reg = <0>; | ||
300 | |||
301 | ports { | ||
302 | #address-cells = <1>; | ||
303 | #size-cells = <0>; | ||
304 | |||
305 | port@0 { | ||
306 | reg = <0>; | ||
307 | label = "lan4"; | ||
308 | }; | ||
309 | |||
310 | port@1 { | ||
311 | reg = <1>; | ||
312 | label = "lan3"; | ||
313 | }; | ||
314 | |||
315 | port@2 { | ||
316 | reg = <2>; | ||
317 | label = "lan2"; | ||
318 | }; | ||
319 | |||
320 | port@3 { | ||
321 | reg = <3>; | ||
322 | label = "lan1"; | ||
323 | }; | ||
324 | |||
325 | port@4 { | ||
326 | reg = <4>; | ||
327 | label = "wan"; | ||
328 | }; | ||
329 | |||
330 | port@5 { | ||
331 | reg = <5>; | ||
332 | label = "cpu"; | ||
333 | ethernet = <ð2>; | ||
334 | |||
335 | fixed-link { | ||
336 | speed = <1000>; | ||
337 | full-duplex; | ||
338 | }; | ||
339 | }; | ||
340 | }; | ||
341 | }; | ||
342 | }; | ||
343 | |||
344 | &pciec { | ||
345 | status = "okay"; | ||
346 | }; | ||
347 | |||
348 | &pcie1 { | ||
349 | /* Marvell 88W8864, 5GHz-only */ | ||
350 | status = "okay"; | ||
351 | }; | ||
352 | |||
353 | &pcie2 { | ||
354 | /* Marvell 88W8864, 2GHz-only */ | ||
355 | status = "okay"; | ||
356 | }; | ||
357 | |||
375 | &pinctrl { | 358 | &pinctrl { |
376 | keys_pin: keys-pin { | 359 | keys_pin: keys-pin { |
377 | marvell,pins = "mpp24", "mpp29"; | 360 | marvell,pins = "mpp24", "mpp29"; |
@@ -397,3 +380,18 @@ | |||
397 | &spi0 { | 380 | &spi0 { |
398 | status = "disabled"; | 381 | status = "disabled"; |
399 | }; | 382 | }; |
383 | |||
384 | &uart0 { | ||
385 | /* J10: VCC, NC, RX, NC, TX, GND */ | ||
386 | status = "okay"; | ||
387 | }; | ||
388 | |||
389 | &usb0 { | ||
390 | /* USB part of the eSATA/USB 2.0 port */ | ||
391 | status = "okay"; | ||
392 | }; | ||
393 | |||
394 | &usb3_1 { | ||
395 | status = "okay"; | ||
396 | usb-phy = <&usb3_phy>; | ||
397 | }; | ||