Reading analog input pin ain6

Hi,

I would like to read the analog input pin AIN6. I googled and found that the command
cat /sys/devices/platform/omap/tsc/ain1

should be able to read this pin.

I however do not find this path on my beaglebone green wireless Linux image. How do I read this pin AIN6 in such case. Do i have to add some configuration in the dtb for the AIN6 pin?

Thanks

debian@test-bbb-2:~$ cat /sys/bus/iio/devices/iio\:device0/in_voltage6_raw
2837

Regards,