AM625SIP: Swapped RMII TXD0/TXD1 signals

Part Number: AM625SIP

Tool/software:

Hi,

We’re working with a custom PCB design based on the AM625SIP. The second Ethernet port is connected to a switch port (MAC-to-MAC) over RMII. Unfortunately, the TXD0 and TXD1 signals were swapped in the layout.

Is there any possibility of implementing a workaround for this in the Linux driver (ti,am654-cpsw-nuss)?

Regards,

Marcin

  • Hello Marcin, 

    I need to consult the CPSW software developer on this. Currently I don't see a way even with any modification on device tree pinmux configuration to workaround this. We will need some time to look into the CPSW driver for this.

    Please kindly ping this thread by next Thursday if you don't hear a response by then.

    -Daolin

  • Update: 

    Unfortunatley, I don't think there's any quick and easy workaround in the Device tree or CPSW Linux driver that can be made.

    Device tree: pinmux enables the pin as input or output and selects the correct mux mode but cannot change which destination the pin is connected to

    CPSW Linux driver: unless there is a way that it references specifically the pinmux id/value used in device tree and can switch the reference, I'm not sure if it is possible. From my understanding, it's not the cpsw driver that controls/configures the TX/RX signals chosen from pinmuxing but the Linux pinctrl subsystem.

    Please note, modifying or suggesting changes on any non-TI specific Linux subsystem is not something we at TI can specifically support.

    -Daolin