summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2018-01-04 12:24:07 +0300
committerJoel Stanley <joel@jms.id.au>2018-05-25 07:27:22 +0300
commitfa41a7fdcdd61ce3225b9f649ed3ec1e73e6d329 (patch)
treec6a1e0fdcab160dcfefd6e934c57a0c172cdddb4 /arch/arm
parent168dbc3565f426b5ba2193850c75356a778451d4 (diff)
downloadlinux-fa41a7fdcdd61ce3225b9f649ed3ec1e73e6d329.tar.xz
ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key
Add GPIO key to check presence of PCIE E2B. Signed-off-by: Lei YU <mine260309@gmail.com> Acked-by: Xo Wang <xow@google.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm')
-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 {