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 gpio: pinmux@E100B10 {
28 pinctrl-names = "default";
29 pinctrl-0 = <&state_default>;
31 state_default: pinmux {
33 lantiq,groups = "exin3";
34 lantiq,function = "exin";
37 lantiq,groups = "mdio";
38 lantiq,function = "mdio";
41 lantiq,groups = "gphy0 led1", "gphy1 led1",
42 "gphy0 led2", "gphy1 led2";
43 lantiq,function = "gphy";
45 lantiq,open-drain = <0>;
49 lantiq,groups = "stp";
50 lantiq,function = "stp";
52 lantiq,open-drain = <0>;
56 lantiq,groups = "req1";
57 lantiq,function = "pci";
59 lantiq,open-drain = <1>;
63 lantiq,groups = "gnt1";
64 lantiq,function = "pci";
66 lantiq,open-drain = <0>;
72 lantiq,open-drain = <0>;
83 lantiq,open-drain = <0>;
87 lantiq,groups = "nand cle", "nand ale";
88 lantiq,function = "ebu";
90 lantiq,open-drain = <0>;
94 lantiq,groups = "nand cs1";
95 lantiq,function = "ebu";
96 lantiq,open-drain = <0>;
103 compatible = "lantiq,gpio-stp-xway";
104 reg = <0xE100BB0 0x40>;
108 lantiq,shadow = <0xffffff>;
109 lantiq,groups = <0x7>;
117 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
118 lantiq,portmask = <0x3>;
123 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
128 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
133 compatible = "lantiq,phy-xrx200";
134 firmware1 = "lantiq/xrx200_phy11g_a14.bin"; /*VR9 1.1*/
135 firmware2 = "lantiq/xrx200_phy11g_a22.bin"; /*VR9 1.2*/
140 compatible = "gpio-keys-polled";
141 #address-cells = <1>;
143 poll-interval = <100>;
147 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
148 linux,code = <KEY_RESTART>;
153 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
154 linux,code = <KEY_RFKILL>;
159 compatible = "gpio-leds";
162 label = "p2812hnufx:red:internet";
163 gpios = <&stp 16 GPIO_ACTIVE_LOW>;
165 internet_green: internet_green {
166 label = "p2812hnufx:green:internet";
167 gpios = <&stp 17 GPIO_ACTIVE_LOW>;
169 dsl_green: dsl_green {
170 label = "p2812hnufx:green:dsl";
171 gpios = <&stp 18 GPIO_ACTIVE_LOW>;
174 label = "p2812hnufx:orange:dsl";
175 gpios = <&stp 19 GPIO_ACTIVE_LOW>;
178 label = "p2812hnufx:orange:wlan";
179 gpios = <&stp 20 GPIO_ACTIVE_LOW>;
181 wireless_green: wireless_green {
182 label = "p2812hnufx:green:wlan";
183 gpios = <&stp 21 GPIO_ACTIVE_LOW>;
186 label = "p2812hnufx:red:power";
187 gpios = <&stp 22 GPIO_ACTIVE_LOW>;
189 power_green: power2 {
190 label = "p2812hnufx:green:power";
191 gpios = <&stp 23 GPIO_ACTIVE_LOW>;
192 default-state = "keep";
195 label = "p2812hnufx:green:phone";
196 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
199 label = "p2812hnufx:orange:phone";
200 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
203 label = "p2812hnufx:orange:phone2";
204 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
207 label = "p2812hnufx:green:phone2";
208 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
215 compatible = "lantiq,xrx200-pdi";
216 #address-cells = <1>;
219 mac-address = [ 00 11 22 33 44 55 ];
223 compatible = "lantiq,xrx200-pdi-port";
226 phy-handle = <&phy0>;
229 compatible = "lantiq,xrx200-pdi-port";
232 phy-handle = <&phy1>;
235 compatible = "lantiq,xrx200-pdi-port";
238 phy-handle = <&phy11>;
241 compatible = "lantiq,xrx200-pdi-port";
244 phy-handle = <&phy13>;
247 compatible = "lantiq,xrx200-pdi-port";
250 phy-handle = <&phy5>;
255 #address-cells = <1>;
257 compatible = "lantiq,xrx200-mdio";
259 phy0: ethernet-phy@0 {
261 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
263 phy1: ethernet-phy@1 {
265 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
267 phy5: ethernet-phy@5 {
269 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
271 phy11: ethernet-phy@11 {
273 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
275 phy13: ethernet-phy@13 {
277 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";