2 * Device Tree Include file for Marvell Armada 1500-mini (Berlin BG2CD) 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-mini (BG2CD) SoC";
48 compatible = "marvell,berlin2cd", "marvell,berlin";
55 compatible = "arm,cortex-a9";
57 next-level-cache = <&l2>;
63 compatible = "fixed-clock";
65 clock-frequency = <25000000>;
69 compatible = "simple-bus";
72 interrupt-parent = <&gic>;
74 ranges = <0 0xf7000000 0x1000000>;
77 compatible = "arm,cortex-a9-pmu";
78 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
81 sdhci0: sdhci@ab0000 {
82 compatible = "mrvl,pxav3-mmc";
83 reg = <0xab0000 0x200>;
84 clocks = <&chip_clk CLKID_SDIO0XIN>, <&chip_clk CLKID_SDIO0>;
85 clock-names = "io", "core";
86 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
90 l2: l2-cache-controller@ac0000 {
91 compatible = "arm,pl310-cache";
92 reg = <0xac0000 0x1000>;
97 gic: interrupt-controller@ad1000 {
98 compatible = "arm,cortex-a9-gic";
99 reg = <0xad1000 0x1000>, <0xad0100 0x0100>;
100 interrupt-controller;
101 #interrupt-cells = <3>;
105 compatible = "arm,cortex-a9-twd-timer";
106 reg = <0xad0600 0x20>;
107 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
108 clocks = <&chip_clk CLKID_TWD>;
111 usb_phy0: usb-phy@b74000 {
112 compatible = "marvell,berlin2cd-usb-phy";
113 reg = <0xb74000 0x128>;
115 resets = <&chip_rst 0x178 23>;
119 usb_phy1: usb-phy@b78000 {
120 compatible = "marvell,berlin2cd-usb-phy";
121 reg = <0xb78000 0x128>;
123 resets = <&chip_rst 0x178 24>;
127 eth1: ethernet@b90000 {
128 compatible = "marvell,pxa168-eth";
129 reg = <0xb90000 0x10000>;
130 clocks = <&chip_clk CLKID_GETH1>;
131 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
132 /* set by bootloader */
133 local-mac-address = [00 00 00 00 00 00];
134 #address-cells = <1>;
136 phy-connection-type = "mii";
137 phy-handle = <ðphy1>;
140 ethphy1: ethernet-phy@0 {
145 eth0: ethernet@e50000 {
146 compatible = "marvell,pxa168-eth";
147 reg = <0xe50000 0x10000>;
148 clocks = <&chip_clk CLKID_GETH0>;
149 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
150 /* set by bootloader */
151 local-mac-address = [00 00 00 00 00 00];
152 #address-cells = <1>;
154 phy-connection-type = "mii";
155 phy-handle = <ðphy0>;
158 ethphy0: ethernet-phy@0 {
164 compatible = "simple-bus";
165 #address-cells = <1>;
168 ranges = <0 0xe80000 0x10000>;
169 interrupt-parent = <&aic>;
172 compatible = "snps,dw-apb-gpio";
173 reg = <0x0400 0x400>;
174 #address-cells = <1>;
178 compatible = "snps,dw-apb-gpio-port";
183 interrupt-controller;
184 #interrupt-cells = <2>;
190 compatible = "snps,dw-apb-gpio";
191 reg = <0x0800 0x400>;
192 #address-cells = <1>;
196 compatible = "snps,dw-apb-gpio-port";
201 interrupt-controller;
202 #interrupt-cells = <2>;
208 compatible = "snps,dw-apb-gpio";
209 reg = <0x0c00 0x400>;
210 #address-cells = <1>;
214 compatible = "snps,dw-apb-gpio-port";
219 interrupt-controller;
220 #interrupt-cells = <2>;
226 compatible = "snps,dw-apb-gpio";
227 reg = <0x1000 0x400>;
228 #address-cells = <1>;
232 compatible = "snps,dw-apb-gpio-port";
237 interrupt-controller;
238 #interrupt-cells = <2>;
244 compatible = "snps,dw-apb-timer";
247 clocks = <&chip_clk CLKID_CFG>;
248 clock-names = "timer";
253 compatible = "snps,dw-apb-timer";
256 clocks = <&chip_clk CLKID_CFG>;
257 clock-names = "timer";
262 compatible = "snps,dw-apb-timer";
265 clocks = <&chip_clk CLKID_CFG>;
266 clock-names = "timer";
271 compatible = "snps,dw-apb-timer";
274 clocks = <&chip_clk CLKID_CFG>;
275 clock-names = "timer";
280 compatible = "snps,dw-apb-timer";
283 clocks = <&chip_clk CLKID_CFG>;
284 clock-names = "timer";
289 compatible = "snps,dw-apb-timer";
292 clocks = <&chip_clk CLKID_CFG>;
293 clock-names = "timer";
298 compatible = "snps,dw-apb-timer";
301 clocks = <&chip_clk CLKID_CFG>;
302 clock-names = "timer";
307 compatible = "snps,dw-apb-timer";
310 clocks = <&chip_clk CLKID_CFG>;
311 clock-names = "timer";
315 aic: interrupt-controller@3000 {
316 compatible = "snps,dw-apb-ictl";
317 reg = <0x3000 0xc00>;
318 interrupt-controller;
319 #interrupt-cells = <1>;
320 interrupt-parent = <&gic>;
321 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
325 chip: chip-control@ea0000 {
326 compatible = "simple-mfd", "syscon";
327 reg = <0xea0000 0x400>;
330 compatible = "marvell,berlin2-clk";
333 clock-names = "refclk";
336 soc_pinctrl: pin-controller {
337 compatible = "marvell,berlin2cd-soc-pinctrl";
339 uart0_pmux: uart0-pmux {
346 compatible = "marvell,berlin2-reset";
352 compatible = "chipidea,usb2";
353 reg = <0xed0000 0x200>;
354 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
355 clocks = <&chip_clk CLKID_USB0>;
357 phy-names = "usb-phy";
362 compatible = "chipidea,usb2";
363 reg = <0xee0000 0x200>;
364 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
365 clocks = <&chip_clk CLKID_USB1>;
367 phy-names = "usb-phy";
372 compatible = "simple-bus";
373 #address-cells = <1>;
376 ranges = <0 0xfc0000 0x10000>;
377 interrupt-parent = <&sic>;
379 sm_gpio1: gpio@5000 {
380 compatible = "snps,dw-apb-gpio";
381 reg = <0x5000 0x400>;
382 #address-cells = <1>;
386 compatible = "snps,dw-apb-gpio-port";
394 sm_gpio0: gpio@c000 {
395 compatible = "snps,dw-apb-gpio";
396 reg = <0xc000 0x400>;
397 #address-cells = <1>;
401 compatible = "snps,dw-apb-gpio-port";
410 compatible = "snps,dw-apb-uart";
411 reg = <0x9000 0x100>;
416 pinctrl-0 = <&uart0_pmux>;
417 pinctrl-names = "default";
422 compatible = "snps,dw-apb-uart";
423 reg = <0xa000 0x100>;
431 sysctrl: system-controller@d000 {
432 compatible = "simple-mfd", "syscon";
433 reg = <0xd000 0x100>;
435 sys_pinctrl: pin-controller {
436 compatible = "marvell,berlin2cd-system-pinctrl";
440 sic: interrupt-controller@e000 {
441 compatible = "snps,dw-apb-ictl";
442 reg = <0xe000 0x400>;
443 interrupt-controller;
444 #interrupt-cells = <1>;
445 interrupt-parent = <&gic>;
446 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;