Skip to content

Commit

Permalink
soc: arm: nxp: rt595: Attached clock freq to pmic
Browse files Browse the repository at this point in the history
Attached the correct clock frequency for
FlexComm15 which connects to the PMIC_I2C peripheral

Signed-off-by: Emilio Benavente <[email protected]>
  • Loading branch information
EmilioCBen authored and carlescufi committed Aug 23, 2022
1 parent 2da4de9 commit 76e8909
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions soc/arm/nxp_imx/rt5xx/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ void clock_init(void)
#if DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(flexcomm12), nxp_lpc_usart, 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
/* Switch CLKOUT to FRO_DIV2 */
CLOCK_AttachClk(kFRO_DIV2_to_CLKOUT);
Expand Down

0 comments on commit 76e8909

Please sign in to comment.