hi ,
I am using AM1808, i want to remove the Ethernet (i.e EMAC (MMI)) and use URAT0, to do this where i have to set the PIN Mux values.
Thank you,
Sreenivas
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.
hi ,
I am using AM1808, i want to remove the Ethernet (i.e EMAC (MMI)) and use URAT0, to do this where i have to set the PIN Mux values.
Thank you,
Sreenivas
Hi Sreenivas,
If you want to do pinmuxing in kernel, You can do pin muxing in board file.
you can use function"davinci_cfg_reg_list" to configure any module pins.
For this you may refer board file "board-da850-evm.c" for more details to do pin muxing.
Thanks
Manish Badarkhe
hi Manish,
yes we can configure pin mux in the kernel, but my doubt is
lets assume that GPIO5[8] was configured in u-boot, with respect to that "PINMUX3" was set to "0x00004000"
i have configured URAT0 in Kernel and i have selected only the URAT0 Pins in MUX tool, with respect to that "PINMUX3" was set to "0x22220000"
This means that i have disabled GPIO5[8] pin in kernel while configuring URAT0.
like this i may change default configurations which was set in boot strap and u-boot while configuring my requirements in the kernel, this may cause problems.
Thank you,
Sreenivas
Hi Sreenivas,
Could you please elaborate your requirement?
Why you want keep changing the MUX values? What is the problem you are facing?
Suggestion:
You can change the PIN Mux values in kernel itself. Kernel will overwrite the pin mux values written in bootstrap /u-boot while kernel boots up.
Regards,
Rajasekaran K
Hi Sreenivas
Generally we will not rely on bootloader and do pin muxing stuff again in kernel. So as per
requirement you do pin muxing again in kernel.
Thanks
Manish Badarkhe
Hi Manish,
You mean to say we have to set all the PIN Mux values in kernel according to our requirement, with no need to touching boot loader and boot strap, i came to know how the PIN Mux works.
Thank you
Sreenivas