Gpio_aon: gpio@c2f0000中gpio配置问题

orin nano, jetpack6.2.1
gpio_aon配置问题.txt (6.9 KB)

Hi jeremyzhang,

Are you using the devkit or custom baord for Orin NX?

Could you share the diff of your customization in device tree?

Please also provide the use case and the requirement for you to use AON GPIO.

自己开发的底板,


GPIO03,GPIO4,GPIO10要默认拉高
GPIO06是运行指示灯,现在是默认拉高,期望控制不被独占,能在应用层控制
GPIO06是关机按键控制, 输入, 期望控制不被独占,能在应用层控制
在gpio@c2f0000中的其他GPIO没有修改,保持跟Jetpack6.2.1一致.

I think you can just configure them in pinmux spreadsheet rather than use gpio-hog property to control them by kernel device tree, or they may be occupied by the GPIO driver.

e.g.

They can just be configured as Output/Drive 1 as following.

It can be configured as Input/Int PD as following.