Enable second ethernet interface on

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enable second ethernet interface on

1,475 Views
dmasters
Contributor I

I am trying to enable a second Ethernet interface on a Toradex i.MX8QXP (https://www.toradex.com/computer-on-modules/colibri-arm-family/nxp-imx-8x) SOM. I have never done this before and posted to the Toradex forum for help https://community.toradex.com/t/enable-eth2-interface/19230. I haven't had much luck since and I'm posting here. I've attached my current dts file. I am using the TorizonCore OS (Yocto built embedded Linux image produced by Toradex). I am just trying to apply it as an overlay for now to test it and plan on moving it into the Yocto build later. I've used the Config Tools for i.MX tool to get the pinmux values.

 

Is something set incorrectly? Am I missing an entry for this device tree entry? Let me know of any additional information needed.

iMX8X 

0 Kudos
Reply
3 Replies

1,445 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the link as below, The default ENET2 is TJA1100

"https://community.nxp.com/t5/i-MX-Processors/yocto-linux-support-for-second-ethernet-port-on-I-MX8-M...

I'm not familiar with yours, but for nxp default bsp, you can refer to that, the bsp has been moved here

"https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx8qxp-enet2-tja11..."

0 Kudos
Reply

1,434 Views
dmasters
Contributor I

Looking at imx8qxp-enet2-tja1100.dtsi it looks like fec1 is being disabled. My understanding is that is the default ethernet interface. If that is the case we do not want to disable it and be able to use both ethernet interfaces.

Is my understanding correct about fec1?

 

The design isn't using a tja1100. It uses a LAN8710A transceiver. Would the same approach still work just changing the tja1100 specific lines, like line 37? How were the pinmux values (0x06000020) calculated?

0 Kudos
Reply

1,417 Views
joanxie
NXP TechSupport
NXP TechSupport

yes, you are correct, I don't have specific dts settings for LAN8710A, should be work change the line, you can try it, for the pinmux settings you can refer to the document as below:

"https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Pad-confi...

"https://github.com/nxp-imx/linux-imx/blob/imx_4.14.98_2.3.0/Documentation/devicetree/bindings/pinctr..."

0 Kudos
Reply