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 */
19 led-internet = &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";
56 power is not controllable via gpio
60 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
63 label = "green:internet";
64 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
69 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
73 gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
77 gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
82 compatible = "gpio-leds";
86 gpios = <&ath9k 0 GPIO_ACTIVE_HIGH>;
87 linux,default-trigger = "phy0tpt";
92 usb_vbus: regulator-usb-vbus {
93 compatible = "regulator-fixed";
95 regulator-name = "USB_VBUS";
97 regulator-min-microvolt = <5000000>;
98 regulator-max-microvolt = <5000000>;
100 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
106 pinctrl-0 = <&mdio_pins>, <&gphy0_led1_pins>, <&gphy1_led1_pins>;
107 pinctrl-names = "default";
110 compatible = "lantiq,xrx200-pdi";
111 #address-cells = <1>;
114 mtd-mac-address = <&ath9k_cal 0xf100>;
118 compatible = "lantiq,xrx200-pdi-port";
121 phy-handle = <&phy0>;
122 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
125 compatible = "lantiq,xrx200-pdi-port";
128 phy-handle = <&phy5>;
131 compatible = "lantiq,xrx200-pdi-port";
134 phy-handle = <&phy11>;
137 compatible = "lantiq,xrx200-pdi-port";
140 phy-handle = <&phy13>;
145 #address-cells = <1>;
147 compatible = "lantiq,xrx200-mdio";
149 phy0: ethernet-phy@0 {
151 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
153 phy5: ethernet-phy@5 {
155 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
157 phy11: ethernet-phy@11 {
159 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
161 phy13: ethernet-phy@13 {
163 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
169 lantiq,gphy-mode = <GPHY_MODE_GE>;
173 lantiq,gphy-mode = <GPHY_MODE_GE>;
177 pinctrl-names = "default";
178 pinctrl-0 = <&state_default>;
180 state_default: pinmux {
182 lantiq,pins = "io42";
184 lantiq,open-drain = <0>;
188 lantiq,pins = "io38";
198 #interrupt-cells = <1>;
200 #address-cells = <3>;
203 ath9k: wifi@168c,002e {
204 compatible = "pci168c,002e";
210 mtd-mac-address = <&ath9k_cal 0xf100>;
211 mtd-mac-address-increment = <2>;
220 compatible = "jedec,spi-nor";
222 spi-max-frequency = <33250000>;
226 compatible = "fixed-partitions";
227 #address-cells = <1>;
237 reg = <0x20000 0x7a0000>;
242 reg = <0x7c0000 0x10000>;
247 ath9k_cal: partition@7d0000 {
248 reg = <0x7d0000 0x30000>;
249 label = "boardconfig";
266 vbus-supply = <&usb_vbus>;
271 vbus-supply = <&usb_vbus>;