mirror of https://github.com/hak5/openwrt.git
37 lines
619 B
Plaintext
37 lines
619 B
Plaintext
// 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 v4";
|
|
};
|
|
|
|
&gpio_leds {
|
|
usb {
|
|
label = "tp-link:green:usb";
|
|
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
|
trigger-sources = <&hub_port0>;
|
|
linux,default-trigger = "usbport";
|
|
};
|
|
};
|
|
|
|
&usb_phy0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
|
|
hub_port0: port@1 {
|
|
reg = <1>;
|
|
#trigger-source-cells = <0>;
|
|
};
|
|
};
|