File tree Expand file tree Collapse file tree 3 files changed +61
-20
lines changed
boards/nxp/mimxrt1060_evk
tests/subsys/fs/littlefs/boards Expand file tree Collapse file tree 3 files changed +61
-20
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
/ {
8
+ chosen {
9
+ zephyr,flash-controller = &w25q128jw;
10
+ zephyr,flash = &w25q128jw;
11
+ };
12
+
8
13
aliases {
9
14
i2s-codec-tx = &sai1;
10
15
i2s-tx = &sai1;
40
45
};
41
46
42
47
};
48
+
49
+ /* MIMXRT1060-EVK/EVKB have the is25wp064 flash module, but EVKC has w25q128jw */
50
+
51
+ /delete-node/ &is25wp064;
52
+
53
+ &flexspi {
54
+ reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(16)>;
55
+
56
+ w25q128jw: w25q128jw@0 {
57
+ compatible = "nxp,imx-flexspi-nor";
58
+ size = <DT_SIZE_M(16*8)>;
59
+ reg = <0>;
60
+ spi-max-frequency = <133000000>;
61
+ status = "okay";
62
+ jedec-id = [ef 60 18];
63
+ erase-block-size = <4096>;
64
+ write-block-size = <1>;
65
+
66
+ partitions {
67
+ compatible = "fixed-partitions";
68
+ #address-cells = <1>;
69
+ #size-cells = <1>;
70
+
71
+ /*
72
+ * Partition sizes must be aligned
73
+ * to the flash memory sector size of 4KB.
74
+ */
75
+ boot_partition: partition@0 {
76
+ label = "mcuboot";
77
+ reg = <0x00000000 DT_SIZE_K(128)>;
78
+ };
79
+ slot0_partition: partition@20000 {
80
+ label = "image-0";
81
+ reg = <0x00020000 DT_SIZE_M(7)>;
82
+ };
83
+ slot1_partition: partition@720000 {
84
+ label = "image-1";
85
+ reg = <0x00720000 DT_SIZE_M(7)>;
86
+ };
87
+ storage_partition: partition@E20000 {
88
+ label = "storage";
89
+ reg = <0x00E20000 (DT_SIZE_M(2) - DT_SIZE_K(128))>;
90
+ };
91
+ };
92
+ };
93
+ };
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2021 NXP
2
+ * Copyright 2021,2025 NXP
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
6
6
7
- &is25wp064 {
8
- partitions {
9
- compatible = "fixed-partitions";
10
- #address-cells = <1>;
11
- #size-cells = <1>;
7
+ /delete-node/ &storage_partition;
12
8
13
- boot_partition: partition@0 {
14
- label = "mcuboot";
15
- reg = <0x00000000 DT_SIZE_K(128)>;
16
- };
17
- slot0_partition: partition@20000 {
18
- label = "image-0";
19
- reg = <0x00020000 (DT_SIZE_M(3) + DT_SIZE_K(8))>;
20
- };
21
- large_partition: partition@322000 {
9
+ &w25q128jw {
10
+ partitions {
11
+ large_partition: partition@C00000 {
22
12
label = "large";
23
- reg = <0x00322000 DT_SIZE_M(3)>;
13
+ reg = <0x00C00000 DT_SIZE_M(3)>;
24
14
};
25
- medium_partition: partition@622000 {
15
+ medium_partition: partition@F00000 {
26
16
label = "medium";
27
- reg = <0x00622000 DT_SIZE_K(960)>;
17
+ reg = <0x00F00000 DT_SIZE_K(960)>;
28
18
};
29
- small_partition: partition@712000 {
19
+ small_partition: partition@FF0000 {
30
20
label = "small";
31
- reg = <0x00712000 DT_SIZE_K(64)>;
21
+ reg = <0x00FF0000 DT_SIZE_K(64)>;
32
22
};
33
23
};
34
24
};
You can’t perform that action at this time.
0 commit comments