]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: dts: stm32: Don't probe led-red/led-blue at boot for stm32mp135f-dk-u-boot
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 9 Apr 2024 15:01:58 +0000 (17:01 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Apr 2024 10:05:10 +0000 (12:05 +0200)
commit1e26c20662e9a7483e64d609aab286235fe13a3b
treeddbd18e028997f313d86878bc2a8d9ad5cda3eaa
parent485798dd9bf7603ce90cf4c390c2ce746b70d1bc
ARM: dts: stm32: Don't probe led-red/led-blue at boot for stm32mp135f-dk-u-boot

led-red and button dedicated to fastboot share the same gpio GPIOA13.
led-blue and button dedicated to stm32prog share the same gpio GPIOA14.
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 led-red and
led-blue led's 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/stm32mp135f-dk-u-boot.dtsi