2 * Device Tree file for Marvell Armada 370 Reference Design board
5 * Copied from arch/arm/boot/dts/armada-370-db.dts
7 * Copyright (C) 2013 Florian Fainelli <florian@openwrt.org>
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
13 * Note: this Device Tree assumes that the bootloader has remapped the
14 * internal registers to 0xf1000000 (instead of the default
15 * 0xd0000000). The 0xf1000000 is the default used by the recent,
16 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier
17 * boards were delivered with an older version of the bootloader that
18 * left internal registers mapped at 0xd0000000. If you are in this
19 * situation, you should either update your bootloader (preferred
20 * solution) or the below Device Tree should be adjusted.
24 #include <dt-bindings/input/input.h>
25 #include <dt-bindings/gpio/gpio.h>
26 #include "armada-370.dtsi"
29 model = "Marvell Armada 370 Reference Design";
30 compatible = "marvell,a370-rd", "marvell,armada370", "marvell,armada-370-xp";
33 bootargs = "console=ttyS0,115200 earlyprintk";
37 device_type = "memory";
38 reg = <0x00000000 0x20000000>; /* 512 MB */
42 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
43 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
48 /* Internal mini-PCIe connector */
54 /* Internal mini-PCIe connector */
71 pinctrl-0 = <&mdio_pins>;
72 pinctrl-names = "default";
73 phy0: ethernet-phy@0 {
84 pinctrl-0 = <&ge1_rgmii_pins>;
85 pinctrl-names = "default";
87 phy-mode = "rgmii-id";
95 pinctrl-0 = <&sdio_pins1>;
96 pinctrl-names = "default";
98 /* No CD or WP GPIOs */
111 compatible = "gpio-keys";
112 #address-cells = <1>;
115 label = "Software Button";
116 linux,code = <KEY_POWER>;
117 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
122 compatible = "gpio-fan";
123 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
124 gpio-fan,speed-map = <0 0 3000 1>;
125 pinctrl-0 = <&fan_pins>;
126 pinctrl-names = "default";
130 compatible = "gpio-leds";
131 pinctrl-names = "default";
132 pinctrl-0 = <&led_pins>;
135 label = "370rd:green:sw";
136 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
137 default-state = "keep";
144 marvell,nand-keep-config;
145 marvell,nand-enable-arbiter;
154 reg = <0x800000 0x800000>;
157 label = "Filesystem";
158 reg = <0x1000000 0x3f000000>;
165 compatible = "marvell,dsa";
166 #address-cells = <2>;
169 dsa,ethernet = <ð1>;
170 dsa,mii-bus = <&mdio>;
173 #address-cells = <1>;
175 reg = <0x10 0>; /* MDIO address 16, switch 0 in tree */
207 marvell,pins = "mpp8";
208 marvell,function = "gpio";
212 marvell,pins = "mpp32";
213 marvell,function = "gpio";