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 = "fixed-clock";
23 clock-frequency = <40000000>;
27 compatible = "gpio-keys";
31 linux,code = <KEY_RESTART>;
32 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
33 debounce-interval = <60>;
38 linux,code = <KEY_WPS_BUTTON>;
39 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
40 debounce-interval = <60>;
45 compatible = "gpio-leds";
49 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
50 trigger-sources = <&hub_port>;
51 linux,default-trigger = "usbport";
55 label = "green:system";
56 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
57 linux,default-trigger = "heartbeat";
62 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
67 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
68 linux,default-trigger = "phy0tpt";
73 compatible = "realtek,rtl8366rb";
74 gpio-sda = <&gpio 18 GPIO_ACTIVE_HIGH>;
75 gpio-sck = <&gpio 19 GPIO_ACTIVE_HIGH>;
78 reset-names = "switch";
93 #trigger-source-cells = <0>;
105 compatible = "jedec,spi-nor";
107 spi-max-frequency = <25000000>;
111 compatible = "fixed-partitions";
112 #address-cells = <1>;
117 reg = <0x000000 0x020000>;
122 compatible = "tplink,firmware";
124 reg = <0x020000 0x7D0000>;
127 art: partition@7F0000 {
129 reg = <0x7F0000 0x010000>;
140 nvmem-cells = <&macaddr_uboot_1fc00>;
141 nvmem-cell-names = "mac-address";
152 mtd-cal-data = <&art 0x1000>;
153 nvmem-cells = <&macaddr_uboot_1fc00>;
154 nvmem-cell-names = "mac-address";
158 compatible = "nvmem-cells";
159 #address-cells = <1>;
162 macaddr_uboot_1fc00: macaddr@1fc00 {