u-boot/arch/arm/include/asm/arch-stm32f7
Patrice Chotard 4e97e25723 clk: clk_stm32fx: add clock configuration for mmc usage
MMC block needs 48Mhz source clock, for that we choose
to select the SAI PLL.
Update also stm32_clock_get_rate() to retrieve the MMC
clock source needed in MMC driver.

STM32F4 uses a different RCC variant than STM32F7. For STM32F4
sdmmc clocks bit are located into dckcfgr register whereas there
are located into dckcfgr2 registers on STM32F7.
In both registers, bits CK48MSEL and SDMMC1SEL are located at
the same position.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
2017-11-29 22:30:50 -05:00
..
gpio.h stm32: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
gpt.h stm32: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
stm32.h clk: clk_stm32fx: add clock configuration for mmc usage 2017-11-29 22:30:50 -05:00
stm32_defs.h stm32: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
stm32_periph.h stm32: fix STMicroelectronics copyright 2017-11-06 09:51:01 -05:00
stm32_pwr.h clk: stm32f7: retrieve PWR base address from DT 2017-11-29 22:30:50 -05:00
syscfg.h net: stm32: add designware mac glue code for stm32 2017-01-28 14:04:47 -05:00