how can I use peripherals of the beagleboard?

Hi all,

I did not find any sample code about using some peripheral of the beagleboard yet. I have compiled and loaded beagleboard patched linux kernel successfully. I can compile and run a simple hello world application and I can control some peripheral using MMAP also. Is there any driver in this linux kernel that controls this peripherals. If such drivers are available then how can I control gpio, uarts, I2C, SPI of expansion slot on the beagleboard with my linux application? is there any sample code or doc about it? if anyone has some information please reply me.

Best Regards