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 gpio: pinmux@E100B10 {
30 pinctrl-names = "default";
31 pinctrl-0 = <&state_default>;
33 state_default: pinmux {
35 lantiq,groups = "mdio";
36 lantiq,function = "mdio";
39 lantiq,groups = "gphy0 led1", "gphy1 led1";
40 lantiq,function = "gphy";
42 lantiq,open-drain = <0>;
48 lantiq,open-drain = <0>;
57 pins_spi_default: pins_spi_default {
59 lantiq,groups = "spi_di";
60 lantiq,function = "spi";
63 lantiq,groups = "spi_do", "spi_clk",
65 lantiq,function = "spi";
73 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
74 lantiq,portmask = <0x3>;
79 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
84 compatible = "lantiq,phy-xrx200";
85 firmware = "lantiq/xrx200_phy11g_a22.bin";
90 compatible = "gpio-keys-polled";
93 poll-interval = <100>;
96 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
97 linux,code = <KEY_RESTART>;
102 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
103 linux,code = <KEY_RFKILL>;
104 linux,input-type = <EV_SW>;
109 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
110 linux,code = <KEY_WPS_BUTTON>;
115 compatible = "gpio-leds";
117 power is not controllable via gpio
120 label = "tdw89x0:green:dsl";
121 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
124 label = "tdw89x0:green:internet";
125 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
128 label = "tdw89x0:green:usb";
129 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
132 label = "tdw89x0:green:usb2";
133 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
136 label = "tdw89x0:green:wps";
137 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
142 compatible = "gpio-leds";
145 label = "tdw89x0:green:wifi";
146 gpios = <&ath9k 0 GPIO_ACTIVE_HIGH>;
152 pinctrl-names = "default";
153 pinctrl-0 = <&pins_spi_default>;
158 #address-cells = <1>;
160 compatible = "jedec,spi-nor";
162 spi-max-frequency = <33250000>;
166 compatible = "fixed-partitions";
167 #address-cells = <1>;
177 reg = <0x20000 0x7a0000>;
182 reg = <0x7c0000 0x10000>;
187 ath9k_cal: partition@7d0000 {
188 reg = <0x7d0000 0x30000>;
189 label = "boardconfig";
198 compatible = "lantiq,xrx200-pdi";
199 #address-cells = <1>;
202 mtd-mac-address = <&ath9k_cal 0xf100>;
206 compatible = "lantiq,xrx200-pdi-port";
209 phy-handle = <&phy0>;
210 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
213 compatible = "lantiq,xrx200-pdi-port";
216 phy-handle = <&phy5>;
219 compatible = "lantiq,xrx200-pdi-port";
222 phy-handle = <&phy11>;
225 compatible = "lantiq,xrx200-pdi-port";
228 phy-handle = <&phy13>;
233 #address-cells = <1>;
235 compatible = "lantiq,xrx200-mdio";
236 phy0: ethernet-phy@0 {
238 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
240 phy5: ethernet-phy@5 {
242 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
244 phy11: ethernet-phy@11 {
246 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
248 phy13: ethernet-phy@13 {
250 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
258 #interrupt-cells = <1>;
260 #address-cells = <3>;
263 ath9k: wifi@168c,002e {
264 compatible = "pci168c,002e";
270 mtd-mac-address = <&ath9k_cal 0xf100>;
271 mtd-mac-address-increment = <2>;