soc: nxp: imxrt5xx: enable Flexcomm12 clock for SPI
Enable clock when using as SPI. Signed-off-by: Derek Snell <derek.snell@nxp.com>
This commit is contained in:
parent
7e2d020df5
commit
ed7c8285f5
1 changed files with 4 additions and 0 deletions
|
@ -321,6 +321,10 @@ void __weak rt5xx_clock_init(void)
|
|||
/* Switch FLEXCOMM12 to FRG */
|
||||
CLOCK_AttachClk(kFRG_to_FLEXCOMM12);
|
||||
#endif
|
||||
#if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(flexcomm12), nxp_lpc_spi, okay)
|
||||
/* Switch FLEXCOMM12 to FRG */
|
||||
CLOCK_AttachClk(kFRG_to_FLEXCOMM12);
|
||||
#endif
|
||||
#if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(pmic_i2c), nxp_lpc_i2c, okay)
|
||||
CLOCK_AttachClk(kFRO_DIV4_to_FLEXCOMM15);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue