beagleboard adc

Hi all,
I would like to know how to access the ADC pin on the beagleboard so I
can make an LED get brighter and dimmer. The datasheet says that it's
on pin 17. How would I access it via linux?

Thanks,
David