1 /* 2 * Copyright (c) 2021-2024 HPMicro 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 8 9 #ifndef HPM_BATT_IOMUX_H 10 #define HPM_BATT_IOMUX_H 11 12 /* BIOC_PZ00_FUNC_CTL function mux definitions */ 13 #define BIOC_PZ00_FUNC_CTL_BGPIO_Z_00 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) 14 #define BIOC_PZ00_FUNC_CTL_TAMP_PZ_00 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) 15 #define BIOC_PZ00_FUNC_CTL_SOC_PZ_00 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) 16 17 /* BIOC_PZ01_FUNC_CTL function mux definitions */ 18 #define BIOC_PZ01_FUNC_CTL_BGPIO_Z_01 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) 19 #define BIOC_PZ01_FUNC_CTL_TAMP_PZ_01 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) 20 #define BIOC_PZ01_FUNC_CTL_SOC_PZ_01 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) 21 22 /* BIOC_PZ02_FUNC_CTL function mux definitions */ 23 #define BIOC_PZ02_FUNC_CTL_BGPIO_Z_02 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) 24 #define BIOC_PZ02_FUNC_CTL_TAMP_PZ_02 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) 25 #define BIOC_PZ02_FUNC_CTL_SOC_PZ_02 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) 26 27 /* BIOC_PZ03_FUNC_CTL function mux definitions */ 28 #define BIOC_PZ03_FUNC_CTL_BGPIO_Z_03 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) 29 #define BIOC_PZ03_FUNC_CTL_TAMP_PZ_03 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) 30 #define BIOC_PZ03_FUNC_CTL_SOC_PZ_03 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) 31 32 /* BIOC_PZ04_FUNC_CTL function mux definitions */ 33 #define BIOC_PZ04_FUNC_CTL_BGPIO_Z_04 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) 34 #define BIOC_PZ04_FUNC_CTL_TAMP_PZ_04 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) 35 #define BIOC_PZ04_FUNC_CTL_SOC_PZ_04 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) 36 37 /* BIOC_PZ05_FUNC_CTL function mux definitions */ 38 #define BIOC_PZ05_FUNC_CTL_BGPIO_Z_05 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) 39 #define BIOC_PZ05_FUNC_CTL_TAMP_PZ_05 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) 40 #define BIOC_PZ05_FUNC_CTL_SOC_PZ_05 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) 41 42 /* BIOC_PZ06_FUNC_CTL function mux definitions */ 43 #define BIOC_PZ06_FUNC_CTL_BGPIO_Z_06 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) 44 #define BIOC_PZ06_FUNC_CTL_TAMP_PZ_06 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) 45 #define BIOC_PZ06_FUNC_CTL_SOC_PZ_06 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) 46 47 /* BIOC_PZ07_FUNC_CTL function mux definitions */ 48 #define BIOC_PZ07_FUNC_CTL_BGPIO_Z_07 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) 49 #define BIOC_PZ07_FUNC_CTL_TAMP_PZ_07 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) 50 #define BIOC_PZ07_FUNC_CTL_SOC_PZ_07 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) 51 52 53 #endif /* HPM_BATT_IOMUX_H */ 54