soc: arm: nxp: switch imxrt boards to use systick timer unless CONFIG_PM=y
Switch all imxrt boards to use the systick timer by default, and only enable the GPT timer when using low power modes. This is desirable because the systick has a higher resolution, but the GPT can run while the core clock is gated, making it useful for low power modes. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
c1cc2c4a26
commit
4be1fb81ce
15 changed files with 88 additions and 22 deletions
|
@ -131,9 +131,14 @@ zephyr_udc0: &usb1 {
|
|||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
/* Enable GPT for use as a hardware timer. This disables Cortex Systick.
|
||||
* to use systick, change this node from "gpt_hw_timer" to "systick"
|
||||
/* GPT and Systick are enabled. If power management is enabled, the GPT
|
||||
* timer will be used instead of systick, as allows the core clock to
|
||||
* be gated.
|
||||
*/
|
||||
&gpt_hw_timer {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&systick {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue