5 #include <dt-bindings/input/input.h>
8 model = "VR200v - TP-LINK Archer VR200v";
11 bootargs = "console=ttyLTQ0,115200";
16 led-failsafe = &power;
19 led-internet = &internet;
25 reg = <0x0 0x7f00000>;
29 gpio: pinmux@E100B10 {
30 pinctrl-names = "default";
31 pinctrl-0 = <&state_default>;
33 state_default: pinmux {
35 lantiq,groups = "mdio";
36 lantiq,function = "mdio";
39 lantiq,groups = "gphy0 led1", "gphy1 led1";
40 lantiq,function = "gphy";
42 lantiq,open-drain = <0>;
48 lantiq,open-drain = <0>;
57 pins_spi_default: pins_spi_default {
59 lantiq,groups = "spi_di";
60 lantiq,function = "spi";
63 lantiq,groups = "spi_do", "spi_clk",
65 lantiq,function = "spi";
73 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
74 lantiq,portmask = <0x3>;
79 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
84 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
89 compatible = "lantiq,phy-xrx200";
90 firmware = "lantiq/vr9_phy11g_a2x.bin";
95 compatible = "gpio-keys-polled";
98 poll-interval = <100>;
101 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
102 linux,code = <KEY_RESTART>;
107 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
108 linux,code = <KEY_RFKILL>;
109 linux,input-type = <EV_SW>;
114 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
115 linux,code = <KEY_WPS_BUTTON>;
119 label = "dect_paging";
120 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
121 linux,code = <KEY_PHONE>;
126 compatible = "gpio-leds";
128 label = "vr200v:blue:power";
129 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
132 label = "vr200v:blue:dsl";
133 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
136 label = "vr200v:blue:internet";
137 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
140 label = "vr200v:blue:usb";
141 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
144 label = "vr200v:blue:lan";
145 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
148 label = "vr200v:blue:wlan";
149 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
152 label = "vr200v:blue:wlan5g";
153 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
156 label = "vr200v:blue:phone";
157 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&pins_spi_default>;
169 #address-cells = <1>;
171 compatible = "jedec,spi-nor";
173 spi-max-frequency = <33250000>;
177 compatible = "fixed-partitions";
178 #address-cells = <1>;
188 reg = <0x20000 0xf90000>;
193 reg = <0xfb0000 0x10000>;
199 reg = <0xfc0000 0x10000>;
204 romfile: partition@fd0000 {
205 reg = <0xfd0000 0x10000>;
211 reg = <0xfe0000 0x10000>;
217 reg = <0xff0000 0x10000>;
227 compatible = "lantiq,xrx200-pdi";
228 #address-cells = <1>;
231 mtd-mac-address = <&romfile 0xf100>;
235 compatible = "lantiq,xrx200-pdi-port";
238 phy-handle = <&phy0>;
239 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
242 compatible = "lantiq,xrx200-pdi-port";
245 phy-handle = <&phy5>;
248 compatible = "lantiq,xrx200-pdi-port";
251 phy-handle = <&phy11>;
254 compatible = "lantiq,xrx200-pdi-port";
257 phy-handle = <&phy13>;
262 #address-cells = <1>;
264 compatible = "lantiq,xrx200-mdio";
265 phy0: ethernet-phy@0 {
267 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
269 phy5: ethernet-phy@5 {
271 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
273 phy11: ethernet-phy@11 {
275 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
277 phy13: ethernet-phy@13 {
279 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";