From 683fa3e16158c0999c813fd50c58c5e0001112fd Mon Sep 17 00:00:00 2001 From: Jakub Jarosinski Date: Thu, 3 Dec 2026 12:45:04 +0100 Subject: [PATCH] PEND: boards: ti: fix CC35x1 user button polarity SW1 and SW2 pull GPIO2 and GPIO36 high when pressed, as in the SDK board file. Mark them active high with an internal pull-down. Signed-off-by: Jakub Jarosinski --- boards/ti/lp_em_cc35x1/lp_em_cc35x1_common.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/ti/lp_em_cc35x1/lp_em_cc35x1_common.dtsi b/boards/ti/lp_em_cc35x1/lp_em_cc35x1_common.dtsi index af9d29558518d..b5d5da88b61d4 100644 --- a/boards/ti/lp_em_cc35x1/lp_em_cc35x1_common.dtsi +++ b/boards/ti/lp_em_cc35x1/lp_em_cc35x1_common.dtsi @@ -59,13 +59,13 @@ compatible = "gpio-keys"; user_switch_1: user_sw_1 { - gpios = <&gpios 2 GPIO_ACTIVE_LOW>; + gpios = <&gpios 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; label = "User SW1"; zephyr,code = ; }; user_switch_2: user_sw_2 { - gpios = <&gpios 36 GPIO_ACTIVE_LOW>; + gpios = <&gpios 36 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; label = "User SW2"; zephyr,code = ; };