[PATCH linux dev-4.7 v4 2/2] ARM: dts: Enable checkstop and cooling gpio keys
Andrew Jeffery
andrew at aj.id.au
Fri Apr 21 10:38:23 AEST 2017
On Wed, 2017-04-19 at 15:42 -0400, Brad Bishop wrote:
> 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 at fuzziesquirrel.com>
Acked-by: Andrew Jeffery <andrew at aj.id.au>
> ---
> arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> index e3a7b77..750420b 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> @@ -31,6 +31,26 @@
> > };
> > };
>
> > + air-water {
> > + compatible = "gpio-keys";
> +
> > + air-water {
> > + label = "air-water";
> > + gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>;
> > + linux,code = <ASPEED_GPIO(B, 5)>;
> > + };
> > + };
> +
> > + checkstop {
> > + compatible = "gpio-keys";
> +
> > + checkstop {
> > + label = "checkstop";
> > + gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
> > + linux,code = <ASPEED_GPIO(J, 2)>;
> > + };
> > + };
> +
> > leds {
> > compatible = "gpio-leds";
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20170421/45c42aa1/attachment.sig>
More information about the openbmc
mailing list