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 DDR_ADDR 11#define DDR_ADDR 80000000 12#endif 13 14#ifndef DDR_SIZE 15#define DDR_SIZE DT_SIZE_M(1) 16#endif 17 18/ { 19 ddr0: memory@DDR_ADDR { 20 device_type = "memory"; 21 reg = <DT_ADDR(DDR_ADDR) DDR_SIZE>; 22 }; 23 24 chosen { 25 zephyr,sram = &ddr0; 26 }; 27}; 28