ath79: fix OCEDO Raccoon
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9563_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_tl-wr1043n.dtsi"
8
9 / {
10         compatible = "tplink,tl-wr1043nd-v4", "qca,qca9563";
11         model = "TP-Link TL-WR1043ND Version 4";
12 };
13
14 &gpio_leds {
15         usb {
16                 label = "tp-link:green:usb";
17                 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
18                 default-state = "off";
19                 trigger-sources = <&hub_port0>;
20                 linux,default-trigger = "usbport";
21         };
22 };
23
24 &usb_phy0 {
25         status = "okay";
26 };
27
28 &usb0 {
29         status = "okay";
30
31         hub_port0: port@1 {
32                 reg = <1>;
33                 #trigger-source-cells = <0>;
34         };
35 };