openwrt/target/linux/ath79/dts/qca9563_netgear_wndr4500-v3.dts
Shiji Yang 4778f6e959 ath79: move usb led trigger node to SoC dtsi
These frequently used usb led triggers are universal. They should be
moved to SoC dtsi.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
2022-11-12 17:10:12 +01:00

33 lines
559 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "qca9563_netgear_wndr.dtsi"
/ {
compatible = "netgear,wndr4500-v3", "qca,qca9563";
model = "Netgear WNDR4500 v3";
};
&leds {
usb1_green {
label = "green:usb1";
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port0>;
linux,default-trigger = "usbport";
};
usb2_green {
label = "green:usb2";
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port1>;
linux,default-trigger = "usbport";
};
};
&usb_phy1 {
status = "okay";
};
&usb1 {
status = "okay";
};