3 #include <dt-bindings/input/input.h>
6 compatible = "arcadyan,arv752dpw", "lantiq,xway", "lantiq,danube";
10 bootargs = "console=ttyLTQ0,115200";
14 led-boot = &power_red;
15 led-failsafe = &power_blue;
16 led-running = &power_red;
17 led-upgrade = &power_red;
19 led-dsl = &internet_red;
23 label-mac-device = &wifi0;
27 device_type = "memory";
28 reg = <0x0 0x4000000>;
32 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
37 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_WPS_BUTTON>;
42 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_POWER>;
47 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
58 compatible = "gpio-leds";
61 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
63 internet_red: internet {
64 label = "red:internet";
65 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
68 label = "red:message";
69 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
73 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
74 default-state = "keep";
78 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
82 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
86 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
89 label = "green:tae-n";
90 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
93 label = "green:tae-u";
94 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
98 gpios = <&gpiomm 7 GPIO_ACTIVE_LOW>;
101 label = "blue:internet";
102 gpios = <&gpiomm 8 GPIO_ACTIVE_LOW>;
105 label = "blue:voice";
106 gpios = <&gpiomm 9 GPIO_ACTIVE_LOW>;
110 usb_vbus: regulator-usb-vbus {
111 compatible = "regulator-fixed";
113 regulator-name = "USB_VBUS";
115 regulator-min-microvolt = <5000000>;
116 regulator-max-microvolt = <5000000>;
118 gpio = <&gpiomm 0 GPIO_ACTIVE_HIGH>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&state_default>;
127 state_default: pinmux {
129 lantiq,groups = "ebu cs1";
130 lantiq,function = "ebu";
133 lantiq,groups = "exin1";
134 lantiq,function = "exin";
139 lantiq,pins = "io21";
144 lantiq,pins = "io3", "io5", "io6", "io8";
149 lantiq,pins = "io11", "io12", "io13", "io28";
152 lantiq,open-drain = <1>;
159 nvmem-cells = <&macaddr_boardconfig_16>;
160 nvmem-cell-names = "mac-address";
165 compatible = "lantiq,nor";
167 reg = <0 0x0 0x800000>;
170 compatible = "fixed-partitions";
171 #address-cells = <1>;
176 reg = <0x00000 0x10000>;
181 label = "u-boot-env";
182 reg = <0x10000 0x10000>;
188 reg = <0x20000 0x7d0000>;
191 boardconfig: partition@7f0000 {
192 label = "board_config";
193 reg = <0x7f0000 0x10000>;
200 compatible = "lantiq,gpio-mm";
202 #address-cells = <1>;
206 lantiq,shadow = <0x3>;
213 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>, <&pci_req2_pins>;
214 pinctrl-names = "default";
216 lantiq,external-clock;
217 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
218 interrupt-map = <0x7000 0 0 1 &icu0 135>;
221 wifi0: wifi@1814,0601 {
222 compatible = "pci1814,0601";
223 reg = <0x7000 0 0 0 0>;
224 nvmem-cells = <&macaddr_boardconfig_16>;
225 nvmem-cell-names = "mac-address";
226 ralink,mtd-eeprom = <&boardconfig 0x410>;
227 ralink,mtd-eeprom-swap;
237 vbus-supply = <&usb_vbus>;
242 gpios = <&gpiomm 1 GPIO_ACTIVE_HIGH>;
246 compatible = "nvmem-cells";
247 #address-cells = <1>;
250 macaddr_boardconfig_16: macaddr@16 {