From 7e4568886749d317a863d40b2320384e565d3486 Mon Sep 17 00:00:00 2001 From: Andreas Schmidt Date: Wed, 23 Jul 2025 13:09:41 +0200 Subject: [PATCH] dts: arm: st: u5: fix wkup-pin@8 referencing non-existent port gpiof With commit d280d89 the gpiof port got moved from file stm32u5.dtsi to file stm32u5_extra.dtsi. stm32u5_extra.dtsi is not included for STM32U535/545. In same file stm32u5.dtsi still node wkup-pin@8 references non-existent port gpiof. Fixes #93445 Signed-off-by: Andreas Schmidt --- dts/arm/st/u5/stm32u5.dtsi | 3 +-- dts/arm/st/u5/stm32u5_extra.dtsi | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/dts/arm/st/u5/stm32u5.dtsi b/dts/arm/st/u5/stm32u5.dtsi index 1ea790dd980e3..a289ef62bc43e 100644 --- a/dts/arm/st/u5/stm32u5.dtsi +++ b/dts/arm/st/u5/stm32u5.dtsi @@ -881,8 +881,7 @@ wkup-pin@8 { reg = <0x8>; - wkup-gpios = <&gpiof 2 STM32_PWR_WKUP_EVT_SRC_0>, - <&gpioa 7 STM32_PWR_WKUP_EVT_SRC_1>, + wkup-gpios = <&gpioa 7 STM32_PWR_WKUP_EVT_SRC_1>, <&gpiob 10 STM32_PWR_WKUP_EVT_SRC_2>; }; }; diff --git a/dts/arm/st/u5/stm32u5_extra.dtsi b/dts/arm/st/u5/stm32u5_extra.dtsi index 309bb3d8ce811..db9cf21e3d00d 100644 --- a/dts/arm/st/u5/stm32u5_extra.dtsi +++ b/dts/arm/st/u5/stm32u5_extra.dtsi @@ -77,3 +77,11 @@ }; }; }; + +&pwr { + wkup-pin@8 { + wkup-gpios = <&gpiof 2 STM32_PWR_WKUP_EVT_SRC_0>, + <&gpioa 7 STM32_PWR_WKUP_EVT_SRC_1>, + <&gpiob 10 STM32_PWR_WKUP_EVT_SRC_2>; + }; +};