How to add GPIO in imx8mm evk board in dts file

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add GPIO in imx8mm evk board in dts file

3,010 Views
Ruban1
Contributor II

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

 

Labels (1)
0 Kudos
Reply
5 Replies

3,007 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
Reply

3,005 Views
Ruban1
Contributor II

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

0 Kudos
Reply

3,000 Views
igorpadykov
NXP Employee
NXP Employee

for android one can look at

https://github.com/digi-embedded/android-sample-gpio

 

Best regards
igor

 

0 Kudos
Reply

2,996 Views
Ruban1
Contributor II

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

 

0 Kudos
Reply

2,988 Views
igorpadykov
NXP Employee
NXP Employee

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

0 Kudos
Reply