OSDN Git Service

ARM: dts: BCM53573: Add Tenda AC9 2 GHz LED
authorRafał Miłecki <rafal@milecki.pl>
Tue, 14 Feb 2017 16:49:06 +0000 (17:49 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 6 Mar 2017 00:59:03 +0000 (16:59 -0800)
It's connected to a GPIO pin of an extra controller placed on the PCIe
card.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm47189-tenda-ac9.dts

index ce8c155..6bdd795 100644 (file)
                };
        };
 
+       pcie0_leds {
+               compatible = "gpio-leds";
+
+               2ghz {
+                       label = "bcm53xx:blue:2ghz";
+                       gpios = <&pcie0_chipcommon 3 GPIO_ACTIVE_HIGH>;
+                       linux,default-trigger = "default-off";
+               };
+       };
+
        gpio-keys {
                compatible = "gpio-keys";
                #address-cells = <1>;