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";
33 poll-interval = <100>;
37 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RFKILL>;
49 compatible = "gpio-leds";
52 label = "p2812hnufx:red:internet";
53 gpios = <&stp 16 GPIO_ACTIVE_LOW>;
55 internet_green: internet_green {
56 label = "p2812hnufx:green:internet";
57 gpios = <&stp 17 GPIO_ACTIVE_LOW>;
59 dsl_green: dsl_green {
60 label = "p2812hnufx:green:dsl";
61 gpios = <&stp 18 GPIO_ACTIVE_LOW>;
64 label = "p2812hnufx:orange:dsl";
65 gpios = <&stp 19 GPIO_ACTIVE_LOW>;
68 label = "p2812hnufx:orange:wlan";
69 gpios = <&stp 20 GPIO_ACTIVE_LOW>;
71 wireless_green: wireless_green {
72 label = "p2812hnufx:green:wlan";
73 gpios = <&stp 21 GPIO_ACTIVE_LOW>;
76 label = "p2812hnufx:red:power";
77 gpios = <&stp 22 GPIO_ACTIVE_LOW>;
80 label = "p2812hnufx:green:power";
81 gpios = <&stp 23 GPIO_ACTIVE_LOW>;
82 default-state = "keep";
85 label = "p2812hnufx:green:phone";
86 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
89 label = "p2812hnufx:orange:phone";
90 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
93 label = "p2812hnufx:orange:phone2";
94 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
97 label = "p2812hnufx:green:phone2";
98 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
102 usb_vbus: regulator-usb-vbus {
103 compatible = "regulator-fixed";
105 regulator-name = "USB_VBUS";
107 regulator-min-microvolt = <5000000>;
108 regulator-max-microvolt = <5000000>;
110 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
117 compatible = "lantiq,xrx200-pdi";
118 #address-cells = <1>;
121 mac-address = [ 00 11 22 33 44 55 ];
125 compatible = "lantiq,xrx200-pdi-port";
128 phy-handle = <&phy0>;
131 compatible = "lantiq,xrx200-pdi-port";
134 phy-handle = <&phy1>;
137 compatible = "lantiq,xrx200-pdi-port";
140 phy-handle = <&phy11>;
143 compatible = "lantiq,xrx200-pdi-port";
146 phy-handle = <&phy13>;
149 compatible = "lantiq,xrx200-pdi-port";
152 phy-handle = <&phy5>;
157 #address-cells = <1>;
159 compatible = "lantiq,xrx200-mdio";
161 phy0: ethernet-phy@0 {
163 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
165 phy1: ethernet-phy@1 {
167 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
169 phy5: ethernet-phy@5 {
171 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
173 phy11: ethernet-phy@11 {
175 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
177 phy13: ethernet-phy@13 {
179 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
185 lantiq,gphy-mode = <GPHY_MODE_GE>;
189 lantiq,gphy-mode = <GPHY_MODE_GE>;
193 pinctrl-names = "default";
194 pinctrl-0 = <&state_default>;
196 state_default: pinmux {
198 lantiq,groups = "exin3";
199 lantiq,function = "exin";
202 lantiq,groups = "mdio";
203 lantiq,function = "mdio";
206 lantiq,groups = "gphy0 led1", "gphy1 led1",
207 "gphy0 led2", "gphy1 led2";
208 lantiq,function = "gphy";
210 lantiq,open-drain = <0>;
214 lantiq,groups = "stp";
215 lantiq,function = "stp";
217 lantiq,open-drain = <0>;
221 lantiq,groups = "req1";
222 lantiq,function = "pci";
224 lantiq,open-drain = <1>;
228 lantiq,groups = "gnt1";
229 lantiq,function = "pci";
231 lantiq,open-drain = <0>;
235 lantiq,pins = "io21";
237 lantiq,open-drain = <0>;
241 lantiq,pins = "io38";
246 lantiq,pins = "io33";
248 lantiq,open-drain = <0>;
252 lantiq,groups = "nand cle", "nand ale";
253 lantiq,function = "ebu";
255 lantiq,open-drain = <0>;
259 lantiq,groups = "nand cs1";
260 lantiq,function = "ebu";
261 lantiq,open-drain = <0>;
269 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
275 lantiq,shadow = <0xffffff>;
276 lantiq,groups = <0x7>;
292 vbus-supply = <&usb_vbus>;
297 vbus-supply = <&usb_vbus>;