boards: nxp: frdm_mcxn947: Enable lpmtr for frdm_mcxn947

Enabled one instance of lptmr
running from the 16k FRO.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
Emilio Benavente 2024-05-22 21:15:48 +00:00 committed by Johan Hedberg
commit baf7df87d8
3 changed files with 10 additions and 0 deletions

View file

@ -298,6 +298,10 @@ static int frdm_mcxn947_init(void)
SPC_EnableActiveModeAnalogModules(SPC0, (kSPC_controlCmp0 | kSPC_controlCmp0Dac));
#endif
#if DT_NODE_HAS_STATUS(DT_NODELABEL(lptmr0), okay)
CLOCK_SetupClk16KClocking(kCLOCK_Clk16KToVsys);
#endif
/* Set SystemCoreClock variable. */
SystemCoreClock = CLOCK_INIT_CORE_CLOCK;

View file

@ -94,6 +94,8 @@ The FRDM-MCXN947 board configuration supports the following hardware features:
+-----------+------------+-------------------------------------+
| FLEXCAN | on-chip | CAN |
+-----------+------------+-------------------------------------+
| LPTMR | on-chip | counter |
+-----------+------------+-------------------------------------+
Targets available
==================

View file

@ -174,3 +174,7 @@ zephyr_udc0: &usb1 {
&lpcmp0 {
status = "okay";
};
&lptmr0 {
status = "okay";
};