SD card-Ethernet conflict

evan
 
Posts: 1
Joined: Thu Dec 28, 2017 9:36 pm

SD card-Ethernet conflict

Thu Dec 28, 2017 9:42 pm

Greetings and happy holidays,

We are working on a project where 2 Ethernet ports of the Vocore2 and the SD card is required. We are using Ethernet ports 1 and 2.
It seems like the SD card is pinmuxed with Ethernet port 3 and 4, you can only enable or disable all of the 4 Ethernet ports 1,2,3,4 and these prevents us from using simultaneously the Ethernet ports 1 and 2 with the SD card.
Is this correct?
Is there any workaround/soloution so you can have 2 x Ethernet ports enabled along with the SD card?

Thanks in advance.
Evan

Vonger
 
Posts: 628
Joined: Sun Oct 19, 2014 6:00 am

Re: SD card-Ethernet conflict

Sat Dec 30, 2017 9:17 am

There is a hidden pinmux to switch SD card pins to I2S/I2C, then you can use SD card and all five ethernet ports. This is confirmed by mediatek FAE, but it is not listed on mt7628 datasheet. Please check mtk_sd.c in openwrt source code(in linux kernel/drivers/mmc/mtk/), in its driver init function, there is a hidden code control a pinmux register can do that, but I do not know the pin order and detail...

Return to VoCore2

Who is online

Users browsing this forum: No registered users and 6 guests