openwrt/target/linux/ath79/dts/ar9344_netgear_wndr_usb.dtsi
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

28 lines
398 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
&leds {
usb_green {
label = "green:usb";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&hub_port>;
linux,default-trigger = "usbport";
};
};
&ath9k {
usb_power {
gpio-hog;
line-name = "netgear:power:usb";
gpios = <0 GPIO_ACTIVE_HIGH>;
output-high;
};
};
&usb_phy {
status = "okay";
};
&usb {
status = "okay";
};