Skip to content

Commit bd2febe

Browse files
committed
dts: bflb: Enable efuse driver on bl60x
This enables the driver by default, it will be needed at init in the future Signed-off-by: Camille BAUD <[email protected]>
1 parent c8db2ae commit bd2febe

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

dts/riscv/bflb/bl60x.dtsi

+7
Original file line numberDiff line numberDiff line change
@@ -151,5 +151,12 @@
151151
compatible = "mmio-sram";
152152
reg = <0x42030000 DT_SIZE_K(112)>;
153153
};
154+
155+
efuse: efuse@40007000 {
156+
compatible = "bflb,efuse";
157+
reg = <0x40007000 0x1000>;
158+
status = "okay";
159+
size = <128>;
160+
};
154161
};
155162
};

soc/bflb/bl60x/Kconfig

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# SPDX-License-Identifier: Apache-2.0
44

55
config SOC_SERIES_BL60X
6+
select ATOMIC_OPERATIONS_C
7+
select CPU_HAS_FPU
8+
select INCLUDE_RESET_VECTOR
69
select RISCV
710
select RISCV_MACHINE_TIMER
811
select RISCV_ISA_RV32I
@@ -11,8 +14,6 @@ config SOC_SERIES_BL60X
1114
select RISCV_ISA_EXT_C
1215
select RISCV_ISA_EXT_ZICSR
1316
select RISCV_ISA_EXT_ZIFENCEI
14-
select ATOMIC_OPERATIONS_C
15-
select CPU_HAS_FPU
16-
select INCLUDE_RESET_VECTOR
1717
select SOC_EARLY_INIT_HOOK
18+
select SYSCON
1819
select XIP

0 commit comments

Comments
 (0)