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 <dt-bindings/clock/berlin2.h>
43 #include <dt-bindings/interrupt-controller/arm-gic.h>
46 model = "Marvell Armada 1500-mini (BG2CD) SoC";
47 compatible = "marvell,berlin2cd", "marvell,berlin";
61 compatible = "arm,cortex-a9";
63 next-level-cache = <&l2>;
66 clocks = <&chip_clk CLKID_CPU>;
67 clock-latency = <100000>;
77 compatible = "fixed-clock";
79 clock-frequency = <25000000>;
83 compatible = "simple-bus";
86 interrupt-parent = <&gic>;
88 ranges = <0 0xf7000000 0x1000000>;
91 compatible = "arm,cortex-a9-pmu";
92 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
95 sdhci0: sdhci@ab0000 {
96 compatible = "mrvl,pxav3-mmc";
97 reg = <0xab0000 0x200>;
98 clocks = <&chip_clk CLKID_SDIO0XIN>, <&chip_clk CLKID_SDIO0>;
99 clock-names = "io", "core";
100 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
104 l2: l2-cache-controller@ac0000 {
105 compatible = "arm,pl310-cache";
106 reg = <0xac0000 0x1000>;
111 gic: interrupt-controller@ad1000 {
112 compatible = "arm,cortex-a9-gic";
113 reg = <0xad1000 0x1000>, <0xad0100 0x0100>;
114 interrupt-controller;
115 #interrupt-cells = <3>;
119 compatible = "arm,cortex-a9-twd-timer";
120 reg = <0xad0600 0x20>;
121 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
122 clocks = <&chip_clk CLKID_TWD>;
125 usb_phy0: usb-phy@b74000 {
126 compatible = "marvell,berlin2cd-usb-phy";
127 reg = <0xb74000 0x128>;
129 resets = <&chip_rst 0x178 23>;
133 usb_phy1: usb-phy@b78000 {
134 compatible = "marvell,berlin2cd-usb-phy";
135 reg = <0xb78000 0x128>;
137 resets = <&chip_rst 0x178 24>;
141 eth1: ethernet@b90000 {
142 compatible = "marvell,pxa168-eth";
143 reg = <0xb90000 0x10000>;
144 clocks = <&chip_clk CLKID_GETH1>;
145 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
146 /* set by bootloader */
147 local-mac-address = [00 00 00 00 00 00];
148 #address-cells = <1>;
150 phy-connection-type = "mii";
151 phy-handle = <ðphy1>;
154 ethphy1: ethernet-phy@0 {
159 eth0: ethernet@e50000 {
160 compatible = "marvell,pxa168-eth";
161 reg = <0xe50000 0x10000>;
162 clocks = <&chip_clk CLKID_GETH0>;
163 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
164 /* set by bootloader */
165 local-mac-address = [00 00 00 00 00 00];
166 #address-cells = <1>;
168 phy-connection-type = "mii";
169 phy-handle = <ðphy0>;
172 ethphy0: ethernet-phy@0 {
178 compatible = "simple-bus";
179 #address-cells = <1>;
182 ranges = <0 0xe80000 0x10000>;
183 interrupt-parent = <&aic>;
186 compatible = "snps,dw-apb-gpio";
187 reg = <0x0400 0x400>;
188 #address-cells = <1>;
192 compatible = "snps,dw-apb-gpio-port";
197 interrupt-controller;
198 #interrupt-cells = <2>;
204 compatible = "snps,dw-apb-gpio";
205 reg = <0x0800 0x400>;
206 #address-cells = <1>;
210 compatible = "snps,dw-apb-gpio-port";
215 interrupt-controller;
216 #interrupt-cells = <2>;
222 compatible = "snps,dw-apb-gpio";
223 reg = <0x0c00 0x400>;
224 #address-cells = <1>;
228 compatible = "snps,dw-apb-gpio-port";
233 interrupt-controller;
234 #interrupt-cells = <2>;
240 compatible = "snps,dw-apb-gpio";
241 reg = <0x1000 0x400>;
242 #address-cells = <1>;
246 compatible = "snps,dw-apb-gpio-port";
251 interrupt-controller;
252 #interrupt-cells = <2>;
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";
321 compatible = "snps,dw-apb-timer";
324 clocks = <&chip_clk CLKID_CFG>;
325 clock-names = "timer";
329 aic: interrupt-controller@3000 {
330 compatible = "snps,dw-apb-ictl";
331 reg = <0x3000 0xc00>;
332 interrupt-controller;
333 #interrupt-cells = <1>;
334 interrupt-parent = <&gic>;
335 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
339 chip: chip-control@ea0000 {
340 compatible = "simple-mfd", "syscon";
341 reg = <0xea0000 0x400>;
344 compatible = "marvell,berlin2-clk";
347 clock-names = "refclk";
350 soc_pinctrl: pin-controller {
351 compatible = "marvell,berlin2cd-soc-pinctrl";
353 uart0_pmux: uart0-pmux {
360 compatible = "marvell,berlin2-reset";
366 compatible = "chipidea,usb2";
367 reg = <0xed0000 0x200>;
368 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
369 clocks = <&chip_clk CLKID_USB0>;
371 phy-names = "usb-phy";
376 compatible = "chipidea,usb2";
377 reg = <0xee0000 0x200>;
378 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
379 clocks = <&chip_clk CLKID_USB1>;
381 phy-names = "usb-phy";
386 compatible = "marvell,berlin-pwm";
387 reg = <0xf20000 0x40>;
388 clocks = <&chip_clk CLKID_CFG>;
393 compatible = "simple-bus";
394 #address-cells = <1>;
397 ranges = <0 0xfc0000 0x10000>;
398 interrupt-parent = <&sic>;
400 wdt0: watchdog@1000 {
401 compatible = "snps,dw-wdt";
402 reg = <0x1000 0x100>;
407 wdt1: watchdog@2000 {
408 compatible = "snps,dw-wdt";
409 reg = <0x2000 0x100>;
415 wdt2: watchdog@3000 {
416 compatible = "snps,dw-wdt";
417 reg = <0x3000 0x100>;
423 sm_gpio1: gpio@5000 {
424 compatible = "snps,dw-apb-gpio";
425 reg = <0x5000 0x400>;
426 #address-cells = <1>;
430 compatible = "snps,dw-apb-gpio-port";
438 sm_gpio0: gpio@c000 {
439 compatible = "snps,dw-apb-gpio";
440 reg = <0xc000 0x400>;
441 #address-cells = <1>;
445 compatible = "snps,dw-apb-gpio-port";
454 compatible = "snps,dw-apb-uart";
455 reg = <0x9000 0x100>;
460 pinctrl-0 = <&uart0_pmux>;
461 pinctrl-names = "default";
466 compatible = "snps,dw-apb-uart";
467 reg = <0xa000 0x100>;
475 sysctrl: system-controller@d000 {
476 compatible = "simple-mfd", "syscon";
477 reg = <0xd000 0x100>;
479 sys_pinctrl: pin-controller {
480 compatible = "marvell,berlin2cd-system-pinctrl";
484 sic: interrupt-controller@e000 {
485 compatible = "snps,dw-apb-ictl";
486 reg = <0xe000 0x400>;
487 interrupt-controller;
488 #interrupt-cells = <1>;
489 interrupt-parent = <&gic>;
490 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;