How to add GPIO in imx8mm evk board in dts file
i want add
MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24 0x41
in GPIO
but in imx8mm-evk.dts file i am not able to find the below function
pinctrl-0 = <&pinctrl_hog_1>;
pinctrl_hog_1: hoggrp-1 {
fsl,pins = <
MX8MM_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x19
MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24 0x41
>;
};
in which function of the attached .dts file i can add
i have attached the dts file below
MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24 0x41
Hi Ruban
general steps can be found on
http://variwiki.com/index.php?title=DART-MX8M_GPIO
https://www.emcraft.com/som/imx-8m/controlling-gpio-in-linux
Best regards
igor
Referring Those link only i tried to edit but that file is ter in Yocto build . I am working on Android 10 OS.
I dont have such kind of file and ru sure i have to edit in .dtsi file not .dts file
i have attached screenshot let me know which file i have to edit or add for GPIO
And other screenshot of DTSI file i wil attach the file also .dtsi file let me know where i have to edit or add
Regards
Ruban
Its not working the app is getting crashed .
Can you provide link which can run on Android Studio and library with NXP to access GPIO .
Or just provide in which function i can add GPIO in Android 10 OS and in which file
unfortunately I am not aware of NXP similar tool or any documentation related
to gpios in Android, in other words seems "it is not supported". So if you have special need for it
suggest to proceed with help of https://contact.nxp.com/new-prof-svcs-sw-tech
Best regards
igor