Chia-Wei Wang | a7556d8 | 2022-11-02 17:50:21 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2023, Aspeed Technology Inc. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef PLATFORM_REG_H |
| 8 | #define PLATFORM_REG_H |
| 9 | |
| 10 | /* GIC */ |
| 11 | #define GICD_BASE U(0x12200000) |
| 12 | #define GICD_SIZE U(0x10000) |
| 13 | #define GICR_BASE U(0x12280000) |
| 14 | #define GICR_SIZE U(0x100000) |
| 15 | |
| 16 | /* UART */ |
| 17 | #define UART_BASE U(0x14c33000) |
| 18 | #define UART12_BASE (UART_BASE + 0xb00) |
| 19 | |
| 20 | /* CPU-die SCU */ |
Chia-Wei Wang | a741460 | 2023-09-27 13:51:04 +0800 | [diff] [blame] | 21 | #define SCU_CPU_BASE U(0x12c02000) |
| 22 | #define SCU_CPU_SMP_EP0 (SCU_CPU_BASE + 0x780) |
| 23 | #define SCU_CPU_SMP_EP1 (SCU_CPU_BASE + 0x788) |
| 24 | #define SCU_CPU_SMP_EP2 (SCU_CPU_BASE + 0x790) |
| 25 | #define SCU_CPU_SMP_EP3 (SCU_CPU_BASE + 0x798) |
Chia-Wei Wang | a7556d8 | 2022-11-02 17:50:21 +0800 | [diff] [blame] | 26 | |
| 27 | #endif /* PLATFORM_REG_H */ |