1/* 2 * Copyright (c) 2022, Synopsys, Inc. All rights reserved. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include "skeleton.dtsi" 8#include <mem.h> 9 10#define DT_FLASH_SIZE DT_SIZE_M(4) 11#define DT_SRAM_SIZE DT_SIZE_M(4) 12 13/ { 14 /* We are carving out of DRAM for a pseudo flash and sram region */ 15 flash0: flash@80000000 { 16 compatible = "soc-nv-flash"; 17 reg = <0x80000000 DT_FLASH_SIZE>; 18 }; 19 20 sram0: sram@80400000 { 21 device_type = "memory"; 22 reg = <0x80400000 DT_SRAM_SIZE>; 23 }; 24 25 chosen { 26 zephyr,sram = &sram0; 27 zephyr,flash = &flash0; 28 }; 29}; 30