047-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch 995 B

123456789101112131415161718192021222324252627282930313233343536
  1. From 86cd47e761c773f2384ac2041730d7ccfeb40095 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
  3. Date: Tue, 14 Feb 2017 17:49:06 +0100
  4. Subject: [PATCH] ARM: dts: BCM53573: Add Tenda AC9 2 GHz LED
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. It's connected to a GPIO pin of an extra controller placed on the PCIe
  9. card.
  10. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  11. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  12. ---
  13. arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 10 ++++++++++
  14. 1 file changed, 10 insertions(+)
  15. --- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
  16. +++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
  17. @@ -48,6 +48,16 @@
  18. };
  19. };
  20. + pcie0_leds {
  21. + compatible = "gpio-leds";
  22. +
  23. + 2ghz {
  24. + label = "bcm53xx:blue:2ghz";
  25. + gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
  26. + linux,default-trigger = "default-off";
  27. + };
  28. + };
  29. +
  30. gpio-keys {
  31. compatible = "gpio-keys";
  32. #address-cells = <1>;