dts: rt685: enabled flexcomm15

the RT685 contains an additional flexcomm peripheral, that supports
only I2C. This commit adds this peripheral to the device tree,
and enables pins and clocks for flexcomm15.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2021-09-21 14:12:23 -05:00 committed by Christopher Friedt
commit b18aefdfd3
5 changed files with 61 additions and 0 deletions

View file

@ -64,6 +64,9 @@ static int mcux_lpc_syscon_clock_control_get_subsys_rate(
case MCUX_FLEXCOMM7_CLK:
*rate = CLOCK_GetFlexCommClkFreq(7);
break;
case MCUX_PMIC_I2C_CLK:
*rate = CLOCK_GetFlexCommClkFreq(15);
break;
case MCUX_HS_SPI_CLK:
#if defined(FSL_FEATURE_FLEXCOMM8_SPI_INDEX)
*rate = CLOCK_GetHsLspiClkFreq();