mirror of
https://github.com/physwizz/a155-U-u1.git
synced 2025-09-26 19:04:54 +00:00
36 lines
857 B
C
36 lines
857 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2020 MediaTek Inc.
|
|
*/
|
|
|
|
#ifndef APU_HW_H_
|
|
#define APU_HW_H_
|
|
|
|
/* reviser register definition */
|
|
#define UP_NORMAL_DOMAIN_NS (0x0)
|
|
#define UP_PRI_DOMAIN_NS (0x4)
|
|
#define UP_IOMMU_CTRL (0X8)
|
|
#define UP_CORE0_VABASE0 (0xc)
|
|
#define UP_CORE0_MVABASE0 (0x10)
|
|
#define UP_CORE0_VABASE1 (0x14)
|
|
#define UP_CORE0_MVABASE1 (0x18)
|
|
#define USERFW_CTXT (0x1000)
|
|
#define SECUREFW_CTXT (0x1004)
|
|
|
|
/* md32_sysctrl register definition */
|
|
#define MD32_SYS_CTRL (0x0)
|
|
#define DBG_BUS_SEL (0x98)
|
|
#define APU_UP_SYS_DBG_EN (1UL << 16)
|
|
#define MD32_CLK_EN (0xb8)
|
|
#define UP_WAKE_HOST_MASK0 (0xbc)
|
|
|
|
/* apu_rcx_ao_ctrl register definition */
|
|
#define MD32_PRE_DEFINE (0x0)
|
|
#define MD32_BOOT_CTRL (0x4)
|
|
#define MD32_RUNSTALL (0x8)
|
|
|
|
/* apu_mbox register definition */
|
|
#define MBOX_HOST_CONFIG_ADDR (0x48)
|
|
|
|
#endif /* APU_HW_H_ */
|