5 #include <dt-bindings/input/input.h>
8 compatible = "zyxel,p-2601hn", "lantiq,xway", "lantiq,ar9";
9 model = "ZyXEL P-2601HN-Fx";
12 bootargs = "console=ttyLTQ0,115200";
16 led-boot = &power_green;
17 led-failsafe = &power_red;
18 led-running = &power_green;
21 led-internet = &online;
26 reg = <0x0 0x4000000>;
32 compatible = "lantiq,nor";
34 reg = <0 0x0 0x2000000>;
39 compatible = "fixed-partitions";
45 reg = <0x00000 0x40000>;
51 reg = <0x40000 0x20000>;
57 reg = <0x60000 0xfa0000>;
63 gpio: pinmux@E100B10 {
64 pinctrl-names = "default";
65 pinctrl-0 = <&state_default>;
67 state_default: pinmux {
69 lantiq,groups = "stp";
70 lantiq,function = "stp";
72 lantiq,open-drain = <0>;
76 lantiq,groups = "exin1";
77 lantiq,function = "exin";
80 lantiq,groups = "gnt1";
81 lantiq,function = "pci";
84 lantiq,pins = "io4", "io5", "io6";
89 lantiq,groups = "mdio";
90 lantiq,function = "mdio";
101 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
106 compatible = "lantiq,gpio-stp-xway";
108 reg = <0xE100BB0 0x40>;
110 lantiq,shadow = <0xfff>;
111 lantiq,groups = <0x3>;
116 compatible = "gpio-keys-polled";
117 #address-cells = <1>;
119 poll-interval = <100>;
123 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
124 linux,code = <KEY_RESTART>;
128 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
129 linux,code = <KEY_RFKILL>;
134 compatible = "gpio-leds";
137 label = "p2601hnfx:green:power";
138 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
139 default-state = "keep";
142 label = "p2601hnfx:red:power";
143 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
146 label = "p2601hnfx:green:internet";
147 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
150 label = "p2601hnfx:red:internet";
151 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
154 label = "p2601hnfx:green:dsl";
155 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
158 label = "p2601hnfx:green:phone";
159 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
162 label = "p2601hnfx:orange:phone";
163 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
166 label = "p2601hnfx:green:wireless";
167 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
170 label = "p2601hnfx:orange:wireless";
171 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
176 compatible = "gpio-export";
180 gpio-export,name = "switch";
181 gpio-export,output = <1>;
182 gpios = <&gpio 50 GPIO_ACTIVE_HIGH>;
185 gpio-export,name = "wifi";
186 gpio-export,output = <1>;
187 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;