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 Version 1";
18 compatible = "fixed-clock";
20 clock-frequency = <40000000>;
24 compatible = "gpio-keys";
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
30 debounce-interval = <60>;
35 linux,code = <KEY_WPS_BUTTON>;
36 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
37 debounce-interval = <60>;
42 compatible = "gpio-leds";
44 label = "tp-link:green:usb";
45 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
46 default-state = "off";
47 trigger-sources = <&hub_port>;
48 linux,default-trigger = "usbport";
52 label = "tp-link:green:system";
53 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "heartbeat";
58 label = "tp-link:green:qss";
59 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
63 label = "tp-link:green:wlan";
64 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
65 default-state = "off";
66 linux,default-trigger = "phy0tpt";
71 compatible = "realtek,rtl8366rb";
72 gpio-sda = <&gpio 18 GPIO_ACTIVE_HIGH>;
73 gpio-sck = <&gpio 19 GPIO_ACTIVE_HIGH>;
76 reset-names = "switch";
95 #trigger-source-cells = <0>;
108 compatible = "jedec,spi-nor";
110 spi-max-frequency = <25000000>;
113 compatible = "fixed-partitions";
114 #address-cells = <1>;
119 reg = <0x000000 0x020000>;
125 reg = <0x020000 0x7D0000>;
128 art: partition@7F0000 {
130 reg = <0x7F0000 0x010000>;
141 mtd-mac-address = <&uboot 0x1fc00>;
154 mtd-cal-data = <&art 0x1000>;
155 mtd-mac-address = <&uboot 0x1fc00>;