forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
kernel/arch/arm/mach-mmp/addr-map.h
....@@ -1,9 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Common address map definitions
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 */
85
96 #ifndef __ASM_MACH_ADDR_MAP_H
....@@ -23,6 +20,10 @@
2320 #define AXI_VIRT_BASE IOMEM(0xfe200000)
2421 #define AXI_PHYS_SIZE 0x00200000
2522
23
+#define PGU_PHYS_BASE 0xe0000000
24
+#define PGU_VIRT_BASE IOMEM(0xfe400000)
25
+#define PGU_PHYS_SIZE 0x00100000
26
+
2627 /* Static Memory Controller - Chip Select 0 and 1 */
2728 #define SMC_CS0_PHYS_BASE 0x80000000
2829 #define SMC_CS0_PHYS_SIZE 0x10000000
....@@ -41,4 +42,7 @@
4142 #define CIU_VIRT_BASE (AXI_VIRT_BASE + 0x82c00)
4243 #define CIU_REG(x) (CIU_VIRT_BASE + (x))
4344
45
+#define SCU_VIRT_BASE (PGU_VIRT_BASE)
46
+#define SCU_REG(x) (SCU_VIRT_BASE + (x))
47
+
4448 #endif /* __ASM_MACH_ADDR_MAP_H */