049-v4.15-0001-ARM-dts-BCM5301X-Specify-USB-ports-for-USB-LED-of-Lu.patch 1023 B

123456789101112131415161718192021222324252627282930
  1. From 2460266f21f140936e627f28f28d1a4f30887ae9 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
  3. Date: Fri, 6 Oct 2017 10:52:35 +0200
  4. Subject: [PATCH] ARM: dts: BCM5301X: Specify USB ports for USB LED of Luxul
  5. XWR-1200
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. This info can be used by operating system to setup LED behavior.
  10. Reported-by: Dan Haab <dhaab@luxul.com>
  11. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  12. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  13. ---
  14. arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts | 3 ++-
  15. 1 file changed, 2 insertions(+), 1 deletion(-)
  16. --- a/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
  17. +++ b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
  18. @@ -57,7 +57,8 @@
  19. usb {
  20. label = "bcm53xx:green:usb";
  21. gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
  22. - linux,default-trigger = "none";
  23. + trigger-sources = <&ohci_port2>, <&ehci_port2>;
  24. + linux,default-trigger = "usbport";
  25. };
  26. status {