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 reg = <0x0 0x4000000>;
31 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
38 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
43 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RFKILL>;
49 compatible = "gpio-leds";
52 label = "p2601hnfx:green:power";
53 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
54 default-state = "keep";
57 label = "p2601hnfx:red:power";
58 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
61 label = "p2601hnfx:green:internet";
62 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
65 label = "p2601hnfx:red:internet";
66 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
69 label = "p2601hnfx:green:dsl";
70 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
73 label = "p2601hnfx:green:phone";
74 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
77 label = "p2601hnfx:orange:phone";
78 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
81 label = "p2601hnfx:green:wireless";
82 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
85 label = "p2601hnfx:orange:wireless";
86 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
91 compatible = "gpio-export";
95 gpio-export,name = "switch";
96 gpio-export,output = <1>;
97 gpios = <&gpio 50 GPIO_ACTIVE_HIGH>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&state_default>;
106 state_default: pinmux {
108 lantiq,groups = "stp";
109 lantiq,function = "stp";
111 lantiq,open-drain = <0>;
115 lantiq,groups = "exin1";
116 lantiq,function = "exin";
119 lantiq,groups = "gnt1";
120 lantiq,function = "pci";
123 lantiq,pins = "io4", "io5", "io6";
128 lantiq,groups = "mdio";
129 lantiq,function = "mdio";
133 usb_vbus: regulator-usb-vbus {
134 compatible = "regulator-fixed";
136 regulator-name = "USB_VBUS";
138 regulator-min-microvolt = <5000000>;
139 regulator-max-microvolt = <5000000>;
141 gpio = <&gpio 9 GPIO_ACTIVE_HIGH>;
152 compatible = "lantiq,nor";
154 reg = <0 0x0 0x2000000>;
155 #address-cells = <1>;
159 compatible = "fixed-partitions";
160 #address-cells = <1>;
165 reg = <0x00000 0x40000>;
171 reg = <0x40000 0x20000>;
177 reg = <0x60000 0xfa0000>;
185 lantiq,shadow = <0xfff>;
186 lantiq,groups = <0x3>;
195 vbus-supply = <&usb_vbus>;