5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
9 compatible = "tplink,vr200v", "lantiq,xway", "lantiq,vr9";
10 model = "TP-LINK Archer VR200v";
13 bootargs = "console=ttyLTQ0,115200";
18 led-failsafe = &power;
21 led-internet = &internet;
27 reg = <0x0 0x7f00000>;
31 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
37 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
44 linux,code = <KEY_RFKILL>;
45 linux,input-type = <EV_SW>;
50 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_WPS_BUTTON>;
55 label = "dect_paging";
56 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_PHONE>;
62 compatible = "gpio-leds";
64 label = "vr200v:blue:power";
65 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
68 label = "vr200v:blue:dsl";
69 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
72 label = "vr200v:blue:internet";
73 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
76 label = "vr200v:blue:usb";
77 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
80 label = "vr200v:blue:lan";
81 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
84 label = "vr200v:blue:wlan";
85 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
88 label = "vr200v:blue:wlan5g";
89 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
92 label = "vr200v:blue:phone";
93 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
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>;
112 compatible = "lantiq,xrx200-pdi";
113 #address-cells = <1>;
116 mtd-mac-address = <&romfile 0xf100>;
120 compatible = "lantiq,xrx200-pdi-port";
123 phy-handle = <&phy0>;
124 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
127 compatible = "lantiq,xrx200-pdi-port";
130 phy-handle = <&phy5>;
133 compatible = "lantiq,xrx200-pdi-port";
136 phy-handle = <&phy11>;
139 compatible = "lantiq,xrx200-pdi-port";
142 phy-handle = <&phy13>;
147 #address-cells = <1>;
149 compatible = "lantiq,xrx200-mdio";
152 phy0: ethernet-phy@0 {
154 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
156 phy5: ethernet-phy@5 {
158 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
160 phy11: ethernet-phy@11 {
162 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
164 phy13: ethernet-phy@13 {
166 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
172 lantiq,gphy-mode = <GPHY_MODE_GE>;
176 lantiq,gphy-mode = <GPHY_MODE_GE>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&state_default>;
183 state_default: pinmux {
185 lantiq,groups = "mdio";
186 lantiq,function = "mdio";
189 lantiq,groups = "gphy0 led1", "gphy1 led1";
190 lantiq,function = "gphy";
192 lantiq,open-drain = <0>;
196 lantiq,pins = "io42";
198 lantiq,open-drain = <0>;
202 lantiq,pins = "io38";
207 pins_spi_default: pins_spi_default {
209 lantiq,groups = "spi_di";
210 lantiq,function = "spi";
213 lantiq,groups = "spi_do", "spi_clk",
215 lantiq,function = "spi";
223 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&pins_spi_default>;
233 #address-cells = <1>;
235 compatible = "jedec,spi-nor";
237 spi-max-frequency = <33250000>;
241 compatible = "fixed-partitions";
242 #address-cells = <1>;
252 reg = <0x20000 0xf90000>;
257 reg = <0xfb0000 0x10000>;
263 reg = <0xfc0000 0x10000>;
268 romfile: partition@fd0000 {
269 reg = <0xfd0000 0x10000>;
275 reg = <0xfe0000 0x10000>;
281 reg = <0xff0000 0x10000>;
291 phy-supply = <&usb_vbus>;
296 phy-supply = <&usb_vbus>;