summaryrefslogtreecommitdiffstats
path: root/plat/aspeed/ast2700/include/platform_reg.h
blob: 7f268654cfca45a4905d74141cbd0bdf42cc4c6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (c) 2023, Aspeed Technology Inc.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef PLATFORM_REG_H
#define PLATFORM_REG_H

/* GIC */
#define GICD_BASE	U(0x12200000)
#define GICD_SIZE	U(0x10000)
#define GICR_BASE	U(0x12280000)
#define GICR_SIZE	U(0x100000)

/* UART */
#define UART_BASE	U(0x14c33000)
#define UART12_BASE	(UART_BASE + 0xb00)

/* CPU-die SCU */
#define SCU_CPU_BASE	U(0x12c02000)
#define SCU_CPU_SMP_EP0	(SCU_CPU_BASE + 0x780)
#define SCU_CPU_SMP_EP1	(SCU_CPU_BASE + 0x788)
#define SCU_CPU_SMP_EP2	(SCU_CPU_BASE + 0x790)
#define SCU_CPU_SMP_EP3	(SCU_CPU_BASE + 0x798)

#endif /* PLATFORM_REG_H */