“You need to make sure that the appropriate McSPI functional (CM_FCLKEN1_CORE) and interface (CM_ICLKEN1_CORE)clocks are enabled before reading the McSPI registers.”
Is this solution - especially since I am not using SPI? What exactly does it mean?
You need to activate the low-level GPIO hardware (ie: take it out of
reset and provide a clock). The easiest way to do this is to export a
GPIO pin using the sysfs interface. You can then talk to anything
else in that group of pins via direct register access.
Note that there are two hardware groups. GPIO bank 0 is on it's own,
and banks 1, 2, and 3 are grouped together.