Dear Expert:
In i.mx6ul-evk,there is a picture below:
Could you tell me what function this pin "ENET1_nINT and ENET2_nINT" is, is this pin mapped to other pin or not?
If yes, which source file will we need modify in linux?
In this picture,Could you tell me what function this pin "ENET_MDIO and ENET_MDC" is, is this pin mapped to other pin or not?If yes, which source file will we need modify in linux?
thanks for you great support.
thanks for your great support.
Hello Tom,
(1)Could you tell me what function this pin "ENET1_nINT and ENET2_nINT" is, is this pin mapped to other pin or not?
If yes, which source file will we need modify in linux?
--Yes, these 2 PINs can be mapped to other pins. only need 2 GPIO pins of Processor for them.
ethernet device tree file is imx6ul-14x14-evk.dts , but ENET1_nINT and ENET2_nINT are not used. so you also don't need to modify source code about them.
(2)In this picture,Could you tell me what function this pin "ENET_MDIO and ENET_MDC" is, is this pin mapped to other pin or not?If yes, which source file will we need modify in linux?
--ENET_MDIO and ENET_MDC are management pins of Ethernet, From I.MX6UL reference manual, They can be routed via other PADs:
these 4 signals can also be configured in imx6ul-14x14-evk.dts, but on i.mx6ul evk board, use one MDC & MDIO to mange 2 Ethernet, see following, please:
pinctrl_enet2: enet2grp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO07__ENET2_MDC 0x1b0b0
MX6UL_PAD_GPIO1_IO06__ENET2_MDIO 0x1b0b0
MX6UL_PAD_ENET2_RX_EN__ENET2_RX_EN 0x1b0b0
MX6UL_PAD_ENET2_RX_ER__ENET2_RX_ER 0x1b0b0
MX6UL_PAD_ENET2_RX_DATA0__ENET2_RDATA00 0x1b0b0
MX6UL_PAD_ENET2_RX_DATA1__ENET2_RDATA01 0x1b0b0
MX6UL_PAD_ENET2_TX_EN__ENET2_TX_EN 0x1b0b0
MX6UL_PAD_ENET2_TX_DATA0__ENET2_TDATA00 0x1b0b0
MX6UL_PAD_ENET2_TX_DATA1__ENET2_TDATA01 0x1b0b0
MX6UL_PAD_ENET2_TX_CLK__ENET2_REF_CLK2 0x4001b031
>;
So if you want re-map them, you can modify above 2 lines with Bold.
Have a great day,
TIC Weidong Sun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------