mirror of
https://github.com/apache/nuttx.git
synced 2026-08-09 22:45:08 +00:00
arch/imx9: Increase uSDHC root clock to 400MHz
This is the nominal speed according to the TRM, and using higher root clock gives more frequency selections (possible dividers) for the SD card clock configuration. Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
This commit is contained in:
parent
191575eac1
commit
79730c83ca
1 changed files with 2 additions and 2 deletions
|
|
@ -3453,7 +3453,7 @@ struct sdio_dev_s *imx9_usdhc_initialize(int slotno)
|
|||
|
||||
/* Enable clocks */
|
||||
|
||||
imx9_ccm_configure_root_clock(CCM_CR_USDHC1, SYS_PLL1PFD1, 4);
|
||||
imx9_ccm_configure_root_clock(CCM_CR_USDHC1, SYS_PLL1PFD1, 2);
|
||||
imx9_get_rootclock(CCM_CR_USDHC1, &priv->root_clock_freq);
|
||||
imx9_ccm_gate_on(CCM_LPCG_USDHC1, true);
|
||||
|
||||
|
|
@ -3488,7 +3488,7 @@ struct sdio_dev_s *imx9_usdhc_initialize(int slotno)
|
|||
|
||||
/* Enable clocks */
|
||||
|
||||
imx9_ccm_configure_root_clock(CCM_CR_USDHC2, SYS_PLL1PFD1, 4);
|
||||
imx9_ccm_configure_root_clock(CCM_CR_USDHC2, SYS_PLL1PFD1, 2);
|
||||
imx9_get_rootclock(CCM_CR_USDHC2, &priv->root_clock_freq);
|
||||
imx9_ccm_gate_on(CCM_LPCG_USDHC2, true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue