1 --- a/arch/arm/boot/dts/Makefile
2 +++ b/arch/arm/boot/dts/Makefile
3 @@ -269,6 +269,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
14 +// SPDX-License-Identifier: GPL-2.0
16 + * kirkwood-linksys-audi.dts - Device Tree file for Linksys EA3500
18 + * (c) 2013 Jonas Gorski <jogo@openwrt.org>
19 + * (c) 2013 Deutsche Telekom Innovation Laboratories
20 + * (c) 2014 Luka Perkov <luka@openwrt.org>
21 + * (c) 2014 Dan Walters <dan@walters.io>
27 +#include "kirkwood.dtsi"
28 +#include "kirkwood-6282.dtsi"
31 + model = "Linksys Audi (EA3500)";
32 + compatible = "linksys,audi", "marvell,kirkwood-88f6282", "marvell,kirkwood";
35 + device_type = "memory";
36 + reg = <0x00000000 0x4000000>;
40 + led-boot = &led_power;
41 + led-failsafe = &led_power;
42 + led-running = &led_power;
43 + led-upgrade = &led_power;
48 + stdout-path = "serial0:115200n8";
52 + compatible = "gpio-keys";
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 + #address-cells = <1>;
85 + compatible = "marvell,88e6171";
97 + compatible = "marvell,dsa";
98 + #address-cells = <2>;
101 + dsa,ethernet = <ð0port>;
102 + dsa,mii-bus = <&mdio>;
105 + #address-cells = <1>;
107 + reg = <16 0>; /* MDIO address 16, switch 0 in tree */
111 + label = "ethernet1";
116 + label = "ethernet2";
121 + label = "ethernet3";
126 + label = "ethernet4";
131 + label = "internet";
143 + pmx_led_green_power: pmx-led-green-power {
144 + marvell,pins = "mpp7";
145 + marvell,function = "gpo";
147 + pmx_btn_wps: pmx-btn-wps {
148 + marvell,pins = "mpp47";
149 + marvell,function = "gpio";
151 + pmx_btn_reset: pmx-btn-reset {
152 + marvell,pins = "mpp48";
153 + marvell,function = "gpio";
159 + pinctrl-0 = <&pmx_nand>;
160 + pinctrl-names = "default";
163 + compatible = "fixed-partitions";
164 + #address-cells = <1>;
169 + reg = <0x0 0x80000>;
175 + reg = <0x80000 0x4000>;
180 + reg = <0x84000 0x4000>;
185 + reg = <0x200000 0x290000>;
190 + reg = <0x490000 0x1170000>;
193 + partition@1600000 {
195 + reg = <0x1600000 0x290000>;
198 + partition@1890000 {
200 + reg = <0x1890000 0x1170000>;
203 + partition@2a00000 {
205 + reg = <0x2a00000 0x1600000>;
210 + reg = <0x88000 0x178000>;
236 +/* eth0 is connected to a Marvell 88E6171 switch, without a PHY. So set
237 + * fixed speed and duplex.
247 +/* eth1 is connected to the switch at port 6. However DSA only supports a
248 + * single CPU port. Upstream uses DSA so they disable this port to avoid confusion.
258 +/* There is no battery on the board, so the RTC does not keep
259 + * time when there is no power, making it useless.
262 + status = "disabled";