i.mx6ul eth problem

cancel
Showing results for 
Search instead for 
Did you mean: 

i.mx6ul eth problem

427 Views
strive
Contributor I

Dear  Expert:

In i.mx6ul-evk,there is a picture below:

pastedImage_1.png

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? 

pastedImage_2.png

thanks for you great support.

Labels (1)
0 Kudos
2 Replies

155 Views
strive
Contributor I

thanks for your great support.

0 Kudos

155 Views
weidong_sun
NXP TechSupport
NXP TechSupport

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:

pastedImage_1.png

pastedImage_2.png

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos