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 nvmem-cells = <&macaddr_boardconfig_16 0>;
153 nvmem-cell-names = "mac-address";
158 compatible = "lantiq,nor";
160 reg = <0 0x0 0x2000000>;
163 compatible = "fixed-partitions";
164 #address-cells = <1>;
169 reg = <0x00000 0x10000>;
174 label = "u-boot-env";
175 reg = <0x10000 0x10000>;
180 reg = <0x20000 0x7d0000>;
183 boardconfig: partition@7f0000 {
184 label = "boardconfig";
185 reg = <0x7f0000 0x10000>;
189 compatible = "fixed-layout";
190 #address-cells = <1>;
193 macaddr_boardconfig_16: macaddr@16 {
194 compatible = "mac-base";
196 #nvmem-cell-cells = <1>;
204 compatible = "lantiq,gpio-mm";
206 #address-cells = <1>;
210 lantiq,shadow = <0x0>;
217 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
218 pinctrl-names = "default";
220 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
221 lantiq,external-clock;
225 compatible = "pci168c,0029";
226 reg = <0x7000 0 0 0 0>;
227 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
228 nvmem-cells = <&macaddr_boardconfig_16 1>;
229 nvmem-cell-names = "mac-address";
239 vbus-supply = <&usb_vbus>;