blob: 9e6e74cb658e74a177815d6180e7aa0c7d8d1bac [file] [log] [blame]
developerddb7f402021-04-08 16:37:15 +08001/*
developer0e2a2842022-09-01 15:16:23 +08002 * Copyright (c) 2020-2022, MediaTek Inc. All rights reserved.
developerddb7f402021-04-08 16:37:15 +08003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef PMIC_WRAP_INIT_H
8#define PMIC_WRAP_INIT_H
9
10#include <stdint.h>
11
12#include "platform_def.h"
developer0e2a2842022-09-01 15:16:23 +080013#include <pmic_wrap_init_common.h>
developerddb7f402021-04-08 16:37:15 +080014
15static struct mt8195_pmic_wrap_regs *const mtk_pwrap = (void *)PMIC_WRAP_BASE;
16
17/* PMIC_WRAP registers */
18struct mt8195_pmic_wrap_regs {
19 uint32_t init_done;
20 uint32_t reserved[543];
21 uint32_t wacs2_cmd;
22 uint32_t wacs2_wdata;
23 uint32_t reserved1[3];
24 uint32_t wacs2_rdata;
25 uint32_t reserved2[3];
26 uint32_t wacs2_vldclr;
27 uint32_t wacs2_sta;
28};
29
developerddb7f402021-04-08 16:37:15 +080030#endif /* PMIC_WRAP_INIT_H */