boards: frdm_mcxn947: Add Display support

Add support for the LCD-PAR-S035 display over the
FlexIO interface.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
Mahesh Mahadevan 2024-04-16 13:41:30 -05:00 committed by Anas Nashif
commit b2d1e4505f
5 changed files with 72 additions and 0 deletions

View file

@ -302,6 +302,11 @@ static int frdm_mcxn947_init(void)
CLOCK_SetupClk16KClocking(kCLOCK_Clk16KToVsys);
#endif
#if DT_NODE_HAS_STATUS(DT_NODELABEL(flexio0), okay)
CLOCK_SetClkDiv(kCLOCK_DivFlexioClk, 1u);
CLOCK_AttachClk(kPLL0_to_FLEXIO);
#endif
/* Set SystemCoreClock variable. */
SystemCoreClock = CLOCK_INIT_CORE_CLOCK;