diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-04-20 23:19:23 -0400 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2018-05-25 13:57:22 +0930 |
commit | 2013b14f908230783427a592b3bde0f33dd3534c (patch) | |
tree | 7ac5c82bb5d53dc616c4b5782ed204b4f818fec5 | |
parent | fa41a7fdcdd61ce3225b9f649ed3ec1e73e6d329 (diff) | |
download | linux-stable-2013b14f908230783427a592b3bde0f33dd3534c.tar.gz linux-stable-2013b14f908230783427a592b3bde0f33dd3534c.tar.bz2 linux-stable-2013b14f908230783427a592b3bde0f33dd3534c.zip |
ARM: dts: aspeed: witherspoon: Enable checkstop and cooling gpio keys
Enable gpio-keys events for the checkstop and water/air cooled
gpios for use by applications on the Witherspoon system.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 16 |
1 files changed, 16 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 7056231cbee6..8faa5382f2b1 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts @@ -28,6 +28,22 @@ }; }; + gpio-keys { + compatible = "gpio-keys"; + + air-water { + label = "air-water"; + gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>; + linux,code = <ASPEED_GPIO(B, 5)>; + }; + + checkstop { + label = "checkstop"; + gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>; + linux,code = <ASPEED_GPIO(J, 2)>; + }; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; |