1/* 2 * Copyright (c) 2017, NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include "mimxrt1050_evk.dts" 8 9/delete-node/ &s26ks512s0; 10 11/ { 12 chosen { 13 zephyr,flash-controller = &is25wp064; 14 zephyr,flash = &is25wp064; 15 zephyr,code-partition = &slot0_partition; 16 }; 17}; 18 19&flexspi { 20 status = "okay"; 21 ahb-prefetch; 22 ahb-read-addr-opt; 23 rx-clock-source = <1>; 24 reg = <0x402a8000 0x4000>, <0x60000000 DT_SIZE_M(8)>; 25 is25wp064: is25wp064@0 { 26 compatible = "nxp,imx-flexspi-nor"; 27 size = <67108864>; 28 reg = <0>; 29 spi-max-frequency = <133000000>; 30 status = "okay"; 31 jedec-id = [9d 70 17]; 32 erase-block-size = <4096>; 33 write-block-size = <1>; 34 35 partitions { 36 compatible = "fixed-partitions"; 37 #address-cells = <1>; 38 #size-cells = <1>; 39 40 boot_partition: partition@0 { 41 label = "mcuboot"; 42 reg = <0x00000000 DT_SIZE_K(64)>; 43 }; 44 slot0_partition: partition@10000 { 45 label = "image-0"; 46 reg = <0x00010000 DT_SIZE_M(3)>; 47 }; 48 slot1_partition: partition@310000 { 49 label = "image-1"; 50 reg = <0x00310000 DT_SIZE_M(3)>; 51 }; 52 scratch_partition: partition@610000 { 53 label = "image-scratch"; 54 reg = <0x00610000 DT_SIZE_K(128)>; 55 }; 56 storage_partition: partition@630000 { 57 label = "storage"; 58 reg = <0x00630000 DT_SIZE_K(1856)>; 59 }; 60 }; 61 }; 62}; 63