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:
Erwan Gouriou 2021-10-21 15:48:42 +02:00 committed by Anas Nashif
commit a454104383
2 changed files with 4 additions and 2 deletions

View file

@ -49,6 +49,10 @@
};
};
&rcc {
clock-frequency = <DT_FREQ_M(209)>;
};
&mailbox {
status = "okay";
};

View file

@ -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