2 * kirkwood-linksys-audi.dts - Device Tree file for Linksys EA3500
4 * (c) 2013 Jonas Gorski <jogo@openwrt.org>
5 * (c) 2013 Deutsche Telekom Innovation Laboratories
6 * (c) 2014 Luka Perkov <luka@openwrt.org>
7 * (c) 2014 Dan Walters <dan@walters.io>
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.
16 #include "kirkwood.dtsi"
17 #include "kirkwood-6282.dtsi"
20 model = "Linksys Audi (EA3500)";
21 compatible = "linksys,audi", "marvell,kirkwood-88f6282", "marvell,kirkwood";
24 device_type = "memory";
25 reg = <0x00000000 0x4000000>;
29 led-boot = &led_power;
30 led-failsafe = &led_power;
31 led-running = &led_power;
32 led-upgrade = &led_power;
37 stdout-path = "serial0:115200n8";
41 compatible = "gpio-keys";
44 pinctrl-0 = < &pmx_btn_wps &pmx_btn_reset >;
45 pinctrl-names = "default";
49 linux,code = <KEY_WPS_BUTTON>;
50 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
54 label = "Reset Button";
55 linux,code = <KEY_RESTART>;
56 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
61 compatible = "gpio-leds";
62 pinctrl-0 = < &pmx_led_green_power >;
63 pinctrl-names = "default";
66 label = "audi:green:power";
67 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
73 compatible = "marvell,88e6171";
84 compatible = "marvell,dsa";
88 dsa,ethernet = <ð0port>;
89 dsa,mii-bus = <&mdio>;
94 reg = <16 0>; /* MDIO address 16, switch 0 in tree */
130 pmx_led_green_power: pmx-led-green-power {
131 marvell,pins = "mpp7";
132 marvell,function = "gpo";
134 pmx_btn_wps: pmx-btn-wps {
135 marvell,pins = "mpp47";
136 marvell,function = "gpio";
138 pmx_btn_reset: pmx-btn-reset {
139 marvell,pins = "mpp48";
140 marvell,function = "gpio";
146 pinctrl-0 = <&pmx_nand>;
147 pinctrl-names = "default";
150 compatible = "fixed-partitions";
151 #address-cells = <1>;
162 reg = <0x80000 0x4000>;
167 reg = <0x84000 0x4000>;
172 reg = <0x200000 0x290000>;
177 reg = <0x490000 0x1170000>;
182 reg = <0x1600000 0x290000>;
187 reg = <0x1890000 0x1170000>;
192 reg = <0x2a00000 0x1600000>;
197 reg = <0x88000 0x178000>;
223 /* eth0 is connected to a Marvell 88E6171 switch, without a PHY. So set
224 * fixed speed and duplex.
234 /* eth1 is connected to the switch at port 6. However DSA only supports a
235 * single CPU port. Upstream uses DSA so they disable this port to avoid confusion.
245 /* There is no battery on the board, so the RTC does not keep
246 * time when there is no power, making it useless.