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.

AM335X: Changing pin function at runtime



Hi,

I have built a custom BSP using Yocto and I am using the linux-ti-staging-4.4 kernel. I am having some trouble switching the PIN function after the device bootups. I don't think I fully understand the procedure to switch the pin function on the fly using this kernel.

Normally with the standard BBB kernel this is done by load the device tree overlay but I don't know how to do this using this kernel.

How do I load the device tree overlay when using this kernel? Can you show me an example of a device tree and a device tree overlay that would work with this kernel?

Additional information

  • The meta layer I am using is TI-Meta layer: git.yoctoproject.org/.../
  • Custom Device tree is loaded at bootup and never changes at run time.