Commit baf7df87 authored by Emilio Benavente's avatar Emilio Benavente Committed by Johan Hedberg
Browse files

boards: nxp: frdm_mcxn947: Enable lpmtr for frdm_mcxn947



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

Signed-off-by: default avatarEmilio Benavente <emilio.benavente@nxp.com>
parent d85cb222
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;

+2 −0
Original line number Diff line number Diff line
@@ -94,6 +94,8 @@ The FRDM-MCXN947 board configuration supports the following hardware features:
+-----------+------------+-------------------------------------+
| FLEXCAN   | on-chip    | CAN                                 |
+-----------+------------+-------------------------------------+
| LPTMR     | on-chip    | counter                             |
+-----------+------------+-------------------------------------+

Targets available
==================
+4 −0
Original line number Diff line number Diff line
@@ -174,3 +174,7 @@ zephyr_udc0: &usb1 {
&lpcmp0 {
	status = "okay";
};

&lptmr0 {
	status = "okay";
};