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";
40 pinctrl-0 = < &pmx_btn_wps &pmx_btn_reset >;
41 pinctrl-names = "default";
45 linux,code = <KEY_WPS_BUTTON>;
46 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
50 label = "Reset Button";
51 linux,code = <KEY_RESTART>;
52 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
57 compatible = "gpio-leds";
58 pinctrl-0 = < &pmx_led_green_power >;
59 pinctrl-names = "default";
62 label = "audi:green:power";
63 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
73 compatible = "marvell,88e6171";
85 compatible = "marvell,dsa";
89 dsa,ethernet = <ð0port>;
90 dsa,mii-bus = <&mdio>;
95 reg = <16 0>; /* MDIO address 16, switch 0 in tree */
131 pmx_led_green_power: pmx-led-green-power {
132 marvell,pins = "mpp7";
133 marvell,function = "gpo";
135 pmx_btn_wps: pmx-btn-wps {
136 marvell,pins = "mpp47";
137 marvell,function = "gpio";
139 pmx_btn_reset: pmx-btn-reset {
140 marvell,pins = "mpp48";
141 marvell,function = "gpio";
147 pinctrl-0 = <&pmx_nand>;
148 pinctrl-names = "default";
151 compatible = "fixed-partitions";
152 #address-cells = <1>;
163 reg = <0x80000 0x4000>;
168 reg = <0x84000 0x4000>;
173 reg = <0x200000 0x290000>;
178 reg = <0x490000 0x1170000>;
183 reg = <0x1600000 0x290000>;
188 reg = <0x1890000 0x1170000>;
193 reg = <0x2a00000 0x1600000>;
198 reg = <0x88000 0x178000>;
224 /* eth0 is connected to a Marvell 88E6171 switch, without a PHY. So set
225 * fixed speed and duplex.
235 /* eth1 is connected to the switch at port 6. However DSA only supports a
236 * single CPU port. Upstream uses DSA so they disable this port to avoid confusion.
246 /* There is no battery on the board, so the RTC does not keep
247 * time when there is no power, making it useless.