boards: 96b_avenger96: Move clock freq config 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
5470a1df4d
commit
a454104383
2 changed files with 4 additions and 2 deletions
|
@ -49,6 +49,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
&rcc {
|
||||
clock-frequency = <DT_FREQ_M(209)>;
|
||||
};
|
||||
|
||||
&mailbox {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -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 MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue