|
20 | 20 | zephyr,shell-uart = &usart1;
|
21 | 21 | zephyr,sram = &sram1;
|
22 | 22 | zephyr,flash = &flash0;
|
23 |
| - zephyr,code-partition = &slot0_partition; |
24 | 23 | zephyr,canbus = &fdcan1;
|
| 24 | + spi-flash0 = &mx25lm51245; |
25 | 25 | };
|
26 | 26 |
|
27 | 27 | leds {
|
|
192 | 192 | label = "mcuboot";
|
193 | 193 | reg = <0x00000000 DT_SIZE_K(64)>;
|
194 | 194 | };
|
195 |
| - slot0_partition: partition@10000 { |
196 |
| - label = "image-0"; |
197 |
| - reg = <0x00010000 DT_SIZE_K(416)>; |
198 |
| - }; |
199 |
| - slot1_partition: partition@78000 { |
200 |
| - label = "image-1"; |
201 |
| - reg = <0x00078000 DT_SIZE_K(416)>; |
202 |
| - }; |
203 |
| - scratch_partition: partition@e0000 { |
204 |
| - label = "image-scratch"; |
205 |
| - reg = <0x000e0000 DT_SIZE_K(64)>; |
206 |
| - }; |
207 |
| - /* Set 64KB of storage at the end of Bank1 */ |
208 |
| - storage_partition: partition@f0000 { |
209 |
| - label = "storage"; |
210 |
| - reg = <0x000f0000 DT_SIZE_K(64)>; |
211 |
| - }; |
212 | 195 | };
|
213 | 196 | };
|
214 | 197 |
|
|
284 | 267 | status = "okay";
|
285 | 268 |
|
286 | 269 | partitions {
|
287 |
| - compatible = "fixed-partitions"; |
288 |
| - #address-cells = <1>; |
289 |
| - #size-cells = <1>; |
290 |
| - |
291 |
| - partition@0 { |
292 |
| - label = "nor"; |
293 |
| - reg = <0x00000000 DT_SIZE_M(64)>; |
294 |
| - }; |
| 270 | + compatible = "fixed-partitions"; |
| 271 | + #address-cells = <1>; |
| 272 | + #size-cells = <1>; |
| 273 | + |
| 274 | + slot0_partition: partition@0 { |
| 275 | + label = "image-0"; |
| 276 | + reg = <0x00000000 DT_SIZE_M(16)>; |
| 277 | + }; |
| 278 | + slot1_partition: partition@1000000 { |
| 279 | + label = "image-1"; |
| 280 | + reg = <0x01000000 DT_SIZE_M(16)>; |
| 281 | + }; |
| 282 | + scratch_partition: partition@2000000 { |
| 283 | + label = "image-scratch"; |
| 284 | + reg = <0x02000000 DT_SIZE_M(16)>; |
| 285 | + }; |
| 286 | + storage_partition: partition@3000000 { |
| 287 | + label = "storage"; |
| 288 | + reg = <0x03000000 DT_SIZE_M(16)>; |
| 289 | + }; |
295 | 290 | };
|
296 | 291 | };
|
297 | 292 | };
|
|
0 commit comments