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 compatible = "tplink,tl-wr703n", "qca,ar9331";
11 model = "TP-Link TL-WR703N";
15 led-status = &led_system;
19 device_type = "memory";
20 reg = <0x0 0x2000000>;
24 compatible = "gpio-keys-polled";
31 linux,code = <KEY_RESTART>;
32 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
33 debounce-interval = <60>;
38 compatible = "gpio-leds";
41 label = "tl-wr703n:blue:system";
42 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
46 reg_usb_vbus: reg_usb_vbus {
47 compatible = "regulator-fixed";
48 regulator-name = "usb_vbus";
49 regulator-min-microvolt = <5000000>;
50 regulator-max-microvolt = <5000000>;
51 gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <25000000>;
69 compatible = "fixed-partitions";
79 firmware: partition@20000 {
80 reg = <0x20000 0x3d0000>;
84 art: partition@3f0000 {
85 reg = <0x3f0000 0x10000>;
98 mtd-mac-address = <&uboot 0x1fc00>;
103 switch-phy-addr-swap = <0>;
104 switch-phy-swap = <0>;
115 phy4: ethernet-phy@4 {
127 vbus-supply = <®_usb_vbus>;
137 mtd-cal-data = <&art 0x1000>;
138 mtd-mac-address = <&uboot 0x1fc00>;