|
19 | 19 | zephyr,console = &uart4; |
20 | 20 | zephyr,shell-uart = &uart4; |
21 | 21 | zephyr,flash = &flash0; |
| 22 | + zephyr,flash-controller = &mx66uw1g45g; |
22 | 23 | zephyr,sram = &sram0; |
| 24 | + zephyr,code-partition = &slot0_partition; |
23 | 25 | }; |
24 | 26 |
|
25 | 27 | leds { |
|
199 | 201 | mx66uw1g45g: xspi-nor-flash@70000000 { |
200 | 202 | compatible = "st,stm32-xspi-nor"; |
201 | 203 | reg = <0x70000000 DT_SIZE_M(128)>; /* 1 Gbits */ |
202 | | - ospi-max-frequency = <DT_FREQ_M(50)>; |
| 204 | + ospi-max-frequency = <DT_FREQ_M(100)>; |
203 | 205 | spi-bus-width = <XSPI_OCTO_MODE>; |
204 | 206 | data-rate = <XSPI_DTR_TRANSFER>; |
205 | 207 | four-byte-opcodes; |
|
212 | 214 |
|
213 | 215 | slot0_partition: partition@0 { |
214 | 216 | label = "image-0"; |
215 | | - reg = <0x00000000 DT_SIZE_M(16)>; |
| 217 | + reg = <0x00000000 DT_SIZE_M(1)>; |
216 | 218 | }; |
217 | 219 |
|
218 | | - slot1_partition: partition@1000000 { |
| 220 | + slot1_partition: partition@100000 { |
219 | 221 | label = "image-1"; |
220 | | - reg = <0x01000000 DT_SIZE_M(16)>; |
| 222 | + reg = <0x00100000 DT_SIZE_M(1)>; |
221 | 223 | }; |
222 | 224 |
|
223 | | - scratch_partition: partition@2000000 { |
| 225 | + scratch_partition: partition@200000 { |
224 | 226 | label = "image-scratch"; |
225 | | - reg = <0x02000000 DT_SIZE_M(16)>; |
| 227 | + reg = <0x00200000 DT_SIZE_M(1)>; |
226 | 228 | }; |
227 | 229 |
|
228 | | - storage_partition: partition@3000000 { |
| 230 | + storage_partition: partition@300000 { |
229 | 231 | label = "storage"; |
230 | | - reg = <0x03000000 DT_SIZE_M(80)>; |
| 232 | + reg = <0x00300000 DT_SIZE_M(125)>; |
231 | 233 | }; |
232 | 234 | }; |
233 | 235 | }; |
|
0 commit comments