mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
4778f6e959
These frequently used usb led triggers are universal. They should be moved to SoC dtsi. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
33 lines
559 B
Plaintext
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";
|
|
};
|