From 7fda115325913074c3d59fd29de6115db551de19 Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Mon, 27 Jan 2020 17:58:17 +0100 Subject: ARM: dts: apalis-imx8qm: update node fec1 It turned out that on the new Apalis iMX8 QuadPlus V1.1A the ethernet is no longer working. I suspect this due to missing muxing for 1.8V/3.3V. Due to that I copy the whole ethernet pinmux and node over from the Linux side. Signed-off-by: Philippe Schenker --- arch/arm/dts/fsl-imx8qm-apalis.dts | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/arch/arm/dts/fsl-imx8qm-apalis.dts b/arch/arm/dts/fsl-imx8qm-apalis.dts index c7b8dcff80..b4047a21f8 100644 --- a/arch/arm/dts/fsl-imx8qm-apalis.dts +++ b/arch/arm/dts/fsl-imx8qm-apalis.dts @@ -59,6 +59,7 @@ pinctrl_fec1: fec1grp { fsl,pins = < + SC_P_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB_PAD 0x000014a0 /* Use pads in 3.3V/1.8V mode */ SC_P_ENET0_MDC_CONN_ENET0_MDC 0x06000020 SC_P_ENET0_MDIO_CONN_ENET0_MDIO 0x06000020 SC_P_ENET0_RGMII_TX_CTL_CONN_ENET0_RGMII_TX_CTL 0x06000020 @@ -73,8 +74,8 @@ SC_P_ENET0_RGMII_RXD1_CONN_ENET0_RGMII_RXD1 0x06000020 SC_P_ENET0_RGMII_RXD2_CONN_ENET0_RGMII_RXD2 0x06000020 SC_P_ENET0_RGMII_RXD3_CONN_ENET0_RGMII_RXD3 0x06000020 - SC_P_ENET0_REFCLK_125M_25M_LSIO_GPIO4_IO15 0x00000021 - SC_P_LVDS1_GPIO01_LSIO_GPIO1_IO11 0x00000020 + SC_P_ENET0_REFCLK_125M_25M_CONN_ENET0_REFCLK_125M_25M 0x06000020 + SC_P_LVDS1_GPIO01_LSIO_GPIO1_IO11 0x06000020 >; }; @@ -231,6 +232,8 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; phy-mode = "rgmii"; + fsl,rgmii_rxc_dly; + fsl,rgmii_txc_dly; phy-handle = <ðphy0>; phy-reset-gpios = <&gpio1 11 1>; phy-reset-duration = <10>; @@ -241,14 +244,9 @@ #address-cells = <1>; #size-cells = <0>; - ethphy0: ethernet-phy@0 { + ethphy0: ethernet-phy@7 { compatible = "ethernet-phy-ieee802.3-c22"; - reg = <0>; - }; - - ethphy1: ethernet-phy@1 { - compatible = "ethernet-phy-ieee802.3-c22"; - reg = <1>; + reg = <7>; }; }; }; -- cgit v1.2.3