iMX8QXP-LED Configuration in device tree

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

iMX8QXP-LED Configuration in device tree

Jump to solution
1,144 Views
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 Solution
1,139 Views
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

View solution in original post

3 Replies
872 Views
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 Kudos
1,140 Views
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

1,106 Views
kinjalGediya
Contributor III

Hi igor,

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