032-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. From 9789f1fd1fd1d0551132778414faf8e2254408c1 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. arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 30 +++++++++++++++++++++++++++++
  14. 1 file changed, 30 insertions(+)
  15. --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
  16. +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
  17. @@ -50,6 +50,36 @@
  18. gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
  19. linux,default-trigger = "default-off";
  20. };
  21. +
  22. + wireless {
  23. + label = "bcm53xx:white:wireless";
  24. + gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
  25. + linux,default-trigger = "default-off";
  26. + };
  27. +
  28. + wps {
  29. + label = "bcm53xx:white:wps";
  30. + gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
  31. + linux,default-trigger = "default-off";
  32. + };
  33. +
  34. + 5ghz-2 {
  35. + label = "bcm53xx:white:5ghz-2";
  36. + gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
  37. + linux,default-trigger = "default-off";
  38. + };
  39. +
  40. + usb3 {
  41. + label = "bcm53xx:white:usb3";
  42. + gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  43. + linux,default-trigger = "default-off";
  44. + };
  45. +
  46. + usb2 {
  47. + label = "bcm53xx:white:usb2";
  48. + gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
  49. + linux,default-trigger = "default-off";
  50. + };
  51. };
  52. gpio-keys {