5 #include <dt-bindings/input/input.h>
8 model = "ARV7518PW - Astoria Networks";
11 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
15 led-boot = &power_green;
16 led-failsafe = &power_red;
17 led-running = &power_green;
20 led-internet = &online_green;
26 reg = <0x0 0x4000000>;
38 compatible = "lantiq,nor";
40 reg = <0 0x0 0x2000000>;
45 compatible = "fixed-partitions";
51 reg = <0x00000 0x10000>;
57 reg = <0x10000 0x10000>;
62 reg = <0x20000 0x7d0000>;
65 boardconfig: partition@400000 {
66 label = "boardconfig";
67 reg = <0x7f0000 0x10000>;
73 gpiomm: gpiomm@4000000 {
74 compatible = "lantiq,gpio-mm";
80 lantiq,shadow = <0x0>;
84 compatible = "ath9k,eeprom";
85 ath,eep-flash = <&boardconfig 0x400>;
86 ath,mac-offset = <0x16>;
87 ath,mac-increment = <1>;
93 gpio: pinmux@E100B10 {
94 pinctrl-names = "default";
95 pinctrl-0 = <&state_default>;
97 state_default: pinmux {
99 lantiq,groups = "ebu cs1";
100 lantiq,function = "ebu";
103 lantiq,groups = "req1";
104 lantiq,function = "pci";
105 lantiq,open-drain = <1>;
110 lantiq,groups = "gnt1";
111 lantiq,function = "pci";
116 lantiq,pins = "io21";
121 lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
125 lantiq,pins = "io28", "io30";
128 lantiq,open-drain = <1>;
135 mtd-mac-address = <&boardconfig 0x16>;
140 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
145 lantiq,external-clock;
146 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
152 #define SWITCH_RESET 13
155 compatible = "gpio-keys-polled";
156 #address-cells = <1>;
158 poll-interval = <100>;
162 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
163 linux,code = <KEY_RFKILL>;
167 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
168 linux,code = <KEY_RESTART>;
173 compatible = "gpio-leds";
175 label = "arv7518pw:green:power";
176 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
177 default-state = "keep";
180 label = "arv7518pw:green:dsl";
181 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
183 online_green: online {
184 label = "arv7518pw:green:internet";
185 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
188 label = "arv7518pw:green:wlan";
189 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
192 label = "arv7518pw:red:power";
193 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
196 label = "arv7518pw:red:internet";
197 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
200 label = "arv7518pw:green:usb";
201 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
204 label = "arv7518pw:green:voip";
205 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
208 label = "arv7518pw:green:phone1";
209 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
212 label = "arv7518pw:green:phone2";
213 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
216 label = "arv7518pw:amber:unlabeled";
217 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
220 label = "arv7518pw:amber:wps";
221 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
224 label = "arv7518pw:green:wps";
225 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
228 label = "arv7518pw:red:wps";
229 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;