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;
19 led-upgrade = &power_green;
22 led-internet = &online;
27 device_type = "memory";
28 reg = <0x0 0x4000000>;
32 compatible = "gpio-keys-polled";
35 poll-interval = <100>;
39 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
44 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RFKILL>;
50 compatible = "gpio-leds";
53 label = "p2601hnfx:green:power";
54 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
55 default-state = "keep";
58 label = "p2601hnfx:red:power";
59 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
62 label = "p2601hnfx:green:internet";
63 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
66 label = "p2601hnfx:red:internet";
67 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
70 label = "p2601hnfx:green:dsl";
71 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
74 label = "p2601hnfx:green:phone";
75 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
78 label = "p2601hnfx:orange:phone";
79 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
82 label = "p2601hnfx:green:wireless";
83 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
86 label = "p2601hnfx:orange:wireless";
87 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
92 compatible = "gpio-export";
96 gpio-export,name = "switch";
97 gpio-export,output = <1>;
98 gpios = <&gpio 50 GPIO_ACTIVE_HIGH>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&state_default>;
107 state_default: pinmux {
109 lantiq,groups = "stp";
110 lantiq,function = "stp";
112 lantiq,open-drain = <0>;
116 lantiq,groups = "exin1";
117 lantiq,function = "exin";
120 lantiq,groups = "gnt1";
121 lantiq,function = "pci";
124 lantiq,pins = "io4", "io5", "io6";
129 lantiq,groups = "mdio";
130 lantiq,function = "mdio";
134 usb_vbus: regulator-usb-vbus {
135 compatible = "regulator-fixed";
137 regulator-name = "USB_VBUS";
139 regulator-min-microvolt = <5000000>;
140 regulator-max-microvolt = <5000000>;
142 gpio = <&gpio 9 GPIO_ACTIVE_HIGH>;
153 compatible = "lantiq,nor";
155 reg = <0 0x0 0x2000000>;
156 #address-cells = <1>;
160 compatible = "fixed-partitions";
161 #address-cells = <1>;
166 reg = <0x00000 0x40000>;
172 reg = <0x40000 0x20000>;
178 reg = <0x60000 0xfa0000>;
186 lantiq,shadow = <0xfff>;
187 lantiq,groups = <0x3>;
196 vbus-supply = <&usb_vbus>;