3 #include <dt-bindings/input/input.h>
6 compatible = "tplink,tdw89x0", "lantiq,xway", "lantiq,vr9";
9 bootargs = "console=ttyLTQ0,115200";
13 /* the power led can't be controlled, use the wps led instead */
18 led-internet = &internet;
25 reg = <0x0 0x4000000>;
29 compatible = "lantiq,phy-xrx200";
30 firmware = "lantiq/xrx200_phy11g_a22.bin";
35 compatible = "gpio-keys-polled";
38 poll-interval = <100>;
41 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
47 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
48 linux,code = <KEY_RFKILL>;
49 linux,input-type = <EV_SW>;
54 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_WPS_BUTTON>;
60 compatible = "gpio-leds";
62 power is not controllable via gpio
65 label = "tdw89x0:green:dsl";
66 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
69 label = "tdw89x0:green:internet";
70 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
74 label = "tdw89x0:green:usb";
75 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
78 label = "tdw89x0:green:usb2";
79 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
82 label = "tdw89x0:green:wps";
83 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
88 compatible = "gpio-leds";
91 label = "tdw89x0:green:wifi";
92 gpios = <&ath9k 0 GPIO_ACTIVE_HIGH>;
99 compatible = "lantiq,xrx200-pdi";
100 #address-cells = <1>;
103 mtd-mac-address = <&ath9k_cal 0xf100>;
107 compatible = "lantiq,xrx200-pdi-port";
110 phy-handle = <&phy0>;
111 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
114 compatible = "lantiq,xrx200-pdi-port";
117 phy-handle = <&phy5>;
120 compatible = "lantiq,xrx200-pdi-port";
123 phy-handle = <&phy11>;
126 compatible = "lantiq,xrx200-pdi-port";
129 phy-handle = <&phy13>;
134 #address-cells = <1>;
136 compatible = "lantiq,xrx200-mdio";
139 phy0: ethernet-phy@0 {
141 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
143 phy5: ethernet-phy@5 {
145 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
147 phy11: ethernet-phy@11 {
149 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
151 phy13: ethernet-phy@13 {
153 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
159 pinctrl-names = "default";
160 pinctrl-0 = <&state_default>;
162 state_default: pinmux {
164 lantiq,groups = "mdio";
165 lantiq,function = "mdio";
168 lantiq,groups = "gphy0 led1", "gphy1 led1";
169 lantiq,function = "gphy";
171 lantiq,open-drain = <0>;
175 lantiq,pins = "io42";
177 lantiq,open-drain = <0>;
181 lantiq,pins = "io38";
186 pins_spi_default: pins_spi_default {
188 lantiq,groups = "spi_di";
189 lantiq,function = "spi";
192 lantiq,groups = "spi_do", "spi_clk",
194 lantiq,function = "spi";
203 #interrupt-cells = <1>;
205 #address-cells = <3>;
208 ath9k: wifi@168c,002e {
209 compatible = "pci168c,002e";
215 mtd-mac-address = <&ath9k_cal 0xf100>;
216 mtd-mac-address-increment = <2>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&pins_spi_default>;
228 #address-cells = <1>;
230 compatible = "jedec,spi-nor";
232 spi-max-frequency = <33250000>;
236 compatible = "fixed-partitions";
237 #address-cells = <1>;
247 reg = <0x20000 0x7a0000>;
252 reg = <0x7c0000 0x10000>;
257 ath9k_cal: partition@7d0000 {
258 reg = <0x7d0000 0x30000>;
259 label = "boardconfig";
268 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
269 lantiq,portmask = <0x3>;
274 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;