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>;
31 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
38 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
43 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
48 gpios = <&gpio 55 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RFKILL>;
54 compatible = "gpio-leds";
57 label = "h201l:green:power";
58 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
59 default-state = "keep";
62 label = "h201l:green:internet";
63 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
66 label = "h201l:green:dsl";
67 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
70 label = "h201l:green:phone";
71 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
74 label = "h201l:green:wps";
75 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
78 label = "h201l:green:wlan";
79 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
82 label = "h201l:green:usb";
83 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
88 compatible = "gpio-export";
92 gpio-export,name = "switch";
93 gpio-export,output = <1>;
94 gpios = <&gpio 38 GPIO_ACTIVE_HIGH>;
97 gpio-export,name = "usb";
98 gpio-export,output = <1>;
99 gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
102 gpio-export,name = "wifi";
103 gpio-export,output = <1>;
104 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
108 usb_vbus: regulator-usb-vbus {
109 compatible = "regulator-fixed";
111 regulator-name = "USB_VBUS";
113 regulator-min-microvolt = <5000000>;
114 regulator-max-microvolt = <5000000>;
116 gpio = <&gpio 36 GPIO_ACTIVE_HIGH>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&state_default>;
125 state_default: pinmux {
135 compatible = "lantiq,nor";
137 reg = <0 0x0 0x2000000>;
138 #address-cells = <1>;
142 compatible = "fixed-partitions";
143 #address-cells = <1>;
148 reg = <0x00000 0x20000>;
154 reg = <0x20000 0x10000>;
160 reg = <0x30000 0x7d0000>;
168 phy-supply = <&usb_vbus>;