File tree Expand file tree Collapse file tree 1 file changed +25
-12
lines changed
boards/doiting/dt_bl10_devkit Expand file tree Collapse file tree 1 file changed +25
-12
lines changed Original file line number Diff line number Diff line change 14
14
15
15
chosen {
16
16
zephyr,flash = &flash0;
17
+ zephyr,code-partition = &slot0_partition;
17
18
zephyr,itcm = &itcm;
18
19
zephyr,dtcm = &dtcm;
19
20
zephyr,sram = &sram0;
26
27
clock-frequency = <DT_FREQ_M(192)>;
27
28
};
28
29
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
+ };
41
54
};
42
55
};
43
56
You can’t perform that action at this time.
0 commit comments