From: Christopher Bostic Date: Thu, 13 Jul 2017 19:36:06 +0000 (-0500) Subject: ARM: dts: aspeed: witherspoon: Add gpio keys for power supply presence X-Git-Tag: v4.18-rc1~50^2~8^2~6 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=af8f533b2a6579f174744c1d20e629a9ef80aa70;p=linux.git ARM: dts: aspeed: witherspoon: Add gpio keys for power supply presence Signed-off-by: Christopher Bostic Signed-off-by: Joel Stanley --- diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts index 8faa5382f2b1..fe42a43204bb 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts @@ -42,6 +42,18 @@ checkstop { gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; linux,code = ; }; + + ps0-presence { + label = "ps0-presence"; + gpios = <&gpio ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + ps1-presence { + label = "ps1-presence"; + gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>; + linux,code = ; + }; }; gpio-keys-polled {