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";
53 enable-method = "marvell,berlin-smp";
56 compatible = "marvell,pj4b";
58 next-level-cache = <&l2>;
63 compatible = "marvell,pj4b";
65 next-level-cache = <&l2>;
71 compatible = "fixed-clock";
73 clock-frequency = <25000000>;
77 compatible = "simple-bus";
80 interrupt-parent = <&gic>;
82 ranges = <0 0xf7000000 0x1000000>;
84 sdhci0: sdhci@ab0000 {
85 compatible = "mrvl,pxav3-mmc";
86 reg = <0xab0000 0x200>;
87 clocks = <&chip_clk CLKID_SDIO0XIN>, <&chip_clk CLKID_SDIO0>;
88 clock-names = "io", "core";
89 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
93 sdhci1: sdhci@ab0800 {
94 compatible = "mrvl,pxav3-mmc";
95 reg = <0xab0800 0x200>;
96 clocks = <&chip_clk CLKID_SDIO1XIN>, <&chip_clk CLKID_SDIO1>;
97 clock-names = "io", "core";
98 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
102 sdhci2: sdhci@ab1000 {
103 compatible = "mrvl,pxav3-mmc";
104 reg = <0xab1000 0x200>;
105 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
106 clocks = <&chip_clk CLKID_NFC_ECC>, <&chip_clk CLKID_NFC>;
107 clock-names = "io", "core";
108 pinctrl-0 = <&emmc_pmux>;
109 pinctrl-names = "default";
113 l2: l2-cache-controller@ac0000 {
114 compatible = "marvell,tauros3-cache", "arm,pl310-cache";
115 reg = <0xac0000 0x1000>;
120 scu: snoop-control-unit@ad0000 {
121 compatible = "arm,cortex-a9-scu";
122 reg = <0xad0000 0x58>;
125 gic: interrupt-controller@ad1000 {
126 compatible = "arm,cortex-a9-gic";
127 reg = <0xad1000 0x1000>, <0xad0100 0x0100>;
128 interrupt-controller;
129 #interrupt-cells = <3>;
133 compatible = "arm,cortex-a9-twd-timer";
134 reg = <0xad0600 0x20>;
135 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
136 clocks = <&chip_clk CLKID_TWD>;
139 eth1: ethernet@b90000 {
140 compatible = "marvell,pxa168-eth";
141 reg = <0xb90000 0x10000>;
142 clocks = <&chip_clk CLKID_GETH1>;
143 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
144 /* set by bootloader */
145 local-mac-address = [00 00 00 00 00 00];
146 #address-cells = <1>;
148 phy-connection-type = "mii";
149 phy-handle = <ðphy1>;
152 ethphy1: ethernet-phy@0 {
158 compatible = "marvell,berlin-cpu-ctrl";
159 reg = <0xdd0000 0x10000>;
162 eth0: ethernet@e50000 {
163 compatible = "marvell,pxa168-eth";
164 reg = <0xe50000 0x10000>;
165 clocks = <&chip_clk CLKID_GETH0>;
166 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
167 /* set by bootloader */
168 local-mac-address = [00 00 00 00 00 00];
169 #address-cells = <1>;
171 phy-connection-type = "mii";
172 phy-handle = <ðphy0>;
175 ethphy0: ethernet-phy@0 {
181 compatible = "simple-bus";
182 #address-cells = <1>;
185 ranges = <0 0xe80000 0x10000>;
186 interrupt-parent = <&aic>;
189 compatible = "snps,dw-apb-gpio";
190 reg = <0x0400 0x400>;
191 #address-cells = <1>;
195 compatible = "snps,dw-apb-gpio-port";
200 interrupt-controller;
201 #interrupt-cells = <2>;
207 compatible = "snps,dw-apb-gpio";
208 reg = <0x0800 0x400>;
209 #address-cells = <1>;
213 compatible = "snps,dw-apb-gpio-port";
218 interrupt-controller;
219 #interrupt-cells = <2>;
225 compatible = "snps,dw-apb-gpio";
226 reg = <0x0c00 0x400>;
227 #address-cells = <1>;
231 compatible = "snps,dw-apb-gpio-port";
236 interrupt-controller;
237 #interrupt-cells = <2>;
243 compatible = "snps,dw-apb-gpio";
244 reg = <0x1000 0x400>;
245 #address-cells = <1>;
249 compatible = "snps,dw-apb-gpio-port";
254 interrupt-controller;
255 #interrupt-cells = <2>;
261 compatible = "snps,dw-apb-timer";
264 clocks = <&chip_clk CLKID_CFG>;
265 clock-names = "timer";
270 compatible = "snps,dw-apb-timer";
273 clocks = <&chip_clk CLKID_CFG>;
274 clock-names = "timer";
279 compatible = "snps,dw-apb-timer";
282 clocks = <&chip_clk CLKID_CFG>;
283 clock-names = "timer";
288 compatible = "snps,dw-apb-timer";
291 clocks = <&chip_clk CLKID_CFG>;
292 clock-names = "timer";
297 compatible = "snps,dw-apb-timer";
300 clocks = <&chip_clk CLKID_CFG>;
301 clock-names = "timer";
306 compatible = "snps,dw-apb-timer";
309 clocks = <&chip_clk CLKID_CFG>;
310 clock-names = "timer";
315 compatible = "snps,dw-apb-timer";
318 clocks = <&chip_clk CLKID_CFG>;
319 clock-names = "timer";
324 compatible = "snps,dw-apb-timer";
327 clocks = <&chip_clk CLKID_CFG>;
328 clock-names = "timer";
332 aic: interrupt-controller@3000 {
333 compatible = "snps,dw-apb-ictl";
334 reg = <0x3000 0xc00>;
335 interrupt-controller;
336 #interrupt-cells = <1>;
337 interrupt-parent = <&gic>;
338 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
343 compatible = "marvell,berlin2-ahci", "generic-ahci";
344 reg = <0xe90000 0x1000>;
345 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
346 clocks = <&chip_clk CLKID_SATA>;
347 #address-cells = <1>;
352 phys = <&sata_phy 0>;
358 phys = <&sata_phy 1>;
363 sata_phy: phy@e900a0 {
364 compatible = "marvell,berlin2-sata-phy";
365 reg = <0xe900a0 0x200>;
366 clocks = <&chip_clk CLKID_SATA>;
367 #address-cells = <1>;
381 chip: chip-control@ea0000 {
382 compatible = "simple-mfd", "syscon";
383 reg = <0xea0000 0x400>;
386 compatible = "marvell,berlin2-clk";
389 clock-names = "refclk";
392 soc_pinctrl: pin-controller {
393 compatible = "marvell,berlin2-soc-pinctrl";
395 emmc_pmux: emmc-pmux {
402 compatible = "marvell,berlin2-reset";
408 compatible = "simple-bus";
409 #address-cells = <1>;
412 ranges = <0 0xfc0000 0x10000>;
413 interrupt-parent = <&sic>;
415 sm_gpio1: gpio@5000 {
416 compatible = "snps,dw-apb-gpio";
417 reg = <0x5000 0x400>;
418 #address-cells = <1>;
422 compatible = "snps,dw-apb-gpio-port";
430 sm_gpio0: gpio@c000 {
431 compatible = "snps,dw-apb-gpio";
432 reg = <0xc000 0x400>;
433 #address-cells = <1>;
437 compatible = "snps,dw-apb-gpio-port";
442 interrupt-controller;
443 #interrupt-cells = <2>;
449 compatible = "snps,dw-apb-uart";
450 reg = <0x9000 0x100>;
455 pinctrl-0 = <&uart0_pmux>;
456 pinctrl-names = "default";
461 compatible = "snps,dw-apb-uart";
462 reg = <0xa000 0x100>;
467 pinctrl-0 = <&uart1_pmux>;
468 pinctrl-names = "default";
473 compatible = "snps,dw-apb-uart";
474 reg = <0xb000 0x100>;
479 pinctrl-0 = <&uart2_pmux>;
480 pinctrl-names = "default";
484 sysctrl: system-controller@d000 {
485 compatible = "simple-mfd", "syscon";
486 reg = <0xd000 0x100>;
488 sys_pinctrl: pin-controller {
489 compatible = "marvell,berlin2-system-pinctrl";
490 uart0_pmux: uart0-pmux {
495 uart1_pmux: uart1-pmux {
499 uart2_pmux: uart2-pmux {
506 sic: interrupt-controller@e000 {
507 compatible = "snps,dw-apb-ictl";
508 reg = <0xe000 0x400>;
509 interrupt-controller;
510 #interrupt-cells = <1>;
511 interrupt-parent = <&gic>;
512 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;