Skip to main content
Hammy
Associate III
January 27, 2023
Solved

How to change the pin that is used for the u-boot programming mode

  • January 27, 2023
  • 1 reply
  • 1032 views

How do I change the pin for the u-boot-stm32mp programmer mode at boot up?

This topic has been closed for replies.
Best answer by Hammy

In the your-board-name-u-boot.dtsi file you can change it at

/ {
 * * *
	config{
		st,stm32prog-gpios = <&gpio0 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
	};
};

so search for the st,stm32prog-gpios tag.

1 reply

Hammy
HammyAuthorBest answer
Associate III
January 27, 2023

In the your-board-name-u-boot.dtsi file you can change it at

/ {
 * * *
	config{
		st,stm32prog-gpios = <&gpio0 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
	};
};

so search for the st,stm32prog-gpios tag.