cancel
Showing results for 
Search instead for 
Did you mean: 

How to control a GPIO in TF-A ?

Sxuem.1
Associate

I want to control a GPIO before u-boot, so how to control in TF-A?

3 REPLIES 3
OlivierK
ST Employee

Hi Sxuem.1 (Community Member)

STM32 GPIO driver is available in TF-A source <TF-A source directory>/drivers/st/gpio/stm32_gpio.c

Also you can append the &pinctrl node in DT to initialize a specific GPIO configuration.

Regards,

Olivier

PatrickF
ST Employee

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Sxuem.1
Associate

Thanks,!