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";
33 poll-interval = <100>;
37 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
42 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RFKILL>;
48 compatible = "gpio-leds";
51 label = "p2601hnfx:green:power";
52 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
53 default-state = "keep";
56 label = "p2601hnfx:red:power";
57 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
60 label = "p2601hnfx:green:internet";
61 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
64 label = "p2601hnfx:red:internet";
65 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
68 label = "p2601hnfx:green:dsl";
69 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
72 label = "p2601hnfx:green:phone";
73 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
76 label = "p2601hnfx:orange:phone";
77 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
80 label = "p2601hnfx:green:wireless";
81 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
84 label = "p2601hnfx:orange:wireless";
85 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
90 compatible = "gpio-export";
94 gpio-export,name = "switch";
95 gpio-export,output = <1>;
96 gpios = <&gpio 50 GPIO_ACTIVE_HIGH>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&state_default>;
105 state_default: pinmux {
107 lantiq,groups = "stp";
108 lantiq,function = "stp";
110 lantiq,open-drain = <0>;
114 lantiq,groups = "exin1";
115 lantiq,function = "exin";
118 lantiq,groups = "gnt1";
119 lantiq,function = "pci";
122 lantiq,pins = "io4", "io5", "io6";
127 lantiq,groups = "mdio";
128 lantiq,function = "mdio";
132 usb_vbus: regulator-usb-vbus {
133 compatible = "regulator-fixed";
135 regulator-name = "USB_VBUS";
137 regulator-min-microvolt = <5000000>;
138 regulator-max-microvolt = <5000000>;
140 gpio = <&gpio 9 GPIO_ACTIVE_HIGH>;
151 compatible = "lantiq,nor";
153 reg = <0 0x0 0x2000000>;
156 compatible = "fixed-partitions";
157 #address-cells = <1>;
162 reg = <0x00000 0x40000>;
168 reg = <0x40000 0x20000>;
174 reg = <0x60000 0xfa0000>;
182 lantiq,shadow = <0xfff>;
183 lantiq,groups = <0x3>;
192 vbus-supply = <&usb_vbus>;