How to set GPIO state

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

How to set GPIO state

Jump to solution
1,573 Views
xu_ji1
Contributor V

Hi,

About Yocto project,how to set the GPIO high when system boot on

Please give guide

Thanks

Tags (1)
0 Kudos
1 Solution
1,287 Views
igorpadykov
NXP Employee
NXP Employee

one can look at Porting Guide included in Linux L4.14.98_2.0.0 Documentation

dts example of gpio : pinctrl_pcieb to control PCIe :

fsl-imx8qxp-mek.dtsi\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 

Best regards
igor

View solution in original post

0 Kudos
3 Replies
1,287 Views
igorpadykov
NXP Employee
NXP Employee

Hi Xu

one can try to set it using scfw, please check

SCFW Porting Kit

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,286 Views
xu_ji1
Contributor V

Sorry,

I don't want to changed in SCFW ,I want to set it in boot and kernel,it is better in dts

Thanks

0 Kudos
1,288 Views
igorpadykov
NXP Employee
NXP Employee

one can look at Porting Guide included in Linux L4.14.98_2.0.0 Documentation

dts example of gpio : pinctrl_pcieb to control PCIe :

fsl-imx8qxp-mek.dtsi\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 

Best regards
igor

0 Kudos