summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-01-27 17:58:17 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2020-03-05 19:22:23 +0100
commit96c61bdaa81787e929cc8dd7057dc2899589539e (patch)
treefaecf6b12a7dc3728930ace2266bc13b27bdb449
parentcb3eb29b1521100055dcc96599e0f296e7b07dd2 (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>
-rw-r--r--arch/arm/dts/fsl-imx8qm-apalis.dts16
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 = <&ethphy0>;
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>;
};
};
};