boards: stm32mp157c_dk2: Move clock freq cinfig to device tree
Use new clock-frequency device tree property to configure sys clock frequency. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
6757fae188
commit
f696d5a8c1
2 changed files with 4 additions and 2 deletions
|
@ -49,6 +49,10 @@
|
|||
|
||||
};
|
||||
|
||||
&rcc {
|
||||
clock-frequency = <DT_FREQ_M(209)>;
|
||||
};
|
||||
|
||||
&spi4_miso_pe13{ slew-rate = "very-high-speed"; };
|
||||
|
||||
&spi4{
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
CONFIG_SOC_SERIES_STM32MP1X=y
|
||||
CONFIG_SOC_STM32MP15_M4=y
|
||||
# 209 MHz system clock (mlhclk_ck)
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=209000000
|
||||
|
||||
# enable GPIO
|
||||
CONFIG_GPIO=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue