From cf98779bbefb1775a494cb81b8b19e4a1c356ae9 Mon Sep 17 00:00:00 2001 From: Pisit Sawangvonganan Date: Fri, 10 Jan 2025 18:04:46 +0700 Subject: [PATCH] dts: arm: st: stm32h5: relocate `power-states` node Relocate the `power-states` node from under the `soc` node to the `cpus` node, making it consistent with other STM32 SoC series. This resolves the device-tree warning: (simple_bus_reg): /soc/power-states: missing or empty reg/ranges property. Signed-off-by: Pisit Sawangvonganan --- dts/arm/st/h5/stm32h5.dtsi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dts/arm/st/h5/stm32h5.dtsi b/dts/arm/st/h5/stm32h5.dtsi index 534551943f71fc..3dc4237933c1ea 100644 --- a/dts/arm/st/h5/stm32h5.dtsi +++ b/dts/arm/st/h5/stm32h5.dtsi @@ -39,6 +39,15 @@ reg = <0xe000ed90 0x40>; }; }; + + power-states { + stop: state0 { + compatible = "zephyr,power-state"; + power-state-name = "suspend-to-idle"; + substate-id = <1>; + min-residency-us = <20>; + }; + }; }; clocks { @@ -137,15 +146,6 @@ status = "disabled"; }; - power-states { - stop: state0 { - compatible = "zephyr,power-state"; - power-state-name = "suspend-to-idle"; - substate-id = <1>; - min-residency-us = <20>; - }; - }; - rcc: rcc@44020c00 { compatible = "st,stm32u5-rcc"; clocks-controller;