blob: d6653c3bb06256a5487e31721015946544306942 [file] [log] [blame]
Jernej Skrabece3313012021-01-11 21:11:37 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Sunxi H6 Power Management Unit register definition.
4 *
5 * (C) Copyright 2020 Jernej Skrabec <jernej.skrabec@siol.net>
6 */
7
8#ifndef _SUN50I_PRCM_H
9#define _SUN50I_PRCM_H
10
11#ifndef __ASSEMBLY__
Jernej Skrabece3313012021-01-11 21:11:37 +010012
Andre Przywaraf9987ca2025-01-24 22:49:40 +000013#define CCU_PRCM_I2C_GATE_RESET 0x19c
14#define CCU_PRCM_PLL_LDO_CFG 0x244
15#define CCU_PRCM_SYS_PWROFF_GATING 0x250
16#define CCU_PRCM_RES_CAL_CTRL 0x310
Andre Przywara1d4cfe42025-01-25 23:49:27 +000017#define CCU_PRCM_OHMS240 0x318
Andre Przywaraf9987ca2025-01-24 22:49:40 +000018
Jernej Skrabece3313012021-01-11 21:11:37 +010019#define PRCM_TWI_GATE (1 << 0)
20#define PRCM_TWI_RESET (1 << 16)
21
22#endif /* __ASSEMBLY__ */
23#endif /* _PRCM_H */