[PATCH linux dev-4.10] ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key

Joel Stanley joel at jms.id.au
Fri Jan 5 12:58:34 AEDT 2018


On 4 Jan. 2018 20:24, "Lei YU" <mine260309 at gmail.com> wrote:

Add GPIO key to check presence of PCIE E2B


Xo, can I get an ack please?



Signed-off-by: Lei YU <mine260309 at gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
index 17f2000..f583dcc 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 {
--
1.9.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180105/c28f21de/attachment.html>


More information about the openbmc mailing list