[PATCH] ARM: dts: aspeed: witherspoon: Add power-button LED

Brandon Wyman bjwyman at gmail.com
Thu Nov 30 07:07:56 AEDT 2017


On Thu, Nov 23, 2017 at 3:50 AM, Vishwanatha Subbanna
<vishwa at linux.vnet.ibm.com> wrote:
> This LED wired to GPIO R5 is integrated with power button
>
> Change-Id: I899405013fbb6b93783dec59090e86453a5ec383
> Signed-off-by: Vishwanatha Subbanna <vishwa at linux.vnet.ibm.com>
> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> index 68058ec..d25c7dc 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> @@ -143,6 +143,10 @@
>                 rear-power {
>                         gpios = <&gpio ASPEED_GPIO(N, 3) GPIO_ACTIVE_LOW>;
>                 };
> +
> +               power-button {
> +                       gpios = <&gpio ASPEED_GPIO(R, 5) GPIO_ACTIVE_LOW>;
> +               };
>         };
>
>         fsi: gpio-fsi {
> --
> 1.9.1
>

Reviewed-by: Brandon Wyman <bjwyman at gmail.com>


More information about the openbmc mailing list