From fa41a7fdcdd61ce3225b9f649ed3ec1e73e6d329 Mon Sep 17 00:00:00 2001 From: Lei YU Date: Thu, 4 Jan 2018 17:24:07 +0800 Subject: [PATCH] ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key Add GPIO key to check presence of PCIE E2B. Signed-off-by: Lei YU Acked-by: Xo Wang Signed-off-by: Joel Stanley --- 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 ebe726a..ccbf645 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 = ; }; + + pcie-e2b-present{ + label = "pcie-e2b-present"; + gpios = <&gpio ASPEED_GPIO(E, 7) GPIO_ACTIVE_LOW>; + linux,code = ; + }; }; leds { -- 2.7.4