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.

how to set PINMUX2 registry on dm368 at start up

I need to set EM_CLK and EM_ADV as 1(0 by default)? i have his BaseAddr=0x01C4 0000h  and  Ofset=08h

  • Hi Dmitryi,

    The register setting method depends on the software which you are using. I'm guessing that you are using uboot and Linux but which version I have no idea.
    You can set the PINMUX2 register in the u-boot as:
    1) Search in the .../uboot/include/asm/arch-davinci/hardware.h file whether presents
    #define PINMUX2 0x01c40008
    If not present add it.
    2) Add to your board file in function int board_init(void)
    writel((readl(PINMUX2) | 1 << 11), PINMUX2); // EM_ADV set to GIO 51
    writel((readl(PINMUX2) | 1 << 12), PINMUX2); // EM_CLK set to GIO 50
    then rebuild the uboot.

    BR
    Tsvetolin Shulev