I'm working on enabling CCM_CLKO2 clock on GPIO3 as described in iMX6 quad manual. I was told I need to enable GPIO3 in bootloader, I assume is in devicetree (.dtsi) files.
Also, I don't know where should I set the CCM_CCOSR register. In the drivers/pinctrl/pinctrl-imx6q.c file ? I see there are defined the padding.
Where is the correct place to set this iomux configuration ?