1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for Marvell Armada 370 family SoC
5 * Copyright (C) 2012 Marvell
7 * Lior Amsalem <alior@marvell.com>
8 * Gregory CLEMENT <gregory.clement@free-electrons.com>
9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 * Contains definitions specific to the Armada 370 SoC that are not
12 * common to all Armada SoCs.
15 #include "armada-370-xp.dtsi"
21 model = "Marvell Armada 370 family SoC";
22 compatible = "marvell,armada370", "marvell,armada-370-xp";
31 compatible = "marvell,armada370-mbus", "simple-bus";
34 compatible = "marvell,bootrom";
35 reg = <MBUS_ID(0x01, 0xe0) 0 0x100000>;
38 pciec: pcie@82000000 {
39 compatible = "marvell,armada-370-pcie";
47 bus-range = <0x00 0xff>;
50 <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000
51 0x82000000 0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x00002000
52 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */
53 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */
54 0x82000000 0x2 0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 MEM */
55 0x81000000 0x2 0 MBUS_ID(0x08, 0xe0) 0 1 0 /* Port 1.0 IO */>;
59 assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
60 reg = <0x0800 0 0 0 0>;
63 #interrupt-cells = <1>;
64 ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
65 0x81000000 0 0 0x81000000 0x1 0 1 0>;
66 bus-range = <0x00 0xff>;
67 interrupt-map-mask = <0 0 0 0>;
68 interrupt-map = <0 0 0 0 &mpic 58>;
69 marvell,pcie-port = <0>;
70 marvell,pcie-lane = <0>;
71 clocks = <&gateclk 5>;
77 assigned-addresses = <0x82002800 0 0x80000 0 0x2000>;
78 reg = <0x1000 0 0 0 0>;
81 #interrupt-cells = <1>;
82 ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
83 0x81000000 0 0 0x81000000 0x2 0 1 0>;
84 bus-range = <0x00 0xff>;
85 interrupt-map-mask = <0 0 0 0>;
86 interrupt-map = <0 0 0 0 &mpic 62>;
87 marvell,pcie-port = <1>;
88 marvell,pcie-lane = <0>;
89 clocks = <&gateclk 9>;
96 compatible = "marvell,aurora-outer-cache";
97 reg = <0x08000 0x1000>;
98 cache-id-part = <0x100>;
105 compatible = "marvell,armada-370-gpio",
106 "marvell,orion-gpio";
107 reg = <0x18100 0x40>, <0x181c0 0x08>;
108 reg-names = "gpio", "pwm";
113 interrupt-controller;
114 #interrupt-cells = <2>;
115 interrupts = <82>, <83>, <84>, <85>;
116 clocks = <&coreclk 0>;
120 compatible = "marvell,armada-370-gpio",
121 "marvell,orion-gpio";
122 reg = <0x18140 0x40>, <0x181c8 0x08>;
123 reg-names = "gpio", "pwm";
128 interrupt-controller;
129 #interrupt-cells = <2>;
130 interrupts = <87>, <88>, <89>, <90>;
131 clocks = <&coreclk 0>;
135 compatible = "marvell,armada-370-gpio",
136 "marvell,orion-gpio";
137 reg = <0x18180 0x40>;
141 interrupt-controller;
142 #interrupt-cells = <2>;
147 systemc: system-controller@18200 {
148 compatible = "marvell,armada-370-xp-system-controller";
149 reg = <0x18200 0x100>;
152 gateclk: clock-gating-control@18220 {
153 compatible = "marvell,armada-370-gating-clock";
155 clocks = <&coreclk 0>;
159 coreclk: mvebu-sar@18230 {
160 compatible = "marvell,armada-370-core-clock";
161 reg = <0x18230 0x08>;
165 thermal: thermal@18300 {
166 compatible = "marvell,armada370-thermal";
176 cpuconf: cpu-config@21000 {
177 compatible = "marvell,armada-370-cpu-config";
181 audio_controller: audio-controller@30000 {
182 #sound-dai-cells = <1>;
183 compatible = "marvell,armada370-audio";
184 reg = <0x30000 0x4000>;
186 clocks = <&gateclk 0>;
187 clock-names = "internal";
192 compatible = "marvell,orion-xor";
211 compatible = "marvell,orion-xor";
230 compatible = "marvell,armada-370-crypto";
231 reg = <0x90000 0x10000>;
234 clocks = <&gateclk 23>;
235 clock-names = "cesa0";
236 marvell,crypto-srams = <&crypto_sram>;
237 marvell,crypto-sram-size = <0x7e0>;
241 crypto_sram: sa-sram {
242 compatible = "mmio-sram";
243 reg = <MBUS_ID(0x09, 0x01) 0 0x800>;
245 clocks = <&gateclk 23>;
246 #address-cells = <1>;
248 ranges = <0 MBUS_ID(0x09, 0x01) 0 0x800>;
251 * The Armada 370 has an erratum preventing the use of
252 * the standard workflow for CPU idle support (relying
253 * on the BootROM code to enter/exit idle state).
254 * Reserve some amount of the crypto SRAM to put the
255 * cpuidle workaround.
265 * Default UART pinctrl setting without RTS/CTS, can be overwritten on
266 * board level if a different configuration is used.
270 pinctrl-0 = <&uart0_pins>;
271 pinctrl-names = "default";
275 pinctrl-0 = <&uart1_pins>;
276 pinctrl-names = "default";
280 reg = <0x11000 0x20>;
284 reg = <0x11100 0x20>;
288 reg = <0x20a00 0x1d0>, <0x21870 0x58>;
292 compatible = "marvell,armada-370-timer";
293 clocks = <&coreclk 2>;
297 compatible = "marvell,armada-370-wdt";
298 clocks = <&coreclk 2>;
302 clocks = <&coreclk 0>;
306 clocks = <&coreclk 0>;
310 compatible = "marvell,armada-370-neta";
314 compatible = "marvell,armada-370-neta";
318 compatible = "marvell,mv88f6710-pinctrl";
320 spi0_pins1: spi0-pins1 {
321 marvell,pins = "mpp33", "mpp34",
323 marvell,function = "spi0";
326 spi0_pins2: spi0_pins2 {
327 marvell,pins = "mpp32", "mpp63",
329 marvell,function = "spi0";
332 spi1_pins: spi1-pins {
333 marvell,pins = "mpp49", "mpp50",
335 marvell,function = "spi1";
338 uart0_pins: uart0-pins {
339 marvell,pins = "mpp0", "mpp1";
340 marvell,function = "uart0";
343 uart1_pins: uart1-pins {
344 marvell,pins = "mpp41", "mpp42";
345 marvell,function = "uart1";
348 sdio_pins1: sdio-pins1 {
349 marvell,pins = "mpp9", "mpp11", "mpp12",
350 "mpp13", "mpp14", "mpp15";
351 marvell,function = "sd0";
354 sdio_pins2: sdio-pins2 {
355 marvell,pins = "mpp47", "mpp48", "mpp49",
356 "mpp50", "mpp51", "mpp52";
357 marvell,function = "sd0";
360 sdio_pins3: sdio-pins3 {
361 marvell,pins = "mpp48", "mpp49", "mpp50",
362 "mpp51", "mpp52", "mpp53";
363 marvell,function = "sd0";
366 i2c0_pins: i2c0-pins {
367 marvell,pins = "mpp2", "mpp3";
368 marvell,function = "i2c0";
371 i2s_pins1: i2s-pins1 {
372 marvell,pins = "mpp5", "mpp6", "mpp7",
373 "mpp8", "mpp9", "mpp10",
375 marvell,function = "audio";
378 i2s_pins2: i2s-pins2 {
379 marvell,pins = "mpp49", "mpp47", "mpp50",
380 "mpp59", "mpp57", "mpp61",
381 "mpp62", "mpp60", "mpp58";
382 marvell,function = "audio";
385 mdio_pins: mdio-pins {
386 marvell,pins = "mpp17", "mpp18";
387 marvell,function = "ge";
390 ge0_rgmii_pins: ge0-rgmii-pins {
391 marvell,pins = "mpp5", "mpp6", "mpp7", "mpp8",
392 "mpp9", "mpp10", "mpp11", "mpp12",
393 "mpp13", "mpp14", "mpp15", "mpp16";
394 marvell,function = "ge0";
397 ge1_rgmii_pins: ge1-rgmii-pins {
398 marvell,pins = "mpp19", "mpp20", "mpp21", "mpp22",
399 "mpp23", "mpp24", "mpp25", "mpp26",
400 "mpp27", "mpp28", "mpp29", "mpp30";
401 marvell,function = "ge1";
406 * Default SPI pinctrl setting, can be overwritten on
407 * board level if a different configuration is used.
410 compatible = "marvell,armada-370-spi", "marvell,orion-spi";
411 pinctrl-0 = <&spi0_pins1>;
412 pinctrl-names = "default";
416 compatible = "marvell,armada-370-spi", "marvell,orion-spi";
417 pinctrl-0 = <&spi1_pins>;
418 pinctrl-names = "default";