I have a problem trying to remap WEIM CS physical address to virtual address in Linux 126.96.36.199.1.0.
I am using CS1 and split the WEIM address space to 32MB block each.
I tried using the IMX_IO_P2V(0x52000000) that remapped to 0xF9200000 and got a segmentation fault when trying to read it.
Do I need to setup the device tree in order to access this memory space.
I was able to access this memory space correctly in u-boot using the physical address.