3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
7 compatible = "tplink,tdw89x0", "lantiq,xway", "lantiq,vr9";
10 bootargs = "console=ttyLTQ0,115200";
14 /* the power led can't be controlled, use the wps led instead */
16 led-failsafe = &led_wps;
19 led-internet = &led_internet;
24 device_type = "memory";
25 reg = <0x0 0x4000000>;
29 compatible = "gpio-keys-polled";
30 poll-interval = <100>;
33 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
39 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
40 linux,code = <KEY_RFKILL>;
41 linux,input-type = <EV_SW>;
46 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_WPS_BUTTON>;
52 compatible = "gpio-leds";
55 power is not controllable via gpio
60 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
63 led_internet: internet {
64 label = "green:internet";
65 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
70 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
71 trigger-sources = <&ehci_port1>;
72 linux,default-trigger = "usbport";
77 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
78 trigger-sources = <&ehci_port2>;
79 linux,default-trigger = "usbport";
84 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
89 compatible = "gpio-leds";
93 gpios = <&ath9k 0 GPIO_ACTIVE_HIGH>;
94 linux,default-trigger = "phy0tpt";
99 usb_vbus: regulator-usb-vbus {
100 compatible = "regulator-fixed";
102 regulator-name = "USB_VBUS";
104 regulator-min-microvolt = <5000000>;
105 regulator-max-microvolt = <5000000>;
107 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
113 pinctrl-0 = <&mdio_pins>, <&gphy0_led1_pins>, <&gphy1_led1_pins>;
114 pinctrl-names = "default";
117 compatible = "lantiq,xrx200-pdi";
118 #address-cells = <1>;
121 mtd-mac-address = <&ath9k_cal 0xf100>;
125 compatible = "lantiq,xrx200-pdi-port";
128 phy-handle = <&phy0>;
129 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
132 compatible = "lantiq,xrx200-pdi-port";
135 phy-handle = <&phy11>;
138 compatible = "lantiq,xrx200-pdi-port";
141 phy-handle = <&phy13>;
144 compatible = "lantiq,xrx200-pdi-port";
147 phy-handle = <&phy5>;
152 #address-cells = <1>;
154 compatible = "lantiq,xrx200-mdio";
156 phy0: ethernet-phy@0 {
158 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
160 phy5: ethernet-phy@5 {
162 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
164 phy11: ethernet-phy@11 {
166 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
168 phy13: ethernet-phy@13 {
170 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
176 lantiq,gphy-mode = <GPHY_MODE_GE>;
180 lantiq,gphy-mode = <GPHY_MODE_GE>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&state_default>;
187 state_default: pinmux {
189 lantiq,pins = "io42";
191 lantiq,open-drain = <0>;
195 lantiq,pins = "io38";
205 #interrupt-cells = <1>;
207 #address-cells = <3>;
210 ath9k: wifi@168c,002e {
211 compatible = "pci168c,002e";
217 mtd-mac-address = <&ath9k_cal 0xf100>;
218 mtd-mac-address-increment = <2>;
227 compatible = "jedec,spi-nor";
229 spi-max-frequency = <33250000>;
233 compatible = "fixed-partitions";
234 #address-cells = <1>;
244 reg = <0x20000 0x7a0000>;
249 reg = <0x7c0000 0x10000>;
254 ath9k_cal: partition@7d0000 {
255 reg = <0x7d0000 0x30000>;
256 label = "boardconfig";
273 vbus-supply = <&usb_vbus>;
278 vbus-supply = <&usb_vbus>;