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;
19 led-upgrade = &power_green;
22 led-internet = &online_green;
28 device_type = "memory";
29 reg = <0x0 0x4000000>;
33 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>;
149 usb_vbus: regulator-usb-vbus {
150 compatible = "regulator-fixed";
152 regulator-name = "USB_VBUS";
154 regulator-min-microvolt = <5000000>;
155 regulator-max-microvolt = <5000000>;
157 gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
163 #define SWITCH_RESET 13
167 mtd-mac-address = <&boardconfig 0x16>;
172 compatible = "lantiq,nor";
174 reg = <0 0x0 0x2000000>;
177 compatible = "fixed-partitions";
178 #address-cells = <1>;
183 reg = <0x00000 0x10000>;
189 reg = <0x10000 0x10000>;
194 reg = <0x20000 0x7d0000>;
197 boardconfig: partition@400000 {
198 label = "boardconfig";
199 reg = <0x7f0000 0x10000>;
206 compatible = "lantiq,gpio-mm";
208 #address-cells = <1>;
212 lantiq,shadow = <0x0>;
218 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
219 lantiq,external-clock;
223 compatible = "pci168c,0029";
224 reg = <0x7000 0 0 0 0>;
225 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
226 mtd-mac-address = <&boardconfig 0x16>;
227 mtd-mac-address-increment = <1>;
237 vbus-supply = <&usb_vbus>;