soc: nxp_imx: Fix enabling ENET PLL outputs
The ENET PLL should be enabled if the SoC is the MIMXRT1021 (it used by the ARM core) or if the ENET device is enabled. The 500MHz clock should be enabled if the SoC is the MIMXRT1021. The ENET clock should be enabled if the ENET device is enabled. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
17f4d6bec7
commit
ba459d002c
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ const clock_usb_pll_config_t usb1PllConfig = {
|
|||
const clock_enet_pll_config_t ethPllConfig = {
|
||||
#ifdef CONFIG_SOC_MIMXRT1021
|
||||
.enableClkOutput500M = true,
|
||||
#else
|
||||
#endif
|
||||
#ifdef CONFIG_ETH_MCUX
|
||||
.enableClkOutput = true,
|
||||
#endif
|
||||
.enableClkOutput25M = false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue