[PATCH] ARM: dts: stm32: Remove User-PA13 button on stm32mp135f-dk

Alexandre TORGUE alexandre.torgue at foss.st.com
Fri Sep 11 08:30:35 PDT 2026


Hi Patrice

On 8/13/26 13:50, Patrice Chotard wrote:
> User-PA13 button and led-red are connected to the same GPIOA13, this
> leads to a conflict when gpio-keys driver try to get gpio.
> 
> As led-red is mandatory in U-Boot to indicate the status during the
> boot phase, remove User-PA13 button from stm32mp135f-dk.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
> ---
>   arch/arm/boot/dts/st/stm32mp135f-dk.dts | 11 -----------
>   1 file changed, 11 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
> index 6022e73f58af..215bce4738f0 100644
> --- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts
> +++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
> @@ -60,17 +60,6 @@ optee at dd000000 {
>   		};
>   	};
>   
> -	gpio-keys {
> -		compatible = "gpio-keys";
> -
> -		button-user {
> -			/* GPIO on PA13 "User button 2 (B2)" */
> -			label = "User-PA13";
> -			linux,code = <BTN_1>;
> -			gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
> -		};
> -	};
> -
>   	leds {
>   		compatible = "gpio-leds";
>   
> 
> ---
> base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
> change-id: 20260813-upstream_gpio_keys_removal_from_mp13-dk-c4e8a1a405f0
> 
> Best regards,
> --
> Patrice Chotard <patrice.chotard at foss.st.com>
> 

Applied on stm32-next.

regards
alex



More information about the linux-arm-kernel mailing list