soc: bflb: fix bl60x using wrong mtime freq

use new timebase-frequency to fix the timebase of this SoC

Signed-off-by: Camille BAUD <mail@massdriver.space>
This commit is contained in:
Camille BAUD 2025-06-09 13:14:35 +02:00 committed by Anas Nashif
commit eb06f11a8f
2 changed files with 2 additions and 1 deletions

View file

@ -16,6 +16,7 @@
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
timebase-frequency = <DT_FREQ_M(1)>;
cpu0: cpu@0 { cpu0: cpu@0 {
device_type = "cpu"; device_type = "cpu";

View file

@ -5,7 +5,7 @@
if SOC_FAMILY_BFLB if SOC_FAMILY_BFLB
config SYS_CLOCK_HW_CYCLES_PER_SEC config SYS_CLOCK_HW_CYCLES_PER_SEC
default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency) default $(dt_node_int_prop_int,/cpus,timebase-frequency)
rsource "*/Kconfig.defconfig" rsource "*/Kconfig.defconfig"