Skip to main content
Sxuem.1
Associate
Jun 29, 2021 07:55 UTC
Question

How to control a GPIO in TF-A ?

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

This topic has been closed for replies.

3 replies

OlivierK
ST Technical Moderator
Jul 16, 2021 17:07 UTC

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

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.
PatrickF
ST Employee
Jul 21, 2021 15:24 UTC

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 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
Sxuem.1
Sxuem.1Author
Associate
Jul 24, 2021 00:51 UTC

Thanks,!