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.

Change PIn MUX on omap5

Hello

I working on the OMAP5 processor on a  Dra7xx evm board. I would like to change the pin muxing on the fly, convert them into gpio lines. to interface it to a device.

Now have gone through the /sys/kernel/ and I dont see any omap_mux folder where my board pin mux details would be present . I have gone through the /sys/kerenel/pincrtl/ also , here I am confused with the mapping of the GPIO line to the PIN no.

I would like to know how to change the Pin Mux for my board on the fly.

Regards

Karan

  • Hello Karan,

    The PIN MUX definitions are described in linux/arch/arm/boot/dts/ dra7-evm.dts

    You must apply your modifications for PIN mux in this file.

    For more information about the pin mux registers see in Table 18-26. CTRL_MODULE_CORE Registers Mapping Summary in DRA7xx TRM.

    Best regards,

    Yanko