blob: 7f2f24a29e6c178d4f5a08c6748e1b093fa21112 [file] [log] [blame]
Gregory CLEMENT69f56892018-03-15 14:40:56 +01001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Gregory CLEMENT4de59082014-02-17 15:23:25 +01002/*
3 * Device Tree Include file for Marvell Armada 375 family SoC
4 *
5 * Copyright (C) 2014 Marvell
6 *
7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gregory CLEMENT4de59082014-02-17 15:23:25 +01009 */
10
Thomas Petazzonif327d43d2014-02-20 12:11:30 +010011#include <dt-bindings/interrupt-controller/arm-gic.h>
Thomas Petazzonid11548e2014-02-20 12:11:31 +010012#include <dt-bindings/interrupt-controller/irq.h>
Gregory CLEMENT623394d2014-11-13 12:47:48 +010013#include <dt-bindings/phy/phy.h>
Gregory CLEMENT4de59082014-02-17 15:23:25 +010014
15#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
16
17/ {
Gregory CLEMENT4b91a212016-11-10 00:50:26 +010018 #address-cells = <1>;
19 #size-cells = <1>;
20
Gregory CLEMENT4de59082014-02-17 15:23:25 +010021 model = "Marvell Armada 375 family SoC";
22 compatible = "marvell,armada375";
23
24 aliases {
25 gpio0 = &gpio0;
26 gpio1 = &gpio1;
27 gpio2 = &gpio2;
Thomas Petazzonibf6acf12015-03-03 15:41:01 +010028 serial0 = &uart0;
29 serial1 = &uart1;
Gregory CLEMENT4de59082014-02-17 15:23:25 +010030 };
31
32 clocks {
Chris Packhamad0de582016-10-26 12:52:42 +130033 /* 1 GHz fixed main PLL */
Gregory CLEMENT4de59082014-02-17 15:23:25 +010034 mainpll: mainpll {
35 compatible = "fixed-clock";
36 #clock-cells = <0>;
Gregory CLEMENTae142bd2015-04-27 08:55:18 +020037 clock-frequency = <1000000000>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +010038 };
Ezequiel Garcia9a27b442014-10-25 11:48:42 -030039 /* 25 MHz reference crystal */
40 refclk: oscillator {
41 compatible = "fixed-clock";
42 #clock-cells = <0>;
43 clock-frequency = <25000000>;
44 };
Gregory CLEMENT4de59082014-02-17 15:23:25 +010045 };
46
47 cpus {
48 #address-cells = <1>;
49 #size-cells = <0>;
Gregory CLEMENT42eae5a2014-04-14 15:54:07 +020050 enable-method = "marvell,armada-375-smp";
51
Gregory CLEMENTe4a07092016-11-09 23:42:22 +010052 cpu0: cpu@0 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +010053 device_type = "cpu";
54 compatible = "arm,cortex-a9";
55 reg = <0>;
56 };
Gregory CLEMENTe4a07092016-11-09 23:42:22 +010057 cpu1: cpu@1 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +010058 device_type = "cpu";
59 compatible = "arm,cortex-a9";
60 reg = <1>;
61 };
62 };
63
Ezequiel Garcia7f592c32015-03-03 11:43:18 +010064 pmu {
65 compatible = "arm,cortex-a9-pmu";
66 interrupts-extended = <&mpic 3>;
67 };
68
Gregory CLEMENT4de59082014-02-17 15:23:25 +010069 soc {
Thomas Petazzonia9e274c2014-12-30 13:43:44 +010070 compatible = "marvell,armada375-mbus", "simple-bus";
Gregory CLEMENT4de59082014-02-17 15:23:25 +010071 #address-cells = <2>;
72 #size-cells = <1>;
73 controller = <&mbusc>;
74 interrupt-parent = <&gic>;
75 pcie-mem-aperture = <0xe0000000 0x8000000>;
76 pcie-io-aperture = <0xe8000000 0x100000>;
77
78 bootrom {
79 compatible = "marvell,bootrom";
80 reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>;
81 };
82
Gregory CLEMENTe4a07092016-11-09 23:42:22 +010083 devbus_bootcs: devbus-bootcs {
Gregory CLEMENT4de59082014-02-17 15:23:25 +010084 compatible = "marvell,mvebu-devbus";
85 reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
86 ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
87 #address-cells = <1>;
88 #size-cells = <1>;
89 clocks = <&coreclk 0>;
90 status = "disabled";
91 };
92
Gregory CLEMENTe4a07092016-11-09 23:42:22 +010093 devbus_cs0: devbus-cs0 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +010094 compatible = "marvell,mvebu-devbus";
95 reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
96 ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
97 #address-cells = <1>;
98 #size-cells = <1>;
99 clocks = <&coreclk 0>;
100 status = "disabled";
101 };
102
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100103 devbus_cs1: devbus-cs1 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100104 compatible = "marvell,mvebu-devbus";
105 reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
106 ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
107 #address-cells = <1>;
108 #size-cells = <1>;
109 clocks = <&coreclk 0>;
110 status = "disabled";
111 };
112
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100113 devbus_cs2: devbus-cs2 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100114 compatible = "marvell,mvebu-devbus";
115 reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
116 ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
117 #address-cells = <1>;
118 #size-cells = <1>;
119 clocks = <&coreclk 0>;
120 status = "disabled";
121 };
122
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100123 devbus_cs3: devbus-cs3 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100124 compatible = "marvell,mvebu-devbus";
125 reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
126 ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
127 #address-cells = <1>;
128 #size-cells = <1>;
129 clocks = <&coreclk 0>;
130 status = "disabled";
131 };
132
133 internal-regs {
134 compatible = "simple-bus";
135 #address-cells = <1>;
136 #size-cells = <1>;
137 ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
138
139 L2: cache-controller@8000 {
140 compatible = "arm,pl310-cache";
141 reg = <0x8000 0x1000>;
142 cache-unified;
143 cache-level = <2>;
Yan Markmancda80a82016-10-16 00:22:32 +0300144 arm,double-linefill-incr = <0>;
Thomas Petazzonic8f5a872015-06-11 13:51:12 +0200145 arm,double-linefill-wrap = <0>;
Yan Markmancda80a82016-10-16 00:22:32 +0300146 arm,double-linefill = <0>;
Thomas Petazzonic8f5a872015-06-11 13:51:12 +0200147 prefetch-data = <1>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100148 };
149
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100150 scu: scu@c000 {
Thomas Petazzoni6a8a57f2014-04-14 15:47:07 +0200151 compatible = "arm,cortex-a9-scu";
152 reg = <0xc000 0x58>;
153 };
154
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100155 timer0: timer@c600 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100156 compatible = "arm,cortex-a9-twd-timer";
157 reg = <0xc600 0x20>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100158 interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100159 clocks = <&coreclk 2>;
160 };
161
162 gic: interrupt-controller@d000 {
163 compatible = "arm,cortex-a9-gic";
164 #interrupt-cells = <3>;
165 #size-cells = <0>;
166 interrupt-controller;
167 reg = <0xd000 0x1000>,
168 <0xc100 0x100>;
169 };
170
Gregory CLEMENT6b152602016-11-10 00:05:33 +0100171 mdio: mdio@c0054 {
Ezequiel Garciaff10e2c2014-07-10 16:52:14 -0300172 #address-cells = <1>;
173 #size-cells = <0>;
174 compatible = "marvell,orion-mdio";
175 reg = <0xc0054 0x4>;
Ezequiel Garcia112dc532014-07-21 13:48:16 -0300176 clocks = <&gateclk 19>;
Ezequiel Garciaff10e2c2014-07-10 16:52:14 -0300177 };
178
179 /* Network controller */
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100180 ethernet: ethernet@f0000 {
Ezequiel Garciaff10e2c2014-07-10 16:52:14 -0300181 compatible = "marvell,armada-375-pp2";
182 reg = <0xf0000 0xa000>, /* Packet Processor regs */
183 <0xc0000 0x3060>, /* LMS regs */
184 <0xc4000 0x100>, /* eth0 regs */
185 <0xc5000 0x100>; /* eth1 regs */
186 clocks = <&gateclk 3>, <&gateclk 19>;
187 clock-names = "pp_clk", "gop_clk";
188 status = "disabled";
189
Gregory CLEMENT2f713282016-11-10 00:58:18 +0100190 eth0: eth0 {
Ezequiel Garciaff10e2c2014-07-10 16:52:14 -0300191 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
192 port-id = <0>;
193 status = "disabled";
194 };
195
Gregory CLEMENT2f713282016-11-10 00:58:18 +0100196 eth1: eth1 {
Ezequiel Garciaff10e2c2014-07-10 16:52:14 -0300197 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
198 port-id = <1>;
199 status = "disabled";
200 };
201 };
202
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100203 rtc: rtc@10300 {
Gregory CLEMENTdd2d62d2014-07-31 16:32:02 +0200204 compatible = "marvell,orion-rtc";
205 reg = <0x10300 0x20>;
206 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
207 };
208
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100209 spi0: spi@10600 {
Gregory CLEMENT2d295922015-05-26 11:44:44 +0200210 compatible = "marvell,armada-375-spi",
211 "marvell,orion-spi";
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100212 reg = <0x10600 0x50>;
213 #address-cells = <1>;
214 #size-cells = <0>;
215 cell-index = <0>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100216 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100217 clocks = <&coreclk 0>;
218 status = "disabled";
219 };
220
221 spi1: spi@10680 {
Gregory CLEMENT2d295922015-05-26 11:44:44 +0200222 compatible = "marvell,armada-375-spi",
223 "marvell,orion-spi";
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100224 reg = <0x10680 0x50>;
225 #address-cells = <1>;
226 #size-cells = <0>;
227 cell-index = <1>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100228 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100229 clocks = <&coreclk 0>;
230 status = "disabled";
231 };
232
233 i2c0: i2c@11000 {
234 compatible = "marvell,mv64xxx-i2c";
235 reg = <0x11000 0x20>;
236 #address-cells = <1>;
237 #size-cells = <0>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100238 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100239 clocks = <&coreclk 0>;
240 status = "disabled";
241 };
242
243 i2c1: i2c@11100 {
244 compatible = "marvell,mv64xxx-i2c";
245 reg = <0x11100 0x20>;
246 #address-cells = <1>;
247 #size-cells = <0>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100248 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100249 clocks = <&coreclk 0>;
250 status = "disabled";
251 };
252
Thomas Petazzoni43e58e92015-03-03 15:40:59 +0100253 uart0: serial@12000 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100254 compatible = "snps,dw-apb-uart";
255 reg = <0x12000 0x100>;
256 reg-shift = <2>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100257 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100258 reg-io-width = <1>;
Thomas Petazzoni64939dc2014-04-18 09:41:46 +0200259 clocks = <&coreclk 0>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100260 status = "disabled";
261 };
262
Thomas Petazzoni43e58e92015-03-03 15:40:59 +0100263 uart1: serial@12100 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100264 compatible = "snps,dw-apb-uart";
265 reg = <0x12100 0x100>;
266 reg-shift = <2>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100267 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100268 reg-io-width = <1>;
Thomas Petazzoni64939dc2014-04-18 09:41:46 +0200269 clocks = <&coreclk 0>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100270 status = "disabled";
271 };
272
Gregory CLEMENT41c2f4e2016-11-10 00:37:21 +0100273 pinctrl: pinctrl@18000 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100274 compatible = "marvell,mv88f6720-pinctrl";
275 reg = <0x18000 0x24>;
276
277 i2c0_pins: i2c0-pins {
278 marvell,pins = "mpp14", "mpp15";
279 marvell,function = "i2c0";
280 };
281
282 i2c1_pins: i2c1-pins {
283 marvell,pins = "mpp61", "mpp62";
284 marvell,function = "i2c1";
285 };
286
287 nand_pins: nand-pins {
288 marvell,pins = "mpp0", "mpp1", "mpp2",
289 "mpp3", "mpp4", "mpp5",
290 "mpp6", "mpp7", "mpp8",
291 "mpp9", "mpp10", "mpp11",
292 "mpp12", "mpp13";
293 marvell,function = "nand";
294 };
295
296 sdio_pins: sdio-pins {
297 marvell,pins = "mpp24", "mpp25", "mpp26",
298 "mpp27", "mpp28", "mpp29";
299 marvell,function = "sd";
300 };
301
302 spi0_pins: spi0-pins {
303 marvell,pins = "mpp0", "mpp1", "mpp4",
304 "mpp5", "mpp8", "mpp9";
305 marvell,function = "spi0";
306 };
307 };
308
309 gpio0: gpio@18100 {
310 compatible = "marvell,orion-gpio";
311 reg = <0x18100 0x40>;
312 ngpios = <32>;
313 gpio-controller;
314 #gpio-cells = <2>;
315 interrupt-controller;
316 #interrupt-cells = <2>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100317 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
318 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
319 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
320 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100321 };
322
323 gpio1: gpio@18140 {
324 compatible = "marvell,orion-gpio";
325 reg = <0x18140 0x40>;
326 ngpios = <32>;
327 gpio-controller;
328 #gpio-cells = <2>;
329 interrupt-controller;
330 #interrupt-cells = <2>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100331 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
332 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
333 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
334 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100335 };
336
337 gpio2: gpio@18180 {
338 compatible = "marvell,orion-gpio";
339 reg = <0x18180 0x40>;
340 ngpios = <3>;
341 gpio-controller;
342 #gpio-cells = <2>;
343 interrupt-controller;
344 #interrupt-cells = <2>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100345 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100346 };
347
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100348 systemc: system-controller@18200 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100349 compatible = "marvell,armada-375-system-controller";
350 reg = <0x18200 0x100>;
351 };
352
353 gateclk: clock-gating-control@18220 {
354 compatible = "marvell,armada-375-gating-clock";
355 reg = <0x18220 0x4>;
356 clocks = <&coreclk 0>;
357 #clock-cells = <1>;
358 };
359
Gregory CLEMENT90eed0e2014-11-13 12:47:47 +0100360 usbcluster: usb-cluster@18400 {
361 compatible = "marvell,armada-375-usb-cluster";
362 reg = <0x18400 0x4>;
363 #phy-cells = <1>;
364 };
365
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100366 mbusc: mbus-controller@20000 {
367 compatible = "marvell,mbus-controller";
368 reg = <0x20000 0x100>, <0x20180 0x20>;
369 };
370
Thomas Petazzoni24c25732015-03-03 15:41:03 +0100371 mpic: interrupt-controller@20a00 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100372 compatible = "marvell,mpic";
373 reg = <0x20a00 0x2d0>, <0x21070 0x58>;
374 #interrupt-cells = <1>;
375 #size-cells = <1>;
376 interrupt-controller;
377 msi-controller;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100378 interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100379 };
380
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100381 timer1: timer@20300 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100382 compatible = "marvell,armada-375-timer", "marvell,armada-370-timer";
383 reg = <0x20300 0x30>, <0x21040 0x30>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100384 interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
385 <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
386 <&gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
387 <&gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100388 <&mpic 5>,
389 <&mpic 6>;
Ezequiel Garcia9a27b442014-10-25 11:48:42 -0300390 clocks = <&coreclk 0>, <&refclk>;
391 clock-names = "nbclk", "fixed";
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100392 };
393
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100394 watchdog: watchdog@20300 {
Ezequiel Garcia13dacc52014-04-14 10:23:31 -0300395 compatible = "marvell,armada-375-wdt";
396 reg = <0x20300 0x34>, <0x20704 0x4>, <0x18254 0x4>;
Ezequiel Garcia9a27b442014-10-25 11:48:42 -0300397 clocks = <&coreclk 0>, <&refclk>;
398 clock-names = "nbclk", "fixed";
Ezequiel Garcia13dacc52014-04-14 10:23:31 -0300399 };
400
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100401 cpurst: cpurst@20800 {
Gregory CLEMENT42eae5a2014-04-14 15:54:07 +0200402 compatible = "marvell,armada-370-cpu-reset";
403 reg = <0x20800 0x10>;
404 };
405
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100406 coherencyfab: coherency-fabric@21010 {
Thomas Petazzoni6a8a57f2014-04-14 15:47:07 +0200407 compatible = "marvell,armada-375-coherency-fabric";
408 reg = <0x21010 0x1c>;
409 };
410
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100411 usb0: usb@50000 {
Gregory CLEMENT57dc7972014-05-15 12:17:42 +0200412 compatible = "marvell,orion-ehci";
413 reg = <0x50000 0x500>;
414 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
415 clocks = <&gateclk 18>;
Gregory CLEMENT623394d2014-11-13 12:47:48 +0100416 phys = <&usbcluster PHY_TYPE_USB2>;
417 phy-names = "usb";
Gregory CLEMENT57dc7972014-05-15 12:17:42 +0200418 status = "disabled";
419 };
420
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100421 usb1: usb@54000 {
Gregory CLEMENT57dc7972014-05-15 12:17:42 +0200422 compatible = "marvell,orion-ehci";
423 reg = <0x54000 0x500>;
424 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
425 clocks = <&gateclk 26>;
426 status = "disabled";
427 };
428
Serge Semin98ac1412020-11-11 12:15:46 +0300429 usb2: usb@58000 {
Gregory CLEMENTe8f99c52014-05-15 12:17:41 +0200430 compatible = "marvell,armada-375-xhci";
431 reg = <0x58000 0x20000>,<0x5b880 0x80>;
432 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
433 clocks = <&gateclk 16>;
Gregory CLEMENT623394d2014-11-13 12:47:48 +0100434 phys = <&usbcluster PHY_TYPE_USB3>;
435 phy-names = "usb";
Gregory CLEMENTe8f99c52014-05-15 12:17:41 +0200436 status = "disabled";
437 };
438
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100439 xor0: xor@60800 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100440 compatible = "marvell,orion-xor";
441 reg = <0x60800 0x100
442 0x60A00 0x100>;
443 clocks = <&gateclk 22>;
444 status = "okay";
445
446 xor00 {
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100447 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100448 dmacap,memcpy;
449 dmacap,xor;
450 };
451 xor01 {
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100452 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100453 dmacap,memcpy;
454 dmacap,xor;
455 dmacap,memset;
456 };
457 };
458
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100459 xor1: xor@60900 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100460 compatible = "marvell,orion-xor";
461 reg = <0x60900 0x100
462 0x60b00 0x100>;
463 clocks = <&gateclk 23>;
464 status = "okay";
465
466 xor10 {
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100467 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100468 dmacap,memcpy;
469 dmacap,xor;
470 };
471 xor11 {
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100472 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100473 dmacap,memcpy;
474 dmacap,xor;
475 dmacap,memset;
476 };
477 };
478
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100479 cesa: crypto@90000 {
Boris Brezillon35e5bb52015-08-18 10:08:56 +0200480 compatible = "marvell,armada-375-crypto";
481 reg = <0x90000 0x10000>;
482 reg-names = "regs";
483 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
484 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
485 clocks = <&gateclk 30>, <&gateclk 31>,
486 <&gateclk 28>, <&gateclk 29>;
487 clock-names = "cesa0", "cesa1",
488 "cesaz0", "cesaz1";
489 marvell,crypto-srams = <&crypto_sram0>,
490 <&crypto_sram1>;
491 marvell,crypto-sram-size = <0x800>;
492 };
493
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100494 sata: sata@a0000 {
Lior Amsalemb3a7f312016-02-10 17:29:15 +0100495 compatible = "marvell,armada-370-sata";
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100496 reg = <0xa0000 0x5000>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100497 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100498 clocks = <&gateclk 14>, <&gateclk 20>;
499 clock-names = "0", "1";
500 status = "disabled";
501 };
502
Miquel Raynalc29a7cc2018-04-25 16:48:00 +0200503 nand_controller: nand-controller@d0000 {
504 compatible = "marvell,armada370-nand-controller";
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100505 reg = <0xd0000 0x54>;
506 #address-cells = <1>;
Miquel Raynalc29a7cc2018-04-25 16:48:00 +0200507 #size-cells = <0>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100508 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100509 clocks = <&gateclk 11>;
510 status = "disabled";
511 };
512
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100513 sdio: mvsdio@d4000 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100514 compatible = "marvell,orion-sdio";
515 reg = <0xd4000 0x200>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100516 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100517 clocks = <&gateclk 17>;
518 bus-width = <4>;
519 cap-sdio-irq;
520 cap-sd-highspeed;
521 cap-mmc-highspeed;
522 status = "disabled";
523 };
524
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100525 thermal: thermal@e8078 {
Ezequiel Garciaf672e482014-04-24 17:23:23 -0300526 compatible = "marvell,armada375-thermal";
527 reg = <0xe8078 0x4>, <0xe807c 0x8>;
528 status = "okay";
529 };
530
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100531 coreclk: mvebu-sar@e8204 {
532 compatible = "marvell,armada-375-core-clock";
533 reg = <0xe8204 0x04>;
534 #clock-cells = <1>;
535 };
536
537 coredivclk: corediv-clock@e8250 {
538 compatible = "marvell,armada-375-corediv-clock";
539 reg = <0xe8250 0xc>;
540 #clock-cells = <1>;
541 clocks = <&mainpll>;
542 clock-output-names = "nand";
543 };
544 };
545
Rob Herring28fbb9c2017-07-26 16:09:37 -0500546 pciec: pcie@82000000 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100547 compatible = "marvell,armada-370-pcie";
548 status = "disabled";
549 device_type = "pci";
550
551 #address-cells = <3>;
552 #size-cells = <2>;
553
554 msi-parent = <&mpic>;
555 bus-range = <0x00 0xff>;
556
557 ranges =
558 <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000
559 0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000
560 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0 MEM */
561 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0 IO */
562 0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 1 MEM */
563 0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 1 IO */>;
564
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100565 pcie0: pcie@1,0 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100566 device_type = "pci";
567 assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
568 reg = <0x0800 0 0 0 0>;
569 #address-cells = <3>;
570 #size-cells = <2>;
571 #interrupt-cells = <1>;
572 ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
573 0x81000000 0 0 0x81000000 0x1 0 1 0>;
Rob Herring28fbb9c2017-07-26 16:09:37 -0500574 bus-range = <0x00 0xff>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100575 interrupt-map-mask = <0 0 0 0>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100576 interrupt-map = <0 0 0 0 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100577 marvell,pcie-port = <0>;
578 marvell,pcie-lane = <0>;
579 clocks = <&gateclk 5>;
580 status = "disabled";
581 };
582
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100583 pcie1: pcie@2,0 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100584 device_type = "pci";
585 assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
586 reg = <0x1000 0 0 0 0>;
587 #address-cells = <3>;
588 #size-cells = <2>;
589 #interrupt-cells = <1>;
590 ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
591 0x81000000 0 0 0x81000000 0x2 0 1 0>;
Rob Herring28fbb9c2017-07-26 16:09:37 -0500592 bus-range = <0x00 0xff>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100593 interrupt-map-mask = <0 0 0 0>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100594 interrupt-map = <0 0 0 0 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100595 marvell,pcie-port = <0>;
596 marvell,pcie-lane = <1>;
597 clocks = <&gateclk 6>;
598 status = "disabled";
599 };
600
601 };
Boris Brezillon35e5bb52015-08-18 10:08:56 +0200602
603 crypto_sram0: sa-sram0 {
604 compatible = "mmio-sram";
605 reg = <MBUS_ID(0x09, 0x09) 0 0x800>;
606 clocks = <&gateclk 30>;
607 #address-cells = <1>;
608 #size-cells = <1>;
609 ranges = <0 MBUS_ID(0x09, 0x09) 0 0x800>;
610 };
611
612 crypto_sram1: sa-sram1 {
613 compatible = "mmio-sram";
614 reg = <MBUS_ID(0x09, 0x05) 0 0x800>;
615 clocks = <&gateclk 31>;
616 #address-cells = <1>;
617 #size-cells = <1>;
618 ranges = <0 MBUS_ID(0x09, 0x05) 0 0x800>;
619 };
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100620 };
621};