3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
7 compatible = "arcadyan,arv4520pw", "lantiq,xway", "lantiq,danube";
8 model = "Easybox 800, WAV-281";
11 bootargs = "console=ttyLTQ0,115200";
15 led-boot = &power_blue;
16 led-failsafe = &power_red;
17 led-running = &power_blue;
18 led-upgrade = &power_blue;
21 led-internet = &internet_blue;
27 device_type = "memory";
28 reg = <0x0 0x2000000>;
32 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
37 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_WPS_BUTTON>;
42 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
48 compatible = "gpio-leds";
51 function = LED_FUNCTION_POWER;
52 color = <LED_COLOR_ID_BLUE>;
53 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
54 default-state = "keep";
58 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
60 internet_blue: internet {
61 label = "blue:internet";
62 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
65 function = LED_FUNCTION_POWER;
66 color = <LED_COLOR_ID_RED>;
67 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
70 function = LED_FUNCTION_WPS;
71 color = <LED_COLOR_ID_YELLOW>;
72 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
75 function = LED_FUNCTION_WPS;
76 color = <LED_COLOR_ID_RED>;
77 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
83 label = "blue:telefon1";
84 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
87 label = "blue:telefon2";
88 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
92 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
96 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
99 label = "blue:sprache";
100 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
103 function = LED_FUNCTION_USB;
104 color = <LED_COLOR_ID_BLUE>;
105 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
109 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
112 label = "red:internet";
113 gpios = <&gpiomm 9 GPIO_ACTIVE_LOW>;
120 usb_vbus: regulator-usb-vbus {
121 compatible = "regulator-fixed";
123 regulator-name = "USB_VBUS";
125 regulator-min-microvolt = <5000000>;
126 regulator-max-microvolt = <5000000>;
128 gpio = <&gpio 28 GPIO_ACTIVE_HIGH>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&state_default>;
137 state_default: pinmux {
139 lantiq,groups = "ebu cs1";
140 lantiq,function = "ebu";
143 lantiq,pins = "io21";
144 lantiq,open-drain = <0>;
151 /* gpiomm 10 - switch */
153 nvmem-cells = <&macaddr_boardconfig_16>;
154 nvmem-cell-names = "mac-address";
159 compatible = "lantiq,nor";
161 reg = <0 0x0 0x800000>;
164 compatible = "fixed-partitions";
165 #address-cells = <1>;
170 reg = <0x00000 0x20000>;
175 label = "u-boot-env";
176 reg = <0x20000 0x10000>;
182 reg = <0x30000 0x3c0000>;
185 boardconfig: partition@7f0000 {
186 label = "boardconfig";
187 reg = <0x3f0000 0x10000>;
191 compatible = "fixed-layout";
192 #address-cells = <1>;
195 macaddr_boardconfig_16: macaddr@16 {
204 compatible = "lantiq,gpio-mm";
206 #address-cells = <1>;
210 lantiq,shadow = <0x400>;
217 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
218 pinctrl-names = "default";
220 lantiq,external-clock;
221 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
230 vbus-supply = <&usb_vbus>;
235 gpios = <&gpio 31 GPIO_ACTIVE_HIGH
236 &gpiomm 7 GPIO_ACTIVE_HIGH>;