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>;
31 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
38 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RFKILL>;
43 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 compatible = "gpio-leds";
51 label = "arv7518pw:green:power";
52 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
53 default-state = "keep";
56 label = "arv7518pw:green:dsl";
57 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
59 online_green: online {
60 label = "arv7518pw:green:internet";
61 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
64 label = "arv7518pw:green:wlan";
65 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
68 label = "arv7518pw:red:power";
69 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
72 label = "arv7518pw:red:internet";
73 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
76 label = "arv7518pw:green:usb";
77 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
80 label = "arv7518pw:green:voip";
81 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
84 label = "arv7518pw:green:phone1";
85 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
88 label = "arv7518pw:green:phone2";
89 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
92 label = "arv7518pw:amber:unlabeled";
93 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
96 label = "arv7518pw:amber:wps";
97 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
100 label = "arv7518pw:green:wps";
101 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
104 label = "arv7518pw:red:wps";
105 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&state_default>;
114 state_default: pinmux {
116 lantiq,groups = "ebu cs1";
117 lantiq,function = "ebu";
120 lantiq,groups = "req1";
121 lantiq,function = "pci";
122 lantiq,open-drain = <1>;
127 lantiq,groups = "gnt1";
128 lantiq,function = "pci";
133 lantiq,pins = "io21";
138 lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
142 lantiq,pins = "io28", "io30";
145 lantiq,open-drain = <1>;
152 lantiq,shadow = <0x0>;
156 #define SWITCH_RESET 13
160 mtd-mac-address = <&boardconfig 0x16>;
165 compatible = "lantiq,nor";
167 reg = <0 0x0 0x2000000>;
168 #address-cells = <1>;
172 compatible = "fixed-partitions";
173 #address-cells = <1>;
178 reg = <0x00000 0x10000>;
184 reg = <0x10000 0x10000>;
189 reg = <0x20000 0x7d0000>;
192 boardconfig: partition@400000 {
193 label = "boardconfig";
194 reg = <0x7f0000 0x10000>;
203 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
204 lantiq,external-clock;
208 compatible = "pci168c,0029";
209 reg = <0x7000 0 0 0 0>;
210 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
211 mtd-mac-address = <&boardconfig 0x16>;
212 mtd-mac-address-increment = <1>;
218 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;