1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132";
10 model = "TP-Link TL-WR1043ND v1";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
17 label-mac-device = ð0;
21 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 linux,code = <KEY_WPS_BUTTON>;
33 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
34 debounce-interval = <60>;
39 compatible = "gpio-leds";
43 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
44 trigger-sources = <&hub_port>;
45 linux,default-trigger = "usbport";
49 label = "green:system";
50 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
51 linux,default-trigger = "heartbeat";
56 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
61 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
62 linux,default-trigger = "phy0tpt";
67 compatible = "realtek,rtl8366rb";
68 gpio-sda = <&gpio 18 GPIO_ACTIVE_HIGH>;
69 gpio-sck = <&gpio 19 GPIO_ACTIVE_HIGH>;
72 reset-names = "switch";
83 #trigger-source-cells = <0>;
95 compatible = "jedec,spi-nor";
97 spi-max-frequency = <25000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
107 reg = <0x000000 0x020000>;
112 compatible = "tplink,firmware";
114 reg = <0x020000 0x7D0000>;
117 art: partition@7F0000 {
119 reg = <0x7F0000 0x010000>;
130 nvmem-cells = <&macaddr_uboot_1fc00>;
131 nvmem-cell-names = "mac-address";
142 mtd-cal-data = <&art 0x1000>;
143 nvmem-cells = <&macaddr_uboot_1fc00>;
144 nvmem-cell-names = "mac-address";
148 compatible = "nvmem-cells";
149 #address-cells = <1>;
152 macaddr_uboot_1fc00: macaddr@1fc00 {