058-ARM-BCM5301X-Add-USB-LED-for-Buffalo-WZR-1750DHP.patch 802 B

1234567891011121314151617181920212223242526
  1. From 35ad0e50bd6683c6699586e3bd5045f0695586d9 Mon Sep 17 00:00:00 2001
  2. From: Felix Fietkau <nbd@nbd.name>
  3. Date: Wed, 13 May 2015 09:10:51 +0200
  4. Subject: [PATCH] ARM: BCM5301X: Add USB LED for Buffalo WZR-1750DHP
  5. Signed-off-by: Felix Fietkau <nbd@nbd.name>
  6. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  7. ---
  8. arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 6 ++++++
  9. 1 file changed, 6 insertions(+)
  10. --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
  11. +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
  12. @@ -47,6 +47,12 @@
  13. leds {
  14. compatible = "gpio-leds";
  15. + usb {
  16. + label = "bcm53xx:blue:usb";
  17. + gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
  18. + linux,default-trigger = "default-off";
  19. + };
  20. +
  21. power0 {
  22. label = "bcm53xx:red:power";
  23. gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;