pmic_wrap_init.h 621 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2022, MediaTek Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef PMIC_WRAP_INIT_H
  7. #define PMIC_WRAP_INIT_H
  8. #include <stdint.h>
  9. #include "platform_def.h"
  10. #include <pmic_wrap_init_common.h>
  11. static struct mt8188_pmic_wrap_regs *const mtk_pwrap = (void *)PMIC_WRAP_BASE;
  12. /* PMIC_WRAP registers */
  13. struct mt8188_pmic_wrap_regs {
  14. uint32_t init_done;
  15. uint32_t reserved[543];
  16. uint32_t wacs2_cmd;
  17. uint32_t wacs2_wdata;
  18. uint32_t reserved1[3];
  19. uint32_t wacs2_rdata;
  20. uint32_t reserved2[3];
  21. uint32_t wacs2_vldclr;
  22. uint32_t wacs2_sta;
  23. };
  24. #endif /* PMIC_WRAP_INIT_H */