How to add GPIO in imx8mm evk board in dts file

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to add GPIO in imx8mm evk board in dts file

5,803 次查看
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

 

标签 (1)
0 项奖励
回复
5 回复数

5,800 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复

5,798 次查看
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 项奖励
回复

5,793 次查看
igorpadykov
NXP Employee
NXP Employee

for android one can look at

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

 

Best regards
igor

 

0 项奖励
回复

5,789 次查看
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 项奖励
回复

5,781 次查看
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 项奖励
回复