summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2018-01-04 12:24:07 +0300
committerJoel Stanley <joel@jms.id.au>2018-01-16 22:37:40 +0300
commit5f1ff9d19755178078817c291eb11a8b09a05340 (patch)
treeb5740065270a15aa4b58542a98b0c9988b8bbdf3
parent784f8179391e32a89ea69ba6b619f19d757e7f0e (diff)
downloadlinux-5f1ff9d19755178078817c291eb11a8b09a05340.tar.xz
ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key
Add GPIO key to check presence of PCIE E2B OpenBMC-Staging-Count: 1 Signed-off-by: Lei YU <mine260309@gmail.com> Acked-by: Xo Wang <xow@google.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
-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 17f2000d5cd5..f583dcc8c816 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 {