5 #include <dt-bindings/input/input.h>
8 compatible = "arcadyan,arv7518pw", "lantiq,xway", "lantiq,danube";
9 model = "Astoria Networks ARV7518PW";
12 bootargs = "console=ttyLTQ0,115200";
16 led-boot = &power_green;
17 led-failsafe = &power_red;
18 led-running = &power_green;
21 led-internet = &online_green;
27 reg = <0x0 0x4000000>;
39 compatible = "lantiq,nor";
41 reg = <0 0x0 0x2000000>;
46 compatible = "fixed-partitions";
52 reg = <0x00000 0x10000>;
58 reg = <0x10000 0x10000>;
63 reg = <0x20000 0x7d0000>;
66 boardconfig: partition@400000 {
67 label = "boardconfig";
68 reg = <0x7f0000 0x10000>;
74 gpiomm: gpiomm@4000000 {
75 compatible = "lantiq,gpio-mm";
81 lantiq,shadow = <0x0>;
85 gpio: pinmux@E100B10 {
86 pinctrl-names = "default";
87 pinctrl-0 = <&state_default>;
89 state_default: pinmux {
91 lantiq,groups = "ebu cs1";
92 lantiq,function = "ebu";
95 lantiq,groups = "req1";
96 lantiq,function = "pci";
97 lantiq,open-drain = <1>;
102 lantiq,groups = "gnt1";
103 lantiq,function = "pci";
108 lantiq,pins = "io21";
113 lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
117 lantiq,pins = "io28", "io30";
120 lantiq,open-drain = <1>;
127 mtd-mac-address = <&boardconfig 0x16>;
132 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
137 #define SWITCH_RESET 13
140 compatible = "gpio-keys-polled";
141 #address-cells = <1>;
143 poll-interval = <100>;
147 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
148 linux,code = <KEY_RFKILL>;
152 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
153 linux,code = <KEY_RESTART>;
158 compatible = "gpio-leds";
160 label = "arv7518pw:green:power";
161 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
162 default-state = "keep";
165 label = "arv7518pw:green:dsl";
166 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
168 online_green: online {
169 label = "arv7518pw:green:internet";
170 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
173 label = "arv7518pw:green:wlan";
174 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
177 label = "arv7518pw:red:power";
178 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
181 label = "arv7518pw:red:internet";
182 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
185 label = "arv7518pw:green:usb";
186 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
189 label = "arv7518pw:green:voip";
190 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
193 label = "arv7518pw:green:phone1";
194 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
197 label = "arv7518pw:green:phone2";
198 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
201 label = "arv7518pw:amber:unlabeled";
202 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
205 label = "arv7518pw:amber:wps";
206 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
209 label = "arv7518pw:green:wps";
210 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
213 label = "arv7518pw:red:wps";
214 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
221 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
222 lantiq,external-clock;
226 compatible = "pci168c,0029";
227 reg = <0x7000 0 0 0 0>;
228 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
229 mtd-mac-address = <&boardconfig 0x16>;
230 mtd-mac-address-increment = <1>;