Thread (1 message) 1 message, 1 author, 2017-02-14
DORMANTno replies

[PATCH 2/2] ARM: dts: BCM53573: Add Tenda AC9 2 GHz LED

From: Rafał Miłecki <hidden>
Date: 2017-02-14 16:49:06
Also in: linux-arm-kernel
Subsystem: the rest · Maintainer: Linus Torvalds

From: Rafał Miłecki <redacted>

It's connected to a GPIO pin of an extra controller placed on the PCIe
card.

Signed-off-by: Rafał Miłecki <redacted>
---
 arch/arm/boot/dts/bcm47189-tenda-ac9.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
index ce8c155fcc01..6bdd79567cbd 100644
--- a/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
+++ b/arch/arm/boot/dts/bcm47189-tenda-ac9.dts
@@ -48,6 +48,16 @@
 		};
 	};
 
+	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>;
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help