Skip to content

Commit 883f36c

Browse files
ankeXiaonashif
authored andcommitted
soc: nxp: kinetis: ke1xz: update soc.c to add flexio clock
Add flexio clock configuration, and select the clock source. Signed-off-by: Anke Xiao <[email protected]>
1 parent 04ae22e commit 883f36c

File tree

1 file changed

+4
-0
lines changed
  • soc/nxp/kinetis/ke1xz

1 file changed

+4
-0
lines changed

soc/nxp/kinetis/ke1xz/soc.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ static ALWAYS_INLINE void clk_init(void)
126126
CLOCK_SetIpSrc(kCLOCK_Lpi2c1,
127127
DT_CLOCKS_CELL(DT_NODELABEL(lpi2c1), ip_source));
128128
#endif
129+
#if DT_NODE_HAS_STATUS(DT_NODELABEL(flexio), okay)
130+
CLOCK_SetIpSrc(kCLOCK_Flexio0,
131+
DT_CLOCKS_CELL(DT_NODELABEL(flexio), ip_source));
132+
#endif
129133
#if DT_NODE_HAS_STATUS(DT_NODELABEL(lpspi0), okay)
130134
CLOCK_SetIpSrc(kCLOCK_Lpspi0,
131135
DT_CLOCKS_CELL(DT_NODELABEL(lpspi0), ip_source));

0 commit comments

Comments
 (0)