aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@foss.st.com>2024-04-09 17:02:09 +0200
committerPatrice Chotard <patrice.chotard@foss.st.com>2024-04-19 12:05:10 +0200
commitbfdf5ba50a83e7f39fd83549327ba8d99f6a5bc2 (patch)
tree87d48c65d816b210b88fb6c65887d64d7da2bfd0
parentd9f193cd3bae5f68df7218e1dcf42152b07bb4ed (diff)
downloadu-boot-bfdf5ba50a83e7f39fd83549327ba8d99f6a5bc2.zip
u-boot-bfdf5ba50a83e7f39fd83549327ba8d99f6a5bc2.tar.gz
u-boot-bfdf5ba50a83e7f39fd83549327ba8d99f6a5bc2.tar.bz2
ARM: dts: stm32: Don't probe red led at boot for stm32mp157c-ed1-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>
-rw-r--r--arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
index e6a452c..edcbfee 100644
--- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
@@ -62,7 +62,6 @@
red {
label = "error";
gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
- default-state = "off";
status = "okay";
};
};