Hello!
According with i.MX28 Application Processor Reference Manual, Rev. 2, 08/2013 GPIO2_20 register have address 0x80018150, which base adress I should use for map it to user-space?
Thank you and excuse my bad english.
Hi Kirill
in general this physical base address is used for mapping to user-space,
as described for ioremap function :
https://lwn.net/images/pdf/LDD3/ch15.pdf
For gpio usually is used gpio api, refer to sect. sect.3.6.1.1 API for
GPIO attached Linux Manual.
Best regards
igor