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#ifndef ICCM_ADDR 11#define ICCM_ADDR 0 12#endif 13 14#ifndef ICCM_SIZE 15#define ICCM_SIZE DT_SIZE_M(1) 16#endif 17 18#ifndef DCCM_ADDR 19#define DCCM_ADDR 80000000 20#endif 21 22#ifndef DCCM_SIZE 23#define DCCM_SIZE DT_SIZE_M(1) 24#endif 25 26/ { 27 iccm0: iccm@ICCM_ADDR { 28 compatible = "arc,iccm"; 29 reg = <DT_ADDR(ICCM_ADDR) ICCM_SIZE>; 30 }; 31 32 dccm0: dccm@DCCM_ADDR { 33 compatible = "arc,dccm"; 34 reg = <DT_ADDR(DCCM_ADDR) DCCM_SIZE>; 35 }; 36 37 chosen { 38 zephyr,sram = &dccm0; 39 }; 40}; 41