1 --- a/arch/arm/boot/dts/Makefile
2 +++ b/arch/arm/boot/dts/Makefile
3 @@ -250,6 +250,7 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += \
4 kirkwood-linkstation-lswsxl.dtb \
5 kirkwood-linkstation-lswvl.dtb \
6 kirkwood-linkstation-lswxl.dtb \
7 + kirkwood-linksys-audi.dtb \
8 kirkwood-linksys-viper.dtb \
12 +++ b/arch/arm/boot/dts/kirkwood-linksys-audi.dts
15 + * kirkwood-linksys-audi.dts - Device Tree file for Linksys EA3500
17 + * (c) 2013 Jonas Gorski <jogo@openwrt.org>
18 + * (c) 2013 Deutsche Telekom Innovation Laboratories
19 + * (c) 2014 Luka Perkov <luka@openwrt.org>
20 + * (c) 2014 Dan Walters <dan@walters.io>
22 + * This file is licensed under the terms of the GNU General Public
23 + * License version 2. This program is licensed "as is" without any
24 + * warranty of any kind, whether express or implied.
29 +#include "kirkwood.dtsi"
30 +#include "kirkwood-6282.dtsi"
33 + model = "Linksys Audi (EA3500)";
34 + compatible = "linksys,audi", "marvell,kirkwood-88f6282", "marvell,kirkwood";
37 + device_type = "memory";
38 + reg = <0x00000000 0x4000000>;
42 + led-boot = &led_power;
43 + led-failsafe = &led_power;
44 + led-running = &led_power;
45 + led-upgrade = &led_power;
50 + stdout-path = "serial0:115200n8";
54 + compatible = "gpio-keys";
55 + #address-cells = <1>;
57 + pinctrl-0 = < &pmx_btn_wps &pmx_btn_reset >;
58 + pinctrl-names = "default";
61 + label = "WPS Button";
62 + linux,code = <KEY_WPS_BUTTON>;
63 + gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
67 + label = "Reset Button";
68 + linux,code = <KEY_RESTART>;
69 + gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
74 + compatible = "gpio-leds";
75 + pinctrl-0 = < &pmx_led_green_power >;
76 + pinctrl-names = "default";
79 + label = "audi:green:power";
80 + gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
85 + compatible = "marvell,88e6171";
96 + compatible = "marvell,dsa";
97 + #address-cells = <2>;
100 + dsa,ethernet = <ð0port>;
101 + dsa,mii-bus = <&mdio>;
104 + #address-cells = <1>;
106 + reg = <16 0>; /* MDIO address 16, switch 0 in tree */
110 + label = "ethernet1";
115 + label = "ethernet2";
120 + label = "ethernet3";
125 + label = "ethernet4";
130 + label = "internet";
142 + pmx_led_green_power: pmx-led-green-power {
143 + marvell,pins = "mpp7";
144 + marvell,function = "gpo";
146 + pmx_btn_wps: pmx-btn-wps {
147 + marvell,pins = "mpp47";
148 + marvell,function = "gpio";
150 + pmx_btn_reset: pmx-btn-reset {
151 + marvell,pins = "mpp48";
152 + marvell,function = "gpio";
158 + pinctrl-0 = <&pmx_nand>;
159 + pinctrl-names = "default";
162 + compatible = "fixed-partitions";
163 + #address-cells = <1>;
168 + reg = <0x0 0x80000>;
174 + reg = <0x80000 0x4000>;
179 + reg = <0x84000 0x4000>;
184 + reg = <0x200000 0x290000>;
189 + reg = <0x490000 0x1170000>;
192 + partition@1600000 {
194 + reg = <0x1600000 0x290000>;
197 + partition@1890000 {
199 + reg = <0x1890000 0x1170000>;
202 + partition@2a00000 {
204 + reg = <0x2a00000 0x1600000>;
209 + reg = <0x88000 0x178000>;
235 +/* eth0 is connected to a Marvell 88E6171 switch, without a PHY. So set
236 + * fixed speed and duplex.
246 +/* eth1 is connected to the switch at port 6. However DSA only supports a
247 + * single CPU port. Upstream uses DSA so they disable this port to avoid confusion.
257 +/* There is no battery on the board, so the RTC does not keep
258 + * time when there is no power, making it useless.
261 + status = "disabled";