1/* 2 * Copyright 2023 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include "mimxrt1170_evk_cm7.dts" 8 9/ { 10 chosen { 11 zephyr,flash = &w25q512nw; 12 /delete-property/ zephyr,flash-controller; 13 /delete-property/ zephyr,code-partition; 14 }; 15 16 aliases { 17 /delete-property/ magn0; 18 /delete-property/ accel0; 19 }; 20}; 21 22&flexspi { 23 /* RT1170 EVKB uses a different QSPI flash chip */ 24 /delete-node/ is25wp128@0; 25 status = "okay"; 26 reg = <0x400cc000 0x4000>, <0x30000000 DT_SIZE_M(64)>; 27 w25q512nw:w25q512nw@0 { 28 /* IS25WP128 flash chip not currently enabled */ 29 compatible = "nxp,imx-flexspi-nor"; 30 size = <DT_SIZE_M(512)>; 31 reg = <0>; 32 spi-max-frequency = <133000000>; 33 status = "okay"; 34 jedec-id = [ef 60 20]; 35 erase-block-size = <4096>; 36 write-block-size = <1>; 37 38 /* 39 * Partitions are present to support dual core operation. 40 * as flash write is not supported, MCUBoot is not enabled. 41 */ 42 partitions { 43 compatible = "fixed-partitions"; 44 #address-cells = <1>; 45 #size-cells = <1>; 46 47 boot_partition: partition@0 { 48 label = "mcuboot"; 49 reg = <0x00000000 DT_SIZE_K(128)>; 50 }; 51 /* Note slot 0 has one additional sector, 52 * this is intended for use with the swap move algorithm 53 */ 54 slot0_partition: partition@20000 { 55 label = "image-0"; 56 reg = <0x00020000 0x301000>; 57 }; 58 slot1_partition: partition@321000 { 59 label = "image-1"; 60 reg = <0x00321000 0x300000>; 61 }; 62 scratch_partition: partition@621000 { 63 label = "image-scratch"; 64 reg = <0x00621000 DT_SIZE_K(128)>; 65 }; 66 storage_partition: partition@641000 { 67 label = "storage"; 68 reg = <0x00641000 DT_SIZE_K(1856)>; 69 }; 70 }; 71 }; 72}; 73 74&lpi2c5 { 75 /* FXOS accelerometer is not present in this board */ 76 /delete-node/ fxos8700@1f; 77}; 78 79/* Disable ethernet, as PHY is not supported */ 80&enet { 81 status = "disabled"; 82}; 83