1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "TP-Link TL-WR710N v1";
11 compatible = "tplink,tl-wr710n-v1", "qca,ar9331";
15 led-boot = &led_system;
16 led-failsafe = &led_system;
17 led-running = &led_system;
18 led-upgrade = &led_system;
19 label-mac-device = ð0;
23 compatible = "gpio-keys-polled";
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
30 debounce-interval = <60>;
35 compatible = "gpio-leds";
38 label = "tl-wr710n:green:system";
39 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
43 reg_usb_vbus: regulator {
44 compatible = "regulator-fixed";
45 regulator-name = "usb_vbus";
46 regulator-min-microvolt = <5000000>;
47 regulator-max-microvolt = <5000000>;
48 gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
59 compatible = "jedec,spi-nor";
61 spi-max-frequency = <25000000>;
64 compatible = "fixed-partitions";
74 firmware: partition@20000 {
75 compatible = "tplink,firmware";
76 reg = <0x20000 0x7d0000>;
80 art: partition@7f0000 {
81 reg = <0x7f0000 0x10000>;
92 mtd-mac-address = <&uboot 0x1fc00>;
97 switch-phy-addr-swap = <0>;
98 switch-phy-swap = <0>;
105 mtd-mac-address = <&uboot 0x1fc00>;
106 mtd-mac-address-increment = <(-1)>;
119 vbus-supply = <®_usb_vbus>;
129 mtd-cal-data = <&art 0x1000>;
130 mtd-mac-address = <&uboot 0x1fc00>;