5 #include <dt-bindings/input/input.h>
8 compatible = "tplink,vr200v", "lantiq,xway", "lantiq,vr9";
9 model = "TP-LINK Archer VR200v";
12 bootargs = "console=ttyLTQ0,115200";
17 led-failsafe = &power;
20 led-internet = &internet;
26 reg = <0x0 0x7f00000>;
30 gpio: pinmux@E100B10 {
31 pinctrl-names = "default";
32 pinctrl-0 = <&state_default>;
34 state_default: pinmux {
36 lantiq,groups = "mdio";
37 lantiq,function = "mdio";
40 lantiq,groups = "gphy0 led1", "gphy1 led1";
41 lantiq,function = "gphy";
43 lantiq,open-drain = <0>;
49 lantiq,open-drain = <0>;
58 pins_spi_default: pins_spi_default {
60 lantiq,groups = "spi_di";
61 lantiq,function = "spi";
64 lantiq,groups = "spi_do", "spi_clk",
66 lantiq,function = "spi";
74 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
75 lantiq,portmask = <0x3>;
80 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
85 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
90 compatible = "lantiq,phy-xrx200";
91 firmware = "lantiq/xrx200_phy11g_a22.bin";
96 compatible = "gpio-keys-polled";
99 poll-interval = <100>;
102 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
103 linux,code = <KEY_RESTART>;
108 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
109 linux,code = <KEY_RFKILL>;
110 linux,input-type = <EV_SW>;
115 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
116 linux,code = <KEY_WPS_BUTTON>;
120 label = "dect_paging";
121 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
122 linux,code = <KEY_PHONE>;
127 compatible = "gpio-leds";
129 label = "vr200v:blue:power";
130 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
133 label = "vr200v:blue:dsl";
134 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
137 label = "vr200v:blue:internet";
138 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
141 label = "vr200v:blue:usb";
142 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
145 label = "vr200v:blue:lan";
146 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
149 label = "vr200v:blue:wlan";
150 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
153 label = "vr200v:blue:wlan5g";
154 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
157 label = "vr200v:blue:phone";
158 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&pins_spi_default>;
170 #address-cells = <1>;
172 compatible = "jedec,spi-nor";
174 spi-max-frequency = <33250000>;
178 compatible = "fixed-partitions";
179 #address-cells = <1>;
189 reg = <0x20000 0xf90000>;
194 reg = <0xfb0000 0x10000>;
200 reg = <0xfc0000 0x10000>;
205 romfile: partition@fd0000 {
206 reg = <0xfd0000 0x10000>;
212 reg = <0xfe0000 0x10000>;
218 reg = <0xff0000 0x10000>;
228 compatible = "lantiq,xrx200-pdi";
229 #address-cells = <1>;
232 mtd-mac-address = <&romfile 0xf100>;
236 compatible = "lantiq,xrx200-pdi-port";
239 phy-handle = <&phy0>;
240 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
243 compatible = "lantiq,xrx200-pdi-port";
246 phy-handle = <&phy5>;
249 compatible = "lantiq,xrx200-pdi-port";
252 phy-handle = <&phy11>;
255 compatible = "lantiq,xrx200-pdi-port";
258 phy-handle = <&phy13>;
263 #address-cells = <1>;
265 compatible = "lantiq,xrx200-mdio";
266 phy0: ethernet-phy@0 {
268 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
270 phy5: ethernet-phy@5 {
272 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
274 phy11: ethernet-phy@11 {
276 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
278 phy13: ethernet-phy@13 {
280 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";