[PATCH linux dev-4.10] ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key

Xo Wang xow at google.com
Sat Jan 6 05:48:47 AEDT 2018


Sorry, just got back online after travel nonsense.

On Thu, Jan 4, 2018 at 5:58 PM, Joel Stanley <joel at jms.id.au> wrote:
>
>
> On 4 Jan. 2018 20:24, "Lei YU" <mine260309 at gmail.com> wrote:
>
> Add GPIO key to check presence of PCIE E2B
>
>
> Xo, can I get an ack please?
>
>
>
> Signed-off-by: Lei YU <mine260309 at gmail.com>
> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> index 17f2000..f583dcc 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> @@ -55,6 +55,12 @@
>                         gpios = <&gpio ASPEED_GPIO(F, 7) GPIO_ACTIVE_LOW>;
>                         linux,code = <ASPEED_GPIO(F, 7)>;
>                 };
> +
> +               pcie-e2b-present{
> +                       label = "pcie-e2b-present";
> +                       gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>;
> +                       linux,code = <ASPEED_GPIO(E, 7)>;
> +               };
>         };
>
>         leds {
> --
> 1.9.1
>
>

Acked-by: Xo Wang <xow at google.com>


More information about the openbmc mailing list