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";
30 linux,code = <KEY_RESTART>;
31 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
37 linux,code = <KEY_WPS_BUTTON>;
38 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
39 debounce-interval = <60>;
44 compatible = "gpio-leds";
46 label = "tp-link:green:usb";
47 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
48 default-state = "off";
49 trigger-sources = <&hub_port>;
50 linux,default-trigger = "usbport";
54 label = "tp-link:green:system";
55 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
56 linux,default-trigger = "heartbeat";
60 label = "tp-link:green:qss";
61 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
65 label = "tp-link:green:wlan";
66 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
67 default-state = "off";
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";
83 phy0: ethernet-phy@0 {
104 #trigger-source-cells = <0>;
117 #address-cells = <1>;
119 compatible = "jedec,spi-nor";
121 spi-max-frequency = <25000000>;
124 compatible = "fixed-partitions";
125 #address-cells = <1>;
130 reg = <0x000000 0x020000>;
136 reg = <0x020000 0x7D0000>;
139 art: partition@7F0000 {
141 reg = <0x7F0000 0x010000>;
152 mtd-mac-address = <&uboot 0x1fc00>;
157 phy-handle = <&phy0>;
166 mtd-cal-data = <&art 0x1000>;
167 mtd-mac-address = <&uboot 0x1fc00>;