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