Skip to content

Commit 7521971

Browse files
VynDragonkartben
authored andcommitted
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 <mail@massdriver.space>
1 parent 88387b4 commit 7521971

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

dts/riscv/bflb/bl60x.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@
8383
};
8484
};
8585

86+
efuse: efuse@40007000 {
87+
compatible = "bflb,efuse";
88+
reg = <0x40007000 0x1000>;
89+
status = "okay";
90+
size = <128>;
91+
};
92+
8693
uart0: uart@4000a000 {
8794
compatible = "bflb,uart";
8895
reg = <0x4000a000 0x100>;

soc/bflb/bl60x/Kconfig

Lines changed: 4 additions & 3 deletions
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)