1 #include "qcom-ipq8064-v2.0-smb208.dtsi"
3 #include <dt-bindings/input/input.h>
6 model = "TP-Link Archer VR2600v";
7 compatible = "tplink,vr2600v", "qcom,ipq8064";
10 reg = <0x42000000 0x1e000000>;
11 device_type = "memory";
18 led-failsafe = &general;
20 led-upgrade = &general;
24 compatible = "gpio-keys";
25 pinctrl-0 = <&button_pins>;
26 pinctrl-names = "default";
30 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RFKILL>;
32 debounce-interval = <60>;
38 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
40 debounce-interval = <60>;
46 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_WPS_BUTTON>;
48 debounce-interval = <60>;
54 gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_PHONE>;
56 debounce-interval = <60>;
62 gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_LIGHTS_TOGGLE>;
64 debounce-interval = <60>;
70 compatible = "gpio-leds";
71 pinctrl-0 = <&led_pins>;
72 pinctrl-names = "default";
76 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
81 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
86 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
90 label = "white:wlan2g";
91 gpios = <&qcom_pinmux 16 GPIO_ACTIVE_HIGH>;
95 label = "white:wlan5g";
96 gpios = <&qcom_pinmux 17 GPIO_ACTIVE_HIGH>;
100 label = "white:power";
101 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
102 default-state = "keep";
106 label = "white:phone";
107 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
112 gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>;
116 label = "white:general";
117 gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>;
125 pins = "gpio7", "gpio8", "gpio9", "gpio16", "gpio17",
126 "gpio26", "gpio53", "gpio56", "gpio66";
128 drive-strength = <2>;
133 button_pins: button_pins {
135 pins = "gpio54", "gpio64", "gpio65", "gpio67", "gpio68";
137 drive-strength = <2>;
144 pins = "gpio18", "gpio19", "gpio21";
150 pins = "gpio18", "gpio19";
151 drive-strength = <10>;
156 drive-strength = <10>;
162 drive-strength = <12>;
168 qcom,mode = <GSBI_PROT_SPI>;
174 pinctrl-0 = <&spi_pins>;
175 pinctrl-names = "default";
177 cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
180 compatible = "jedec,spi-nor";
181 #address-cells = <1>;
183 spi-max-frequency = <50000000>;
187 compatible = "fixed-partitions";
188 #address-cells = <1>;
199 reg = <0x20000 0x20000>;
205 reg = <0x40000 0x40000>;
211 reg = <0x80000 0x80000>;
217 reg = <0x100000 0x10000>;
223 reg = <0x110000 0x10000>;
229 reg = <0x120000 0x80000>;
235 reg = <0x1a0000 0x80000>;
241 reg = <0x220000 0x80000>;
247 reg = <0x2a0000 0x40000>;
253 reg = <0x2e0000 0x40000>;
259 reg = <0x320000 0xc60000>;
260 compatible = "openwrt,uimage";
261 openwrt,offset = <512>; /* account for pad-extra 512 */
264 /* hole 0xf80000 - 0xfaf100 */
267 label = "default-mac";
268 reg = <0xfaf100 0x00200>;
272 compatible = "fixed-layout";
273 #address-cells = <1>;
276 macaddr_defaultmac_0: macaddr@0 {
277 compatible = "mac-base";
279 #nvmem-cell-cells = <1>;
286 reg = <0xfc0000 0x40000>;
290 compatible = "fixed-layout";
291 #address-cells = <1>;
294 precal_ART_1000: precal@1000 {
295 reg = <0x1000 0x2f20>;
298 precal_ART_5000: precal@5000 {
299 reg = <0x5000 0x2f20>;
336 reg = <0x00000000 0 0 0 0>;
337 #address-cells = <3>;
342 compatible = "pci168c,0040";
343 reg = <0x00010000 0 0 0 0>;
345 nvmem-cells = <&macaddr_defaultmac_0 (-1)>, <&precal_ART_1000>;
346 nvmem-cell-names = "mac-address", "pre-calibration";
353 max-link-speed = <1>;
356 reg = <0x00000000 0 0 0 0>;
357 #address-cells = <3>;
362 compatible = "pci168c,0040";
363 reg = <0x00010000 0 0 0 0>;
365 nvmem-cells = <&macaddr_defaultmac_0 0>, <&precal_ART_5000>;
366 nvmem-cell-names = "mac-address", "pre-calibration";
374 pinctrl-0 = <&mdio0_pins>;
375 pinctrl-names = "default";
378 compatible = "qca,qca8337";
379 #address-cells = <1>;
384 #address-cells = <1>;
392 tx-internal-delay-ps = <1000>;
393 rx-internal-delay-ps = <1000>;
404 phy-mode = "internal";
405 phy-handle = <&phy_port1>;
411 phy-mode = "internal";
412 phy-handle = <&phy_port2>;
418 phy-mode = "internal";
419 phy-handle = <&phy_port3>;
425 phy-mode = "internal";
426 phy-handle = <&phy_port4>;
432 phy-mode = "internal";
433 phy-handle = <&phy_port5>;
441 qca,sgmii-enable-pll;
451 #address-cells = <1>;
482 pinctrl-0 = <&rgmii2_pins>;
483 pinctrl-names = "default";
485 nvmem-cells = <&macaddr_defaultmac_0 1>;
486 nvmem-cell-names = "mac-address";
499 nvmem-cells = <&macaddr_defaultmac_0 0>;
500 nvmem-cell-names = "mac-address";