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 IOC_PZ00_FUNC_CTL_BGPIO_Z_00           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) /* dropped macro, please use macro with prefix BIOC_ */
14 #define BIOC_PZ00_FUNC_CTL_BGPIO_Z_00          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
15 #define IOC_PZ00_FUNC_CTL_BATT_PWR_ON          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
16 #define BIOC_PZ00_FUNC_CTL_BATT_PWR_ON         IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
17 #define IOC_PZ00_FUNC_CTL_BATT_TAMPER_00       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
18 #define BIOC_PZ00_FUNC_CTL_BATT_TAMPER_00      IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
19 #define IOC_PZ00_FUNC_CTL_SOC_GPIO_Z_00        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
20 #define BIOC_PZ00_FUNC_CTL_SOC_GPIO_Z_00       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
21 
22 /* BIOC_PZ01_FUNC_CTL function mux definitions */
23 #define IOC_PZ01_FUNC_CTL_BGPIO_Z_01           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) /* dropped macro, please use macro with prefix BIOC_ */
24 #define BIOC_PZ01_FUNC_CTL_BGPIO_Z_01          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
25 #define IOC_PZ01_FUNC_CTL_BATT_RESETN          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
26 #define BIOC_PZ01_FUNC_CTL_BATT_RESETN         IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
27 #define IOC_PZ01_FUNC_CTL_BATT_TAMPER_01       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
28 #define BIOC_PZ01_FUNC_CTL_BATT_TAMPER_01      IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
29 #define IOC_PZ01_FUNC_CTL_SOC_GPIO_Z_01        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
30 #define BIOC_PZ01_FUNC_CTL_SOC_GPIO_Z_01       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
31 
32 /* BIOC_PZ02_FUNC_CTL function mux definitions */
33 #define IOC_PZ02_FUNC_CTL_BGPIO_Z_02           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) /* dropped macro, please use macro with prefix BIOC_ */
34 #define BIOC_PZ02_FUNC_CTL_BGPIO_Z_02          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
35 #define IOC_PZ02_FUNC_CTL_BATT_PBUTN           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
36 #define BIOC_PZ02_FUNC_CTL_BATT_PBUTN          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
37 #define IOC_PZ02_FUNC_CTL_BATT_TAMPER_02       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
38 #define BIOC_PZ02_FUNC_CTL_BATT_TAMPER_02      IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
39 #define IOC_PZ02_FUNC_CTL_SOC_GPIO_Z_02        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
40 #define BIOC_PZ02_FUNC_CTL_SOC_GPIO_Z_02       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
41 
42 /* BIOC_PZ03_FUNC_CTL function mux definitions */
43 #define IOC_PZ03_FUNC_CTL_BGPIO_Z_03           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) /* dropped macro, please use macro with prefix BIOC_ */
44 #define BIOC_PZ03_FUNC_CTL_BGPIO_Z_03          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
45 #define IOC_PZ03_FUNC_CTL_BATT_WBUTN           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
46 #define BIOC_PZ03_FUNC_CTL_BATT_WBUTN          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
47 #define IOC_PZ03_FUNC_CTL_BATT_TAMPER_03       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
48 #define BIOC_PZ03_FUNC_CTL_BATT_TAMPER_03      IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
49 #define IOC_PZ03_FUNC_CTL_SOC_GPIO_Z_03        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
50 #define BIOC_PZ03_FUNC_CTL_SOC_GPIO_Z_03       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
51 
52 /* BIOC_PZ04_FUNC_CTL function mux definitions */
53 #define IOC_PZ04_FUNC_CTL_BGPIO_Z_04           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) /* dropped macro, please use macro with prefix BIOC_ */
54 #define BIOC_PZ04_FUNC_CTL_BGPIO_Z_04          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
55 #define IOC_PZ04_FUNC_CTL_BATT_PLED            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
56 #define BIOC_PZ04_FUNC_CTL_BATT_PLED           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
57 #define IOC_PZ04_FUNC_CTL_BATT_TAMPER_04       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
58 #define BIOC_PZ04_FUNC_CTL_BATT_TAMPER_04      IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
59 #define IOC_PZ04_FUNC_CTL_SOC_GPIO_Z_04        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
60 #define BIOC_PZ04_FUNC_CTL_SOC_GPIO_Z_04       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
61 
62 /* BIOC_PZ05_FUNC_CTL function mux definitions */
63 #define IOC_PZ05_FUNC_CTL_BGPIO_Z_05           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) /* dropped macro, please use macro with prefix BIOC_ */
64 #define BIOC_PZ05_FUNC_CTL_BGPIO_Z_05          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
65 #define IOC_PZ05_FUNC_CTL_BATT_WLED            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
66 #define BIOC_PZ05_FUNC_CTL_BATT_WLED           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
67 #define IOC_PZ05_FUNC_CTL_BATT_TAMPER_05       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
68 #define BIOC_PZ05_FUNC_CTL_BATT_TAMPER_05      IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
69 #define IOC_PZ05_FUNC_CTL_SOC_GPIO_Z_05        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
70 #define BIOC_PZ05_FUNC_CTL_SOC_GPIO_Z_05       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
71 
72 /* BIOC_PZ06_FUNC_CTL function mux definitions */
73 #define IOC_PZ06_FUNC_CTL_BGPIO_Z_06           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) /* dropped macro, please use macro with prefix BIOC_ */
74 #define BIOC_PZ06_FUNC_CTL_BGPIO_Z_06          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
75 #define IOC_PZ06_FUNC_CTL_BATT_TAMPER_06       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
76 #define BIOC_PZ06_FUNC_CTL_BATT_TAMPER_06      IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
77 #define IOC_PZ06_FUNC_CTL_SOC_GPIO_Z_06        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
78 #define BIOC_PZ06_FUNC_CTL_SOC_GPIO_Z_06       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
79 
80 /* BIOC_PZ07_FUNC_CTL function mux definitions */
81 #define IOC_PZ07_FUNC_CTL_BGPIO_Z_07           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) /* dropped macro, please use macro with prefix BIOC_ */
82 #define BIOC_PZ07_FUNC_CTL_BGPIO_Z_07          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
83 #define IOC_PZ07_FUNC_CTL_BATT_TAMPER_07       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
84 #define BIOC_PZ07_FUNC_CTL_BATT_TAMPER_07      IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
85 #define IOC_PZ07_FUNC_CTL_SOC_GPIO_Z_07        IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
86 #define BIOC_PZ07_FUNC_CTL_SOC_GPIO_Z_07       IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
87 
88 
89 #endif /* HPM_BATT_IOMUX_H */
90