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;
26 device_type = "memory";
27 reg = <0x0 0x4000000>;
31 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
35 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
42 linux,code = <KEY_RFKILL>;
43 linux,input-type = <EV_SW>;
48 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_WPS_BUTTON>;
54 compatible = "gpio-leds";
57 power is not controllable via gpio
62 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
65 led_internet: internet {
66 label = "green:internet";
67 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
72 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
77 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
82 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
87 compatible = "gpio-leds";
91 gpios = <&ath9k 0 GPIO_ACTIVE_HIGH>;
92 linux,default-trigger = "phy0tpt";
97 usb_vbus: regulator-usb-vbus {
98 compatible = "regulator-fixed";
100 regulator-name = "USB_VBUS";
102 regulator-min-microvolt = <5000000>;
103 regulator-max-microvolt = <5000000>;
105 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
111 pinctrl-0 = <&mdio_pins>, <&gphy0_led1_pins>, <&gphy1_led1_pins>;
112 pinctrl-names = "default";
115 compatible = "lantiq,xrx200-pdi";
116 #address-cells = <1>;
119 mtd-mac-address = <&ath9k_cal 0xf100>;
123 compatible = "lantiq,xrx200-pdi-port";
126 phy-handle = <&phy0>;
127 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
130 compatible = "lantiq,xrx200-pdi-port";
133 phy-handle = <&phy11>;
136 compatible = "lantiq,xrx200-pdi-port";
139 phy-handle = <&phy13>;
142 compatible = "lantiq,xrx200-pdi-port";
145 phy-handle = <&phy5>;
150 #address-cells = <1>;
152 compatible = "lantiq,xrx200-mdio";
154 phy0: ethernet-phy@0 {
156 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
158 phy5: ethernet-phy@5 {
160 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
162 phy11: ethernet-phy@11 {
164 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
166 phy13: ethernet-phy@13 {
168 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
174 lantiq,gphy-mode = <GPHY_MODE_GE>;
178 lantiq,gphy-mode = <GPHY_MODE_GE>;
182 pinctrl-names = "default";
183 pinctrl-0 = <&state_default>;
185 state_default: pinmux {
187 lantiq,pins = "io42";
189 lantiq,open-drain = <0>;
193 lantiq,pins = "io38";
203 #interrupt-cells = <1>;
205 #address-cells = <3>;
208 ath9k: wifi@168c,002e {
209 compatible = "pci168c,002e";
215 mtd-mac-address = <&ath9k_cal 0xf100>;
216 mtd-mac-address-increment = <2>;
225 compatible = "jedec,spi-nor";
227 spi-max-frequency = <33250000>;
231 compatible = "fixed-partitions";
232 #address-cells = <1>;
242 reg = <0x20000 0x7a0000>;
247 reg = <0x7c0000 0x10000>;
252 ath9k_cal: partition@7d0000 {
253 reg = <0x7d0000 0x30000>;
254 label = "boardconfig";
271 vbus-supply = <&usb_vbus>;
276 vbus-supply = <&usb_vbus>;