Hello,
We are not using GPMI Nand on our imx28 board and want to use MX28_PAD_GPMI_D00__GPMI_D0 as GPIO.
Can this be completely configured in the DTS file? If so how ?
I know that somewhere I need to add ,
fsl,pinmux-ids = <
0x0003
>
but am not sure where it should go.
Also what are the 'hog_pin_a' used for ?
I see that these are configured as GPIO.
I have been poking around the .dts files and support docs and am still quite confused.
Thanks for any help.
-Randy
Solved! Go to Solution.
See Documentation/devicetree/bindings/pinctrl/fsl,mxs-pinctrl.txt .
The pinctrl@80018000 has it's own pinctrl configuration, this is specified by it's pinctrl-0 prop. This is pointing to the hog_pins_a , so all pins in the hog_pins_a group are configured when the pinctrl block is probed. So yes, sticking your pin there would configure it as a GPIO.
See Documentation/devicetree/bindings/pinctrl/fsl,mxs-pinctrl.txt .
The pinctrl@80018000 has it's own pinctrl configuration, this is specified by it's pinctrl-0 prop. This is pointing to the hog_pins_a , so all pins in the hog_pins_a group are configured when the pinctrl block is probed. So yes, sticking your pin there would configure it as a GPIO.
Thanks Marek, that worked.