|
207 | 207 | };
|
208 | 208 | };
|
209 | 209 |
|
| 210 | +&flash0 { |
| 211 | + partitions { |
| 212 | + compatible = "fixed-partitions"; |
| 213 | + #address-cells = <1>; |
| 214 | + #size-cells = <1>; |
| 215 | + |
| 216 | + /* Set the partitions with first MB to make use of the whole Bank1 */ |
| 217 | + boot_partition: partition@0 { |
| 218 | + label = "mcuboot"; |
| 219 | + reg = <0x00000000 DT_SIZE_K(64)>; |
| 220 | + }; |
| 221 | + }; |
| 222 | +}; |
| 223 | + |
| 224 | +&xspi2 { |
| 225 | + pinctrl-0 = <&xspim_p2_clk_pn6 &xspim_p2_ncs1_pn1 |
| 226 | + &xspim_p2_io0_pn2 &xspim_p2_io1_pn3 |
| 227 | + &xspim_p2_io2_pn4 &xspim_p2_io3_pn5 |
| 228 | + &xspim_p2_io4_pn8 &xspim_p2_io5_pn9 |
| 229 | + &xspim_p2_io6_pn10 &xspim_p2_io7_pn11 |
| 230 | + &xspim_p2_dqs0_pn0>; |
| 231 | + pinctrl-names = "default"; |
| 232 | + |
| 233 | + status = "okay"; |
| 234 | + |
| 235 | + mx66uw1g45: xspi-nor-flash@0 { |
| 236 | + compatible = "st,stm32-xspi-nor"; |
| 237 | + reg = <0>; |
| 238 | + size = <DT_SIZE_M(1024)>; /* 1 Gbits */ |
| 239 | + ospi-max-frequency = <DT_FREQ_M(50)>; |
| 240 | + spi-bus-width = <XSPI_OCTO_MODE>; |
| 241 | + data-rate = <XSPI_DTR_TRANSFER>; |
| 242 | + status = "okay"; |
| 243 | + |
| 244 | + partitions { |
| 245 | + compatible = "fixed-partitions"; |
| 246 | + #address-cells = <1>; |
| 247 | + #size-cells = <1>; |
| 248 | + |
| 249 | + slot0_partition: partition@0 { |
| 250 | + label = "image-0"; |
| 251 | + reg = <0x00000000 DT_SIZE_K(512)>; |
| 252 | + }; |
| 253 | + slot1_partition: partition@80000 { |
| 254 | + label = "image-1"; |
| 255 | + reg = <0x0080000 DT_SIZE_K(512)>; |
| 256 | + }; |
| 257 | + scratch_partition: partition@100000 { |
| 258 | + label = "image-scratch"; |
| 259 | + reg = <0x00100000 DT_SIZE_K(64)>; |
| 260 | + }; |
| 261 | + storage_partition: partition@110000 { |
| 262 | + label = "storage"; |
| 263 | + reg = <0x00110000 DT_SIZE_K(64)>; |
| 264 | + }; |
| 265 | + }; |
| 266 | + }; |
| 267 | +}; |
| 268 | + |
210 | 269 | &die_temp {
|
211 | 270 | status = "okay";
|
212 | 271 | };
|
|
0 commit comments