]>
Commit | Line | Data |
---|---|---|
80a8b54b SH |
1 | /include/ "skeleton.dtsi" |
2 | ||
eb472c4c SH |
3 | #include <dt-bindings/gpio/gpio.h> |
4 | #include <dt-bindings/interrupt-controller/irq.h> | |
5 | ||
6953af77 SH |
6 | #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16)) |
7 | ||
80a8b54b SH |
8 | / { |
9 | compatible = "marvell,dove"; | |
10 | model = "Marvell Armada 88AP510 SoC"; | |
0ad44659 | 11 | interrupt-parent = <&intc>; |
80a8b54b | 12 | |
9139acd1 SH |
13 | aliases { |
14 | gpio0 = &gpio0; | |
15 | gpio1 = &gpio1; | |
16 | gpio2 = &gpio2; | |
17 | }; | |
18 | ||
2d299834 SH |
19 | cpus { |
20 | #address-cells = <1>; | |
21 | #size-cells = <0>; | |
22 | ||
23 | cpu0: cpu@0 { | |
24 | compatible = "marvell,pj4a", "marvell,sheeva-v7"; | |
25 | device_type = "cpu"; | |
26 | next-level-cache = <&l2>; | |
27 | reg = <0>; | |
28 | }; | |
29 | }; | |
30 | ||
31 | l2: l2-cache { | |
32 | compatible = "marvell,tauros2-cache"; | |
33 | marvell,tauros2-cache-features = <0>; | |
34 | }; | |
35 | ||
7ec7e546 SH |
36 | i2c-mux { |
37 | compatible = "i2c-mux-pinctrl"; | |
38 | #address-cells = <1>; | |
39 | #size-cells = <0>; | |
40 | ||
41 | i2c-parent = <&i2c>; | |
42 | ||
43 | pinctrl-names = "i2c0", "i2c1", "i2c2"; | |
44 | pinctrl-0 = <&pmx_i2cmux_0>; | |
45 | pinctrl-1 = <&pmx_i2cmux_1>; | |
46 | pinctrl-2 = <&pmx_i2cmux_2>; | |
47 | ||
48 | i2c0: i2c@0 { | |
49 | reg = <0>; | |
50 | #address-cells = <1>; | |
51 | #size-cells = <0>; | |
52 | status = "okay"; | |
53 | }; | |
54 | ||
55 | i2c1: i2c@1 { | |
56 | reg = <1>; | |
57 | #address-cells = <1>; | |
58 | #size-cells = <0>; | |
59 | /* Requires pmx_i2c1 on i2c controller node */ | |
60 | status = "disabled"; | |
61 | }; | |
62 | ||
63 | i2c2: i2c@2 { | |
64 | reg = <2>; | |
65 | #address-cells = <1>; | |
66 | #size-cells = <0>; | |
67 | /* Requires pmx_i2c2 on i2c controller node */ | |
68 | status = "disabled"; | |
69 | }; | |
70 | }; | |
71 | ||
960ee4e7 SH |
72 | mbus { |
73 | compatible = "marvell,dove-mbus", "marvell,mbus", "simple-bus"; | |
74 | #address-cells = <2>; | |
75 | #size-cells = <1>; | |
76 | controller = <&mbusc>; | |
77 | pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256M MEM space */ | |
78 | pcie-io-aperture = <0xf2000000 0x00200000>; /* 2M I/O space */ | |
79 | ||
80 | ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x0100000 /* MBUS regs 1M */ | |
81 | MBUS_ID(0xf0, 0x02) 0 0xf1800000 0x1000000 /* AXI regs 16M */ | |
82 | MBUS_ID(0x01, 0xfd) 0 0xf8000000 0x8000000 /* BootROM 128M */ | |
83 | MBUS_ID(0x03, 0x01) 0 0xc8000000 0x0100000 /* CESA SRAM 1M */ | |
84 | MBUS_ID(0x0d, 0x00) 0 0xf0000000 0x0100000>; /* PMU SRAM 1M */ | |
4c3f6b86 | 85 | |
74ecaa40 SH |
86 | pcie: pcie-controller { |
87 | compatible = "marvell,dove-pcie"; | |
88 | status = "disabled"; | |
89 | device_type = "pci"; | |
90 | #address-cells = <3>; | |
91 | #size-cells = <2>; | |
92 | ||
93 | msi-parent = <&intc>; | |
94 | bus-range = <0x00 0xff>; | |
95 | ||
96 | ranges = <0x82000000 0x0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x2000 | |
97 | 0x82000000 0x0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x2000 | |
98 | 0x82000000 0x1 0x0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 Mem */ | |
99 | 0x81000000 0x1 0x0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 I/O */ | |
100 | 0x82000000 0x2 0x0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 Mem */ | |
101 | 0x81000000 0x2 0x0 MBUS_ID(0x08, 0xe0) 0 1 0>; /* Port 1.0 I/O */ | |
102 | ||
83ce82ee | 103 | pcie0: pcie-port@0 { |
74ecaa40 SH |
104 | device_type = "pci"; |
105 | status = "disabled"; | |
106 | assigned-addresses = <0x82000800 0 0x40000 0 0x2000>; | |
107 | reg = <0x0800 0 0 0 0>; | |
108 | clocks = <&gate_clk 4>; | |
109 | marvell,pcie-port = <0>; | |
110 | ||
111 | #address-cells = <3>; | |
112 | #size-cells = <2>; | |
113 | ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0 | |
114 | 0x81000000 0 0 0x81000000 0x1 0 1 0>; | |
115 | ||
116 | #interrupt-cells = <1>; | |
117 | interrupt-map-mask = <0 0 0 0>; | |
118 | interrupt-map = <0 0 0 0 &intc 16>; | |
119 | }; | |
120 | ||
83ce82ee | 121 | pcie1: pcie-port@1 { |
74ecaa40 SH |
122 | device_type = "pci"; |
123 | status = "disabled"; | |
124 | assigned-addresses = <0x82002800 0 0x80000 0 0x2000>; | |
125 | reg = <0x1000 0 0 0 0>; | |
126 | clocks = <&gate_clk 5>; | |
127 | marvell,pcie-port = <1>; | |
128 | ||
129 | #address-cells = <3>; | |
130 | #size-cells = <2>; | |
131 | ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0 | |
132 | 0x81000000 0 0 0x81000000 0x2 0 1 0>; | |
133 | ||
134 | #interrupt-cells = <1>; | |
135 | interrupt-map-mask = <0 0 0 0>; | |
136 | interrupt-map = <0 0 0 0 &intc 18>; | |
137 | }; | |
138 | }; | |
139 | ||
0ad44659 SH |
140 | internal-regs { |
141 | compatible = "simple-bus"; | |
4c3f6b86 | 142 | #address-cells = <1>; |
0ad44659 SH |
143 | #size-cells = <1>; |
144 | ranges = <0x00000000 MBUS_ID(0xf0, 0x01) 0 0x0100000 /* MBUS regs 1M */ | |
145 | 0x00800000 MBUS_ID(0xf0, 0x02) 0 0x1000000 /* AXI regs 16M */ | |
146 | 0xffffe000 MBUS_ID(0x03, 0x01) 0 0x0000800 /* CESA SRAM 2k */ | |
147 | 0xfffff000 MBUS_ID(0x0d, 0x00) 0 0x0000800>; /* PMU SRAM 2k */ | |
148 | ||
b31b3211 JC |
149 | spi0: spi-ctrl@10600 { |
150 | compatible = "marvell,orion-spi"; | |
151 | #address-cells = <1>; | |
152 | #size-cells = <0>; | |
153 | cell-index = <0>; | |
154 | interrupts = <6>; | |
155 | reg = <0x10600 0x28>; | |
0ad44659 | 156 | clocks = <&core_clk 0>; |
b31b3211 JC |
157 | pinctrl-0 = <&pmx_spi0>; |
158 | pinctrl-names = "default"; | |
159 | status = "disabled"; | |
0ad44659 SH |
160 | }; |
161 | ||
7ec7e546 | 162 | i2c: i2c-ctrl@11000 { |
b31b3211 JC |
163 | compatible = "marvell,mv64xxx-i2c"; |
164 | reg = <0x11000 0x20>; | |
165 | #address-cells = <1>; | |
166 | #size-cells = <0>; | |
167 | interrupts = <11>; | |
168 | clock-frequency = <400000>; | |
169 | timeout-ms = <1000>; | |
0ad44659 | 170 | clocks = <&core_clk 0>; |
7ec7e546 | 171 | status = "okay"; |
0ad44659 SH |
172 | }; |
173 | ||
174 | uart0: serial@12000 { | |
175 | compatible = "ns16550a"; | |
176 | reg = <0x12000 0x100>; | |
177 | reg-shift = <2>; | |
178 | interrupts = <7>; | |
179 | clocks = <&core_clk 0>; | |
180 | status = "disabled"; | |
181 | }; | |
182 | ||
183 | uart1: serial@12100 { | |
184 | compatible = "ns16550a"; | |
185 | reg = <0x12100 0x100>; | |
186 | reg-shift = <2>; | |
187 | interrupts = <8>; | |
188 | clocks = <&core_clk 0>; | |
189 | pinctrl-0 = <&pmx_uart1>; | |
190 | pinctrl-names = "default"; | |
191 | status = "disabled"; | |
192 | }; | |
193 | ||
194 | uart2: serial@12200 { | |
195 | compatible = "ns16550a"; | |
a74cd13b | 196 | reg = <0x12200 0x100>; |
0ad44659 SH |
197 | reg-shift = <2>; |
198 | interrupts = <9>; | |
199 | clocks = <&core_clk 0>; | |
200 | status = "disabled"; | |
201 | }; | |
202 | ||
203 | uart3: serial@12300 { | |
204 | compatible = "ns16550a"; | |
a74cd13b | 205 | reg = <0x12300 0x100>; |
0ad44659 SH |
206 | reg-shift = <2>; |
207 | interrupts = <10>; | |
208 | clocks = <&core_clk 0>; | |
209 | status = "disabled"; | |
210 | }; | |
211 | ||
b31b3211 JC |
212 | spi1: spi-ctrl@14600 { |
213 | compatible = "marvell,orion-spi"; | |
214 | #address-cells = <1>; | |
215 | #size-cells = <0>; | |
216 | cell-index = <1>; | |
217 | interrupts = <5>; | |
218 | reg = <0x14600 0x28>; | |
219 | clocks = <&core_clk 0>; | |
220 | status = "disabled"; | |
221 | }; | |
222 | ||
223 | mbusc: mbus-ctrl@20000 { | |
224 | compatible = "marvell,mbus-controller"; | |
225 | reg = <0x20000 0x80>, <0x800100 0x8>; | |
226 | }; | |
227 | ||
a16761ac SH |
228 | sysc: system-ctrl@20000 { |
229 | compatible = "marvell,orion-system-controller"; | |
230 | reg = <0x20000 0x110>; | |
231 | }; | |
232 | ||
b31b3211 JC |
233 | bridge_intc: bridge-interrupt-ctrl@20110 { |
234 | compatible = "marvell,orion-bridge-intc"; | |
0ad44659 | 235 | interrupt-controller; |
b31b3211 JC |
236 | #interrupt-cells = <1>; |
237 | reg = <0x20110 0x8>; | |
238 | interrupts = <0>; | |
239 | marvell,#interrupts = <5>; | |
0ad44659 SH |
240 | }; |
241 | ||
b31b3211 JC |
242 | intc: main-interrupt-ctrl@20200 { |
243 | compatible = "marvell,orion-intc"; | |
0ad44659 | 244 | interrupt-controller; |
b31b3211 JC |
245 | #interrupt-cells = <1>; |
246 | reg = <0x20200 0x10>, <0x20210 0x10>; | |
0ad44659 SH |
247 | }; |
248 | ||
b31b3211 JC |
249 | timer: timer@20300 { |
250 | compatible = "marvell,orion-timer"; | |
251 | reg = <0x20300 0x20>; | |
252 | interrupt-parent = <&bridge_intc>; | |
253 | interrupts = <1>, <2>; | |
254 | clocks = <&core_clk 0>; | |
255 | }; | |
256 | ||
7a5b293f EG |
257 | watchdog@20300 { |
258 | compatible = "marvell,orion-wdt"; | |
259 | reg = <0x20300 0x28>, <0x20108 0x4>; | |
260 | interrupt-parent = <&bridge_intc>; | |
261 | interrupts = <3>; | |
262 | clocks = <&core_clk 0>; | |
263 | }; | |
264 | ||
b31b3211 | 265 | crypto: crypto-engine@30000 { |
9b24a35c | 266 | compatible = "marvell,dove-crypto"; |
eb69e001 BB |
267 | reg = <0x30000 0x10000>; |
268 | reg-names = "regs"; | |
b31b3211 JC |
269 | interrupts = <31>; |
270 | clocks = <&gate_clk 15>; | |
eb69e001 BB |
271 | marvell,crypto-srams = <&crypto_sram>; |
272 | marvell,crypto-sram-size = <0x800>; | |
b31b3211 JC |
273 | status = "okay"; |
274 | }; | |
275 | ||
276 | ehci0: usb-host@50000 { | |
277 | compatible = "marvell,orion-ehci"; | |
278 | reg = <0x50000 0x1000>; | |
279 | interrupts = <24>; | |
280 | clocks = <&gate_clk 0>; | |
281 | status = "okay"; | |
282 | }; | |
283 | ||
284 | ehci1: usb-host@51000 { | |
285 | compatible = "marvell,orion-ehci"; | |
286 | reg = <0x51000 0x1000>; | |
287 | interrupts = <25>; | |
288 | clocks = <&gate_clk 1>; | |
289 | status = "okay"; | |
290 | }; | |
291 | ||
292 | xor0: dma-engine@60800 { | |
293 | compatible = "marvell,orion-xor"; | |
294 | reg = <0x60800 0x100 | |
295 | 0x60a00 0x100>; | |
296 | clocks = <&gate_clk 23>; | |
297 | status = "okay"; | |
298 | ||
299 | channel0 { | |
300 | interrupts = <39>; | |
301 | dmacap,memcpy; | |
302 | dmacap,xor; | |
303 | }; | |
304 | ||
305 | channel1 { | |
306 | interrupts = <40>; | |
307 | dmacap,memcpy; | |
308 | dmacap,xor; | |
309 | }; | |
310 | }; | |
311 | ||
312 | xor1: dma-engine@60900 { | |
313 | compatible = "marvell,orion-xor"; | |
314 | reg = <0x60900 0x100 | |
315 | 0x60b00 0x100>; | |
316 | clocks = <&gate_clk 24>; | |
317 | status = "okay"; | |
318 | ||
319 | channel0 { | |
320 | interrupts = <42>; | |
321 | dmacap,memcpy; | |
322 | dmacap,xor; | |
323 | }; | |
324 | ||
325 | channel1 { | |
326 | interrupts = <43>; | |
327 | dmacap,memcpy; | |
328 | dmacap,xor; | |
329 | }; | |
330 | }; | |
331 | ||
332 | sdio1: sdio-host@90000 { | |
333 | compatible = "marvell,dove-sdhci"; | |
334 | reg = <0x90000 0x100>; | |
335 | interrupts = <36>, <38>; | |
336 | clocks = <&gate_clk 9>; | |
337 | pinctrl-0 = <&pmx_sdio1>; | |
338 | pinctrl-names = "default"; | |
339 | status = "disabled"; | |
340 | }; | |
341 | ||
342 | eth: ethernet-ctrl@72000 { | |
343 | compatible = "marvell,orion-eth"; | |
344 | #address-cells = <1>; | |
345 | #size-cells = <0>; | |
346 | reg = <0x72000 0x4000>; | |
347 | clocks = <&gate_clk 2>; | |
348 | marvell,tx-checksum-limit = <1600>; | |
349 | status = "disabled"; | |
350 | ||
351 | ethernet-port@0 { | |
b31b3211 JC |
352 | compatible = "marvell,orion-eth-port"; |
353 | reg = <0>; | |
354 | interrupts = <29>; | |
355 | /* overwrite MAC address in bootloader */ | |
356 | local-mac-address = [00 00 00 00 00 00]; | |
357 | phy-handle = <ðphy>; | |
358 | }; | |
359 | }; | |
360 | ||
361 | mdio: mdio-bus@72004 { | |
362 | compatible = "marvell,orion-mdio"; | |
363 | #address-cells = <1>; | |
364 | #size-cells = <0>; | |
365 | reg = <0x72004 0x84>; | |
366 | interrupts = <30>; | |
367 | clocks = <&gate_clk 2>; | |
368 | status = "disabled"; | |
369 | ||
370 | ethphy: ethernet-phy { | |
b31b3211 JC |
371 | /* set phy address in board file */ |
372 | }; | |
373 | }; | |
374 | ||
375 | sdio0: sdio-host@92000 { | |
376 | compatible = "marvell,dove-sdhci"; | |
377 | reg = <0x92000 0x100>; | |
378 | interrupts = <35>, <37>; | |
379 | clocks = <&gate_clk 8>; | |
380 | pinctrl-0 = <&pmx_sdio0>; | |
381 | pinctrl-names = "default"; | |
382 | status = "disabled"; | |
383 | }; | |
384 | ||
385 | sata0: sata-host@a0000 { | |
386 | compatible = "marvell,orion-sata"; | |
387 | reg = <0xa0000 0x2400>; | |
388 | interrupts = <62>; | |
389 | clocks = <&gate_clk 3>; | |
0ad82cd8 AL |
390 | phys = <&sata_phy0>; |
391 | phy-names = "port0"; | |
b31b3211 JC |
392 | nr-ports = <1>; |
393 | status = "disabled"; | |
394 | }; | |
395 | ||
0ad82cd8 AL |
396 | sata_phy0: sata-phy@a2000 { |
397 | compatible = "marvell,mvebu-sata-phy"; | |
398 | reg = <0xa2000 0x0334>; | |
399 | clocks = <&gate_clk 3>; | |
400 | clock-names = "sata"; | |
401 | #phy-cells = <0>; | |
402 | status = "ok"; | |
403 | }; | |
404 | ||
b31b3211 JC |
405 | audio0: audio-controller@b0000 { |
406 | compatible = "marvell,dove-audio"; | |
407 | reg = <0xb0000 0x2210>; | |
408 | interrupts = <19>, <20>; | |
409 | clocks = <&gate_clk 12>; | |
410 | clock-names = "internal"; | |
411 | status = "disabled"; | |
412 | }; | |
413 | ||
414 | audio1: audio-controller@b4000 { | |
415 | compatible = "marvell,dove-audio"; | |
416 | reg = <0xb4000 0x2210>; | |
417 | interrupts = <21>, <22>; | |
418 | clocks = <&gate_clk 13>; | |
419 | clock-names = "internal"; | |
420 | status = "disabled"; | |
421 | }; | |
422 | ||
8e7c6a32 RK |
423 | pmu: power-management@d0000 { |
424 | compatible = "marvell,dove-pmu", "simple-bus"; | |
425 | reg = <0xd0000 0x8000>, <0xd8000 0x8000>; | |
426 | ranges = <0x00000000 0x000d0000 0x8000 | |
427 | 0x00008000 0x000d8000 0x8000>; | |
428 | interrupts = <33>; | |
b31b3211 | 429 | interrupt-controller; |
8e7c6a32 RK |
430 | #address-cells = <1>; |
431 | #size-cells = <1>; | |
432 | #interrupt-cells = <1>; | |
433 | #reset-cells = <1>; | |
434 | ||
435 | domains { | |
7c2293f5 RK |
436 | vpu_domain: vpu-domain { |
437 | #power-domain-cells = <0>; | |
438 | marvell,pmu_pwr_mask = <0x00000008>; | |
439 | marvell,pmu_iso_mask = <0x00000001>; | |
440 | resets = <&pmu 16>; | |
441 | }; | |
cba3bbcb RK |
442 | |
443 | gpu_domain: gpu-domain { | |
444 | #power-domain-cells = <0>; | |
445 | marvell,pmu_pwr_mask = <0x00000004>; | |
446 | marvell,pmu_iso_mask = <0x00000002>; | |
447 | resets = <&pmu 18>; | |
448 | }; | |
8e7c6a32 RK |
449 | }; |
450 | ||
451 | thermal: thermal-diode@001c { | |
452 | compatible = "marvell,dove-thermal"; | |
453 | reg = <0x001c 0x0c>, <0x005c 0x08>; | |
454 | }; | |
455 | ||
456 | gate_clk: clock-gating-ctrl@0038 { | |
457 | compatible = "marvell,dove-gating-clock"; | |
458 | reg = <0x0038 0x4>; | |
459 | clocks = <&core_clk 0>; | |
460 | #clock-cells = <1>; | |
461 | }; | |
462 | ||
860a8865 RK |
463 | divider_clk: core-clock@0064 { |
464 | compatible = "marvell,dove-divider-clock"; | |
465 | reg = <0x0064 0x8>; | |
466 | #clock-cells = <1>; | |
467 | }; | |
468 | ||
8e7c6a32 RK |
469 | pinctrl: pin-ctrl@0200 { |
470 | compatible = "marvell,dove-pinctrl"; | |
471 | reg = <0x0200 0x14>, | |
472 | <0x0440 0x04>; | |
473 | clocks = <&gate_clk 22>; | |
474 | ||
475 | pmx_gpio_0: pmx-gpio-0 { | |
476 | marvell,pins = "mpp0"; | |
477 | marvell,function = "gpio"; | |
478 | }; | |
479 | ||
480 | pmx_gpio_1: pmx-gpio-1 { | |
481 | marvell,pins = "mpp1"; | |
482 | marvell,function = "gpio"; | |
483 | }; | |
484 | ||
485 | pmx_gpio_2: pmx-gpio-2 { | |
486 | marvell,pins = "mpp2"; | |
487 | marvell,function = "gpio"; | |
488 | }; | |
489 | ||
490 | pmx_gpio_3: pmx-gpio-3 { | |
491 | marvell,pins = "mpp3"; | |
492 | marvell,function = "gpio"; | |
493 | }; | |
494 | ||
495 | pmx_gpio_4: pmx-gpio-4 { | |
496 | marvell,pins = "mpp4"; | |
497 | marvell,function = "gpio"; | |
498 | }; | |
499 | ||
500 | pmx_gpio_5: pmx-gpio-5 { | |
501 | marvell,pins = "mpp5"; | |
502 | marvell,function = "gpio"; | |
503 | }; | |
504 | ||
505 | pmx_gpio_6: pmx-gpio-6 { | |
506 | marvell,pins = "mpp6"; | |
507 | marvell,function = "gpio"; | |
508 | }; | |
509 | ||
510 | pmx_gpio_7: pmx-gpio-7 { | |
511 | marvell,pins = "mpp7"; | |
512 | marvell,function = "gpio"; | |
513 | }; | |
514 | ||
515 | pmx_gpio_8: pmx-gpio-8 { | |
516 | marvell,pins = "mpp8"; | |
517 | marvell,function = "gpio"; | |
518 | }; | |
519 | ||
520 | pmx_gpio_9: pmx-gpio-9 { | |
521 | marvell,pins = "mpp9"; | |
522 | marvell,function = "gpio"; | |
523 | }; | |
524 | ||
525 | pmx_pcie1_clkreq: pmx-pcie1-clkreq { | |
526 | marvell,pins = "mpp9"; | |
527 | marvell,function = "pex1"; | |
528 | }; | |
529 | ||
530 | pmx_gpio_10: pmx-gpio-10 { | |
531 | marvell,pins = "mpp10"; | |
532 | marvell,function = "gpio"; | |
533 | }; | |
534 | ||
535 | pmx_gpio_11: pmx-gpio-11 { | |
536 | marvell,pins = "mpp11"; | |
537 | marvell,function = "gpio"; | |
538 | }; | |
539 | ||
540 | pmx_pcie0_clkreq: pmx-pcie0-clkreq { | |
541 | marvell,pins = "mpp11"; | |
542 | marvell,function = "pex0"; | |
543 | }; | |
544 | ||
545 | pmx_gpio_12: pmx-gpio-12 { | |
546 | marvell,pins = "mpp12"; | |
547 | marvell,function = "gpio"; | |
548 | }; | |
549 | ||
550 | pmx_gpio_13: pmx-gpio-13 { | |
551 | marvell,pins = "mpp13"; | |
552 | marvell,function = "gpio"; | |
553 | }; | |
554 | ||
555 | pmx_audio1_extclk: pmx-audio1-extclk { | |
556 | marvell,pins = "mpp13"; | |
557 | marvell,function = "audio1"; | |
558 | }; | |
559 | ||
560 | pmx_gpio_14: pmx-gpio-14 { | |
561 | marvell,pins = "mpp14"; | |
562 | marvell,function = "gpio"; | |
563 | }; | |
564 | ||
565 | pmx_gpio_15: pmx-gpio-15 { | |
566 | marvell,pins = "mpp15"; | |
567 | marvell,function = "gpio"; | |
568 | }; | |
569 | ||
570 | pmx_gpio_16: pmx-gpio-16 { | |
571 | marvell,pins = "mpp16"; | |
572 | marvell,function = "gpio"; | |
573 | }; | |
574 | ||
575 | pmx_gpio_17: pmx-gpio-17 { | |
576 | marvell,pins = "mpp17"; | |
577 | marvell,function = "gpio"; | |
578 | }; | |
579 | ||
580 | pmx_gpio_18: pmx-gpio-18 { | |
581 | marvell,pins = "mpp18"; | |
582 | marvell,function = "gpio"; | |
583 | }; | |
584 | ||
585 | pmx_gpio_19: pmx-gpio-19 { | |
586 | marvell,pins = "mpp19"; | |
587 | marvell,function = "gpio"; | |
588 | }; | |
589 | ||
590 | pmx_gpio_20: pmx-gpio-20 { | |
591 | marvell,pins = "mpp20"; | |
592 | marvell,function = "gpio"; | |
593 | }; | |
594 | ||
595 | pmx_gpio_21: pmx-gpio-21 { | |
596 | marvell,pins = "mpp21"; | |
597 | marvell,function = "gpio"; | |
598 | }; | |
599 | ||
600 | pmx_camera: pmx-camera { | |
601 | marvell,pins = "mpp_camera"; | |
602 | marvell,function = "camera"; | |
603 | }; | |
604 | ||
605 | pmx_camera_gpio: pmx-camera-gpio { | |
606 | marvell,pins = "mpp_camera"; | |
607 | marvell,function = "gpio"; | |
608 | }; | |
609 | ||
610 | pmx_sdio0: pmx-sdio0 { | |
611 | marvell,pins = "mpp_sdio0"; | |
612 | marvell,function = "sdio0"; | |
613 | }; | |
614 | ||
615 | pmx_sdio0_gpio: pmx-sdio0-gpio { | |
616 | marvell,pins = "mpp_sdio0"; | |
617 | marvell,function = "gpio"; | |
618 | }; | |
619 | ||
620 | pmx_sdio1: pmx-sdio1 { | |
621 | marvell,pins = "mpp_sdio1"; | |
622 | marvell,function = "sdio1"; | |
623 | }; | |
624 | ||
625 | pmx_sdio1_gpio: pmx-sdio1-gpio { | |
626 | marvell,pins = "mpp_sdio1"; | |
627 | marvell,function = "gpio"; | |
628 | }; | |
629 | ||
630 | pmx_audio1_gpio: pmx-audio1-gpio { | |
631 | marvell,pins = "mpp_audio1"; | |
632 | marvell,function = "gpio"; | |
633 | }; | |
634 | ||
635 | pmx_audio1_i2s1_spdifo: pmx-audio1-i2s1-spdifo { | |
636 | marvell,pins = "mpp_audio1"; | |
637 | marvell,function = "i2s1/spdifo"; | |
638 | }; | |
639 | ||
640 | pmx_spi0: pmx-spi0 { | |
641 | marvell,pins = "mpp_spi0"; | |
642 | marvell,function = "spi0"; | |
643 | }; | |
644 | ||
645 | pmx_spi0_gpio: pmx-spi0-gpio { | |
646 | marvell,pins = "mpp_spi0"; | |
647 | marvell,function = "gpio"; | |
648 | }; | |
649 | ||
650 | pmx_spi1_4_7: pmx-spi1-4-7 { | |
651 | marvell,pins = "mpp4", "mpp5", | |
652 | "mpp6", "mpp7"; | |
653 | marvell,function = "spi1"; | |
654 | }; | |
655 | ||
656 | pmx_spi1_20_23: pmx-spi1-20-23 { | |
657 | marvell,pins = "mpp20", "mpp21", | |
658 | "mpp22", "mpp23"; | |
659 | marvell,function = "spi1"; | |
660 | }; | |
661 | ||
662 | pmx_uart1: pmx-uart1 { | |
663 | marvell,pins = "mpp_uart1"; | |
664 | marvell,function = "uart1"; | |
665 | }; | |
666 | ||
667 | pmx_uart1_gpio: pmx-uart1-gpio { | |
668 | marvell,pins = "mpp_uart1"; | |
669 | marvell,function = "gpio"; | |
670 | }; | |
671 | ||
672 | pmx_nand: pmx-nand { | |
673 | marvell,pins = "mpp_nand"; | |
674 | marvell,function = "nand"; | |
675 | }; | |
676 | ||
677 | pmx_nand_gpo: pmx-nand-gpo { | |
678 | marvell,pins = "mpp_nand"; | |
679 | marvell,function = "gpo"; | |
680 | }; | |
681 | ||
682 | pmx_i2c1: pmx-i2c1 { | |
683 | marvell,pins = "mpp17", "mpp19"; | |
684 | marvell,function = "twsi"; | |
685 | }; | |
686 | ||
687 | pmx_i2c2: pmx-i2c2 { | |
688 | marvell,pins = "mpp_audio1"; | |
689 | marvell,function = "twsi"; | |
690 | }; | |
691 | ||
692 | pmx_ssp_i2c2: pmx-ssp-i2c2 { | |
693 | marvell,pins = "mpp_audio1"; | |
694 | marvell,function = "ssp/twsi"; | |
695 | }; | |
696 | ||
697 | pmx_i2cmux_0: pmx-i2cmux-0 { | |
698 | marvell,pins = "twsi"; | |
699 | marvell,function = "twsi-opt1"; | |
700 | }; | |
701 | ||
702 | pmx_i2cmux_1: pmx-i2cmux-1 { | |
703 | marvell,pins = "twsi"; | |
704 | marvell,function = "twsi-opt2"; | |
705 | }; | |
706 | ||
707 | pmx_i2cmux_2: pmx-i2cmux-2 { | |
708 | marvell,pins = "twsi"; | |
709 | marvell,function = "twsi-opt3"; | |
710 | }; | |
711 | }; | |
712 | ||
713 | core_clk: core-clocks@0214 { | |
714 | compatible = "marvell,dove-core-clock"; | |
715 | reg = <0x0214 0x4>; | |
716 | #clock-cells = <1>; | |
717 | }; | |
718 | ||
719 | gpio0: gpio-ctrl@0400 { | |
720 | compatible = "marvell,orion-gpio"; | |
721 | #gpio-cells = <2>; | |
722 | gpio-controller; | |
723 | reg = <0x0400 0x20>; | |
724 | ngpios = <32>; | |
725 | interrupt-controller; | |
726 | #interrupt-cells = <2>; | |
727 | interrupt-parent = <&intc>; | |
728 | interrupts = <12>, <13>, <14>, <60>; | |
729 | }; | |
730 | ||
731 | gpio1: gpio-ctrl@0420 { | |
732 | compatible = "marvell,orion-gpio"; | |
733 | #gpio-cells = <2>; | |
734 | gpio-controller; | |
735 | reg = <0x0420 0x20>; | |
736 | ngpios = <32>; | |
737 | interrupt-controller; | |
738 | #interrupt-cells = <2>; | |
739 | interrupt-parent = <&intc>; | |
740 | interrupts = <61>; | |
741 | }; | |
742 | ||
743 | rtc: real-time-clock@8500 { | |
744 | compatible = "marvell,orion-rtc"; | |
745 | reg = <0x8500 0x20>; | |
71296a39 | 746 | interrupts = <5>; |
8e7c6a32 | 747 | }; |
0ad44659 SH |
748 | }; |
749 | ||
7a98c18f SH |
750 | gconf: global-config@e802c { |
751 | compatible = "marvell,dove-global-config", | |
752 | "syscon"; | |
753 | reg = <0xe802c 0x14>; | |
754 | }; | |
755 | ||
b31b3211 JC |
756 | gpio2: gpio-ctrl@e8400 { |
757 | compatible = "marvell,orion-gpio"; | |
758 | #gpio-cells = <2>; | |
759 | gpio-controller; | |
760 | reg = <0xe8400 0x0c>; | |
761 | ngpios = <8>; | |
080972aa | 762 | }; |
087b0470 RK |
763 | |
764 | lcd1: lcd-controller@810000 { | |
765 | compatible = "marvell,dove-lcd"; | |
766 | reg = <0x810000 0x1000>; | |
767 | interrupts = <46>; | |
768 | status = "disabled"; | |
769 | }; | |
770 | ||
771 | lcd0: lcd-controller@820000 { | |
772 | compatible = "marvell,dove-lcd"; | |
773 | reg = <0x820000 0x1000>; | |
774 | interrupts = <47>; | |
775 | status = "disabled"; | |
776 | }; | |
eb69e001 BB |
777 | |
778 | crypto_sram: sa-sram@ffffe000 { | |
779 | compatible = "mmio-sram"; | |
780 | reg = <0xffffe000 0x800>; | |
781 | clocks = <&gate_clk 15>; | |
782 | #address-cells = <1>; | |
783 | #size-cells = <1>; | |
784 | }; | |
4c3f6b86 | 785 | }; |
80a8b54b SH |
786 | }; |
787 | }; |