How to set GPIO state

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

How to set GPIO state

跳至解决方案
1,933 次查看
xu_ji1
Contributor V

Hi,

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

Please give guide

Thanks

标记 (1)
0 项奖励
回复
1 解答
1,647 次查看
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 项奖励
回复
3 回复数
1,647 次查看
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 项奖励
回复
1,646 次查看
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 项奖励
回复
1,648 次查看
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 项奖励
回复