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 mtd-mac-address = <&ath9k_cal 0xf100>;
117 lantiq,gphy-mode = <GPHY_MODE_GE>;
121 lantiq,gphy-mode = <GPHY_MODE_GE>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&state_default>;
128 state_default: pinmux {
130 lantiq,pins = "io42";
132 lantiq,open-drain = <0>;
136 lantiq,pins = "io38";
144 pinctrl-0 = <&mdio_pins>, <&gphy0_led1_pins>, <&gphy1_led1_pins>;
145 pinctrl-names = "default";
149 phy0: ethernet-phy@0 {
151 // reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
153 phy5: ethernet-phy@5 {
156 phy11: ethernet-phy@11 {
159 phy13: ethernet-phy@13 {
169 phy-handle = <&phy0>;
174 phy-mode = "internal";
175 phy-handle = <&phy11>;
180 phy-mode = "internal";
181 phy-handle = <&phy13>;
187 phy-handle = <&phy5>;
194 #interrupt-cells = <1>;
196 #address-cells = <3>;
199 ath9k: wifi@168c,002e {
200 compatible = "pci168c,002e";
206 mtd-mac-address = <&ath9k_cal 0xf100>;
207 mac-address-increment = <2>;
216 compatible = "jedec,spi-nor";
218 spi-max-frequency = <33250000>;
222 compatible = "fixed-partitions";
223 #address-cells = <1>;
233 reg = <0x20000 0x7a0000>;
238 reg = <0x7c0000 0x10000>;
243 ath9k_cal: partition@7d0000 {
244 reg = <0x7d0000 0x30000>;
245 label = "boardconfig";
262 vbus-supply = <&usb_vbus>;
267 vbus-supply = <&usb_vbus>;