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 device_type = "memory";
29 reg = <0x0 0x2000000>;
33 compatible = "gpio-keys-polled";
36 poll-interval = <100>;
40 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
45 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
50 gpios = <&gpio 55 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RFKILL>;
56 compatible = "gpio-leds";
59 label = "h201l:green:power";
60 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
61 default-state = "keep";
64 label = "h201l:green:internet";
65 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
68 label = "h201l:green:dsl";
69 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
72 label = "h201l:green:phone";
73 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
76 label = "h201l:green:wps";
77 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
80 label = "h201l:green:wlan";
81 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
84 label = "h201l:green:usb";
85 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
90 compatible = "gpio-export";
94 gpio-export,name = "switch";
95 gpio-export,output = <1>;
96 gpios = <&gpio 38 GPIO_ACTIVE_HIGH>;
99 gpio-export,name = "usb";
100 gpio-export,output = <1>;
101 gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
104 gpio-export,name = "wifi";
105 gpio-export,output = <1>;
106 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
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 = <&gpio 36 GPIO_ACTIVE_HIGH>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&state_default>;
127 state_default: pinmux {
137 compatible = "lantiq,nor";
139 reg = <0 0x0 0x2000000>;
140 #address-cells = <1>;
144 compatible = "fixed-partitions";
145 #address-cells = <1>;
150 reg = <0x00000 0x20000>;
156 reg = <0x20000 0x10000>;
162 reg = <0x30000 0x7d0000>;
175 vbus-supply = <&usb_vbus>;