diff options
author | Christopher Bostic <cbostic@linux.vnet.ibm.com> | 2017-07-13 21:36:06 +0200 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2018-05-25 06:27:22 +0200 |
commit | af8f533b2a6579f174744c1d20e629a9ef80aa70 (patch) | |
tree | 3ab8663d4100cdb4c0343e91088519c059cd8491 /arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | |
parent | ARM: dts: aspeed: witherspoon: Enable checkstop and cooling gpio keys (diff) | |
download | linux-af8f533b2a6579f174744c1d20e629a9ef80aa70.tar.xz linux-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>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts')
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 12 |
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 { |