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";
60 compatible = "arm,cortex-a9";
62 next-level-cache = <&l2>;
68 compatible = "fixed-clock";
70 clock-frequency = <25000000>;
74 compatible = "simple-bus";
77 interrupt-parent = <&gic>;
79 ranges = <0 0xf7000000 0x1000000>;
82 compatible = "arm,cortex-a9-pmu";
83 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
86 sdhci0: sdhci@ab0000 {
87 compatible = "mrvl,pxav3-mmc";
88 reg = <0xab0000 0x200>;
89 clocks = <&chip_clk CLKID_SDIO0XIN>, <&chip_clk CLKID_SDIO0>;
90 clock-names = "io", "core";
91 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
95 l2: l2-cache-controller@ac0000 {
96 compatible = "arm,pl310-cache";
97 reg = <0xac0000 0x1000>;
102 gic: interrupt-controller@ad1000 {
103 compatible = "arm,cortex-a9-gic";
104 reg = <0xad1000 0x1000>, <0xad0100 0x0100>;
105 interrupt-controller;
106 #interrupt-cells = <3>;
110 compatible = "arm,cortex-a9-twd-timer";
111 reg = <0xad0600 0x20>;
112 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
113 clocks = <&chip_clk CLKID_TWD>;
116 usb_phy0: usb-phy@b74000 {
117 compatible = "marvell,berlin2cd-usb-phy";
118 reg = <0xb74000 0x128>;
120 resets = <&chip_rst 0x178 23>;
124 usb_phy1: usb-phy@b78000 {
125 compatible = "marvell,berlin2cd-usb-phy";
126 reg = <0xb78000 0x128>;
128 resets = <&chip_rst 0x178 24>;
132 eth1: ethernet@b90000 {
133 compatible = "marvell,pxa168-eth";
134 reg = <0xb90000 0x10000>;
135 clocks = <&chip_clk CLKID_GETH1>;
136 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
137 /* set by bootloader */
138 local-mac-address = [00 00 00 00 00 00];
139 #address-cells = <1>;
141 phy-connection-type = "mii";
142 phy-handle = <ðphy1>;
145 ethphy1: ethernet-phy@0 {
150 eth0: ethernet@e50000 {
151 compatible = "marvell,pxa168-eth";
152 reg = <0xe50000 0x10000>;
153 clocks = <&chip_clk CLKID_GETH0>;
154 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
155 /* set by bootloader */
156 local-mac-address = [00 00 00 00 00 00];
157 #address-cells = <1>;
159 phy-connection-type = "mii";
160 phy-handle = <ðphy0>;
163 ethphy0: ethernet-phy@0 {
169 compatible = "simple-bus";
170 #address-cells = <1>;
173 ranges = <0 0xe80000 0x10000>;
174 interrupt-parent = <&aic>;
177 compatible = "snps,dw-apb-gpio";
178 reg = <0x0400 0x400>;
179 #address-cells = <1>;
183 compatible = "snps,dw-apb-gpio-port";
188 interrupt-controller;
189 #interrupt-cells = <2>;
195 compatible = "snps,dw-apb-gpio";
196 reg = <0x0800 0x400>;
197 #address-cells = <1>;
201 compatible = "snps,dw-apb-gpio-port";
206 interrupt-controller;
207 #interrupt-cells = <2>;
213 compatible = "snps,dw-apb-gpio";
214 reg = <0x0c00 0x400>;
215 #address-cells = <1>;
219 compatible = "snps,dw-apb-gpio-port";
224 interrupt-controller;
225 #interrupt-cells = <2>;
231 compatible = "snps,dw-apb-gpio";
232 reg = <0x1000 0x400>;
233 #address-cells = <1>;
237 compatible = "snps,dw-apb-gpio-port";
242 interrupt-controller;
243 #interrupt-cells = <2>;
249 compatible = "snps,dw-apb-timer";
252 clocks = <&chip_clk CLKID_CFG>;
253 clock-names = "timer";
258 compatible = "snps,dw-apb-timer";
261 clocks = <&chip_clk CLKID_CFG>;
262 clock-names = "timer";
267 compatible = "snps,dw-apb-timer";
270 clocks = <&chip_clk CLKID_CFG>;
271 clock-names = "timer";
276 compatible = "snps,dw-apb-timer";
279 clocks = <&chip_clk CLKID_CFG>;
280 clock-names = "timer";
285 compatible = "snps,dw-apb-timer";
288 clocks = <&chip_clk CLKID_CFG>;
289 clock-names = "timer";
294 compatible = "snps,dw-apb-timer";
297 clocks = <&chip_clk CLKID_CFG>;
298 clock-names = "timer";
303 compatible = "snps,dw-apb-timer";
306 clocks = <&chip_clk CLKID_CFG>;
307 clock-names = "timer";
312 compatible = "snps,dw-apb-timer";
315 clocks = <&chip_clk CLKID_CFG>;
316 clock-names = "timer";
320 aic: interrupt-controller@3000 {
321 compatible = "snps,dw-apb-ictl";
322 reg = <0x3000 0xc00>;
323 interrupt-controller;
324 #interrupt-cells = <1>;
325 interrupt-parent = <&gic>;
326 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
330 chip: chip-control@ea0000 {
331 compatible = "simple-mfd", "syscon";
332 reg = <0xea0000 0x400>;
335 compatible = "marvell,berlin2-clk";
338 clock-names = "refclk";
341 soc_pinctrl: pin-controller {
342 compatible = "marvell,berlin2cd-soc-pinctrl";
344 uart0_pmux: uart0-pmux {
351 compatible = "marvell,berlin2-reset";
357 compatible = "chipidea,usb2";
358 reg = <0xed0000 0x200>;
359 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
360 clocks = <&chip_clk CLKID_USB0>;
362 phy-names = "usb-phy";
367 compatible = "chipidea,usb2";
368 reg = <0xee0000 0x200>;
369 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
370 clocks = <&chip_clk CLKID_USB1>;
372 phy-names = "usb-phy";
377 compatible = "simple-bus";
378 #address-cells = <1>;
381 ranges = <0 0xfc0000 0x10000>;
382 interrupt-parent = <&sic>;
384 sm_gpio1: gpio@5000 {
385 compatible = "snps,dw-apb-gpio";
386 reg = <0x5000 0x400>;
387 #address-cells = <1>;
391 compatible = "snps,dw-apb-gpio-port";
399 sm_gpio0: gpio@c000 {
400 compatible = "snps,dw-apb-gpio";
401 reg = <0xc000 0x400>;
402 #address-cells = <1>;
406 compatible = "snps,dw-apb-gpio-port";
415 compatible = "snps,dw-apb-uart";
416 reg = <0x9000 0x100>;
421 pinctrl-0 = <&uart0_pmux>;
422 pinctrl-names = "default";
427 compatible = "snps,dw-apb-uart";
428 reg = <0xa000 0x100>;
436 sysctrl: system-controller@d000 {
437 compatible = "simple-mfd", "syscon";
438 reg = <0xd000 0x100>;
440 sys_pinctrl: pin-controller {
441 compatible = "marvell,berlin2cd-system-pinctrl";
445 sic: interrupt-controller@e000 {
446 compatible = "snps,dw-apb-ictl";
447 reg = <0xe000 0x400>;
448 interrupt-controller;
449 #interrupt-cells = <1>;
450 interrupt-parent = <&gic>;
451 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;