3 #include <dt-bindings/input/input.h>
7 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
11 /* the power led can't be controlled, use the wps led instead */
16 led-internet = &internet;
23 reg = <0x0 0x4000000>;
27 gpio: pinmux@E100B10 {
28 pinctrl-names = "default";
29 pinctrl-0 = <&state_default>;
31 state_default: pinmux {
33 lantiq,groups = "mdio";
34 lantiq,function = "mdio";
37 lantiq,groups = "gphy0 led1", "gphy1 led1";
38 lantiq,function = "gphy";
40 lantiq,open-drain = <0>;
46 lantiq,open-drain = <0>;
55 pins_spi_default: pins_spi_default {
57 lantiq,groups = "spi_di";
58 lantiq,function = "spi";
61 lantiq,groups = "spi_do", "spi_clk",
63 lantiq,function = "spi";
71 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
72 lantiq,portmask = <0x3>;
77 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
82 compatible = "lantiq,phy-xrx200";
83 firmware = "lantiq/vr9_phy11g_a2x.bin";
88 compatible = "gpio-keys-polled";
91 poll-interval = <100>;
94 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
95 linux,code = <KEY_RESTART>;
100 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
101 linux,code = <KEY_RFKILL>;
102 linux,input-type = <EV_SW>;
107 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
108 linux,code = <KEY_WPS_BUTTON>;
113 compatible = "gpio-leds";
115 power is not controllable via gpio
118 label = "tdw89x0:green:dsl";
119 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
122 label = "tdw89x0:green:internet";
123 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
126 label = "tdw89x0:green:usb";
127 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
130 label = "tdw89x0:green:usb2";
131 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
134 label = "tdw89x0:green:wps";
135 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
140 compatible = "gpio-leds";
143 label = "tdw89x0:green:wifi";
144 gpios = <&ath9k 0 GPIO_ACTIVE_HIGH>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&pins_spi_default>;
156 #address-cells = <1>;
158 compatible = "jedec,spi-nor";
160 spi-max-frequency = <33250000>;
164 compatible = "fixed-partitions";
165 #address-cells = <1>;
175 reg = <0x20000 0x7a0000>;
180 reg = <0x7c0000 0x10000>;
185 ath9k_cal: partition@7d0000 {
186 reg = <0x7d0000 0x30000>;
187 label = "boardconfig";
196 compatible = "lantiq,xrx200-pdi";
197 #address-cells = <1>;
200 mtd-mac-address = <&ath9k_cal 0xf100>;
204 compatible = "lantiq,xrx200-pdi-port";
207 phy-handle = <&phy0>;
208 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
211 compatible = "lantiq,xrx200-pdi-port";
214 phy-handle = <&phy5>;
217 compatible = "lantiq,xrx200-pdi-port";
220 phy-handle = <&phy11>;
223 compatible = "lantiq,xrx200-pdi-port";
226 phy-handle = <&phy13>;
231 #address-cells = <1>;
233 compatible = "lantiq,xrx200-mdio";
234 phy0: ethernet-phy@0 {
236 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
238 phy5: ethernet-phy@5 {
240 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
242 phy11: ethernet-phy@11 {
244 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
246 phy13: ethernet-phy@13 {
248 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
256 #interrupt-cells = <1>;
258 #address-cells = <3>;
261 ath9k: wifi@168c,002e {
262 compatible = "pci168c,002e";
268 mtd-mac-address = <&ath9k_cal 0xf100>;
269 mtd-mac-address-increment = <2>;