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_PWR_ON               IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
16 #define BIOC_PZ00_FUNC_CTL_PWR_ON              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
17 #define IOC_PZ00_FUNC_CTL_TAMP_00              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
18 #define BIOC_PZ00_FUNC_CTL_TAMP_00             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
19 #define IOC_PZ00_FUNC_CTL_SOC_PZ_00            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
20 #define BIOC_PZ00_FUNC_CTL_SOC_PZ_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_RESETN               IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
26 #define BIOC_PZ01_FUNC_CTL_RESETN              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
27 #define IOC_PZ01_FUNC_CTL_TAMP_01              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
28 #define BIOC_PZ01_FUNC_CTL_TAMP_01             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
29 #define IOC_PZ01_FUNC_CTL_SOC_PZ_01            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
30 #define BIOC_PZ01_FUNC_CTL_SOC_PZ_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_PBUTN                IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
36 #define BIOC_PZ02_FUNC_CTL_PBUTN               IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
37 #define IOC_PZ02_FUNC_CTL_TAMP_02              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
38 #define BIOC_PZ02_FUNC_CTL_TAMP_02             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
39 #define IOC_PZ02_FUNC_CTL_SOC_PZ_02            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
40 #define BIOC_PZ02_FUNC_CTL_SOC_PZ_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_WBUTN                IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
46 #define BIOC_PZ03_FUNC_CTL_WBUTN               IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
47 #define IOC_PZ03_FUNC_CTL_TAMP_03              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
48 #define BIOC_PZ03_FUNC_CTL_TAMP_03             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
49 #define IOC_PZ03_FUNC_CTL_SOC_PZ_03            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
50 #define BIOC_PZ03_FUNC_CTL_SOC_PZ_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_PLED                 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
56 #define BIOC_PZ04_FUNC_CTL_PLED                IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
57 #define IOC_PZ04_FUNC_CTL_TAMP_04              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
58 #define BIOC_PZ04_FUNC_CTL_TAMP_04             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
59 #define IOC_PZ04_FUNC_CTL_SOC_PZ_04            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
60 #define BIOC_PZ04_FUNC_CTL_SOC_PZ_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_WLED                 IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
66 #define BIOC_PZ05_FUNC_CTL_WLED                IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
67 #define IOC_PZ05_FUNC_CTL_TAMP_05              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
68 #define BIOC_PZ05_FUNC_CTL_TAMP_05             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
69 #define IOC_PZ05_FUNC_CTL_SOC_PZ_05            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
70 #define BIOC_PZ05_FUNC_CTL_SOC_PZ_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_TAMP_06              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
76 #define BIOC_PZ06_FUNC_CTL_TAMP_06             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
77 #define IOC_PZ06_FUNC_CTL_SOC_PZ_06            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
78 #define BIOC_PZ06_FUNC_CTL_SOC_PZ_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_TAMP_07              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
84 #define BIOC_PZ07_FUNC_CTL_TAMP_07             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
85 #define IOC_PZ07_FUNC_CTL_SOC_PZ_07            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
86 #define BIOC_PZ07_FUNC_CTL_SOC_PZ_07           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
87 
88 /* BIOC_PZ08_FUNC_CTL function mux definitions */
89 #define IOC_PZ08_FUNC_CTL_BGPIO_Z_08           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) /* dropped macro, please use macro with prefix BIOC_ */
90 #define BIOC_PZ08_FUNC_CTL_BGPIO_Z_08          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
91 #define IOC_PZ08_FUNC_CTL_TAMP_08              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
92 #define BIOC_PZ08_FUNC_CTL_TAMP_08             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
93 #define IOC_PZ08_FUNC_CTL_SOC_PZ_08            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
94 #define BIOC_PZ08_FUNC_CTL_SOC_PZ_08           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
95 
96 /* BIOC_PZ09_FUNC_CTL function mux definitions */
97 #define IOC_PZ09_FUNC_CTL_BGPIO_Z_09           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) /* dropped macro, please use macro with prefix BIOC_ */
98 #define BIOC_PZ09_FUNC_CTL_BGPIO_Z_09          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
99 #define IOC_PZ09_FUNC_CTL_TAMP_09              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
100 #define BIOC_PZ09_FUNC_CTL_TAMP_09             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
101 #define IOC_PZ09_FUNC_CTL_SOC_PZ_09            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
102 #define BIOC_PZ09_FUNC_CTL_SOC_PZ_09           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
103 
104 /* BIOC_PZ10_FUNC_CTL function mux definitions */
105 #define IOC_PZ10_FUNC_CTL_BGPIO_Z_10           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) /* dropped macro, please use macro with prefix BIOC_ */
106 #define BIOC_PZ10_FUNC_CTL_BGPIO_Z_10          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
107 #define IOC_PZ10_FUNC_CTL_HIBERNATE            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
108 #define BIOC_PZ10_FUNC_CTL_HIBERNATE           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
109 #define IOC_PZ10_FUNC_CTL_TAMP_10              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
110 #define BIOC_PZ10_FUNC_CTL_TAMP_10             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
111 #define IOC_PZ10_FUNC_CTL_SOC_PZ_10            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
112 #define BIOC_PZ10_FUNC_CTL_SOC_PZ_10           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
113 
114 /* BIOC_PZ11_FUNC_CTL function mux definitions */
115 #define IOC_PZ11_FUNC_CTL_BGPIO_Z_11           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0) /* dropped macro, please use macro with prefix BIOC_ */
116 #define BIOC_PZ11_FUNC_CTL_BGPIO_Z_11          IOC_PAD_FUNC_CTL_ALT_SELECT_SET(0)
117 #define IOC_PZ11_FUNC_CTL_STANDBY              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1) /* dropped macro, please use macro with prefix BIOC_ */
118 #define BIOC_PZ11_FUNC_CTL_STANDBY             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(1)
119 #define IOC_PZ11_FUNC_CTL_TAMP_11              IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2) /* dropped macro, please use macro with prefix BIOC_ */
120 #define BIOC_PZ11_FUNC_CTL_TAMP_11             IOC_PAD_FUNC_CTL_ALT_SELECT_SET(2)
121 #define IOC_PZ11_FUNC_CTL_SOC_PZ_11            IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3) /* dropped macro, please use macro with prefix BIOC_ */
122 #define BIOC_PZ11_FUNC_CTL_SOC_PZ_11           IOC_PAD_FUNC_CTL_ALT_SELECT_SET(3)
123 
124 
125 #endif /* HPM_BATT_IOMUX_H */
126