Skip to content

Commit

Permalink
dts: arm: st: stm32h5: relocate power-states node
Browse files Browse the repository at this point in the history
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 <pisit@ndrsolution.com>
  • Loading branch information
ndrs-pst authored and kartben committed Jan 14, 2025
1 parent f0a70b0 commit 4b7a6bf
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions dts/arm/st/h5/stm32h5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 4b7a6bf

Please sign in to comment.