5 #include <dt-bindings/input/input.h>
8 model = "ARV7518PW - Astoria Networks";
11 led-boot = &power_green;
12 led-failsafe = &power_red;
13 led-running = &power_green;
16 led-internet = &online_green;
22 reg = <0x0 0x4000000>;
34 compatible = "lantiq,nor";
36 reg = <0 0x0 0x2000000>;
41 compatible = "fixed-partitions";
47 reg = <0x00000 0x10000>;
53 reg = <0x10000 0x10000>;
58 reg = <0x20000 0x7d0000>;
61 boardconfig: partition@400000 {
62 label = "boardconfig";
63 reg = <0x7f0000 0x10000>;
69 gpiomm: gpiomm@4000000 {
70 compatible = "lantiq,gpio-mm";
76 lantiq,shadow = <0x0>;
80 gpio: pinmux@E100B10 {
81 pinctrl-names = "default";
82 pinctrl-0 = <&state_default>;
84 state_default: pinmux {
86 lantiq,groups = "ebu cs1";
87 lantiq,function = "ebu";
90 lantiq,groups = "req1";
91 lantiq,function = "pci";
92 lantiq,open-drain = <1>;
97 lantiq,groups = "gnt1";
98 lantiq,function = "pci";
103 lantiq,pins = "io21";
108 lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
112 lantiq,pins = "io28", "io30";
115 lantiq,open-drain = <1>;
122 mtd-mac-address = <&boardconfig 0x16>;
127 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
132 #define SWITCH_RESET 13
135 compatible = "gpio-keys-polled";
136 #address-cells = <1>;
138 poll-interval = <100>;
142 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
143 linux,code = <KEY_RFKILL>;
147 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
148 linux,code = <KEY_RESTART>;
153 compatible = "gpio-leds";
155 label = "arv7518pw:green:power";
156 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
157 default-state = "keep";
160 label = "arv7518pw:green:dsl";
161 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
163 online_green: online {
164 label = "arv7518pw:green:internet";
165 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
168 label = "arv7518pw:green:wlan";
169 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
172 label = "arv7518pw:red:power";
173 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
176 label = "arv7518pw:red:internet";
177 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
180 label = "arv7518pw:green:usb";
181 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
184 label = "arv7518pw:green:voip";
185 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
188 label = "arv7518pw:green:phone1";
189 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
192 label = "arv7518pw:green:phone2";
193 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
196 label = "arv7518pw:amber:unlabeled";
197 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
200 label = "arv7518pw:amber:wps";
201 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
204 label = "arv7518pw:green:wps";
205 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
208 label = "arv7518pw:red:wps";
209 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
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>;