3 #include <dt-bindings/input/input.h>
6 compatible = "zyxel,p-2601hn", "lantiq,xway", "lantiq,ar9";
7 model = "ZyXEL P-2601HN-Fx";
10 bootargs = "console=ttyLTQ0,115200";
14 led-boot = &power_green;
15 led-failsafe = &power_red;
16 led-running = &power_green;
17 led-upgrade = &power_green;
20 led-internet = &online;
25 device_type = "memory";
26 reg = <0x0 0x4000000>;
30 compatible = "gpio-keys-polled";
31 poll-interval = <100>;
35 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RFKILL>;
46 compatible = "gpio-leds";
49 label = "p2601hnfx:green:power";
50 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
51 default-state = "keep";
54 label = "p2601hnfx:red:power";
55 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
58 label = "p2601hnfx:green:internet";
59 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
62 label = "p2601hnfx:red:internet";
63 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
66 label = "p2601hnfx:green:dsl";
67 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
70 label = "p2601hnfx:green:phone";
71 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
74 label = "p2601hnfx:orange:phone";
75 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
78 label = "p2601hnfx:green:wireless";
79 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
82 label = "p2601hnfx:orange:wireless";
83 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
88 compatible = "gpio-export";
92 gpio-export,name = "switch";
93 gpio-export,output = <1>;
94 gpios = <&gpio 50 GPIO_ACTIVE_HIGH>;
98 usb_vbus: regulator-usb-vbus {
99 compatible = "regulator-fixed";
101 regulator-name = "USB_VBUS";
103 regulator-min-microvolt = <5000000>;
104 regulator-max-microvolt = <5000000>;
106 gpio = <&gpio 9 GPIO_ACTIVE_HIGH>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&state_default>;
115 state_default: pinmux {
117 lantiq,groups = "exin1";
118 lantiq,function = "exin";
129 compatible = "lantiq,nor";
131 reg = <0 0x0 0x2000000>;
134 compatible = "fixed-partitions";
135 #address-cells = <1>;
140 reg = <0x00000 0x40000>;
145 label = "u-boot-env";
146 reg = <0x40000 0x20000>;
152 reg = <0x60000 0xfa0000>;
159 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
160 pinctrl-names = "default";
165 lantiq,shadow = <0xfff>;
166 lantiq,groups = <0x3>;
175 vbus-supply = <&usb_vbus>;