boards: mimxrt1xxx: Added support for GPT hardware timer on RT1xxx
Adds support for using GPT as the hardware timer source (as opposed to systick) for all RT1xxx platforms. This requires moving the clock frequency of these devices into a defconfig so it can be overridden by the GPT clock frequency. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
e99eb6bb70
commit
b330f18a39
36 changed files with 126 additions and 36 deletions
|
@ -84,3 +84,10 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* 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_hw_timer {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue