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>;
65 clocks = <&chip_clk CLKID_CPU>;
66 clock-latency = <100000>;
76 compatible = "fixed-clock";
78 clock-frequency = <25000000>;
82 compatible = "simple-bus";
85 interrupt-parent = <&gic>;
87 ranges = <0 0xf7000000 0x1000000>;
90 compatible = "arm,cortex-a9-pmu";
91 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
94 sdhci0: sdhci@ab0000 {
95 compatible = "mrvl,pxav3-mmc";
96 reg = <0xab0000 0x200>;
97 clocks = <&chip_clk CLKID_SDIO0XIN>, <&chip_clk CLKID_SDIO0>;
98 clock-names = "io", "core";
99 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
103 l2: l2-cache-controller@ac0000 {
104 compatible = "arm,pl310-cache";
105 reg = <0xac0000 0x1000>;
110 gic: interrupt-controller@ad1000 {
111 compatible = "arm,cortex-a9-gic";
112 reg = <0xad1000 0x1000>, <0xad0100 0x0100>;
113 interrupt-controller;
114 #interrupt-cells = <3>;
118 compatible = "arm,cortex-a9-twd-timer";
119 reg = <0xad0600 0x20>;
120 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
121 clocks = <&chip_clk CLKID_TWD>;
124 usb_phy0: usb-phy@b74000 {
125 compatible = "marvell,berlin2cd-usb-phy";
126 reg = <0xb74000 0x128>;
128 resets = <&chip_rst 0x178 23>;
132 usb_phy1: usb-phy@b78000 {
133 compatible = "marvell,berlin2cd-usb-phy";
134 reg = <0xb78000 0x128>;
136 resets = <&chip_rst 0x178 24>;
140 eth1: ethernet@b90000 {
141 compatible = "marvell,pxa168-eth";
142 reg = <0xb90000 0x10000>;
143 clocks = <&chip_clk CLKID_GETH1>;
144 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
145 /* set by bootloader */
146 local-mac-address = [00 00 00 00 00 00];
147 #address-cells = <1>;
149 phy-connection-type = "mii";
150 phy-handle = <ðphy1>;
153 ethphy1: ethernet-phy@0 {
158 eth0: ethernet@e50000 {
159 compatible = "marvell,pxa168-eth";
160 reg = <0xe50000 0x10000>;
161 clocks = <&chip_clk CLKID_GETH0>;
162 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
163 /* set by bootloader */
164 local-mac-address = [00 00 00 00 00 00];
165 #address-cells = <1>;
167 phy-connection-type = "mii";
168 phy-handle = <ðphy0>;
171 ethphy0: ethernet-phy@0 {
177 compatible = "simple-bus";
178 #address-cells = <1>;
181 ranges = <0 0xe80000 0x10000>;
182 interrupt-parent = <&aic>;
185 compatible = "snps,dw-apb-gpio";
186 reg = <0x0400 0x400>;
187 #address-cells = <1>;
191 compatible = "snps,dw-apb-gpio-port";
196 interrupt-controller;
197 #interrupt-cells = <2>;
203 compatible = "snps,dw-apb-gpio";
204 reg = <0x0800 0x400>;
205 #address-cells = <1>;
209 compatible = "snps,dw-apb-gpio-port";
214 interrupt-controller;
215 #interrupt-cells = <2>;
221 compatible = "snps,dw-apb-gpio";
222 reg = <0x0c00 0x400>;
223 #address-cells = <1>;
227 compatible = "snps,dw-apb-gpio-port";
232 interrupt-controller;
233 #interrupt-cells = <2>;
239 compatible = "snps,dw-apb-gpio";
240 reg = <0x1000 0x400>;
241 #address-cells = <1>;
245 compatible = "snps,dw-apb-gpio-port";
250 interrupt-controller;
251 #interrupt-cells = <2>;
257 compatible = "snps,dw-apb-timer";
260 clocks = <&chip_clk CLKID_CFG>;
261 clock-names = "timer";
266 compatible = "snps,dw-apb-timer";
269 clocks = <&chip_clk CLKID_CFG>;
270 clock-names = "timer";
275 compatible = "snps,dw-apb-timer";
278 clocks = <&chip_clk CLKID_CFG>;
279 clock-names = "timer";
284 compatible = "snps,dw-apb-timer";
287 clocks = <&chip_clk CLKID_CFG>;
288 clock-names = "timer";
293 compatible = "snps,dw-apb-timer";
296 clocks = <&chip_clk CLKID_CFG>;
297 clock-names = "timer";
302 compatible = "snps,dw-apb-timer";
305 clocks = <&chip_clk CLKID_CFG>;
306 clock-names = "timer";
311 compatible = "snps,dw-apb-timer";
314 clocks = <&chip_clk CLKID_CFG>;
315 clock-names = "timer";
320 compatible = "snps,dw-apb-timer";
323 clocks = <&chip_clk CLKID_CFG>;
324 clock-names = "timer";
328 aic: interrupt-controller@3000 {
329 compatible = "snps,dw-apb-ictl";
330 reg = <0x3000 0xc00>;
331 interrupt-controller;
332 #interrupt-cells = <1>;
333 interrupt-parent = <&gic>;
334 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
338 chip: chip-control@ea0000 {
339 compatible = "simple-mfd", "syscon";
340 reg = <0xea0000 0x400>;
343 compatible = "marvell,berlin2-clk";
346 clock-names = "refclk";
349 soc_pinctrl: pin-controller {
350 compatible = "marvell,berlin2cd-soc-pinctrl";
352 uart0_pmux: uart0-pmux {
359 compatible = "marvell,berlin2-reset";
365 compatible = "chipidea,usb2";
366 reg = <0xed0000 0x200>;
367 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
368 clocks = <&chip_clk CLKID_USB0>;
370 phy-names = "usb-phy";
375 compatible = "chipidea,usb2";
376 reg = <0xee0000 0x200>;
377 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
378 clocks = <&chip_clk CLKID_USB1>;
380 phy-names = "usb-phy";
385 compatible = "marvell,berlin-pwm";
386 reg = <0xf20000 0x40>;
387 clocks = <&chip_clk CLKID_CFG>;
392 compatible = "simple-bus";
393 #address-cells = <1>;
396 ranges = <0 0xfc0000 0x10000>;
397 interrupt-parent = <&sic>;
399 wdt0: watchdog@1000 {
400 compatible = "snps,dw-wdt";
401 reg = <0x1000 0x100>;
406 wdt1: watchdog@2000 {
407 compatible = "snps,dw-wdt";
408 reg = <0x2000 0x100>;
414 wdt2: watchdog@3000 {
415 compatible = "snps,dw-wdt";
416 reg = <0x3000 0x100>;
422 sm_gpio1: gpio@5000 {
423 compatible = "snps,dw-apb-gpio";
424 reg = <0x5000 0x400>;
425 #address-cells = <1>;
429 compatible = "snps,dw-apb-gpio-port";
437 sm_gpio0: gpio@c000 {
438 compatible = "snps,dw-apb-gpio";
439 reg = <0xc000 0x400>;
440 #address-cells = <1>;
444 compatible = "snps,dw-apb-gpio-port";
453 compatible = "snps,dw-apb-uart";
454 reg = <0x9000 0x100>;
459 pinctrl-0 = <&uart0_pmux>;
460 pinctrl-names = "default";
465 compatible = "snps,dw-apb-uart";
466 reg = <0xa000 0x100>;
474 sysctrl: system-controller@d000 {
475 compatible = "simple-mfd", "syscon";
476 reg = <0xd000 0x100>;
478 sys_pinctrl: pin-controller {
479 compatible = "marvell,berlin2cd-system-pinctrl";
483 sic: interrupt-controller@e000 {
484 compatible = "snps,dw-apb-ictl";
485 reg = <0xe000 0x400>;
486 interrupt-controller;
487 #interrupt-cells = <1>;
488 interrupt-parent = <&gic>;
489 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;