iMX8QXP-LED Configuration in device tree

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

iMX8QXP-LED Configuration in device tree

跳至解决方案
2,127 次查看
kinjalGediya
Contributor III

Hello NXP,

I am using custom board of iMX8QXP. RGB LEDs are present in custom board and I want to access LED as GPIO.

we have added node for gpio in device tree but we are not able to on-off LEDS.

RGB LEDs are connected with GPIO1_IO27,GPIO1_IO28,GPIO1_IO30

Can you guide me how to configure LEDs as a GPIO in device tree?

1 解答
2,122 次查看
igorpadykov
NXP Employee
NXP Employee

Hi kinjalGediya

 

for i.MX8X gpio usage one can look at

http://variwiki.com/index.php?title=MX8_GPIO

 

Best regards
igor

在原帖中查看解决方案

3 回复数
1,855 次查看
josephzhou1
Contributor V

what is the results: solved? in my iMX8QXP b0 , gpio-32 : handphone detection  in lo IRQ, i like to know how to do??

Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore
0 项奖励
回复
2,123 次查看
igorpadykov
NXP Employee
NXP Employee

Hi kinjalGediya

 

for i.MX8X gpio usage one can look at

http://variwiki.com/index.php?title=MX8_GPIO

 

Best regards
igor

2,089 次查看
kinjalGediya
Contributor III

Hi igor,

Thank you for quick reply.
The link which you shared is helpful!!