[PATCH] ARM: dts: BCM5301X: Specify USB ports for USB LED of Luxul XWR-1200

Rafał Miłecki zajec5 at gmail.com
Fri Oct 6 01:52:35 PDT 2017


From: Rafał Miłecki <rafal at milecki.pl>

This info can be used by operating system to setup LED behavior.

Reported-by: Dan Haab <dhaab at luxul.com>
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
index c544ab302012..ba1c19b1b3eb 100644
--- a/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
+++ b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
@@ -57,7 +57,8 @@
 		usb {
 			label = "bcm53xx:green:usb";
 			gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
-			linux,default-trigger = "none";
+			trigger-sources = <&ohci_port2>, <&ehci_port2>;
+			linux,default-trigger = "usbport";
 		};
 
 		status {
-- 
2.11.0




More information about the linux-arm-kernel mailing list