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";
36 poll-interval = <100>;
40 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RFKILL>;
45 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
51 compatible = "gpio-leds";
53 label = "arv7518pw:green:power";
54 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
55 default-state = "keep";
58 label = "arv7518pw:green:dsl";
59 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
61 online_green: online {
62 label = "arv7518pw:green:internet";
63 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
66 label = "arv7518pw:green:wlan";
67 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
70 label = "arv7518pw:red:power";
71 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
74 label = "arv7518pw:red:internet";
75 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
78 label = "arv7518pw:green:usb";
79 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
82 label = "arv7518pw:green:voip";
83 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
86 label = "arv7518pw:green:phone1";
87 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
90 label = "arv7518pw:green:phone2";
91 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
94 label = "arv7518pw:amber:unlabeled";
95 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
98 label = "arv7518pw:amber:wps";
99 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
102 label = "arv7518pw:green:wps";
103 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
106 label = "arv7518pw:red:wps";
107 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&state_default>;
116 state_default: pinmux {
118 lantiq,groups = "ebu cs1";
119 lantiq,function = "ebu";
122 lantiq,groups = "req1";
123 lantiq,function = "pci";
124 lantiq,open-drain = <1>;
129 lantiq,groups = "gnt1";
130 lantiq,function = "pci";
135 lantiq,pins = "io21";
140 lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
144 lantiq,pins = "io28", "io30";
147 lantiq,open-drain = <1>;
151 usb_vbus: regulator-usb-vbus {
152 compatible = "regulator-fixed";
154 regulator-name = "USB_VBUS";
156 regulator-min-microvolt = <5000000>;
157 regulator-max-microvolt = <5000000>;
159 gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
166 lantiq,shadow = <0x0>;
170 #define SWITCH_RESET 13
174 mtd-mac-address = <&boardconfig 0x16>;
179 compatible = "lantiq,nor";
181 reg = <0 0x0 0x2000000>;
182 #address-cells = <1>;
186 compatible = "fixed-partitions";
187 #address-cells = <1>;
192 reg = <0x00000 0x10000>;
198 reg = <0x10000 0x10000>;
203 reg = <0x20000 0x7d0000>;
206 boardconfig: partition@400000 {
207 label = "boardconfig";
208 reg = <0x7f0000 0x10000>;
217 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
218 lantiq,external-clock;
222 compatible = "pci168c,0029";
223 reg = <0x7000 0 0 0 0>;
224 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
225 mtd-mac-address = <&boardconfig 0x16>;
226 mtd-mac-address-increment = <1>;
236 vbus-supply = <&usb_vbus>;