3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
7 compatible = "arcadyan,arv752dpw", "lantiq,xway", "lantiq,danube";
11 bootargs = "console=ttyLTQ0,115200";
15 led-boot = &power_red;
16 led-failsafe = &power_blue;
17 led-running = &power_red;
18 led-upgrade = &power_red;
20 led-dsl = &internet_red;
24 label-mac-device = &wifi0;
28 device_type = "memory";
29 reg = <0x0 0x4000000>;
33 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
38 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_WPS_BUTTON>;
43 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_POWER>;
48 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
53 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
59 compatible = "gpio-leds";
61 function = LED_FUNCTION_POWER;
62 color = <LED_COLOR_ID_BLUE>;
63 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
65 internet_red: internet {
66 label = "red:internet";
67 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
70 label = "red:message";
71 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
74 function = LED_FUNCTION_POWER;
75 color = <LED_COLOR_ID_RED>;
76 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
77 default-state = "keep";
81 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
85 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
89 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
92 label = "green:tae-n";
93 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
96 label = "green:tae-u";
97 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
100 label = "green:isdn";
101 gpios = <&gpiomm 7 GPIO_ACTIVE_LOW>;
104 label = "blue:internet";
105 gpios = <&gpiomm 8 GPIO_ACTIVE_LOW>;
108 label = "blue:voice";
109 gpios = <&gpiomm 9 GPIO_ACTIVE_LOW>;
113 usb_vbus: regulator-usb-vbus {
114 compatible = "regulator-fixed";
116 regulator-name = "USB_VBUS";
118 regulator-min-microvolt = <5000000>;
119 regulator-max-microvolt = <5000000>;
121 gpio = <&gpiomm 0 GPIO_ACTIVE_HIGH>;
127 pinctrl-names = "default";
128 pinctrl-0 = <&state_default>;
130 state_default: pinmux {
132 lantiq,groups = "ebu cs1";
133 lantiq,function = "ebu";
136 lantiq,groups = "exin1";
137 lantiq,function = "exin";
142 lantiq,pins = "io21";
147 lantiq,pins = "io3", "io5", "io6", "io8";
152 lantiq,pins = "io11", "io12", "io13", "io28";
155 lantiq,open-drain = <1>;
162 nvmem-cells = <&macaddr_boardconfig_16>;
163 nvmem-cell-names = "mac-address";
168 compatible = "lantiq,nor";
170 reg = <0 0x0 0x800000>;
173 compatible = "fixed-partitions";
174 #address-cells = <1>;
179 reg = <0x00000 0x10000>;
184 label = "u-boot-env";
185 reg = <0x10000 0x10000>;
191 reg = <0x20000 0x7d0000>;
194 boardconfig: partition@7f0000 {
195 label = "board_config";
196 reg = <0x7f0000 0x10000>;
200 compatible = "fixed-layout";
201 #address-cells = <1>;
204 macaddr_boardconfig_16: macaddr@16 {
213 compatible = "lantiq,gpio-mm";
215 #address-cells = <1>;
219 lantiq,shadow = <0x3>;
226 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>, <&pci_req2_pins>;
227 pinctrl-names = "default";
229 lantiq,external-clock;
230 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
231 interrupt-map = <0x7000 0 0 1 &icu0 135>;
234 wifi0: wifi@1814,0601 {
235 compatible = "pci1814,0601";
236 reg = <0x7000 0 0 0 0>;
237 nvmem-cells = <&macaddr_boardconfig_16>;
238 nvmem-cell-names = "mac-address";
239 ralink,mtd-eeprom = <&boardconfig 0x410>;
250 vbus-supply = <&usb_vbus>;
255 gpios = <&gpiomm 1 GPIO_ACTIVE_HIGH>;