• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2021-2023 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 /* IOC_PZ00_FUNC_CTL function mux definitions */
13 #define IOC_PZ00_FUNC_CTL_BGPIO_Z_00           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
14 #define IOC_PZ00_FUNC_CTL_BATT_PWR_ON          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
15 #define IOC_PZ00_FUNC_CTL_BATT_TAMPER_00       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
16 #define IOC_PZ00_FUNC_CTL_SOC_GPIO_Z_00        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
17 
18 /* IOC_PZ01_FUNC_CTL function mux definitions */
19 #define IOC_PZ01_FUNC_CTL_BGPIO_Z_01           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
20 #define IOC_PZ01_FUNC_CTL_BATT_RESETN          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
21 #define IOC_PZ01_FUNC_CTL_BATT_TAMPER_01       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
22 #define IOC_PZ01_FUNC_CTL_SOC_GPIO_Z_01        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
23 
24 /* IOC_PZ02_FUNC_CTL function mux definitions */
25 #define IOC_PZ02_FUNC_CTL_BGPIO_Z_02           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
26 #define IOC_PZ02_FUNC_CTL_BATT_PBUTN           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
27 #define IOC_PZ02_FUNC_CTL_BATT_TAMPER_02       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
28 #define IOC_PZ02_FUNC_CTL_SOC_GPIO_Z_02        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
29 
30 /* IOC_PZ03_FUNC_CTL function mux definitions */
31 #define IOC_PZ03_FUNC_CTL_BGPIO_Z_03           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
32 #define IOC_PZ03_FUNC_CTL_BATT_WBUTN           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
33 #define IOC_PZ03_FUNC_CTL_BATT_TAMPER_03       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
34 #define IOC_PZ03_FUNC_CTL_SOC_GPIO_Z_03        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
35 
36 /* IOC_PZ04_FUNC_CTL function mux definitions */
37 #define IOC_PZ04_FUNC_CTL_BGPIO_Z_04           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
38 #define IOC_PZ04_FUNC_CTL_BATT_PLED            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
39 #define IOC_PZ04_FUNC_CTL_BATT_TAMPER_04       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
40 #define IOC_PZ04_FUNC_CTL_SOC_GPIO_Z_04        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
41 
42 /* IOC_PZ05_FUNC_CTL function mux definitions */
43 #define IOC_PZ05_FUNC_CTL_BGPIO_Z_05           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
44 #define IOC_PZ05_FUNC_CTL_BATT_WLED            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
45 #define IOC_PZ05_FUNC_CTL_BATT_TAMPER_05       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
46 #define IOC_PZ05_FUNC_CTL_SOC_GPIO_Z_05        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
47 
48 /* IOC_PZ06_FUNC_CTL function mux definitions */
49 #define IOC_PZ06_FUNC_CTL_BGPIO_Z_06           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
50 #define IOC_PZ06_FUNC_CTL_BATT_TAMPER_06       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
51 #define IOC_PZ06_FUNC_CTL_SOC_GPIO_Z_06        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
52 
53 /* IOC_PZ07_FUNC_CTL function mux definitions */
54 #define IOC_PZ07_FUNC_CTL_BGPIO_Z_07           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
55 #define IOC_PZ07_FUNC_CTL_BATT_TAMPER_07       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
56 #define IOC_PZ07_FUNC_CTL_SOC_GPIO_Z_07        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
57 
58 
59 #endif /* HPM_BATT_IOMUX_H */
60