5 #include <dt-bindings/input/input.h>
8 model = "VR200v - TP-LINK Archer VR200v";
12 led-failsafe = &power;
15 led-internet = &internet;
21 reg = <0x0 0x7f00000>;
25 gpio: pinmux@E100B10 {
26 pinctrl-names = "default";
27 pinctrl-0 = <&state_default>;
29 state_default: pinmux {
31 lantiq,groups = "mdio";
32 lantiq,function = "mdio";
35 lantiq,groups = "gphy0 led1", "gphy1 led1";
36 lantiq,function = "gphy";
38 lantiq,open-drain = <0>;
44 lantiq,open-drain = <0>;
53 pins_spi_default: pins_spi_default {
55 lantiq,groups = "spi_di";
56 lantiq,function = "spi";
59 lantiq,groups = "spi_do", "spi_clk",
61 lantiq,function = "spi";
69 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
70 lantiq,portmask = <0x3>;
75 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
80 compatible = "lantiq,phy-xrx200";
81 firmware = "lantiq/vr9_phy11g_a2x.bin";
86 compatible = "gpio-keys-polled";
89 poll-interval = <100>;
92 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
93 linux,code = <KEY_RESTART>;
98 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
99 linux,code = <KEY_RFKILL>;
100 linux,input-type = <EV_SW>;
105 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
106 linux,code = <KEY_WPS_BUTTON>;
110 label = "dect_paging";
111 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
112 linux,code = <KEY_PHONE>;
117 compatible = "gpio-leds";
119 label = "vr200v:blue:power";
120 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
123 label = "vr200v:blue:dsl";
124 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
127 label = "vr200v:blue:internet";
128 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
131 label = "vr200v:blue:usb";
132 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
135 label = "vr200v:blue:lan";
136 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
139 label = "vr200v:blue:wlan";
140 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
143 label = "vr200v:blue:wlan5g";
144 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
147 label = "vr200v:blue:phone";
148 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
154 pinctrl-names = "default";
155 pinctrl-0 = <&pins_spi_default>;
160 #address-cells = <1>;
162 compatible = "jedec,spi-nor";
164 spi-max-frequency = <33250000>;
168 compatible = "fixed-partitions";
169 #address-cells = <1>;
179 reg = <0x20000 0xf90000>;
184 reg = <0xfb0000 0x10000>;
190 reg = <0xfc0000 0x10000>;
195 romfile: partition@fd0000 {
196 reg = <0xfd0000 0x10000>;
202 reg = <0xfe0000 0x10000>;
208 reg = <0xff0000 0x10000>;
218 compatible = "lantiq,xrx200-pdi";
219 #address-cells = <1>;
222 mtd-mac-address = <&romfile 0xf100>;
226 compatible = "lantiq,xrx200-pdi-port";
229 phy-handle = <&phy0>;
230 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
233 compatible = "lantiq,xrx200-pdi-port";
236 phy-handle = <&phy5>;
239 compatible = "lantiq,xrx200-pdi-port";
242 phy-handle = <&phy11>;
245 compatible = "lantiq,xrx200-pdi-port";
248 phy-handle = <&phy13>;
253 #address-cells = <1>;
255 compatible = "lantiq,xrx200-mdio";
256 phy0: ethernet-phy@0 {
258 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
260 phy5: ethernet-phy@5 {
262 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
264 phy11: ethernet-phy@11 {
266 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
268 phy13: ethernet-phy@13 {
270 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";