aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei YU <[email protected]>2018-01-04 17:24:07 +0800
committerJoel Stanley <[email protected]>2018-05-25 13:57:22 +0930
commitfa41a7fdcdd61ce3225b9f649ed3ec1e73e6d329 (patch)
treec6a1e0fdcab160dcfefd6e934c57a0c172cdddb4
parent168dbc3565f426b5ba2193850c75356a778451d4 (diff)
ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key
Add GPIO key to check presence of PCIE E2B. Signed-off-by: Lei YU <[email protected]> Acked-by: Xo Wang <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
index ebe726a0d311..ccbf645ab84d 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 {