1 --- a/arch/arm/boot/dts/Makefile
2 +++ b/arch/arm/boot/dts/Makefile
3 @@ -220,6 +220,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>;
46 + stdout-path = "serial0:115200n8";
50 + compatible = "gpio-keys";
51 + #address-cells = <1>;
53 + pinctrl-0 = < &pmx_btn_wps &pmx_btn_reset >;
54 + pinctrl-names = "default";
57 + label = "WPS Button";
58 + linux,code = <KEY_WPS_BUTTON>;
59 + gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
63 + label = "Reset Button";
64 + linux,code = <KEY_RESTART>;
65 + gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
70 + compatible = "gpio-leds";
71 + pinctrl-0 = < &pmx_led_green_power >;
72 + pinctrl-names = "default";
75 + label = "audi:green:power";
76 + gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
81 + compatible = "marvell,88e6171";
92 + compatible = "marvell,dsa";
93 + #address-cells = <2>;
96 + dsa,ethernet = <ð0port>;
97 + dsa,mii-bus = <&mdio>;
100 + #address-cells = <1>;
102 + reg = <16 0>; /* MDIO address 16, switch 0 in tree */
106 + label = "ethernet1";
111 + label = "ethernet2";
116 + label = "ethernet3";
121 + label = "ethernet4";
126 + label = "internet";
138 + pmx_led_green_power: pmx-led-green-power {
139 + marvell,pins = "mpp7";
140 + marvell,function = "gpo";
142 + pmx_btn_wps: pmx-btn-wps {
143 + marvell,pins = "mpp47";
144 + marvell,function = "gpio";
146 + pmx_btn_reset: pmx-btn-reset {
147 + marvell,pins = "mpp48";
148 + marvell,function = "gpio";
154 + pinctrl-0 = <&pmx_nand>;
155 + pinctrl-names = "default";
158 + compatible = "fixed-partitions";
159 + #address-cells = <1>;
164 + reg = <0x0 0x80000>;
170 + reg = <0x80000 0x4000>;
175 + reg = <0x84000 0x4000>;
180 + reg = <0x200000 0x290000>;
185 + reg = <0x490000 0x1170000>;
188 + partition@1600000 {
190 + reg = <0x1600000 0x290000>;
193 + partition@1890000 {
195 + reg = <0x1890000 0x1170000>;
198 + partition@2a00000 {
200 + reg = <0x2a00000 0x1600000>;
205 + reg = <0x88000 0x178000>;
231 +/* eth0 is connected to a Marvell 88E6171 switch, without a PHY. So set
232 + * fixed speed and duplex.
242 +/* eth1 is connected to the switch at port 6. However DSA only supports a
243 + * single CPU port. Upstream uses DSA so they disable this port to avoid confusion.
253 +/* There is no battery on the board, so the RTC does not keep
254 + * time when there is no power, making it useless.
257 + status = "disabled";