072-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. From da41efd6041c694d93febdabee94552a2140dfbd Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
  3. Date: Fri, 30 Oct 2015 15:44:01 +0100
  4. Subject: [PATCH] ARM: BCM5301X: Add missing Netgear R8000 LEDs
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Add a bunch of LEDs missing for the Netgear R8000: wireless, wps, 5Ghz radio
  9. and USB LEDs.
  10. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
  11. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  12. ---
  13. --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
  14. +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
  15. @@ -50,6 +50,36 @@
  16. gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
  17. linux,default-trigger = "default-off";
  18. };
  19. +
  20. + wireless {
  21. + label = "bcm53xx:white:wireless";
  22. + gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
  23. + linux,default-trigger = "default-off";
  24. + };
  25. +
  26. + wps {
  27. + label = "bcm53xx:white:wps";
  28. + gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
  29. + linux,default-trigger = "default-off";
  30. + };
  31. +
  32. + 5ghz-2 {
  33. + label = "bcm53xx:white:5ghz-2";
  34. + gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
  35. + linux,default-trigger = "default-off";
  36. + };
  37. +
  38. + usb3 {
  39. + label = "bcm53xx:white:usb3";
  40. + gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  41. + linux,default-trigger = "default-off";
  42. + };
  43. +
  44. + usb2 {
  45. + label = "bcm53xx:white:usb2";
  46. + gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
  47. + linux,default-trigger = "default-off";
  48. + };
  49. };
  50. gpio-keys {