1 // SPDX-License-Identifier: GPL-2.0
3 * kirkwood-linksys-audi.dts - Device Tree file for Linksys EA3500
5 * (c) 2013 Jonas Gorski <jogo@openwrt.org>
6 * (c) 2013 Deutsche Telekom Innovation Laboratories
7 * (c) 2014 Luka Perkov <luka@openwrt.org>
8 * (c) 2014 Dan Walters <dan@walters.io>
14 #include "kirkwood.dtsi"
15 #include "kirkwood-6282.dtsi"
18 model = "Linksys Audi (EA3500)";
19 compatible = "linksys,audi", "marvell,kirkwood-88f6282", "marvell,kirkwood";
22 device_type = "memory";
23 reg = <0x00000000 0x4000000>;
27 led-boot = &led_power;
28 led-failsafe = &led_power;
29 led-running = &led_power;
30 led-upgrade = &led_power;
35 stdout-path = "serial0:115200n8";
39 compatible = "gpio-keys";
41 pinctrl-0 = <&pmx_btn_wps &pmx_btn_reset>;
42 pinctrl-names = "default";
46 linux,code = <KEY_WPS_BUTTON>;
47 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
51 label = "Reset Button";
52 linux,code = <KEY_RESTART>;
53 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
58 compatible = "gpio-leds";
60 pinctrl-0 = <&pmx_led_green_power>;
61 pinctrl-names = "default";
64 label = "audi:green:power";
65 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
75 compatible = "marvell,88e6171";
87 compatible = "marvell,dsa";
91 dsa,ethernet = <ð0port>;
92 dsa,mii-bus = <&mdio>;
97 reg = <16 0>; /* MDIO address 16, switch 0 in tree */
133 pmx_led_green_power: pmx-led-green-power {
134 marvell,pins = "mpp7";
135 marvell,function = "gpo";
138 pmx_btn_wps: pmx-btn-wps {
139 marvell,pins = "mpp47";
140 marvell,function = "gpio";
143 pmx_btn_reset: pmx-btn-reset {
144 marvell,pins = "mpp48";
145 marvell,function = "gpio";
152 pinctrl-0 = <&pmx_nand>;
153 pinctrl-names = "default";
156 compatible = "fixed-partitions";
157 #address-cells = <1>;
168 reg = <0x80000 0x4000>;
173 reg = <0x84000 0x4000>;
178 reg = <0x200000 0x290000>;
183 reg = <0x490000 0x1170000>;
188 reg = <0x1600000 0x290000>;
193 reg = <0x1890000 0x1170000>;
198 reg = <0x2a00000 0x1600000>;
203 reg = <0x88000 0x178000>;
228 /* eth0 is connected to a Marvell 88E6171 switch, without a PHY. So set
229 * fixed speed and duplex.
240 /* eth1 is connected to the switch at port 6. However DSA only supports a
241 * single CPU port. Upstream uses DSA so they disable this port to avoid confusion.
252 /* There is no battery on the board, so the RTC does not keep
253 * time when there is no power, making it useless.