1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132";
11 model = "TP-Link TL-WR1043ND v1";
14 led-boot = &led_system;
15 led-failsafe = &led_system;
16 led-running = &led_system;
17 led-upgrade = &led_system;
18 label-mac-device = ð0;
22 compatible = "fixed-clock";
24 clock-frequency = <40000000>;
28 compatible = "gpio-keys";
32 linux,code = <KEY_RESTART>;
33 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
34 debounce-interval = <60>;
39 linux,code = <KEY_WPS_BUTTON>;
40 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
41 debounce-interval = <60>;
46 compatible = "gpio-leds";
49 label = "tp-link:green:usb";
50 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
51 trigger-sources = <&hub_port>;
52 linux,default-trigger = "usbport";
56 label = "tp-link:green:system";
57 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "heartbeat";
62 label = "tp-link:green:qss";
63 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
67 label = "tp-link:green:wlan";
68 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
69 linux,default-trigger = "phy0tpt";
74 compatible = "realtek,rtl8366rb";
75 gpio-sda = <&gpio 18 GPIO_ACTIVE_HIGH>;
76 gpio-sck = <&gpio 19 GPIO_ACTIVE_HIGH>;
79 reset-names = "switch";
98 #trigger-source-cells = <0>;
112 compatible = "jedec,spi-nor";
114 spi-max-frequency = <25000000>;
118 compatible = "fixed-partitions";
119 #address-cells = <1>;
124 reg = <0x000000 0x020000>;
129 compatible = "tplink,firmware";
131 reg = <0x020000 0x7D0000>;
134 art: partition@7F0000 {
136 reg = <0x7F0000 0x010000>;
147 mtd-mac-address = <&uboot 0x1fc00>;
158 mtd-cal-data = <&art 0x1000>;
159 mtd-mac-address = <&uboot 0x1fc00>;