summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>2020-07-15 22:48:58 +0530
committerTom Rini <trini@konsulko.com>2020-07-29 10:13:41 -0400
commit69d8acc30ba05dd5d5bc7a874f99ed254eb17d33 (patch)
tree6d9a512cef2e74fd4c2e118aadaaca6f5cf03248
parent35871ef285ae23ec09c01744599c9c7d9cdacb58 (diff)
downloadu-boot-69d8acc30ba05dd5d5bc7a874f99ed254eb17d33.tar.gz
u-boot-69d8acc30ba05dd5d5bc7a874f99ed254eb17d33.tar.bz2
u-boot-69d8acc30ba05dd5d5bc7a874f99ed254eb17d33.zip
dt-bindings: memory: ns3: add memory definitions
Add NS3 memory definitions. Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/dt-bindings/memory/bcm-ns3-mc.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/include/dt-bindings/memory/bcm-ns3-mc.h b/include/dt-bindings/memory/bcm-ns3-mc.h
new file mode 100644
index 0000000000..fe669e2f87
--- /dev/null
+++ b/include/dt-bindings/memory/bcm-ns3-mc.h
@@ -0,0 +1,34 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2020 Broadcom
+ */
+
+#ifndef DT_BINDINGS_BCM_NS3_MC_H
+#define DT_BINDINGS_BCM_NS3_MC_H
+
+/*
+ * Reserved Memory Map : SHMEM & TZDRAM.
+ * +--------+----------+ 0x8d000000
+ * | SHMEM (NS) | 16 MB
+ * +-------------------+ 0x8e000000
+ * | | TEE_RAM(S)| 4MB
+ * + TZDRAM +----------+ 0x8e400000
+ * | | TA_RAM(S) | 12MB
+ * +--------+----------+ 0x8f000000
+ * | BL31 + TMON + LPM |
+ * | memory | 1MB
+ * +-------------------+ 0x8f100000
+ */
+
+#define BCM_NS3_MEM_SHARE_START 0x8d000000
+#define BCM_NS3_MEM_SHARE_LEN 0x020fffff
+
+/* ATF/U-boot/Linux error logs */
+#define BCM_NS3_MEM_ELOG_START 0x8f113000
+#define BCM_NS3_MEM_ELOG_LEN 0x00100000
+
+/* CRMU Page table memroy */
+#define BCM_NS3_MEM_CRMU_PT_START 0x880000000
+#define BCM_NS3_MEM_CRMU_PT_LEN 0x200000
+
+#endif