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";
34 poll-interval = <100>;
38 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RFKILL>;
43 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 compatible = "gpio-leds";
51 label = "green:power";
52 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
53 default-state = "keep";
57 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
59 online_green: online {
60 label = "green:internet";
61 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
65 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
69 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
72 label = "red:internet";
73 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
77 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
81 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
84 label = "green:phone1";
85 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
88 label = "green:phone2";
89 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
92 label = "amber:unlabeled";
93 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
97 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
101 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
105 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
109 usb_vbus: regulator-usb-vbus {
110 compatible = "regulator-fixed";
112 regulator-name = "USB_VBUS";
114 regulator-min-microvolt = <5000000>;
115 regulator-max-microvolt = <5000000>;
117 gpio = <&gpio 14 GPIO_ACTIVE_HIGH>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&state_default>;
126 state_default: pinmux {
128 lantiq,groups = "ebu cs1";
129 lantiq,function = "ebu";
132 lantiq,pins = "io21";
137 lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
141 lantiq,pins = "io28", "io30";
144 lantiq,open-drain = <1>;
150 #define SWITCH_RESET 13
154 mtd-mac-address = <&boardconfig 0x16>;
159 compatible = "lantiq,nor";
161 reg = <0 0x0 0x2000000>;
164 compatible = "fixed-partitions";
165 #address-cells = <1>;
170 reg = <0x00000 0x10000>;
175 label = "u-boot-env";
176 reg = <0x10000 0x10000>;
181 reg = <0x20000 0x7d0000>;
184 boardconfig: partition@400000 {
185 label = "boardconfig";
186 reg = <0x7f0000 0x10000>;
193 compatible = "lantiq,gpio-mm";
195 #address-cells = <1>;
199 lantiq,shadow = <0x0>;
206 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
207 pinctrl-names = "default";
209 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
210 lantiq,external-clock;
214 compatible = "pci168c,0029";
215 reg = <0x7000 0 0 0 0>;
216 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
217 mtd-mac-address = <&boardconfig 0x16>;
218 mtd-mac-address-increment = <1>;
228 vbus-supply = <&usb_vbus>;