1/*
2 * Copyright (c) 2022 Synopsys
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#if DT_NODE_HAS_PROP(DT_INST(0, arc_xccm), reg) && \
8    (DT_REG_SIZE(DT_INST(0, arc_xccm)) > 0)
9#define XCCM_START		DT_REG_ADDR(DT_INST(0, arc_xccm))
10#define XCCM_SIZE		DT_REG_SIZE(DT_INST(0, arc_xccm))
11#endif
12
13#if DT_NODE_HAS_PROP(DT_INST(0, arc_yccm), reg) && \
14    (DT_REG_SIZE(DT_INST(0, arc_yccm)) > 0)
15#define YCCM_START		DT_REG_ADDR(DT_INST(0, arc_yccm))
16#define YCCM_SIZE		DT_REG_SIZE(DT_INST(0, arc_yccm))
17#endif
18