[PATCH linux dev-4.10 1/2] ARM: dts: aspeed: romulus: Add checkstop gpio-keys

Lei YU mine260309 at gmail.com
Wed May 31 16:57:07 AEST 2017


Reviewed-by: Lei YU <mine260309 at gmail.com>

On Thu, May 25, 2017 at 3:48 PM, Joel Stanley <joel at jms.id.au> wrote:
> From: Nickolaus Gruendler <ngruend at us.ibm.com>
>
> Signed-off-by: Nickolaus Gruendler <ngruend at us.ibm.com>
> Signed-off-by: Joel Stanley <joel at jms.id.au>
> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> index ac728695e447..5ca0f6e6a6a4 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> @@ -42,6 +42,16 @@
>                 enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
>                 trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
>         };
> +
> +       gpio-keys {
> +               compatible = "gpio-keys";
> +
> +               checkstop {
> +                       label = "checkstop";
> +                       gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
> +                       linux,code = <ASPEED_GPIO(J, 2)>;
> +               };
> +       };
>  };
>
>  &fmc {
> --
> 2.11.0
>


More information about the openbmc mailing list