I am using "ioremap" to map the address of a GPIO port in the datasheet of Ti AM3359 . The code is running fine.
Problem:
1> The problem is , why do we need to map the virtual address to physical address? Is it because physical address is the real address of the hardware that we want to access?
2> If above is true then, why don't the datasheets directly give the physical address .
3> Is the physical address returned by "ioremap" would be different in different Boards with different amount of RAM?