I am interested to know how we can find out at which address are my hardware registers mapped on "/dev/mem".
Suppose if someone am interested to control GPIO using mmap command.
This link tell the mapping directly, but does not tell how can we find at what address does mapping for hardware devices starts ?
Please suggest on this point.
Any reply will be appreciable.