Skip to content

Commit 324da9a

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 ca622da commit 324da9a

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

boards/doiting/dt_bl10_devkit/dt_bl10_devkit.dts

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,30 @@
2626
clock-frequency = <DT_FREQ_M(192)>;
2727
};
2828

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)>;
29+
&flashctrl {
30+
flash0: flash@23000000 {
31+
compatible = "soc-nv-flash", "issi,is25lp128";
32+
reg = <0x23000000 (0x1000000 - 0x2000)>;
33+
write-block-size = <256>;
34+
erase-block-size = <DT_SIZE_K(4)>;
35+
/* jedec-id = [96 60 18]; */
36+
37+
partitions {
38+
compatible = "fixed-partitions";
39+
#address-cells = <1>;
40+
#size-cells = <1>;
41+
42+
main_partition: partition@0 {
43+
label = "code";
44+
reg = <0x00000000 0x100000>;
45+
read-only;
46+
};
47+
48+
storage_partition: partition@100000 {
49+
label = "storage";
50+
reg = <0x00100000 (0xF00000 - 0x2000)>;
51+
};
52+
};
4153
};
4254
};
4355

0 commit comments

Comments
 (0)