Hi,
We are design custom board of am335x. I have added GPIO Pin muxing in dts file but how to add gpio export in dts file ?
Thanks
Tejas
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
We are design custom board of am335x. I have added GPIO Pin muxing in dts file but how to add gpio export in dts file ?
Thanks
Tejas
Hi Tejas,
If you want to use these pins as GPIOs then you should add also:
&gpioX {
pinctrl-names = "default";
pinctrl-0 = <&gpioX_pins>;
status = "okay";
}
where X is the number of the gpio controller you want to use.
Best Regards,
Yordan