dts: arm: nxp: move power-states to soc dts files
CPU idle states are not board specific. This patch moves NXP idle states to the core SoC dts files. Board can always tweak some state parameters (if needed), but the definition belongs to core SoC dts files, same as e.g. peripherals. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
7e8f9c7595
commit
6552250cb6
6 changed files with 62 additions and 71 deletions
|
@ -104,25 +104,6 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
power-states {
|
||||
idle: idle {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "runtime-idle";
|
||||
exit-latency-us = <4000>;
|
||||
min-residency-us = <5000>;
|
||||
};
|
||||
suspend: suspend {
|
||||
compatible = "zephyr,power-state";
|
||||
power-state-name = "suspend-to-idle";
|
||||
exit-latency-us = <5000>;
|
||||
min-residency-us = <10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&cpu0 {
|
||||
cpu-power-states = <&idle &suspend>;
|
||||
};
|
||||
|
||||
arduino_i2c: &lpi2c1 {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue