my vocore2 is up now.
I have wired it to old hardware with 2 Ethernet, and uart1 uart2.
now i want to check the 2. Ethernet port.
I think there is a problem with pin sharing in "MediaTek MT7688 Datasheet" Page 26.
They do pin-sharing with
SPIS -> MDI_xx_P1
UART2 -> MDI_xx_P2
And you do
SPIS -> MDI_xx_P2
UART2 -> MDI_xx_P1
i think you are right, you have better dokumentation ?
I have extended "mt76x8_pinmux" to switch on the "ephy_p2" in the "1000003C AGPIO_CFG 32 Analog GPIO Configuration" to get it work, you can check it and take to github if you want.
Sorry i cannt upload "mtk-pinmux_1_ramips_24kec.ipk" binary.
if i switch:
"mt76x8_pinmux set ephy_p2 analog"
and put connect ethernet cable, its not stable:
rt305x-esw 10110000.esw: link changed 0x04
rt305x-esw 10110000.esw: link changed 0x00
rt305x-esw 10110000.esw: link changed 0x04
rt305x-esw 10110000.esw: link changed 0x00
rt305x-esw 10110000.esw: link changed 0x04
rt305x-esw 10110000.esw: link changed 0x00
rt305x-esw 10110000.esw: link changed 0x04
rt305x-esw 10110000.esw: link changed 0x00
rt305x-esw 10110000.esw: link changed 0x04
rt305x-esw 10110000.esw: link changed 0x00
rt305x-esw 10110000.esw: link changed 0x04
rt305x-esw 10110000.esw: link changed 0x00
can some one check it for me ?
you can allso switch on Ethernet 0 LED with:
"mt76x8_pinmux set p0led_an p0led_an"
Regards
Joerg