3 #include <dt-bindings/input/input.h>
6 compatible = "zyxel,p-2812hnu", "lantiq,xway", "lantiq,vr9";
9 bootargs = "console=ttyLTQ0,115200";
13 led-boot = &power_green;
14 led-failsafe = &power_red;
15 led-running = &power_green;
18 led-internet = &internet_green;
19 led-wifi = &wireless_green;
23 reg = <0x0 0x8000000>;
27 compatible = "lantiq,phy-xrx200";
28 firmware1 = "lantiq/xrx200_phy11g_a14.bin"; /*VR9 1.1*/
29 firmware2 = "lantiq/xrx200_phy11g_a22.bin"; /*VR9 1.2*/
34 compatible = "gpio-keys-polled";
37 poll-interval = <100>;
41 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
47 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RFKILL>;
53 compatible = "gpio-leds";
56 label = "p2812hnufx:red:internet";
57 gpios = <&stp 16 GPIO_ACTIVE_LOW>;
59 internet_green: internet_green {
60 label = "p2812hnufx:green:internet";
61 gpios = <&stp 17 GPIO_ACTIVE_LOW>;
63 dsl_green: dsl_green {
64 label = "p2812hnufx:green:dsl";
65 gpios = <&stp 18 GPIO_ACTIVE_LOW>;
68 label = "p2812hnufx:orange:dsl";
69 gpios = <&stp 19 GPIO_ACTIVE_LOW>;
72 label = "p2812hnufx:orange:wlan";
73 gpios = <&stp 20 GPIO_ACTIVE_LOW>;
75 wireless_green: wireless_green {
76 label = "p2812hnufx:green:wlan";
77 gpios = <&stp 21 GPIO_ACTIVE_LOW>;
80 label = "p2812hnufx:red:power";
81 gpios = <&stp 22 GPIO_ACTIVE_LOW>;
84 label = "p2812hnufx:green:power";
85 gpios = <&stp 23 GPIO_ACTIVE_LOW>;
86 default-state = "keep";
89 label = "p2812hnufx:green:phone";
90 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
93 label = "p2812hnufx:orange:phone";
94 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
97 label = "p2812hnufx:orange:phone2";
98 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
101 label = "p2812hnufx:green:phone2";
102 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
109 compatible = "lantiq,xrx200-pdi";
110 #address-cells = <1>;
113 mac-address = [ 00 11 22 33 44 55 ];
117 compatible = "lantiq,xrx200-pdi-port";
120 phy-handle = <&phy0>;
123 compatible = "lantiq,xrx200-pdi-port";
126 phy-handle = <&phy1>;
129 compatible = "lantiq,xrx200-pdi-port";
132 phy-handle = <&phy11>;
135 compatible = "lantiq,xrx200-pdi-port";
138 phy-handle = <&phy13>;
141 compatible = "lantiq,xrx200-pdi-port";
144 phy-handle = <&phy5>;
149 #address-cells = <1>;
151 compatible = "lantiq,xrx200-mdio";
154 phy0: ethernet-phy@0 {
156 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
158 phy1: ethernet-phy@1 {
160 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
162 phy5: ethernet-phy@5 {
164 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
166 phy11: ethernet-phy@11 {
168 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
170 phy13: ethernet-phy@13 {
172 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
178 pinctrl-names = "default";
179 pinctrl-0 = <&state_default>;
181 state_default: pinmux {
183 lantiq,groups = "exin3";
184 lantiq,function = "exin";
187 lantiq,groups = "mdio";
188 lantiq,function = "mdio";
191 lantiq,groups = "gphy0 led1", "gphy1 led1",
192 "gphy0 led2", "gphy1 led2";
193 lantiq,function = "gphy";
195 lantiq,open-drain = <0>;
199 lantiq,groups = "stp";
200 lantiq,function = "stp";
202 lantiq,open-drain = <0>;
206 lantiq,groups = "req1";
207 lantiq,function = "pci";
209 lantiq,open-drain = <1>;
213 lantiq,groups = "gnt1";
214 lantiq,function = "pci";
216 lantiq,open-drain = <0>;
220 lantiq,pins = "io21";
222 lantiq,open-drain = <0>;
226 lantiq,pins = "io38";
231 lantiq,pins = "io33";
233 lantiq,open-drain = <0>;
237 lantiq,groups = "nand cle", "nand ale";
238 lantiq,function = "ebu";
240 lantiq,open-drain = <0>;
244 lantiq,groups = "nand cs1";
245 lantiq,function = "ebu";
246 lantiq,open-drain = <0>;
254 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
260 lantiq,shadow = <0xffffff>;
261 lantiq,groups = <0x7>;
269 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
270 lantiq,portmask = <0x3>;
275 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;