[PATCH] ARM: dts: aspeed: quanta-q71l: Add front-panel LED

Patrick Venture venture at google.com
Wed Jun 14 07:37:36 AEST 2017


From: Rick Altherr <raltherr at google.com>

diff --git a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
index 50be8dd921cf..51ddce0d9222 100644
--- a/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
@@ -30,6 +30,22 @@
 			reg = <0x47800000 0x00800000>; /* 8MB */
 		};
 	};
+
+	leds {
+		compatible = "gpio-leds";
+
+		heartbeat {
+			gpios = <&gpio ASPEED_GPIO(B, 0) GPIO_ACTIVE_LOW>;
+		};
+
+		power {
+			gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>;
+		};
+
+		identify {
+			gpios = <&gpio ASPEED_GPIO(B, 3) GPIO_ACTIVE_LOW>;
+		};
+	};
 };
 
 &fmc {
-- 
2.13.1.518.g3df882009-goog



More information about the openbmc mailing list