5 #include <dt-bindings/input/input.h>
8 compatible = "zte,h201l", "lantiq,xway", "lantiq,ar9";
12 bootargs = "console=ttyLTQ0,115200";
16 led-boot = &power_green;
17 led-failsafe = &power_green;
18 led-running = &power_green;
21 led-internet = &online;
27 reg = <0x0 0x2000000>;
33 compatible = "lantiq,nor";
35 reg = <0 0x0 0x2000000>;
40 compatible = "fixed-partitions";
46 reg = <0x00000 0x20000>;
52 reg = <0x20000 0x10000>;
58 reg = <0x30000 0x7d0000>;
64 gpio: pinmux@E100B10 {
65 pinctrl-names = "default";
66 pinctrl-0 = <&state_default>;
68 state_default: pinmux {
78 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
83 compatible = "gpio-keys-polled";
86 poll-interval = <100>;
90 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_RESTART>;
95 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
96 linux,code = <KEY_WPS_BUTTON>;
100 gpios = <&gpio 55 GPIO_ACTIVE_LOW>;
101 linux,code = <KEY_RFKILL>;
106 compatible = "gpio-leds";
109 label = "h201l:green:power";
110 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
111 default-state = "keep";
114 label = "h201l:green:internet";
115 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
118 label = "h201l:green:dsl";
119 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
122 label = "h201l:green:phone";
123 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
126 label = "h201l:green:wps";
127 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
130 label = "h201l:green:wlan";
131 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
134 label = "h201l:green:usb";
135 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
140 compatible = "gpio-export";
144 gpio-export,name = "switch";
145 gpio-export,output = <1>;
146 gpios = <&gpio 38 GPIO_ACTIVE_HIGH>;
149 gpio-export,name = "usb";
150 gpio-export,output = <1>;
151 gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
154 gpio-export,name = "wifi";
155 gpio-export,output = <1>;
156 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;