blob: fe669e2f874a2bba7eeee0600d459f8b081dc38d [file] [log] [blame]
Rayagonda Kokatanur69d8acc2020-07-15 22:48:58 +05301/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2020 Broadcom
4 */
5
6#ifndef DT_BINDINGS_BCM_NS3_MC_H
7#define DT_BINDINGS_BCM_NS3_MC_H
8
9/*
10 * Reserved Memory Map : SHMEM & TZDRAM.
11 * +--------+----------+ 0x8d000000
12 * | SHMEM (NS) | 16 MB
13 * +-------------------+ 0x8e000000
14 * | | TEE_RAM(S)| 4MB
15 * + TZDRAM +----------+ 0x8e400000
16 * | | TA_RAM(S) | 12MB
17 * +--------+----------+ 0x8f000000
18 * | BL31 + TMON + LPM |
19 * | memory | 1MB
20 * +-------------------+ 0x8f100000
21 */
22
23#define BCM_NS3_MEM_SHARE_START 0x8d000000
24#define BCM_NS3_MEM_SHARE_LEN 0x020fffff
25
26/* ATF/U-boot/Linux error logs */
27#define BCM_NS3_MEM_ELOG_START 0x8f113000
28#define BCM_NS3_MEM_ELOG_LEN 0x00100000
29
30/* CRMU Page table memroy */
31#define BCM_NS3_MEM_CRMU_PT_START 0x880000000
32#define BCM_NS3_MEM_CRMU_PT_LEN 0x200000
33
34#endif