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 reg = <0x0 0x4000000>;
32 compatible = "gpio-keys-polled";
35 poll-interval = <100>;
39 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RFKILL>;
44 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
50 compatible = "gpio-leds";
52 label = "arv7518pw:green:power";
53 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
54 default-state = "keep";
57 label = "arv7518pw:green:dsl";
58 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
60 online_green: online {
61 label = "arv7518pw:green:internet";
62 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
65 label = "arv7518pw:green:wlan";
66 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
69 label = "arv7518pw:red:power";
70 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
73 label = "arv7518pw:red:internet";
74 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
77 label = "arv7518pw:green:usb";
78 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
81 label = "arv7518pw:green:voip";
82 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
85 label = "arv7518pw:green:phone1";
86 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
89 label = "arv7518pw:green:phone2";
90 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
93 label = "arv7518pw:amber:unlabeled";
94 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
97 label = "arv7518pw:amber:wps";
98 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
101 label = "arv7518pw:green:wps";
102 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
105 label = "arv7518pw:red:wps";
106 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&state_default>;
115 state_default: pinmux {
117 lantiq,groups = "ebu cs1";
118 lantiq,function = "ebu";
121 lantiq,groups = "req1";
122 lantiq,function = "pci";
123 lantiq,open-drain = <1>;
128 lantiq,groups = "gnt1";
129 lantiq,function = "pci";
134 lantiq,pins = "io21";
139 lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
143 lantiq,pins = "io28", "io30";
146 lantiq,open-drain = <1>;
150 usb_vbus: regulator-usb-vbus {
151 compatible = "regulator-fixed";
153 regulator-name = "USB_VBUS";
155 regulator-min-microvolt = <5000000>;
156 regulator-max-microvolt = <5000000>;
158 gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
165 lantiq,shadow = <0x0>;
169 #define SWITCH_RESET 13
173 mtd-mac-address = <&boardconfig 0x16>;
178 compatible = "lantiq,nor";
180 reg = <0 0x0 0x2000000>;
181 #address-cells = <1>;
185 compatible = "fixed-partitions";
186 #address-cells = <1>;
191 reg = <0x00000 0x10000>;
197 reg = <0x10000 0x10000>;
202 reg = <0x20000 0x7d0000>;
205 boardconfig: partition@400000 {
206 label = "boardconfig";
207 reg = <0x7f0000 0x10000>;
216 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
217 lantiq,external-clock;
221 compatible = "pci168c,0029";
222 reg = <0x7000 0 0 0 0>;
223 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
224 mtd-mac-address = <&boardconfig 0x16>;
225 mtd-mac-address-increment = <1>;
235 vbus-supply = <&usb_vbus>;