mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 15:56:49 +07:00
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>
This commit is contained in:
parent
fa41a7fdcd
commit
2013b14f90
@ -28,6 +28,22 @@ flash_memory: region@98000000 {
|
||||
};
|
||||
};
|
||||
|
||||
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>;
|
||||
|
Loading…
Reference in New Issue
Block a user