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 compatible = "lantiq,phy-xrx200";
31 firmware = "lantiq/xrx200_phy11g_a22.bin";
36 compatible = "gpio-keys-polled";
39 poll-interval = <100>;
42 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
48 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
49 linux,code = <KEY_RFKILL>;
50 linux,input-type = <EV_SW>;
55 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_WPS_BUTTON>;
60 label = "dect_paging";
61 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_PHONE>;
67 compatible = "gpio-leds";
69 label = "vr200v:blue:power";
70 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
73 label = "vr200v:blue:dsl";
74 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
77 label = "vr200v:blue:internet";
78 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
81 label = "vr200v:blue:usb";
82 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
85 label = "vr200v:blue:lan";
86 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
89 label = "vr200v:blue:wlan";
90 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
93 label = "vr200v:blue:wlan5g";
94 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
97 label = "vr200v:blue:phone";
98 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
105 compatible = "lantiq,xrx200-pdi";
106 #address-cells = <1>;
109 mtd-mac-address = <&romfile 0xf100>;
113 compatible = "lantiq,xrx200-pdi-port";
116 phy-handle = <&phy0>;
117 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
120 compatible = "lantiq,xrx200-pdi-port";
123 phy-handle = <&phy5>;
126 compatible = "lantiq,xrx200-pdi-port";
129 phy-handle = <&phy11>;
132 compatible = "lantiq,xrx200-pdi-port";
135 phy-handle = <&phy13>;
140 #address-cells = <1>;
142 compatible = "lantiq,xrx200-mdio";
145 phy0: ethernet-phy@0 {
147 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
149 phy5: ethernet-phy@5 {
151 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
153 phy11: ethernet-phy@11 {
155 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
157 phy13: ethernet-phy@13 {
159 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
165 pinctrl-names = "default";
166 pinctrl-0 = <&state_default>;
168 state_default: pinmux {
170 lantiq,groups = "mdio";
171 lantiq,function = "mdio";
174 lantiq,groups = "gphy0 led1", "gphy1 led1";
175 lantiq,function = "gphy";
177 lantiq,open-drain = <0>;
181 lantiq,pins = "io42";
183 lantiq,open-drain = <0>;
187 lantiq,pins = "io38";
192 pins_spi_default: pins_spi_default {
194 lantiq,groups = "spi_di";
195 lantiq,function = "spi";
198 lantiq,groups = "spi_do", "spi_clk",
200 lantiq,function = "spi";
208 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
214 pinctrl-names = "default";
215 pinctrl-0 = <&pins_spi_default>;
218 #address-cells = <1>;
220 compatible = "jedec,spi-nor";
222 spi-max-frequency = <33250000>;
226 compatible = "fixed-partitions";
227 #address-cells = <1>;
237 reg = <0x20000 0xf90000>;
242 reg = <0xfb0000 0x10000>;
248 reg = <0xfc0000 0x10000>;
253 romfile: partition@fd0000 {
254 reg = <0xfd0000 0x10000>;
260 reg = <0xfe0000 0x10000>;
266 reg = <0xff0000 0x10000>;
276 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
277 lantiq,portmask = <0x3>;
282 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;