Hi everyone!
I have a controller (on-board) which I need ot bring up, and the Linux installed on ARM-based system. I have the needed drivers, and according to the driver's code it gets the in-memory address of the controller, performs request_mem_region(), ioremap_nocache() and then system can communicate with device. Other similiar devices ("platform devices") are added the same way and there are their memory addresses (and IRQs, etc.) in the board driver header files. But there are no resources for the subject device. I need to provide resources (including memory range) in the code of board driver to make Linux find and use the device.
How to obtain device's IO memory addresses (start-end), so the system can map that memory in the device driver? (I have controller's and board's datasheets, but it don't seem to be helpful, or I don't know how to use it)