[PATCH linux dev-4.10 1/1] Add Romulus LEDs in to dts

causten austenc at us.ibm.com
Fri Jun 2 10:02:57 AEST 2017


Romulus has three LEDs that can be exposed.  Without them the
OpenBMC code can not operate them.

Signed-off-by: Chris Austen <austenc at us.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
index e70fc00..7547b9e 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
@@ -31,6 +31,22 @@
 		};
 	};
 
+	leds {
+		compatible = "gpio-leds";
+
+		fault {
+			gpios = <&gpio ASPEED_GPIO(N, 2) GPIO_ACTIVE_LOW>;
+		};
+
+		identify {
+			gpios = <&gpio ASPEED_GPIO(N, 4) GPIO_ACTIVE_LOW>;
+		};
+
+		power {
+			gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
+		};
+	};
+
 	gpio-fsi {
 		compatible = "fsi-master-gpio", "fsi-master";
 
-- 
2.7.4



More information about the openbmc mailing list