From cdfebd14121c3c05761fe1fb184673bee1e4e841 Mon Sep 17 00:00:00 2001 From: Josep Orga Date: Tue, 10 Aug 2021 18:01:31 +0200 Subject: [PATCH] arm64: dts: Add support for AR8035 phy. Signed-off-by: Josep Orga --- arch/arm64/boot/dts/freescale/imx8mm-somdevices.dtsi | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-somdevices.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-somdevices.dtsi index 35c619e72911..b5af11179c2d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-somdevices.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-somdevices.dtsi @@ -249,6 +249,9 @@ pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii-id"; phy-handle = <ðphy0>; + phy-reset-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>; + phy-reset-post-delay = <150>; + phy-reset-duration = <10>; fsl,magic-packet; status = "okay"; @@ -256,11 +259,9 @@ #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>; }; }; }; @@ -825,7 +826,7 @@ MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91 MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91 MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f - MX8MM_IOMUXC_SAI2_RXC_GPIO4_IO22 0x19 + MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29 0x19 >; }; -- 2.17.1