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:
parent
d03b7ffdbb
commit
eb06f11a8f
@ -16,6 +16,7 @@
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
timebase-frequency = <DT_FREQ_M(1)>;
|
||||
|
||||
cpu0: cpu@0 {
|
||||
device_type = "cpu";
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
if SOC_FAMILY_BFLB
|
||||
|
||||
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"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user