5 #include <dt-bindings/input/input.h>
8 model = "P2601HNFX - ZyXEL P-2601HN-Fx";
11 led-boot = &power_green;
12 led-failsafe = &power_red;
13 led-running = &power_green;
16 led-internet = &online;
21 reg = <0x0 0x4000000>;
27 compatible = "lantiq,nor";
29 reg = <0 0x0 0x2000000>;
34 compatible = "fixed-partitions";
40 reg = <0x00000 0x40000>;
46 reg = <0x40000 0x20000>;
52 reg = <0x60000 0xfa0000>;
58 gpio: pinmux@E100B10 {
59 pinctrl-names = "default";
60 pinctrl-0 = <&state_default>;
62 state_default: pinmux {
64 lantiq,groups = "stp";
65 lantiq,function = "stp";
67 lantiq,open-drain = <0>;
71 lantiq,groups = "exin1";
72 lantiq,function = "exin";
75 lantiq,groups = "gnt1";
76 lantiq,function = "pci";
79 lantiq,pins = "io4", "io5", "io6";
84 lantiq,groups = "mdio";
85 lantiq,function = "mdio";
96 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
101 compatible = "lantiq,gpio-stp-xway";
103 reg = <0xE100BB0 0x40>;
105 lantiq,shadow = <0xfff>;
106 lantiq,groups = <0x3>;
111 compatible = "gpio-keys-polled";
112 #address-cells = <1>;
114 poll-interval = <100>;
118 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
119 linux,code = <KEY_RESTART>;
123 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
124 linux,code = <KEY_RFKILL>;
129 compatible = "gpio-leds";
132 label = "p2601hnfx:green:power";
133 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
134 default-state = "keep";
137 label = "p2601hnfx:red:power";
138 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
141 label = "p2601hnfx:green:internet";
142 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
145 label = "p2601hnfx:red:internet";
146 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
149 label = "p2601hnfx:green:dsl";
150 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
153 label = "p2601hnfx:green:phone";
154 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
157 label = "p2601hnfx:orange:phone";
158 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
161 label = "p2601hnfx:green:wireless";
162 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
165 label = "p2601hnfx:orange:wireless";
166 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
171 compatible = "gpio-export";
175 gpio-export,name = "switch";
176 gpio-export,output = <1>;
177 gpios = <&gpio 50 GPIO_ACTIVE_HIGH>;
180 gpio-export,name = "wifi";
181 gpio-export,output = <1>;
182 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;