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 = "red:internet";
51 gpios = <&stp 16 GPIO_ACTIVE_LOW>;
53 internet_green: internet_green {
54 label = "green:internet";
55 gpios = <&stp 17 GPIO_ACTIVE_LOW>;
57 dsl_green: dsl_green {
59 gpios = <&stp 18 GPIO_ACTIVE_LOW>;
63 gpios = <&stp 19 GPIO_ACTIVE_LOW>;
66 label = "orange:wlan";
67 gpios = <&stp 20 GPIO_ACTIVE_LOW>;
69 wireless_green: wireless_green {
71 gpios = <&stp 21 GPIO_ACTIVE_LOW>;
75 gpios = <&stp 22 GPIO_ACTIVE_LOW>;
78 label = "green:power";
79 gpios = <&stp 23 GPIO_ACTIVE_LOW>;
80 default-state = "keep";
83 label = "green:phone";
84 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
87 label = "orange:phone";
88 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
91 label = "orange:phone2";
92 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
95 label = "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>;
114 pinctrl-0 = <&mdio_pins>,
115 <&gphy0_led1_pins>, <&gphy0_led2_pins>,
116 <&gphy1_led1_pins>, <&gphy1_led2_pins>;
117 pinctrl-names = "default";
120 compatible = "lantiq,xrx200-pdi";
121 #address-cells = <1>;
124 mac-address = [ 00 11 22 33 44 55 ];
128 compatible = "lantiq,xrx200-pdi-port";
131 phy-handle = <&phy0>;
134 compatible = "lantiq,xrx200-pdi-port";
137 phy-handle = <&phy1>;
140 compatible = "lantiq,xrx200-pdi-port";
143 phy-handle = <&phy11>;
146 compatible = "lantiq,xrx200-pdi-port";
149 phy-handle = <&phy13>;
152 compatible = "lantiq,xrx200-pdi-port";
155 phy-handle = <&phy5>;
160 #address-cells = <1>;
162 compatible = "lantiq,xrx200-mdio";
164 phy0: ethernet-phy@0 {
166 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
168 phy1: ethernet-phy@1 {
170 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
172 phy5: ethernet-phy@5 {
174 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
176 phy11: ethernet-phy@11 {
178 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
180 phy13: ethernet-phy@13 {
182 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
188 lantiq,gphy-mode = <GPHY_MODE_GE>;
192 lantiq,gphy-mode = <GPHY_MODE_GE>;
196 pinctrl-names = "default";
197 pinctrl-0 = <&state_default>;
199 state_default: pinmux {
201 lantiq,groups = "exin3";
202 lantiq,function = "exin";
205 lantiq,pins = "io21";
207 lantiq,open-drain = <0>;
211 lantiq,pins = "io38";
216 lantiq,pins = "io33";
218 lantiq,open-drain = <0>;
227 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
228 pinctrl-names = "default";
230 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
236 lantiq,shadow = <0xffffff>;
237 lantiq,groups = <0x7>;
253 vbus-supply = <&usb_vbus>;
258 vbus-supply = <&usb_vbus>;