I am looking through the device tree code for the colibri-imx8x kernel.
The GPIO pins are initialized with specific register values. Is there any documentation that can help me map out what the bits in the gpio registers mean?
These values can be found in the NXP Applications Manual for your specific SoC. For the Colibri imx8x, you would be looking for the iMX 8DualX/8DualXPlus/8QuadXPlus Applications Processor Reference Manual or Document Number IMX8DQXPRM.
You’ll have to make an NXP account and agree to some terms before downloading (should be ~ instant).
Please be aware that all modifications to the pinmuxing of the iMX8 SoC are made through the i.MX 8 System Controller Firmware. Direct access to pinmux configuration registers is blocked