5 #include <dt-bindings/input/input.h>
8 model = "P2601HNFX - ZyXEL P-2601HN-Fx";
11 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
15 led-boot = &power_green;
16 led-failsafe = &power_red;
17 led-running = &power_green;
20 led-internet = &online;
25 reg = <0x0 0x4000000>;
31 compatible = "lantiq,nor";
33 reg = <0 0x0 0x2000000>;
38 compatible = "fixed-partitions";
44 reg = <0x00000 0x40000>;
50 reg = <0x40000 0x20000>;
56 reg = <0x60000 0xfa0000>;
62 gpio: pinmux@E100B10 {
63 pinctrl-names = "default";
64 pinctrl-0 = <&state_default>;
66 state_default: pinmux {
68 lantiq,groups = "stp";
69 lantiq,function = "stp";
71 lantiq,open-drain = <0>;
75 lantiq,groups = "exin1";
76 lantiq,function = "exin";
79 lantiq,groups = "gnt1";
80 lantiq,function = "pci";
83 lantiq,pins = "io4", "io5", "io6";
88 lantiq,groups = "mdio";
89 lantiq,function = "mdio";
100 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
105 compatible = "lantiq,gpio-stp-xway";
107 reg = <0xE100BB0 0x40>;
109 lantiq,shadow = <0xfff>;
110 lantiq,groups = <0x3>;
115 compatible = "gpio-keys-polled";
116 #address-cells = <1>;
118 poll-interval = <100>;
122 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
123 linux,code = <KEY_RESTART>;
127 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
128 linux,code = <KEY_RFKILL>;
133 compatible = "gpio-leds";
136 label = "p2601hnfx:green:power";
137 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
138 default-state = "keep";
141 label = "p2601hnfx:red:power";
142 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
145 label = "p2601hnfx:green:internet";
146 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
149 label = "p2601hnfx:red:internet";
150 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
153 label = "p2601hnfx:green:dsl";
154 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
157 label = "p2601hnfx:green:phone";
158 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
161 label = "p2601hnfx:orange:phone";
162 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
165 label = "p2601hnfx:green:wireless";
166 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
169 label = "p2601hnfx:orange:wireless";
170 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
175 compatible = "gpio-export";
179 gpio-export,name = "switch";
180 gpio-export,output = <1>;
181 gpios = <&gpio 50 GPIO_ACTIVE_HIGH>;
184 gpio-export,name = "wifi";
185 gpio-export,output = <1>;
186 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;