[PATCH] ARM: dts: aspeed: witherspoon: Add power-button LED

Vishwanatha Subbanna vishwa at linux.vnet.ibm.com
Thu Nov 23 20:50:37 AEDT 2017


This LED wired to GPIO R5 is integrated with power button

Change-Id: I899405013fbb6b93783dec59090e86453a5ec383
Signed-off-by: Vishwanatha Subbanna <vishwa at linux.vnet.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index 68058ec..d25c7dc 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -143,6 +143,10 @@
 		rear-power {
 			gpios = <&gpio ASPEED_GPIO(N, 3) GPIO_ACTIVE_LOW>;
 		};
+
+		power-button {
+			gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
+		};
 	};
 
 	fsi: gpio-fsi {
-- 
1.9.1



More information about the openbmc mailing list