e51bb7f834b0ae2a10a08456b97e5678b822a798
[librecmc/librecmc.git] / target / linux / ath79 / dts / qca9563_tplink_tl-wr1043nd-v4.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6
7 #include "qca9563_tplink_tl-wr1043n.dtsi"
8
9 / {
10         compatible = "tplink,tl-wr1043nd-v4", "qca,qca9563";
11         model = "TP-Link TL-WR1043ND v4";
12 };
13
14 &gpio_leds {
15         usb {
16                 label = "tp-link:green:usb";
17                 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
18                 trigger-sources = <&hub_port0>;
19                 linux,default-trigger = "usbport";
20         };
21 };
22
23 &usb_phy0 {
24         status = "okay";
25 };
26
27 &usb0 {
28         #address-cells = <1>;
29         #size-cells = <0>;
30         status = "okay";
31
32         hub_port0: port@1 {
33                 reg = <1>;
34                 #trigger-source-cells = <0>;
35         };
36 };