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;
19 led-upgrade = &power_green;
22 led-internet = &online;
28 reg = <0x0 0x2000000>;
32 compatible = "gpio-keys-polled";
35 poll-interval = <100>;
39 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
44 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_WPS_BUTTON>;
49 gpios = <&gpio 55 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RFKILL>;
55 compatible = "gpio-leds";
58 label = "h201l:green:power";
59 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
60 default-state = "keep";
63 label = "h201l:green:internet";
64 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
67 label = "h201l:green:dsl";
68 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
71 label = "h201l:green:phone";
72 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
75 label = "h201l:green:wps";
76 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
79 label = "h201l:green:wlan";
80 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
83 label = "h201l:green:usb";
84 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
89 compatible = "gpio-export";
93 gpio-export,name = "switch";
94 gpio-export,output = <1>;
95 gpios = <&gpio 38 GPIO_ACTIVE_HIGH>;
98 gpio-export,name = "usb";
99 gpio-export,output = <1>;
100 gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
103 gpio-export,name = "wifi";
104 gpio-export,output = <1>;
105 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
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 36 GPIO_ACTIVE_HIGH>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&state_default>;
126 state_default: pinmux {
136 compatible = "lantiq,nor";
138 reg = <0 0x0 0x2000000>;
139 #address-cells = <1>;
143 compatible = "fixed-partitions";
144 #address-cells = <1>;
149 reg = <0x00000 0x20000>;
155 reg = <0x20000 0x10000>;
161 reg = <0x30000 0x7d0000>;
174 vbus-supply = <&usb_vbus>;