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;
22 reg = <0x0 0x4000000>;
26 gpio: pinmux@E100B10 {
27 pinctrl-names = "default";
28 pinctrl-0 = <&state_default>;
30 state_default: pinmux {
32 lantiq,groups = "mdio";
33 lantiq,function = "mdio";
36 lantiq,groups = "gphy0 led1", "gphy1 led1";
37 lantiq,function = "gphy";
39 lantiq,open-drain = <0>;
45 lantiq,open-drain = <0>;
54 pins_spi_default: pins_spi_default {
56 lantiq,groups = "spi_di";
57 lantiq,function = "spi";
60 lantiq,groups = "spi_do", "spi_clk",
62 lantiq,function = "spi";
70 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
71 lantiq,portmask = <0x3>;
76 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
81 compatible = "lantiq,phy-xrx200";
82 firmware = "lantiq/vr9_phy11g_a2x.bin";
87 compatible = "ath9k,eeprom";
88 ath,eep-flash = <&ath9k_cal 0x21000>;
89 ath,mac-offset = <0xf100>;
90 ath,mac-increment = <2>;
97 compatible = "gpio-keys-polled";
100 poll-interval = <100>;
103 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_RESTART>;
109 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
110 linux,code = <KEY_RFKILL>;
111 linux,input-type = <EV_SW>;
116 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
117 linux,code = <KEY_WPS_BUTTON>;
122 compatible = "gpio-leds";
124 power is not controllable via gpio
127 label = "tdw89x0:green:dsl";
128 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
131 label = "tdw89x0:green:internet";
132 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
135 label = "tdw89x0:green:usb";
136 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
139 label = "tdw89x0:green:usb2";
140 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
143 label = "tdw89x0:green:wps";
144 gpios = <&gpio 37 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";