Skip to content

Commit 4a5f872

Browse files
committed
boards: dt_bl10_dvk: update to new bl60x support
update to new bl60x support Signed-off-by: Camille BAUD <mail@massdriver.space>
1 parent 7e0cad1 commit 4a5f872

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed

boards/doiting/dt_bl10_devkit/dt_bl10_devkit.dts

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
chosen {
1616
zephyr,flash = &flash0;
17+
zephyr,code-partition = &slot0_partition;
1718
zephyr,itcm = &itcm;
1819
zephyr,dtcm = &dtcm;
1920
zephyr,sram = &sram0;
@@ -26,18 +27,30 @@
2627
clock-frequency = <DT_FREQ_M(192)>;
2728
};
2829

29-
&spi1 {
30-
#address-cells = <1>;
31-
#size-cells = <0>;
32-
reg = <0x4000b000 0x1000 0x23000000 0xc00000>;
33-
34-
flash0: flash@0 {
35-
compatible = "issi,is25lp128", "jedec,spi-nor";
36-
status = "disabled";
37-
size = <DT_SIZE_M(128)>;
38-
jedec-id = [96 60 18];
39-
reg = <0>;
40-
spi-max-frequency = <DT_FREQ_M(133)>;
30+
&flashctrl {
31+
flash0: flash@23000000 {
32+
compatible = "soc-nv-flash", "issi,is25lp128";
33+
reg = <0x23000000 (0x1000000 - 0x2000)>;
34+
write-block-size = <256>;
35+
erase-block-size = <DT_SIZE_K(4)>;
36+
/* jedec-id = [96 60 18]; */
37+
38+
partitions {
39+
compatible = "fixed-partitions";
40+
#address-cells = <1>;
41+
#size-cells = <1>;
42+
43+
slot0_partition: partition@0 {
44+
label = "image-0";
45+
reg = <0x00000000 0x100000>;
46+
read-only;
47+
};
48+
49+
storage_partition: partition@100000 {
50+
label = "storage";
51+
reg = <0x00100000 (0xF00000 - 0x2000)>;
52+
};
53+
};
4154
};
4255
};
4356

0 commit comments

Comments
 (0)