File tree Expand file tree Collapse file tree 1 file changed +24
-12
lines changed
boards/doiting/dt_bl10_devkit Expand file tree Collapse file tree 1 file changed +24
-12
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments