aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts')
-rw-r--r--target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts35
1 files changed, 35 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts b/target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts
new file mode 100644
index 0000000000..5f48e6a5d1
--- /dev/null
+++ b/target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts
@@ -0,0 +1,35 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
+#include "qca9563_tplink_tl-wr1043n.dtsi"
+
+/ {
+ compatible = "tplink,tl-wr1043nd-v4", "qca,qca9563";
+ model = "TP-Link TL-WR1043ND Version 4";
+};
+
+&gpio_leds {
+ usb {
+ label = "tp-link:green:usb";
+ gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ trigger-sources = <&hub_port0>;
+ linux,default-trigger = "usbport";
+ };
+};
+
+&usb_phy0 {
+ status = "okay";
+};
+
+&usb0 {
+ status = "okay";
+
+ hub_port0: port@1 {
+ reg = <1>;
+ #trigger-source-cells = <0>;
+ };
+};