3 #include <dt-bindings/input/input.h>
6 compatible = "arcadyan,arv7518pw", "lantiq,xway", "lantiq,danube";
7 model = "Astoria Networks ARV7518PW";
10 bootargs = "console=ttyLTQ0,115200";
14 led-boot = &power_green;
15 led-failsafe = &power_red;
16 led-running = &power_green;
17 led-upgrade = &power_green;
20 led-internet = &online_green;
26 device_type = "memory";
27 reg = <0x0 0x4000000>;
31 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
36 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RFKILL>;
41 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
47 compatible = "gpio-leds";
49 label = "green:power";
50 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
51 default-state = "keep";
55 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
57 online_green: online {
58 label = "green:internet";
59 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
63 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
70 label = "red:internet";
71 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
75 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
79 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
82 label = "green:phone1";
83 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
86 label = "green:phone2";
87 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
90 label = "amber:unlabeled";
91 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
95 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
99 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
103 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
107 usb_vbus: regulator-usb-vbus {
108 compatible = "regulator-fixed";
110 regulator-name = "USB_VBUS";
112 regulator-min-microvolt = <5000000>;
113 regulator-max-microvolt = <5000000>;
115 gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&state_default>;
124 state_default: pinmux {
126 lantiq,groups = "ebu cs1";
127 lantiq,function = "ebu";
130 lantiq,pins = "io21";
135 lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
139 lantiq,pins = "io28", "io30";
142 lantiq,open-drain = <1>;
148 #define SWITCH_RESET 13
152 mtd-mac-address = <&boardconfig 0x16>;
157 compatible = "lantiq,nor";
159 reg = <0 0x0 0x2000000>;
162 compatible = "fixed-partitions";
163 #address-cells = <1>;
168 reg = <0x00000 0x10000>;
173 label = "u-boot-env";
174 reg = <0x10000 0x10000>;
179 reg = <0x20000 0x7d0000>;
182 boardconfig: partition@7f0000 {
183 label = "boardconfig";
184 reg = <0x7f0000 0x10000>;
191 compatible = "lantiq,gpio-mm";
193 #address-cells = <1>;
197 lantiq,shadow = <0x0>;
204 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
205 pinctrl-names = "default";
207 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
208 lantiq,external-clock;
212 compatible = "pci168c,0029";
213 reg = <0x7000 0 0 0 0>;
214 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
215 mtd-mac-address = <&boardconfig 0x16>;
216 mac-address-increment = <1>;
226 vbus-supply = <&usb_vbus>;