clk: k6x: Modify clock_init to enable external RMII clock source
This change enables the RMII external clock source at the clock initialization function. Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
43427c4d49
commit
a341d4cd43
1 changed files with 3 additions and 0 deletions
|
@ -104,6 +104,9 @@ static ALWAYS_INLINE void clock_init(void)
|
|||
#if CONFIG_ETH_MCUX
|
||||
CLOCK_SetEnetTime0Clock(TIMESRC_OSCERCLK);
|
||||
#endif
|
||||
#if CONFIG_ETH_MCUX_RMII_EXT_CLK
|
||||
CLOCK_SetRmii0Clock(1);
|
||||
#endif
|
||||
#if CONFIG_USB_KINETIS
|
||||
CLOCK_EnableUsbfs0Clock(kCLOCK_UsbSrcPll0,
|
||||
DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue