]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: stm32mp1: Drop fastboot and stm32prog trigger gpios on DHCOM
authorJohann Neuhauser <jneuhauser@dh-electronics.com>
Thu, 30 Jun 2022 14:19:48 +0000 (16:19 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 12 Jul 2022 09:48:15 +0000 (11:48 +0200)
PA13 and PA14 are used for USB power control and can't be used
to enforce fastboot or stm32prog mode by pressing a button.

Defining CONFIG_FASTBOOT/CONFIG_CMD_STM32PROG without this patch applied
results in fastboot/stm32prog always starting, because PA13/PA14 are always
low during boot. So drop the wrong trigger gpios definitions.

Signed-off-by: Johann Neuhauser <jneuhauser@dh-electronics.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi

index d73967ac1b5d0d1a2ab006ad363be7e6741fd70f..ee747a52bb7ca8833c01772dcfeb2ef0eedbe412 100644 (file)
@@ -27,8 +27,6 @@
        config {
                u-boot,boot-led = "heartbeat";
                u-boot,error-led = "error";
-               st,fastboot-gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
-               st,stm32prog-gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
                dh,som-coding-gpios = <&gpiof 12 0>, <&gpiof 13 0>, <&gpiof 15 0>;
                dh,ddr3-coding-gpios = <&gpioz 6 0>, <&gpioz 7 0>;
        };