We use DM8168 and UDWORKS based hardware design and DVRRDK 03.00.00.00 / 04.00.00.00 based software. We try to use GPIO Pin GP 1:22 for digital output.
This pin is shared with SPI_SCS[3], GPMC_A[21] and GP1[22].
We have disabled SPI, so SPI_SCS[3] chip select seems not to be used, and we have 16 Bit NAND Flash, so GPMC_A[21] is not used.
Writing to register PINCTRL170 0x48140AA4 does not change the value.
Register 0x48140AA4 always contains 0x10, this means the pin is used for SPI.
How can we setup GPIO function for this pin ?