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

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

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

910 Views
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.

Tags (1)
0 Replies