blob: 7225c7ce9a8dbca5cb909c0c1b55376072c2e263 [file] [log] [blame]
Gregory CLEMENT4de59082014-02-17 15:23:25 +01001/*
2 * Device Tree Include file for Marvell Armada 375 family SoC
3 *
4 * Copyright (C) 2014 Marvell
5 *
6 * Gregory CLEMENT <gregory.clement@free-electrons.com>
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 *
Gregory CLEMENTb89cfa62015-01-26 15:15:54 +01009 * This file is dual-licensed: you can use it either under the terms
10 * of the GPL or the X11 license, at your option. Note that this dual
11 * licensing only applies to this file, and not this project as a
12 * whole.
13 *
14 * a) This file is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License as
16 * published by the Free Software Foundation; either version 2 of the
17 * License, or (at your option) any later version.
18 *
Alexandre Belloni24f0b6f2016-12-27 22:36:42 +010019 * This file is distributed in the hope that it will be useful,
Gregory CLEMENTb89cfa62015-01-26 15:15:54 +010020 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
23 *
Alexandre Belloni24f0b6f2016-12-27 22:36:42 +010024 * Or, alternatively,
Gregory CLEMENTb89cfa62015-01-26 15:15:54 +010025 *
26 * b) Permission is hereby granted, free of charge, to any person
27 * obtaining a copy of this software and associated documentation
28 * files (the "Software"), to deal in the Software without
Alexandre Belloni24f0b6f2016-12-27 22:36:42 +010029 * restriction, including without limitation the rights to use,
Gregory CLEMENTb89cfa62015-01-26 15:15:54 +010030 * copy, modify, merge, publish, distribute, sublicense, and/or
31 * sell copies of the Software, and to permit persons to whom the
32 * Software is furnished to do so, subject to the following
33 * conditions:
34 *
35 * The above copyright notice and this permission notice shall be
36 * included in all copies or substantial portions of the Software.
37 *
Alexandre Belloni24f0b6f2016-12-27 22:36:42 +010038 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
Gregory CLEMENTb89cfa62015-01-26 15:15:54 +010039 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
40 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
Alexandre Belloni24f0b6f2016-12-27 22:36:42 +010042 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
Gregory CLEMENTb89cfa62015-01-26 15:15:54 +010043 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
45 * OTHER DEALINGS IN THE SOFTWARE.
Gregory CLEMENT4de59082014-02-17 15:23:25 +010046 */
47
Thomas Petazzonif327d43d2014-02-20 12:11:30 +010048#include <dt-bindings/interrupt-controller/arm-gic.h>
Thomas Petazzonid11548e2014-02-20 12:11:31 +010049#include <dt-bindings/interrupt-controller/irq.h>
Gregory CLEMENT623394d2014-11-13 12:47:48 +010050#include <dt-bindings/phy/phy.h>
Gregory CLEMENT4de59082014-02-17 15:23:25 +010051
52#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
53
54/ {
Gregory CLEMENT4b91a212016-11-10 00:50:26 +010055 #address-cells = <1>;
56 #size-cells = <1>;
57
Gregory CLEMENT4de59082014-02-17 15:23:25 +010058 model = "Marvell Armada 375 family SoC";
59 compatible = "marvell,armada375";
60
61 aliases {
62 gpio0 = &gpio0;
63 gpio1 = &gpio1;
64 gpio2 = &gpio2;
Thomas Petazzonibf6acf12015-03-03 15:41:01 +010065 serial0 = &uart0;
66 serial1 = &uart1;
Gregory CLEMENT4de59082014-02-17 15:23:25 +010067 };
68
69 clocks {
Chris Packhamad0de582016-10-26 12:52:42 +130070 /* 1 GHz fixed main PLL */
Gregory CLEMENT4de59082014-02-17 15:23:25 +010071 mainpll: mainpll {
72 compatible = "fixed-clock";
73 #clock-cells = <0>;
Gregory CLEMENTae142bd2015-04-27 08:55:18 +020074 clock-frequency = <1000000000>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +010075 };
Ezequiel Garcia9a27b442014-10-25 11:48:42 -030076 /* 25 MHz reference crystal */
77 refclk: oscillator {
78 compatible = "fixed-clock";
79 #clock-cells = <0>;
80 clock-frequency = <25000000>;
81 };
Gregory CLEMENT4de59082014-02-17 15:23:25 +010082 };
83
84 cpus {
85 #address-cells = <1>;
86 #size-cells = <0>;
Gregory CLEMENT42eae5a2014-04-14 15:54:07 +020087 enable-method = "marvell,armada-375-smp";
88
Gregory CLEMENTe4a07092016-11-09 23:42:22 +010089 cpu0: cpu@0 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +010090 device_type = "cpu";
91 compatible = "arm,cortex-a9";
92 reg = <0>;
93 };
Gregory CLEMENTe4a07092016-11-09 23:42:22 +010094 cpu1: cpu@1 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +010095 device_type = "cpu";
96 compatible = "arm,cortex-a9";
97 reg = <1>;
98 };
99 };
100
Ezequiel Garcia7f592c32015-03-03 11:43:18 +0100101 pmu {
102 compatible = "arm,cortex-a9-pmu";
103 interrupts-extended = <&mpic 3>;
104 };
105
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100106 soc {
Thomas Petazzonia9e274c2014-12-30 13:43:44 +0100107 compatible = "marvell,armada375-mbus", "simple-bus";
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100108 #address-cells = <2>;
109 #size-cells = <1>;
110 controller = <&mbusc>;
111 interrupt-parent = <&gic>;
112 pcie-mem-aperture = <0xe0000000 0x8000000>;
113 pcie-io-aperture = <0xe8000000 0x100000>;
114
115 bootrom {
116 compatible = "marvell,bootrom";
117 reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>;
118 };
119
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100120 devbus_bootcs: devbus-bootcs {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100121 compatible = "marvell,mvebu-devbus";
122 reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
123 ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
124 #address-cells = <1>;
125 #size-cells = <1>;
126 clocks = <&coreclk 0>;
127 status = "disabled";
128 };
129
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100130 devbus_cs0: devbus-cs0 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100131 compatible = "marvell,mvebu-devbus";
132 reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
133 ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
134 #address-cells = <1>;
135 #size-cells = <1>;
136 clocks = <&coreclk 0>;
137 status = "disabled";
138 };
139
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100140 devbus_cs1: devbus-cs1 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100141 compatible = "marvell,mvebu-devbus";
142 reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
143 ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
144 #address-cells = <1>;
145 #size-cells = <1>;
146 clocks = <&coreclk 0>;
147 status = "disabled";
148 };
149
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100150 devbus_cs2: devbus-cs2 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100151 compatible = "marvell,mvebu-devbus";
152 reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
153 ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
154 #address-cells = <1>;
155 #size-cells = <1>;
156 clocks = <&coreclk 0>;
157 status = "disabled";
158 };
159
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100160 devbus_cs3: devbus-cs3 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100161 compatible = "marvell,mvebu-devbus";
162 reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
163 ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
164 #address-cells = <1>;
165 #size-cells = <1>;
166 clocks = <&coreclk 0>;
167 status = "disabled";
168 };
169
170 internal-regs {
171 compatible = "simple-bus";
172 #address-cells = <1>;
173 #size-cells = <1>;
174 ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
175
176 L2: cache-controller@8000 {
177 compatible = "arm,pl310-cache";
178 reg = <0x8000 0x1000>;
179 cache-unified;
180 cache-level = <2>;
Thomas Petazzonic8f5a872015-06-11 13:51:12 +0200181 arm,double-linefill-incr = <1>;
182 arm,double-linefill-wrap = <0>;
183 arm,double-linefill = <1>;
184 prefetch-data = <1>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100185 };
186
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100187 scu: scu@c000 {
Thomas Petazzoni6a8a57f2014-04-14 15:47:07 +0200188 compatible = "arm,cortex-a9-scu";
189 reg = <0xc000 0x58>;
190 };
191
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100192 timer0: timer@c600 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100193 compatible = "arm,cortex-a9-twd-timer";
194 reg = <0xc600 0x20>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100195 interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100196 clocks = <&coreclk 2>;
197 };
198
199 gic: interrupt-controller@d000 {
200 compatible = "arm,cortex-a9-gic";
201 #interrupt-cells = <3>;
202 #size-cells = <0>;
203 interrupt-controller;
204 reg = <0xd000 0x1000>,
205 <0xc100 0x100>;
206 };
207
Gregory CLEMENT6b152602016-11-10 00:05:33 +0100208 mdio: mdio@c0054 {
Ezequiel Garciaff10e2c2014-07-10 16:52:14 -0300209 #address-cells = <1>;
210 #size-cells = <0>;
211 compatible = "marvell,orion-mdio";
212 reg = <0xc0054 0x4>;
Ezequiel Garcia112dc532014-07-21 13:48:16 -0300213 clocks = <&gateclk 19>;
Ezequiel Garciaff10e2c2014-07-10 16:52:14 -0300214 };
215
216 /* Network controller */
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100217 ethernet: ethernet@f0000 {
Ezequiel Garciaff10e2c2014-07-10 16:52:14 -0300218 compatible = "marvell,armada-375-pp2";
219 reg = <0xf0000 0xa000>, /* Packet Processor regs */
220 <0xc0000 0x3060>, /* LMS regs */
221 <0xc4000 0x100>, /* eth0 regs */
222 <0xc5000 0x100>; /* eth1 regs */
223 clocks = <&gateclk 3>, <&gateclk 19>;
224 clock-names = "pp_clk", "gop_clk";
225 status = "disabled";
226
Gregory CLEMENT2f713282016-11-10 00:58:18 +0100227 eth0: eth0 {
Ezequiel Garciaff10e2c2014-07-10 16:52:14 -0300228 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
229 port-id = <0>;
230 status = "disabled";
231 };
232
Gregory CLEMENT2f713282016-11-10 00:58:18 +0100233 eth1: eth1 {
Ezequiel Garciaff10e2c2014-07-10 16:52:14 -0300234 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
235 port-id = <1>;
236 status = "disabled";
237 };
238 };
239
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100240 rtc: rtc@10300 {
Gregory CLEMENTdd2d62d2014-07-31 16:32:02 +0200241 compatible = "marvell,orion-rtc";
242 reg = <0x10300 0x20>;
243 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
244 };
245
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100246 spi0: spi@10600 {
Gregory CLEMENT2d295922015-05-26 11:44:44 +0200247 compatible = "marvell,armada-375-spi",
248 "marvell,orion-spi";
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100249 reg = <0x10600 0x50>;
250 #address-cells = <1>;
251 #size-cells = <0>;
252 cell-index = <0>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100253 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100254 clocks = <&coreclk 0>;
255 status = "disabled";
256 };
257
258 spi1: spi@10680 {
Gregory CLEMENT2d295922015-05-26 11:44:44 +0200259 compatible = "marvell,armada-375-spi",
260 "marvell,orion-spi";
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100261 reg = <0x10680 0x50>;
262 #address-cells = <1>;
263 #size-cells = <0>;
264 cell-index = <1>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100265 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100266 clocks = <&coreclk 0>;
267 status = "disabled";
268 };
269
270 i2c0: i2c@11000 {
271 compatible = "marvell,mv64xxx-i2c";
272 reg = <0x11000 0x20>;
273 #address-cells = <1>;
274 #size-cells = <0>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100275 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100276 timeout-ms = <1000>;
277 clocks = <&coreclk 0>;
278 status = "disabled";
279 };
280
281 i2c1: i2c@11100 {
282 compatible = "marvell,mv64xxx-i2c";
283 reg = <0x11100 0x20>;
284 #address-cells = <1>;
285 #size-cells = <0>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100286 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100287 timeout-ms = <1000>;
288 clocks = <&coreclk 0>;
289 status = "disabled";
290 };
291
Thomas Petazzoni43e58e92015-03-03 15:40:59 +0100292 uart0: serial@12000 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100293 compatible = "snps,dw-apb-uart";
294 reg = <0x12000 0x100>;
295 reg-shift = <2>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100296 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100297 reg-io-width = <1>;
Thomas Petazzoni64939dc2014-04-18 09:41:46 +0200298 clocks = <&coreclk 0>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100299 status = "disabled";
300 };
301
Thomas Petazzoni43e58e92015-03-03 15:40:59 +0100302 uart1: serial@12100 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100303 compatible = "snps,dw-apb-uart";
304 reg = <0x12100 0x100>;
305 reg-shift = <2>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100306 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100307 reg-io-width = <1>;
Thomas Petazzoni64939dc2014-04-18 09:41:46 +0200308 clocks = <&coreclk 0>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100309 status = "disabled";
310 };
311
Gregory CLEMENT41c2f4e2016-11-10 00:37:21 +0100312 pinctrl: pinctrl@18000 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100313 compatible = "marvell,mv88f6720-pinctrl";
314 reg = <0x18000 0x24>;
315
316 i2c0_pins: i2c0-pins {
317 marvell,pins = "mpp14", "mpp15";
318 marvell,function = "i2c0";
319 };
320
321 i2c1_pins: i2c1-pins {
322 marvell,pins = "mpp61", "mpp62";
323 marvell,function = "i2c1";
324 };
325
326 nand_pins: nand-pins {
327 marvell,pins = "mpp0", "mpp1", "mpp2",
328 "mpp3", "mpp4", "mpp5",
329 "mpp6", "mpp7", "mpp8",
330 "mpp9", "mpp10", "mpp11",
331 "mpp12", "mpp13";
332 marvell,function = "nand";
333 };
334
335 sdio_pins: sdio-pins {
336 marvell,pins = "mpp24", "mpp25", "mpp26",
337 "mpp27", "mpp28", "mpp29";
338 marvell,function = "sd";
339 };
340
341 spi0_pins: spi0-pins {
342 marvell,pins = "mpp0", "mpp1", "mpp4",
343 "mpp5", "mpp8", "mpp9";
344 marvell,function = "spi0";
345 };
346 };
347
348 gpio0: gpio@18100 {
349 compatible = "marvell,orion-gpio";
350 reg = <0x18100 0x40>;
351 ngpios = <32>;
352 gpio-controller;
353 #gpio-cells = <2>;
354 interrupt-controller;
355 #interrupt-cells = <2>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100356 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
357 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
358 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
359 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100360 };
361
362 gpio1: gpio@18140 {
363 compatible = "marvell,orion-gpio";
364 reg = <0x18140 0x40>;
365 ngpios = <32>;
366 gpio-controller;
367 #gpio-cells = <2>;
368 interrupt-controller;
369 #interrupt-cells = <2>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100370 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
371 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
372 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
373 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100374 };
375
376 gpio2: gpio@18180 {
377 compatible = "marvell,orion-gpio";
378 reg = <0x18180 0x40>;
379 ngpios = <3>;
380 gpio-controller;
381 #gpio-cells = <2>;
382 interrupt-controller;
383 #interrupt-cells = <2>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100384 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100385 };
386
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100387 systemc: system-controller@18200 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100388 compatible = "marvell,armada-375-system-controller";
389 reg = <0x18200 0x100>;
390 };
391
392 gateclk: clock-gating-control@18220 {
393 compatible = "marvell,armada-375-gating-clock";
394 reg = <0x18220 0x4>;
395 clocks = <&coreclk 0>;
396 #clock-cells = <1>;
397 };
398
Gregory CLEMENT90eed0e2014-11-13 12:47:47 +0100399 usbcluster: usb-cluster@18400 {
400 compatible = "marvell,armada-375-usb-cluster";
401 reg = <0x18400 0x4>;
402 #phy-cells = <1>;
403 };
404
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100405 mbusc: mbus-controller@20000 {
406 compatible = "marvell,mbus-controller";
407 reg = <0x20000 0x100>, <0x20180 0x20>;
408 };
409
Thomas Petazzoni24c25732015-03-03 15:41:03 +0100410 mpic: interrupt-controller@20a00 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100411 compatible = "marvell,mpic";
412 reg = <0x20a00 0x2d0>, <0x21070 0x58>;
413 #interrupt-cells = <1>;
414 #size-cells = <1>;
415 interrupt-controller;
416 msi-controller;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100417 interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100418 };
419
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100420 timer1: timer@20300 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100421 compatible = "marvell,armada-375-timer", "marvell,armada-370-timer";
422 reg = <0x20300 0x30>, <0x21040 0x30>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100423 interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
424 <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
425 <&gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
426 <&gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100427 <&mpic 5>,
428 <&mpic 6>;
Ezequiel Garcia9a27b442014-10-25 11:48:42 -0300429 clocks = <&coreclk 0>, <&refclk>;
430 clock-names = "nbclk", "fixed";
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100431 };
432
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100433 watchdog: watchdog@20300 {
Ezequiel Garcia13dacc52014-04-14 10:23:31 -0300434 compatible = "marvell,armada-375-wdt";
435 reg = <0x20300 0x34>, <0x20704 0x4>, <0x18254 0x4>;
Ezequiel Garcia9a27b442014-10-25 11:48:42 -0300436 clocks = <&coreclk 0>, <&refclk>;
437 clock-names = "nbclk", "fixed";
Ezequiel Garcia13dacc52014-04-14 10:23:31 -0300438 };
439
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100440 cpurst: cpurst@20800 {
Gregory CLEMENT42eae5a2014-04-14 15:54:07 +0200441 compatible = "marvell,armada-370-cpu-reset";
442 reg = <0x20800 0x10>;
443 };
444
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100445 coherencyfab: coherency-fabric@21010 {
Thomas Petazzoni6a8a57f2014-04-14 15:47:07 +0200446 compatible = "marvell,armada-375-coherency-fabric";
447 reg = <0x21010 0x1c>;
448 };
449
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100450 usb0: usb@50000 {
Gregory CLEMENT57dc7972014-05-15 12:17:42 +0200451 compatible = "marvell,orion-ehci";
452 reg = <0x50000 0x500>;
453 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
454 clocks = <&gateclk 18>;
Gregory CLEMENT623394d2014-11-13 12:47:48 +0100455 phys = <&usbcluster PHY_TYPE_USB2>;
456 phy-names = "usb";
Gregory CLEMENT57dc7972014-05-15 12:17:42 +0200457 status = "disabled";
458 };
459
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100460 usb1: usb@54000 {
Gregory CLEMENT57dc7972014-05-15 12:17:42 +0200461 compatible = "marvell,orion-ehci";
462 reg = <0x54000 0x500>;
463 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
464 clocks = <&gateclk 26>;
465 status = "disabled";
466 };
467
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100468 usb2: usb3@58000 {
Gregory CLEMENTe8f99c52014-05-15 12:17:41 +0200469 compatible = "marvell,armada-375-xhci";
470 reg = <0x58000 0x20000>,<0x5b880 0x80>;
471 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
472 clocks = <&gateclk 16>;
Gregory CLEMENT623394d2014-11-13 12:47:48 +0100473 phys = <&usbcluster PHY_TYPE_USB3>;
474 phy-names = "usb";
Gregory CLEMENTe8f99c52014-05-15 12:17:41 +0200475 status = "disabled";
476 };
477
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100478 xor0: xor@60800 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100479 compatible = "marvell,orion-xor";
480 reg = <0x60800 0x100
481 0x60A00 0x100>;
482 clocks = <&gateclk 22>;
483 status = "okay";
484
485 xor00 {
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100486 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100487 dmacap,memcpy;
488 dmacap,xor;
489 };
490 xor01 {
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100491 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100492 dmacap,memcpy;
493 dmacap,xor;
494 dmacap,memset;
495 };
496 };
497
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100498 xor1: xor@60900 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100499 compatible = "marvell,orion-xor";
500 reg = <0x60900 0x100
501 0x60b00 0x100>;
502 clocks = <&gateclk 23>;
503 status = "okay";
504
505 xor10 {
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100506 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100507 dmacap,memcpy;
508 dmacap,xor;
509 };
510 xor11 {
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100511 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100512 dmacap,memcpy;
513 dmacap,xor;
514 dmacap,memset;
515 };
516 };
517
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100518 cesa: crypto@90000 {
Boris Brezillon35e5bb52015-08-18 10:08:56 +0200519 compatible = "marvell,armada-375-crypto";
520 reg = <0x90000 0x10000>;
521 reg-names = "regs";
522 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
523 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
524 clocks = <&gateclk 30>, <&gateclk 31>,
525 <&gateclk 28>, <&gateclk 29>;
526 clock-names = "cesa0", "cesa1",
527 "cesaz0", "cesaz1";
528 marvell,crypto-srams = <&crypto_sram0>,
529 <&crypto_sram1>;
530 marvell,crypto-sram-size = <0x800>;
531 };
532
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100533 sata: sata@a0000 {
Lior Amsalemb3a7f312016-02-10 17:29:15 +0100534 compatible = "marvell,armada-370-sata";
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100535 reg = <0xa0000 0x5000>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100536 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100537 clocks = <&gateclk 14>, <&gateclk 20>;
538 clock-names = "0", "1";
539 status = "disabled";
540 };
541
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100542 nand: nand@d0000 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100543 compatible = "marvell,armada370-nand";
544 reg = <0xd0000 0x54>;
545 #address-cells = <1>;
546 #size-cells = <1>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100547 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100548 clocks = <&gateclk 11>;
549 status = "disabled";
550 };
551
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100552 sdio: mvsdio@d4000 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100553 compatible = "marvell,orion-sdio";
554 reg = <0xd4000 0x200>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100555 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100556 clocks = <&gateclk 17>;
557 bus-width = <4>;
558 cap-sdio-irq;
559 cap-sd-highspeed;
560 cap-mmc-highspeed;
561 status = "disabled";
562 };
563
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100564 thermal: thermal@e8078 {
Ezequiel Garciaf672e482014-04-24 17:23:23 -0300565 compatible = "marvell,armada375-thermal";
566 reg = <0xe8078 0x4>, <0xe807c 0x8>;
567 status = "okay";
568 };
569
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100570 coreclk: mvebu-sar@e8204 {
571 compatible = "marvell,armada-375-core-clock";
572 reg = <0xe8204 0x04>;
573 #clock-cells = <1>;
574 };
575
576 coredivclk: corediv-clock@e8250 {
577 compatible = "marvell,armada-375-corediv-clock";
578 reg = <0xe8250 0xc>;
579 #clock-cells = <1>;
580 clocks = <&mainpll>;
581 clock-output-names = "nand";
582 };
583 };
584
Rob Herring28fbb9c2017-07-26 16:09:37 -0500585 pciec: pcie@82000000 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100586 compatible = "marvell,armada-370-pcie";
587 status = "disabled";
588 device_type = "pci";
589
590 #address-cells = <3>;
591 #size-cells = <2>;
592
593 msi-parent = <&mpic>;
594 bus-range = <0x00 0xff>;
595
596 ranges =
597 <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000
598 0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000
599 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0 MEM */
600 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0 IO */
601 0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 1 MEM */
602 0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 1 IO */>;
603
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100604 pcie0: pcie@1,0 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100605 device_type = "pci";
606 assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
607 reg = <0x0800 0 0 0 0>;
608 #address-cells = <3>;
609 #size-cells = <2>;
610 #interrupt-cells = <1>;
611 ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
612 0x81000000 0 0 0x81000000 0x1 0 1 0>;
Rob Herring28fbb9c2017-07-26 16:09:37 -0500613 bus-range = <0x00 0xff>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100614 interrupt-map-mask = <0 0 0 0>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100615 interrupt-map = <0 0 0 0 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100616 marvell,pcie-port = <0>;
617 marvell,pcie-lane = <0>;
618 clocks = <&gateclk 5>;
619 status = "disabled";
620 };
621
Gregory CLEMENTe4a07092016-11-09 23:42:22 +0100622 pcie1: pcie@2,0 {
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100623 device_type = "pci";
624 assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
625 reg = <0x1000 0 0 0 0>;
626 #address-cells = <3>;
627 #size-cells = <2>;
628 #interrupt-cells = <1>;
629 ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
630 0x81000000 0 0 0x81000000 0x2 0 1 0>;
Rob Herring28fbb9c2017-07-26 16:09:37 -0500631 bus-range = <0x00 0xff>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100632 interrupt-map-mask = <0 0 0 0>;
Thomas Petazzonid11548e2014-02-20 12:11:31 +0100633 interrupt-map = <0 0 0 0 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100634 marvell,pcie-port = <0>;
635 marvell,pcie-lane = <1>;
636 clocks = <&gateclk 6>;
637 status = "disabled";
638 };
639
640 };
Boris Brezillon35e5bb52015-08-18 10:08:56 +0200641
642 crypto_sram0: sa-sram0 {
643 compatible = "mmio-sram";
644 reg = <MBUS_ID(0x09, 0x09) 0 0x800>;
645 clocks = <&gateclk 30>;
646 #address-cells = <1>;
647 #size-cells = <1>;
648 ranges = <0 MBUS_ID(0x09, 0x09) 0 0x800>;
649 };
650
651 crypto_sram1: sa-sram1 {
652 compatible = "mmio-sram";
653 reg = <MBUS_ID(0x09, 0x05) 0 0x800>;
654 clocks = <&gateclk 31>;
655 #address-cells = <1>;
656 #size-cells = <1>;
657 ranges = <0 MBUS_ID(0x09, 0x05) 0 0x800>;
658 };
Gregory CLEMENT4de59082014-02-17 15:23:25 +0100659 };
660};