mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +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>
28 lines
398 B
Plaintext
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";
|
|
};
|