Access to Omap registers from Kernelspace

For writing a driver I need access to OMAP registers from kernelspace.
How to do this?