How do I enable UART2

Table 17 of the BB ref manual shows the expansion connector signals. I need to enable the UART2 signals on pins 6 and 8 of the expansion header. So far I have found out that I need to set the MUXMODE and INPUTENABLE bits in the OMAP PADCONF register but I have no idea how to access this register?
Is it accessed from userland using mmap? an example will be very helpful.

Thanks. might be helpful to you.