ARM: dts: imx7d-pico: Pass the Ethernet PHY reset GPIO
authorFabio Estevam <festevam@gmail.com>
Thu, 6 Dec 2018 10:09:01 +0000 (08:09 -0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 10 Dec 2018 02:33:36 +0000 (10:33 +0800)
Pass the "phy-reset-gpios" property in order to describe the GPIO
that performs the Ethernet PHY reset.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7d-pico.dtsi

index cb30bde..35791a1 100644 (file)
@@ -88,6 +88,7 @@
        phy-mode = "rgmii";
        phy-handle = <&ethphy0>;
        fsl,magic-packet;
+       phy-reset-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
        status = "okay";
 
        mdio {
                        MX7D_PAD_ENET1_RGMII_RD2__ENET1_RGMII_RD2       0x1
                        MX7D_PAD_ENET1_RGMII_RD3__ENET1_RGMII_RD3       0x1
                        MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL 0x1
+                       MX7D_PAD_SD3_RESET_B__GPIO6_IO11                0x1  /* Ethernet reset */
                >;
        };