diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-01-27 17:58:17 +0100 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2020-01-27 17:58:17 +0100 |
commit | 7fda115325913074c3d59fd29de6115db551de19 (patch) | |
tree | 6f2a03d6771adca6c2a3d31b7275855406f19475 /arch/arm/dts/fsl-imx8qm-apalis.dts | |
parent | c0ff506c39318a0d30e2ccace0bbfb8cdcde43c3 (diff) |
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 <philippe.schenker@toradex.com>
Diffstat (limited to 'arch/arm/dts/fsl-imx8qm-apalis.dts')
-rw-r--r-- | arch/arm/dts/fsl-imx8qm-apalis.dts | 16 |
1 files 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>; }; }; }; |