Is there any way to un-map the GPIO ports of Raspberry Pi 2 B. I am trying to build a driver to control the GPIO pins using the GPIO registers. The GPIO ports are mapped to (from cat /proc/iomem) 3f200000-3f2000b3 : /soc/gpio@7e200000. Now I tried to create a new mapping from 3f000000-3f00003f, but I am not able to read/write into this address. Do I need to un-map the default GPIO port address and then use my custom ports or something else. Please help?
Thank you