This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Unable to using RMII with OMAPL138 SoC

Other Parts Discussed in Thread: OMAPL138

Hi, 

I have been using older version of the SDK 4_0_0_4 for Linux and have modified the device tree to get RMII interface working but now I am trying to use the latest SDK for OMAPL138 but with similar changes I am un-able to get this working, any help in this would be helpful. thanks 

  • Add following code in $(SDK_INSTALL_DIR)/board-support/linux*/arch/arm/boot/dts/da850.dtsi

    rmii_pins: pinmux_rmii_pins {
    pinctrl-single,bits = <
    /*
    * RMII_TXD_1, RMII_TXD_0, RMII_TXEN
    * RMII_RXD_1, RMII_RXN_0, RMII_RXER
    */
    0x38 0x88888800 0xffffff00
    /*
    * RMII_MHZ_50_CLK, RMII_CRS_DV
    */
    0x3c 0x00000080 0x000000ff
    >;
    };

    Add "ti,davinci-rmii-en = /bits/ 8 <1>;" (without the quotes) in eth0 section of the code in the same file.

    Add following code in $(SDK_INSTALL_DIR)/board-support/linux*/arch/arm/boot/dts/da850-lcdk.dts
    In &eth0 {} section, modify "pinctrl-0 = <&mii_pins>;" to "pinctrl-0 = <&rmii_pins>;"
    In &eth0 {} section, add phy-mode = "rmii";
    In &eth0 {} section, add phy-connection-type = "rmii";

  • Hi,

    Our CPSW expert is out of office this week, please expect delay responses next week.

  • Oh okay, thanks for letting me know, hope to get some response soon.. just struggling with this issue now.