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:
parent
d85cb222e4
commit
baf7df87d8
3 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -94,6 +94,8 @@ The FRDM-MCXN947 board configuration supports the following hardware features:
|
|||
+-----------+------------+-------------------------------------+
|
||||
| FLEXCAN | on-chip | CAN |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| LPTMR | on-chip | counter |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Targets available
|
||||
==================
|
||||
|
|
|
@ -174,3 +174,7 @@ zephyr_udc0: &usb1 {
|
|||
&lpcmp0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lptmr0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue