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

Patrice Chotard <[email protected]>
Newsgroups org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <20260813-upstream_gpio_keys_removal_from_mp13-dk-v1-1-b333615ac6cf@foss.st.com>
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 <[email protected]>
---
 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@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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.