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;
19 led-internet = &internet_green;
20 led-wifi = &wireless_green;
24 reg = <0x0 0x8000000>;
28 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";
160 phy0: ethernet-phy@0 {
162 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
164 phy1: ethernet-phy@1 {
166 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
168 phy5: ethernet-phy@5 {
170 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
172 phy11: ethernet-phy@11 {
174 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
176 phy13: ethernet-phy@13 {
178 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
184 lantiq,gphy-mode = <GPHY_MODE_GE>;
188 lantiq,gphy-mode = <GPHY_MODE_GE>;
192 pinctrl-names = "default";
193 pinctrl-0 = <&state_default>;
195 state_default: pinmux {
197 lantiq,groups = "exin3";
198 lantiq,function = "exin";
201 lantiq,groups = "mdio";
202 lantiq,function = "mdio";
205 lantiq,groups = "gphy0 led1", "gphy1 led1",
206 "gphy0 led2", "gphy1 led2";
207 lantiq,function = "gphy";
209 lantiq,open-drain = <0>;
213 lantiq,groups = "stp";
214 lantiq,function = "stp";
216 lantiq,open-drain = <0>;
220 lantiq,groups = "req1";
221 lantiq,function = "pci";
223 lantiq,open-drain = <1>;
227 lantiq,groups = "gnt1";
228 lantiq,function = "pci";
230 lantiq,open-drain = <0>;
234 lantiq,pins = "io21";
236 lantiq,open-drain = <0>;
240 lantiq,pins = "io38";
245 lantiq,pins = "io33";
247 lantiq,open-drain = <0>;
251 lantiq,groups = "nand cle", "nand ale";
252 lantiq,function = "ebu";
254 lantiq,open-drain = <0>;
258 lantiq,groups = "nand cs1";
259 lantiq,function = "ebu";
260 lantiq,open-drain = <0>;
268 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
274 lantiq,shadow = <0xffffff>;
275 lantiq,groups = <0x7>;
291 vbus-supply = <&usb_vbus>;
296 vbus-supply = <&usb_vbus>;