summaryrefslogtreecommitdiff
path: root/arch
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-18 23:09:06 +0300
commita02b1fbd032d4936a79c93945b95e7f6d88f85ab (patch)
tree5a21dbcc743045b5dcc66f8448e3eeaf1bd8c846 /arch
parent428f8d3ebab880d2e059b4d9660761cebb67a1cc (diff)
downloadlinux-a02b1fbd032d4936a79c93945b95e7f6d88f85ab.tar.xz
ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key
Add GPIO key to check presence of PCIE E2B OpenBMC-Staging-Count: 2 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')
-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 9d7a7dc405d7..e7669d126df1 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 {