I have to read and write from the physical memory (system ram ). I used ioremap to map the region . Device tree setup is also done. Reading works fine.
I use ioread32 for reading and it works fine.
When I used iowrite32 it does does not write to the desired memory location.
What mistake I am doing here ?