Hello,
We have a user guide for DM81xx/TI81xx devices, which explains how to modify the pin mux settings from the linux kernel:
http://processors.wiki.ti.com/index.php/TI81XX_PSP_User_Guide#Modifying_Pin_Mux_settings
I assume for DM8127 device should be something similar.
Regards,
Pavel