5 #include <dt-bindings/input/input.h>
8 model = "ARV7518PW - Astoria Networks";
11 bootargs = "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 gpio: pinmux@E100B10 {
85 pinctrl-names = "default";
86 pinctrl-0 = <&state_default>;
88 state_default: pinmux {
90 lantiq,groups = "ebu cs1";
91 lantiq,function = "ebu";
94 lantiq,groups = "req1";
95 lantiq,function = "pci";
96 lantiq,open-drain = <1>;
101 lantiq,groups = "gnt1";
102 lantiq,function = "pci";
107 lantiq,pins = "io21";
112 lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
116 lantiq,pins = "io28", "io30";
119 lantiq,open-drain = <1>;
126 mtd-mac-address = <&boardconfig 0x16>;
131 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
136 #define SWITCH_RESET 13
139 compatible = "gpio-keys-polled";
140 #address-cells = <1>;
142 poll-interval = <100>;
146 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
147 linux,code = <KEY_RFKILL>;
151 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
152 linux,code = <KEY_RESTART>;
157 compatible = "gpio-leds";
159 label = "arv7518pw:green:power";
160 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
161 default-state = "keep";
164 label = "arv7518pw:green:dsl";
165 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
167 online_green: online {
168 label = "arv7518pw:green:internet";
169 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
172 label = "arv7518pw:green:wlan";
173 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
176 label = "arv7518pw:red:power";
177 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
180 label = "arv7518pw:red:internet";
181 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
184 label = "arv7518pw:green:usb";
185 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
188 label = "arv7518pw:green:voip";
189 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
192 label = "arv7518pw:green:phone1";
193 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
196 label = "arv7518pw:green:phone2";
197 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
200 label = "arv7518pw:amber:unlabeled";
201 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
204 label = "arv7518pw:amber:wps";
205 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
208 label = "arv7518pw:green:wps";
209 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
212 label = "arv7518pw:red:wps";
213 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
220 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
221 lantiq,external-clock;
225 compatible = "pci168c,0029";
226 reg = <0x7000 0 0 0 0>;
227 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
228 mtd-mac-address = <&boardconfig 0x16>;
229 mtd-mac-address-increment = <1>;