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:
Daniel DeGrasse 2021-10-14 09:45:59 -05:00 committed by Christopher Friedt
commit b330f18a39
36 changed files with 126 additions and 36 deletions

View file

@ -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";
};