Enable second ethernet interface on

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Enable second ethernet interface on

1,480件の閲覧回数
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 件の賞賛
返信
3 返答(返信)

1,450件の閲覧回数
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 件の賞賛
返信

1,439件の閲覧回数
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 件の賞賛
返信

1,422件の閲覧回数
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 件の賞賛
返信