2 * Device Tree Include file for Marvell Armada 1500 (Berlin BG2) SoC
4 * Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
6 * based on GPL'ed 2.6 kernel sources
7 * (c) Marvell International Ltd.
9 * 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
14 * a) This file is licensed under the terms of the GNU General Public
15 * License version 2. This program is licensed "as is" without any
16 * warranty of any kind, whether express or implied.
20 * b) Permission is hereby granted, free of charge, to any person
21 * obtaining a copy of this software and associated documentation
22 * files (the "Software"), to deal in the Software without
23 * restriction, including without limitation the rights to use,
24 * copy, modify, merge, publish, distribute, sublicense, and/or
25 * sell copies of the Software, and to permit persons to whom the
26 * Software is furnished to do so, subject to the following
29 * The above copyright notice and this permission notice shall be
30 * included in all copies or substantial portions of the Software.
32 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
33 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
34 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
35 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
36 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
37 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
39 * OTHER DEALINGS IN THE SOFTWARE.
42 #include "skeleton.dtsi"
43 #include <dt-bindings/clock/berlin2.h>
44 #include <dt-bindings/interrupt-controller/arm-gic.h>
47 model = "Marvell Armada 1500 (BG2) SoC";
48 compatible = "marvell,berlin2", "marvell,berlin";
59 enable-method = "marvell,berlin-smp";
62 compatible = "marvell,pj4b";
64 next-level-cache = <&l2>;
67 clocks = <&chip_clk CLKID_CPU>;
68 clock-latency = <100000>;
79 compatible = "marvell,pj4b";
81 next-level-cache = <&l2>;
87 compatible = "fixed-clock";
89 clock-frequency = <25000000>;
93 compatible = "simple-bus";
96 interrupt-parent = <&gic>;
98 ranges = <0 0xf7000000 0x1000000>;
100 sdhci0: sdhci@ab0000 {
101 compatible = "mrvl,pxav3-mmc";
102 reg = <0xab0000 0x200>;
103 clocks = <&chip_clk CLKID_SDIO0XIN>, <&chip_clk CLKID_SDIO0>;
104 clock-names = "io", "core";
105 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
109 sdhci1: sdhci@ab0800 {
110 compatible = "mrvl,pxav3-mmc";
111 reg = <0xab0800 0x200>;
112 clocks = <&chip_clk CLKID_SDIO1XIN>, <&chip_clk CLKID_SDIO1>;
113 clock-names = "io", "core";
114 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
118 sdhci2: sdhci@ab1000 {
119 compatible = "mrvl,pxav3-mmc";
120 reg = <0xab1000 0x200>;
121 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
122 clocks = <&chip_clk CLKID_NFC_ECC>, <&chip_clk CLKID_NFC>;
123 clock-names = "io", "core";
124 pinctrl-0 = <&emmc_pmux>;
125 pinctrl-names = "default";
129 l2: l2-cache-controller@ac0000 {
130 compatible = "marvell,tauros3-cache", "arm,pl310-cache";
131 reg = <0xac0000 0x1000>;
136 scu: snoop-control-unit@ad0000 {
137 compatible = "arm,cortex-a9-scu";
138 reg = <0xad0000 0x58>;
141 gic: interrupt-controller@ad1000 {
142 compatible = "arm,cortex-a9-gic";
143 reg = <0xad1000 0x1000>, <0xad0100 0x0100>;
144 interrupt-controller;
145 #interrupt-cells = <3>;
149 compatible = "arm,cortex-a9-twd-timer";
150 reg = <0xad0600 0x20>;
151 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
152 clocks = <&chip_clk CLKID_TWD>;
155 eth1: ethernet@b90000 {
156 compatible = "marvell,pxa168-eth";
157 reg = <0xb90000 0x10000>;
158 clocks = <&chip_clk CLKID_GETH1>;
159 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
160 /* set by bootloader */
161 local-mac-address = [00 00 00 00 00 00];
162 #address-cells = <1>;
164 phy-connection-type = "mii";
165 phy-handle = <ðphy1>;
168 ethphy1: ethernet-phy@0 {
174 compatible = "marvell,berlin-cpu-ctrl";
175 reg = <0xdd0000 0x10000>;
178 eth0: ethernet@e50000 {
179 compatible = "marvell,pxa168-eth";
180 reg = <0xe50000 0x10000>;
181 clocks = <&chip_clk CLKID_GETH0>;
182 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
183 /* set by bootloader */
184 local-mac-address = [00 00 00 00 00 00];
185 #address-cells = <1>;
187 phy-connection-type = "mii";
188 phy-handle = <ðphy0>;
191 ethphy0: ethernet-phy@0 {
197 compatible = "simple-bus";
198 #address-cells = <1>;
201 ranges = <0 0xe80000 0x10000>;
202 interrupt-parent = <&aic>;
205 compatible = "snps,dw-apb-gpio";
206 reg = <0x0400 0x400>;
207 #address-cells = <1>;
211 compatible = "snps,dw-apb-gpio-port";
216 interrupt-controller;
217 #interrupt-cells = <2>;
223 compatible = "snps,dw-apb-gpio";
224 reg = <0x0800 0x400>;
225 #address-cells = <1>;
229 compatible = "snps,dw-apb-gpio-port";
234 interrupt-controller;
235 #interrupt-cells = <2>;
241 compatible = "snps,dw-apb-gpio";
242 reg = <0x0c00 0x400>;
243 #address-cells = <1>;
247 compatible = "snps,dw-apb-gpio-port";
252 interrupt-controller;
253 #interrupt-cells = <2>;
259 compatible = "snps,dw-apb-gpio";
260 reg = <0x1000 0x400>;
261 #address-cells = <1>;
265 compatible = "snps,dw-apb-gpio-port";
270 interrupt-controller;
271 #interrupt-cells = <2>;
277 compatible = "snps,dw-apb-timer";
280 clocks = <&chip_clk CLKID_CFG>;
281 clock-names = "timer";
286 compatible = "snps,dw-apb-timer";
289 clocks = <&chip_clk CLKID_CFG>;
290 clock-names = "timer";
295 compatible = "snps,dw-apb-timer";
298 clocks = <&chip_clk CLKID_CFG>;
299 clock-names = "timer";
304 compatible = "snps,dw-apb-timer";
307 clocks = <&chip_clk CLKID_CFG>;
308 clock-names = "timer";
313 compatible = "snps,dw-apb-timer";
316 clocks = <&chip_clk CLKID_CFG>;
317 clock-names = "timer";
322 compatible = "snps,dw-apb-timer";
325 clocks = <&chip_clk CLKID_CFG>;
326 clock-names = "timer";
331 compatible = "snps,dw-apb-timer";
334 clocks = <&chip_clk CLKID_CFG>;
335 clock-names = "timer";
340 compatible = "snps,dw-apb-timer";
343 clocks = <&chip_clk CLKID_CFG>;
344 clock-names = "timer";
348 aic: interrupt-controller@3000 {
349 compatible = "snps,dw-apb-ictl";
350 reg = <0x3000 0xc00>;
351 interrupt-controller;
352 #interrupt-cells = <1>;
353 interrupt-parent = <&gic>;
354 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
359 compatible = "marvell,berlin2-ahci", "generic-ahci";
360 reg = <0xe90000 0x1000>;
361 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
362 clocks = <&chip_clk CLKID_SATA>;
363 #address-cells = <1>;
368 phys = <&sata_phy 0>;
374 phys = <&sata_phy 1>;
379 sata_phy: phy@e900a0 {
380 compatible = "marvell,berlin2-sata-phy";
381 reg = <0xe900a0 0x200>;
382 clocks = <&chip_clk CLKID_SATA>;
383 #address-cells = <1>;
397 chip: chip-control@ea0000 {
398 compatible = "simple-mfd", "syscon";
399 reg = <0xea0000 0x400>;
402 compatible = "marvell,berlin2-clk";
405 clock-names = "refclk";
408 soc_pinctrl: pin-controller {
409 compatible = "marvell,berlin2-soc-pinctrl";
411 emmc_pmux: emmc-pmux {
418 compatible = "marvell,berlin2-reset";
424 compatible = "marvell,berlin-pwm";
425 reg = <0xf20000 0x40>;
426 clocks = <&chip_clk CLKID_CFG>;
431 compatible = "simple-bus";
432 #address-cells = <1>;
435 ranges = <0 0xfc0000 0x10000>;
436 interrupt-parent = <&sic>;
438 sm_gpio1: gpio@5000 {
439 compatible = "snps,dw-apb-gpio";
440 reg = <0x5000 0x400>;
441 #address-cells = <1>;
445 compatible = "snps,dw-apb-gpio-port";
453 sm_gpio0: gpio@c000 {
454 compatible = "snps,dw-apb-gpio";
455 reg = <0xc000 0x400>;
456 #address-cells = <1>;
460 compatible = "snps,dw-apb-gpio-port";
465 interrupt-controller;
466 #interrupt-cells = <2>;
472 compatible = "snps,dw-apb-uart";
473 reg = <0x9000 0x100>;
478 pinctrl-0 = <&uart0_pmux>;
479 pinctrl-names = "default";
484 compatible = "snps,dw-apb-uart";
485 reg = <0xa000 0x100>;
490 pinctrl-0 = <&uart1_pmux>;
491 pinctrl-names = "default";
496 compatible = "snps,dw-apb-uart";
497 reg = <0xb000 0x100>;
502 pinctrl-0 = <&uart2_pmux>;
503 pinctrl-names = "default";
507 sysctrl: system-controller@d000 {
508 compatible = "simple-mfd", "syscon";
509 reg = <0xd000 0x100>;
511 sys_pinctrl: pin-controller {
512 compatible = "marvell,berlin2-system-pinctrl";
513 uart0_pmux: uart0-pmux {
518 uart1_pmux: uart1-pmux {
522 uart2_pmux: uart2-pmux {
529 sic: interrupt-controller@e000 {
530 compatible = "snps,dw-apb-ictl";
531 reg = <0xe000 0x400>;
532 interrupt-controller;
533 #interrupt-cells = <1>;
534 interrupt-parent = <&gic>;
535 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;