ARM: BCM53573: Specify ports for USB LED for Tenda AC9
PATCH 1/1 ARM: BCM53573: Specify ports for USB LED for Tenda AC9
From: Rafa? Mi?ecki <[email protected]>
This uses trigger-sources documented in commit 80dc6e1cd85fc ("dt-bindings:
leds: document new trigger-sources property") to specify USB ports. Such an information can be used by operating system to setup LEDs behavior.
Signed-off-by Rafa? Mi?ecki <[email protected]>
--- arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 2 ++ arch/arm/boot/dts/bcm53573.dtsi | 4 ++++ 2 files changed, 6 insertions(+)
arch/arm/boot/dts/bcm47189-tenda-ac9.dts +2 -0
@@ -26,6 +26,8 @@ usb { label = "bcm53xx:blue:usb"; gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; + trigger-sources = <&ohci_port1>, <&ehci_port1>; + linux,default-trigger = "usbport"; }; wps {
arch/arm/boot/dts/bcm53573.dtsi +4 -0
@@ -138,10 +138,12 @@ ehci_port1: port at 1 { reg = <1>; + #trigger-source-cells = <0>; }; ehci_port2: port at 2 { reg = <2>; + #trigger-source-cells = <0>; }; };
@@ -158,10 +160,12 @@ ohci_port1: port at 1 { reg = <1>; + #trigger-source-cells = <0>; }; ohci_port2: port at 2 { reg = <2>; + #trigger-source-cells = <0>; }; }; };
Signature · 1 line
2.11.0