How do I set the default value of GPIO pins in UBoot and Kernel

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

How do I set the default value of GPIO pins in UBoot and Kernel

920 次查看
Namic
Contributor II

Hi,

I use Linux BSP35 on S32G3 and would like to configure the default value of GPIO.

In UBoot, I type "gpio status -a" and can see the GPIO configurations.

Below is my questions:

1. How do I set the default configurations for some GPIO pins? (Ex. the source files of uboot)

2. When I use "gpio set" command to configure some GPIO pins (PK_11), the pins cannot be set successfully. Why ?

Namic_0-1688116008498.png

3. In Kernel, how do I set the default configurations for some GPIO pins?

 

Thanks.

标记 (1)
0 回复数