5 #include <dt-bindings/input/input.h>
8 model = "VR200v - TP-LINK Archer VR200v";
11 bootargs = "init=/etc/preinit";
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 compatible = "lantiq,phy-xrx200";
85 firmware = "lantiq/vr9_phy11g_a2x.bin";
90 compatible = "gpio-keys-polled";
93 poll-interval = <100>;
96 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
97 linux,code = <KEY_RESTART>;
102 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
103 linux,code = <KEY_RFKILL>;
104 linux,input-type = <EV_SW>;
109 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
110 linux,code = <KEY_WPS_BUTTON>;
114 label = "dect_paging";
115 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
116 linux,code = <KEY_PHONE>;
121 compatible = "gpio-leds";
123 label = "vr200v:blue:power";
124 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
127 label = "vr200v:blue:dsl";
128 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
131 label = "vr200v:blue:internet";
132 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
135 label = "vr200v:blue:usb";
136 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
139 label = "vr200v:blue:lan";
140 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
143 label = "vr200v:blue:wlan";
144 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
147 label = "vr200v:blue:wlan5g";
148 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
151 label = "vr200v:blue:phone";
152 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
158 pinctrl-names = "default";
159 pinctrl-0 = <&pins_spi_default>;
164 #address-cells = <1>;
166 compatible = "jedec,spi-nor";
168 spi-max-frequency = <33250000>;
172 compatible = "fixed-partitions";
173 #address-cells = <1>;
183 reg = <0x20000 0xf90000>;
188 reg = <0xfb0000 0x10000>;
194 reg = <0xfc0000 0x10000>;
199 romfile: partition@fd0000 {
200 reg = <0xfd0000 0x10000>;
206 reg = <0xfe0000 0x10000>;
212 reg = <0xff0000 0x10000>;
222 compatible = "lantiq,xrx200-pdi";
223 #address-cells = <1>;
226 mtd-mac-address = <&romfile 0xf100>;
230 compatible = "lantiq,xrx200-pdi-port";
233 phy-handle = <&phy0>;
234 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
237 compatible = "lantiq,xrx200-pdi-port";
240 phy-handle = <&phy5>;
243 compatible = "lantiq,xrx200-pdi-port";
246 phy-handle = <&phy11>;
249 compatible = "lantiq,xrx200-pdi-port";
252 phy-handle = <&phy13>;
257 #address-cells = <1>;
259 compatible = "lantiq,xrx200-mdio";
260 phy0: ethernet-phy@0 {
262 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
264 phy5: ethernet-phy@5 {
266 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
268 phy11: ethernet-phy@11 {
270 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
272 phy13: ethernet-phy@13 {
274 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";