3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
7 compatible = "zyxel,p-2812hnu", "lantiq,xway", "lantiq,vr9";
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 = &internet_green;
21 led-wifi = &wireless_green;
25 device_type = "memory";
26 reg = <0x0 0x8000000>;
30 compatible = "gpio-keys-polled";
31 poll-interval = <100>;
35 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RFKILL>;
47 compatible = "gpio-leds";
50 label = "p2812hnufx:red:internet";
51 gpios = <&stp 16 GPIO_ACTIVE_LOW>;
53 internet_green: internet_green {
54 label = "p2812hnufx:green:internet";
55 gpios = <&stp 17 GPIO_ACTIVE_LOW>;
57 dsl_green: dsl_green {
58 label = "p2812hnufx:green:dsl";
59 gpios = <&stp 18 GPIO_ACTIVE_LOW>;
62 label = "p2812hnufx:orange:dsl";
63 gpios = <&stp 19 GPIO_ACTIVE_LOW>;
66 label = "p2812hnufx:orange:wlan";
67 gpios = <&stp 20 GPIO_ACTIVE_LOW>;
69 wireless_green: wireless_green {
70 label = "p2812hnufx:green:wlan";
71 gpios = <&stp 21 GPIO_ACTIVE_LOW>;
74 label = "p2812hnufx:red:power";
75 gpios = <&stp 22 GPIO_ACTIVE_LOW>;
78 label = "p2812hnufx:green:power";
79 gpios = <&stp 23 GPIO_ACTIVE_LOW>;
80 default-state = "keep";
83 label = "p2812hnufx:green:phone";
84 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
87 label = "p2812hnufx:orange:phone";
88 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
91 label = "p2812hnufx:orange:phone2";
92 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
95 label = "p2812hnufx:green:phone2";
96 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
100 usb_vbus: regulator-usb-vbus {
101 compatible = "regulator-fixed";
103 regulator-name = "USB_VBUS";
105 regulator-min-microvolt = <5000000>;
106 regulator-max-microvolt = <5000000>;
108 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
115 compatible = "lantiq,xrx200-pdi";
116 #address-cells = <1>;
119 mac-address = [ 00 11 22 33 44 55 ];
123 compatible = "lantiq,xrx200-pdi-port";
126 phy-handle = <&phy0>;
129 compatible = "lantiq,xrx200-pdi-port";
132 phy-handle = <&phy1>;
135 compatible = "lantiq,xrx200-pdi-port";
138 phy-handle = <&phy11>;
141 compatible = "lantiq,xrx200-pdi-port";
144 phy-handle = <&phy13>;
147 compatible = "lantiq,xrx200-pdi-port";
150 phy-handle = <&phy5>;
155 #address-cells = <1>;
157 compatible = "lantiq,xrx200-mdio";
159 phy0: ethernet-phy@0 {
161 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
163 phy1: ethernet-phy@1 {
165 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
167 phy5: ethernet-phy@5 {
169 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
171 phy11: ethernet-phy@11 {
173 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
175 phy13: ethernet-phy@13 {
177 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
183 lantiq,gphy-mode = <GPHY_MODE_GE>;
187 lantiq,gphy-mode = <GPHY_MODE_GE>;
191 pinctrl-names = "default";
192 pinctrl-0 = <&state_default>;
194 state_default: pinmux {
196 lantiq,groups = "exin3";
197 lantiq,function = "exin";
200 lantiq,groups = "mdio";
201 lantiq,function = "mdio";
204 lantiq,groups = "gphy0 led1", "gphy1 led1",
205 "gphy0 led2", "gphy1 led2";
206 lantiq,function = "gphy";
208 lantiq,open-drain = <0>;
212 lantiq,groups = "stp";
213 lantiq,function = "stp";
215 lantiq,open-drain = <0>;
219 lantiq,groups = "req1";
220 lantiq,function = "pci";
222 lantiq,open-drain = <1>;
226 lantiq,groups = "gnt1";
227 lantiq,function = "pci";
229 lantiq,open-drain = <0>;
233 lantiq,pins = "io21";
235 lantiq,open-drain = <0>;
239 lantiq,pins = "io38";
244 lantiq,pins = "io33";
246 lantiq,open-drain = <0>;
250 lantiq,groups = "nand cle", "nand ale";
251 lantiq,function = "ebu";
253 lantiq,open-drain = <0>;
257 lantiq,groups = "nand cs1";
258 lantiq,function = "ebu";
259 lantiq,open-drain = <0>;
267 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
273 lantiq,shadow = <0xffffff>;
274 lantiq,groups = <0x7>;
290 vbus-supply = <&usb_vbus>;
295 vbus-supply = <&usb_vbus>;