3 #include <dt-bindings/input/input.h>
6 compatible = "zte,h201l", "lantiq,xway", "lantiq,ar9";
10 bootargs = "console=ttyLTQ0,115200";
14 led-boot = &power_green;
15 led-failsafe = &power_green;
16 led-running = &power_green;
17 led-upgrade = &power_green;
20 led-internet = &online;
26 device_type = "memory";
27 reg = <0x0 0x2000000>;
31 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
36 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_WPS_BUTTON>;
46 gpios = <&gpio 55 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RFKILL>;
52 compatible = "gpio-leds";
55 label = "green:power";
56 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
57 default-state = "keep";
60 label = "green:internet";
61 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
65 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
68 label = "green:phone";
69 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
73 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
77 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
81 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
86 compatible = "gpio-export";
90 gpio-export,name = "switch";
91 gpio-export,output = <1>;
92 gpios = <&gpio 38 GPIO_ACTIVE_HIGH>;
95 gpio-export,name = "usb";
96 gpio-export,output = <1>;
97 gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
100 gpio-export,name = "wifi";
101 gpio-export,output = <1>;
102 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
106 usb_vbus: regulator-usb-vbus {
107 compatible = "regulator-fixed";
109 regulator-name = "USB_VBUS";
111 regulator-min-microvolt = <5000000>;
112 regulator-max-microvolt = <5000000>;
114 gpio = <&gpio 36 GPIO_ACTIVE_HIGH>;
120 pinctrl-names = "default";
121 pinctrl-0 = <&state_default>;
123 state_default: pinmux {
133 compatible = "lantiq,nor";
135 reg = <0 0x0 0x2000000>;
138 compatible = "fixed-partitions";
139 #address-cells = <1>;
144 reg = <0x00000 0x20000>;
149 label = "u-boot-env";
150 reg = <0x20000 0x10000>;
156 reg = <0x30000 0x7d0000>;
169 vbus-supply = <&usb_vbus>;