summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Bostic <cbostic@linux.vnet.ibm.com>2017-07-13 14:36:06 -0500
committerJoel Stanley <joel@jms.id.au>2018-05-25 13:57:22 +0930
commitaf8f533b2a6579f174744c1d20e629a9ef80aa70 (patch)
tree3ab8663d4100cdb4c0343e91088519c059cd8491
parent2013b14f908230783427a592b3bde0f33dd3534c (diff)
downloadlinux-stable-af8f533b2a6579f174744c1d20e629a9ef80aa70.tar.gz
linux-stable-af8f533b2a6579f174744c1d20e629a9ef80aa70.tar.bz2
linux-stable-af8f533b2a6579f174744c1d20e629a9ef80aa70.zip
ARM: dts: aspeed: witherspoon: Add gpio keys for power supply presence
Signed-off-by: Christopher Bostic <cbostic@linux.vnet.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts12
1 files changed, 12 insertions, 0 deletions
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 @@
gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
linux,code = <ASPEED_GPIO(J, 2)>;
};
+
+ ps0-presence {
+ label = "ps0-presence";
+ gpios = <&gpio ASPEED_GPIO(P, 7) GPIO_ACTIVE_LOW>;
+ linux,code = <ASPEED_GPIO(P, 7)>;
+ };
+
+ ps1-presence {
+ label = "ps1-presence";
+ gpios = <&gpio ASPEED_GPIO(N, 0) GPIO_ACTIVE_LOW>;
+ linux,code = <ASPEED_GPIO(N, 0)>;
+ };
};
gpio-keys-polled {