3 #include <dt-bindings/input/input.h>
7 /* the power led can't be controlled, use the wps led instead */
12 led-internet = &internet;
19 reg = <0x0 0x4000000>;
23 gpio: pinmux@E100B10 {
24 pinctrl-names = "default";
25 pinctrl-0 = <&state_default>;
27 state_default: pinmux {
29 lantiq,groups = "mdio";
30 lantiq,function = "mdio";
33 lantiq,groups = "gphy0 led1", "gphy1 led1";
34 lantiq,function = "gphy";
36 lantiq,open-drain = <0>;
42 lantiq,open-drain = <0>;
51 pins_spi_default: pins_spi_default {
53 lantiq,groups = "spi_di";
54 lantiq,function = "spi";
57 lantiq,groups = "spi_do", "spi_clk",
59 lantiq,function = "spi";
67 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
68 lantiq,portmask = <0x3>;
73 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
78 compatible = "lantiq,phy-xrx200";
79 firmware = "lantiq/vr9_phy11g_a2x.bin";
84 compatible = "gpio-keys-polled";
87 poll-interval = <100>;
90 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
91 linux,code = <KEY_RESTART>;
96 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
97 linux,code = <KEY_RFKILL>;
98 linux,input-type = <EV_SW>;
103 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_WPS_BUTTON>;
109 compatible = "gpio-leds";
111 power is not controllable via gpio
114 label = "tdw89x0:green:dsl";
115 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
118 label = "tdw89x0:green:internet";
119 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
122 label = "tdw89x0:green:usb";
123 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
126 label = "tdw89x0:green:usb2";
127 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
130 label = "tdw89x0:green:wps";
131 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
136 compatible = "gpio-leds";
139 label = "tdw89x0:green:wifi";
140 gpios = <&ath9k 0 GPIO_ACTIVE_HIGH>;
146 pinctrl-names = "default";
147 pinctrl-0 = <&pins_spi_default>;
152 #address-cells = <1>;
154 compatible = "jedec,spi-nor";
156 spi-max-frequency = <33250000>;
160 compatible = "fixed-partitions";
161 #address-cells = <1>;
171 reg = <0x20000 0x7a0000>;
176 reg = <0x7c0000 0x10000>;
181 ath9k_cal: partition@7d0000 {
182 reg = <0x7d0000 0x30000>;
183 label = "boardconfig";
192 compatible = "lantiq,xrx200-pdi";
193 #address-cells = <1>;
196 mtd-mac-address = <&ath9k_cal 0xf100>;
200 compatible = "lantiq,xrx200-pdi-port";
203 phy-handle = <&phy0>;
204 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
207 compatible = "lantiq,xrx200-pdi-port";
210 phy-handle = <&phy5>;
213 compatible = "lantiq,xrx200-pdi-port";
216 phy-handle = <&phy11>;
219 compatible = "lantiq,xrx200-pdi-port";
222 phy-handle = <&phy13>;
227 #address-cells = <1>;
229 compatible = "lantiq,xrx200-mdio";
230 phy0: ethernet-phy@0 {
232 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
234 phy5: ethernet-phy@5 {
236 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
238 phy11: ethernet-phy@11 {
240 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
242 phy13: ethernet-phy@13 {
244 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
252 #interrupt-cells = <1>;
254 #address-cells = <3>;
257 ath9k: wifi@168c,002e {
258 compatible = "pci168c,002e";
264 mtd-mac-address = <&ath9k_cal 0xf100>;
265 mtd-mac-address-increment = <2>;