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>;
44 + stdout-path = "serial0:115200n8";
48 + compatible = "gpio-keys";
49 + pinctrl-0 = < &pmx_btn_wps &pmx_btn_reset >;
50 + pinctrl-names = "default";
53 + label = "WPS Button";
54 + linux,code = <KEY_WPS_BUTTON>;
55 + gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
59 + label = "Reset Button";
60 + linux,code = <KEY_RESTART>;
61 + gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
66 + compatible = "gpio-leds";
67 + pinctrl-0 = < &pmx_led_green_power >;
68 + pinctrl-names = "default";
71 + label = "audi:green:power";
72 + gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
77 + #address-cells = <1>;
81 + compatible = "marvell,88e6171";
93 + compatible = "marvell,dsa";
94 + #address-cells = <2>;
97 + dsa,ethernet = <ð0port>;
98 + dsa,mii-bus = <&mdio>;
101 + #address-cells = <1>;
103 + reg = <16 0>; /* MDIO address 16, switch 0 in tree */
107 + label = "ethernet1";
112 + label = "ethernet2";
117 + label = "ethernet3";
122 + label = "ethernet4";
127 + label = "internet";
139 + pmx_led_green_power: pmx-led-green-power {
140 + marvell,pins = "mpp7";
141 + marvell,function = "gpo";
143 + pmx_btn_wps: pmx-btn-wps {
144 + marvell,pins = "mpp47";
145 + marvell,function = "gpio";
147 + pmx_btn_reset: pmx-btn-reset {
148 + marvell,pins = "mpp48";
149 + marvell,function = "gpio";
155 + pinctrl-0 = <&pmx_nand>;
156 + pinctrl-names = "default";
159 + compatible = "fixed-partitions";
160 + #address-cells = <1>;
165 + reg = <0x0 0x80000>;
171 + reg = <0x80000 0x4000>;
176 + reg = <0x84000 0x4000>;
181 + reg = <0x200000 0x290000>;
186 + reg = <0x490000 0x1170000>;
189 + partition@1600000 {
191 + reg = <0x1600000 0x290000>;
194 + partition@1890000 {
196 + reg = <0x1890000 0x1170000>;
199 + partition@2a00000 {
201 + reg = <0x2a00000 0x1600000>;
206 + reg = <0x88000 0x178000>;
232 +/* eth0 is connected to a Marvell 88E6171 switch, without a PHY. So set
233 + * fixed speed and duplex.
243 +/* eth1 is connected to the switch at port 6. However DSA only supports a
244 + * single CPU port. Upstream uses DSA so they disable this port to avoid confusion.
254 +/* There is no battery on the board, so the RTC does not keep
255 + * time when there is no power, making it useless.
258 + status = "disabled";