arm64: dts: imx8mn-somdevices: Add support for AR8035 phy.
authorJosep Orga <jorga@somdevices.com>
Fri, 8 Oct 2021 10:37:23 +0000 (12:37 +0200)
committerJosep Orga <jorga@somdevices.com>
Mon, 11 Oct 2021 11:29:26 +0000 (13:29 +0200)
Signed-off-by: Josep Orga <jorga@somdevices.com>
arch/arm64/boot/dts/freescale/imx8mn-somdevices.dtsi

index b34d9d2..099d3bb 100644 (file)
        phy-mode = "rgmii-id";
        phy-handle = <&ethphy0>;
        fsl,magic-packet;
+       phy-reset-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>;
+       phy-reset-post-delay = <150>;
+       phy-reset-duration = <10>;
        status = "okay";
 
        mdio {
                #address-cells = <1>;
                #size-cells = <0>;
 
-               ethphy0: ethernet-phy@0 {
+               ethphy0: ethernet-phy@4 {
                        compatible = "ethernet-phy-ieee802.3-c22";
-                       reg = <0>;
-                       at803x,eee-disabled;
-                       at803x,vddio-1p8v;
+                       reg = <4>;
                };
        };
 };
                        MX8MN_IOMUXC_ENET_RXC_ENET1_RGMII_RXC   0x91
                        MX8MN_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL     0x91
                        MX8MN_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL     0x1f
-                       MX8MN_IOMUXC_SAI2_RXC_GPIO4_IO22        0x19
+                       MX8MN_IOMUXC_UART4_TXD_GPIO5_IO29       0x19
                >;
        };