]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key
authorLei YU <mine260309@gmail.com>
Thu, 4 Jan 2018 09:24:07 +0000 (17:24 +0800)
committerJoel Stanley <joel@jms.id.au>
Fri, 25 May 2018 04:27:22 +0000 (13:57 +0930)
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>
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts

index ebe726a0d3116911a8e86002e6781902a9710861..ccbf645ab84d13ed06ee04c61ed786fea75ab696 100644 (file)
@@ -55,6 +55,12 @@ checkstop {
                        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 {