Hello,
I'm using the IMX7D SOC.
The Ethernet ports are configured and functioning.
I'm trying to set the following PINMUX, in U-Boot:
MX7D_PAD_I2C1_SDA__CCM_ENET_REF_CLK1
The reference clock is not generated in pad I2C1_SDA.
The pad is tested with an oscilloscope.
Relevant registers:
# md 3038a700 1
3038a700: 11000000 ....
# md 3033014C 1
3033014c: 00000004 ....
# md 303303BC 1
303303bc: 00000001 ....
Thanks,
Uri
Hi Uri
for configuration of this clock one can look at description of IOMUXC_GPR_GPR1
in sect.8.2.4.2 GPR1 General Purpose Register (IOMUXC_GPR_GPR1) i.MX7D Reference Manual
https://www.nxp.com/files-static/32bit/doc/ref_manual/IMX7DRM.pdf
and look at uboot example function setup_fec()
mx7dsabresd.c\mx7dsabresd\freescale\board - uboot-imx - i.MX U-Boot
test it on NXP i.MX7D Sabre SD reference board
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Setting ENET1_CLK_DIR of register IOMUXC_GPR_GPR1 to 1 did the trick.
Thank you,
Uri