Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

59 lines
1.2 KiB

/*
* Copyright (c) 2017, NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "mimxrt1050_evk.dtsi"
/ {
chosen {
zephyr,flash-controller = &is25wp064;
zephyr,flash = &is25wp064;
zephyr,code-partition = &slot0_partition;
};
};
&flexspi {
status = "okay";
ahb-prefetch;
ahb-read-addr-opt;
rx-clock-source = <1>;
reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(8)>;
is25wp064: is25wp064@0 {
compatible = "nxp,imx-flexspi-nor";
size = <DT_SIZE_M(8 * 8)>;
reg = <0>;
spi-max-frequency = <104000000>;
status = "okay";
jedec-id = [9d 70 17];
erase-block-size = <4096>;
write-block-size = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
/*
* Partition sizes must be aligned
* to the flash memory sector size of 4KB.
*/
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 DT_SIZE_K(128)>;
};
slot0_partition: partition@20000 {
label = "image-0";
reg = <0x00020000 DT_SIZE_M(3)>;
};
slot1_partition: partition@320000 {
label = "image-1";
reg = <0x00320000 DT_SIZE_M(3)>;
};
storage_partition: partition@620000 {
label = "storage";
reg = <0x00620000 (DT_SIZE_M(2) - DT_SIZE_K(128))>;
};
};
};
};