1/* 2 * Copyright 2024 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <nxp/nxp_ke1xz.dtsi> 8 9/delete-node/ &sram_l; 10/delete-node/ &sram_u; 11 12/ { 13 chosen { 14 zephyr,flash-controller = &ftfa; 15 }; 16 17 /* Fix sram_l and sram_u, they have different addr and size on KE17Z */ 18 sram_l: memory@1fffc000 { 19 compatible = "zephyr,memory-region", "mmio-sram"; 20 reg = <0x1fffc000 DT_SIZE_K(16)>; 21 zephyr,memory-region = "SRAML"; 22 }; 23 24 sram_u: memory@20000000 { 25 compatible = "zephyr,memory-region", "mmio-sram"; 26 reg = <0x20000000 DT_SIZE_K(32)>; 27 zephyr,memory-region = "SRAMU"; 28 }; 29 30 soc{ 31 /* Remove ftfe, it doesn't exist on KE17Z */ 32 /delete-node/ ftfe; 33 34 ftfa: flash-controller@40020000 { 35 compatible = "nxp,kinetis-ftfa"; 36 reg = <0x40020000 0x1000>; 37 interrupts = <5 0>; 38 39 #address-cells = <1>; 40 #size-cells = <1>; 41 42 flash0: flash@0 { 43 compatible = "soc-nv-flash"; 44 reg = <0 DT_SIZE_K(256)>; 45 erase-block-size = <DT_SIZE_K(2)>; 46 write-block-size = <8>; 47 }; 48 }; 49 50 /* Remove rtc, it doesn't exist on KE17Z */ 51 /delete-node/ rtc@4003d000; 52 }; 53}; 54