]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: dts: stm32: Don't probe red led at boot for stm32mp157c-ed1-scmi-u-boot
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 9 Apr 2024 15:02:13 +0000 (17:02 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Apr 2024 10:05:10 +0000 (12:05 +0200)
commite43a0d05bfbe0163ceb1c199fccbaed0f2186a21
tree416f9733c501e21a43c043ebcd4b9d40de32c3e5
parent3dfb4edf8df475ad9d0b797e2da6175f4e3e6051
ARM: dts: stm32: Don't probe red led at boot for stm32mp157c-ed1-scmi-u-boot

red led and button dedicated to fastboot share the same gpio GPIOA13.
Led driver is probed early so the corresponding gpio is taken and
configured in output which forbid fastboot and stm32prog button usage.

To avoid this, remove the "default-state" property from red led node.

This will avoid to trigger the led driver probe() to configure the led
default state during startup.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi