mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-16 01:17:01 +02:00
Some definitions can be shared among mt8192, mt8195, and mt8186, so move them to pmic_wrap_init_common.h. Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I992b61a47a84039fe8c246e2ff75721c57ee41a5
31 lines
626 B
C
31 lines
626 B
C
/*
|
|
* Copyright (c) 2020-2022, MediaTek Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef PMIC_WRAP_INIT_H
|
|
#define PMIC_WRAP_INIT_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "platform_def.h"
|
|
#include <pmic_wrap_init_common.h>
|
|
|
|
static struct mt8192_pmic_wrap_regs *const mtk_pwrap = (void *)PMIC_WRAP_BASE;
|
|
|
|
/* PMIC_WRAP registers */
|
|
struct mt8192_pmic_wrap_regs {
|
|
uint32_t init_done;
|
|
uint32_t reserved[799];
|
|
uint32_t wacs2_cmd;
|
|
uint32_t wacs2_wdata;
|
|
uint32_t reserved1[3];
|
|
uint32_t wacs2_rdata;
|
|
uint32_t reserved2[3];
|
|
uint32_t wacs2_vldclr;
|
|
uint32_t wacs2_sta;
|
|
};
|
|
|
|
#endif /* PMIC_WRAP_INIT_H */
|