Commit eb06f11a authored by Camille BAUD's avatar Camille BAUD Committed by Anas Nashif
Browse files

soc: bflb: fix bl60x using wrong mtime freq



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

Signed-off-by: default avatarCamille BAUD <mail@massdriver.space>
parent d03b7ffd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
	cpus {
		#address-cells = <1>;
		#size-cells = <0>;
		timebase-frequency = <DT_FREQ_M(1)>;

		cpu0: cpu@0 {
			device_type = "cpu";
+1 −1
Original line number Diff line number Diff line
@@ -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"