xref: /linux/arch/arm64/boot/dts/cix/sky1-pinfunc.h (revision 0cac5ce06e524755b3dac1e0a060b05992076d93)
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2 /*
3  * Copyright 2024-2025 Cix Technology Group Co., Ltd.
4  */
5 
6 #ifndef __CIX_SKY1_H
7 #define __CIX_SKY1_H
8 
9 /* s5 pads */
10 #define CIX_PAD_GPIO001_FUNC_GPIO001				   (0 << 8 | 0x0)
11 #define CIX_PAD_GPIO002_FUNC_GPIO002				   (1 << 8 | 0x0)
12 #define CIX_PAD_GPIO003_FUNC_GPIO003				   (2 << 8 | 0x0)
13 #define CIX_PAD_GPIO004_FUNC_GPIO004				   (3 << 8 | 0x0)
14 #define CIX_PAD_GPIO005_FUNC_GPIO005				   (4 << 8 | 0x0)
15 #define CIX_PAD_GPIO006_FUNC_GPIO006				   (5 << 8 | 0x0)
16 #define CIX_PAD_GPIO007_FUNC_GPIO007				   (6 << 8 | 0x0)
17 #define CIX_PAD_GPIO008_FUNC_GPIO008				   (7 << 8 | 0x0)
18 #define CIX_PAD_GPIO009_FUNC_GPIO009				   (8 << 8 | 0x0)
19 #define CIX_PAD_GPIO010_FUNC_GPIO010				   (9 << 8 | 0x0)
20 #define CIX_PAD_GPIO011_FUNC_GPIO011				   (10 << 8 | 0x0)
21 #define CIX_PAD_GPIO012_FUNC_GPIO012				   (11 << 8 | 0x0)
22 #define CIX_PAD_GPIO013_FUNC_GPIO013				   (12 << 8 | 0x0)
23 #define CIX_PAD_GPIO014_FUNC_GPIO014				   (13 << 8 | 0x0)
24 #define CIX_PAD_SFI_I2C0_SCL_FUNC_SFI_I2C0_SCL			   (28 << 8 | 0x0)
25 #define CIX_PAD_SFI_I2C0_SCL_FUNC_SFI_I3C0_SCL			   (28 << 8 | 0x1)
26 #define CIX_PAD_SFI_I2C0_SDA_FUNC_SFI_I2C0_SDA			   (29 << 8 | 0x0)
27 #define CIX_PAD_SFI_I2C0_SDA_FUNC_SFI_I3C0_SDA			   (29 << 8 | 0x1)
28 #define CIX_PAD_SFI_I2C1_SCL_FUNC_SFI_I2C1_SCL			   (30 << 8 | 0x0)
29 #define CIX_PAD_SFI_I2C1_SCL_FUNC_SFI_I3C1_SCL			   (30 << 8 | 0x1)
30 #define CIX_PAD_SFI_I2C1_SCL_FUNC_SFI_SPI_CS0			   (30 << 8 | 0x2)
31 #define CIX_PAD_SFI_I2C1_SDA_FUNC_SFI_I2C1_SDA			   (31 << 8 | 0x0)
32 #define CIX_PAD_SFI_I2C1_SDA_FUNC_SFI_I3C1_SDA			   (31 << 8 | 0x1)
33 #define CIX_PAD_SFI_I2C1_SDA_FUNC_SFI_SPI_CS1			   (31 << 8 | 0x2)
34 #define CIX_PAD_SFI_GPIO0_FUNC_GPIO015				   (32 << 8 | 0x0)
35 #define CIX_PAD_SFI_GPIO0_FUNC_SFI_SPI_SCK			   (32 << 8 | 0x1)
36 #define CIX_PAD_SFI_GPIO0_FUNC_SFI_GPIO0			   (32 << 8 | 0x2)
37 #define CIX_PAD_SFI_GPIO1_FUNC_GPIO016				   (33 << 8 | 0x0)
38 #define CIX_PAD_SFI_GPIO1_FUNC_SFI_SPI_MOSI			   (33 << 8 | 0x1)
39 #define CIX_PAD_SFI_GPIO1_FUNC_SFI_GPIO1			   (33 << 8 | 0x2)
40 #define CIX_PAD_SFI_GPIO2_FUNC_GPIO017				   (34 << 8 | 0x0)
41 #define CIX_PAD_SFI_GPIO2_FUNC_SFI_SPI_MISO			   (34 << 8 | 0x1)
42 #define CIX_PAD_SFI_GPIO2_FUNC_SFI_GPIO2			   (34 << 8 | 0x2)
43 #define CIX_PAD_GPIO018_FUNC_SFI_GPIO3				   (35 << 8 | 0x0)
44 #define CIX_PAD_GPIO018_FUNC_GPIO018				   (35 << 8 | 0x1)
45 #define CIX_PAD_GPIO019_FUNC_SFI_GPIO4				   (36 << 8 | 0x0)
46 #define CIX_PAD_GPIO019_FUNC_GPIO019				   (36 << 8 | 0x1)
47 #define CIX_PAD_GPIO020_FUNC_SFI_GPIO5				   (37 << 8 | 0x0)
48 #define CIX_PAD_GPIO020_FUNC_GPIO020				   (37 << 8 | 0x1)
49 #define CIX_PAD_GPIO021_FUNC_SFI_GPIO6				   (38 << 8 | 0x0)
50 #define CIX_PAD_GPIO021_FUNC_GPIO021				   (38 << 8 | 0x1)
51 #define CIX_PAD_GPIO022_FUNC_SFI_GPIO7				   (39 << 8 | 0x0)
52 #define CIX_PAD_GPIO022_FUNC_GPIO022				   (39 << 8 | 0x1)
53 #define CIX_PAD_GPIO023_FUNC_SFI_GPIO8				   (40 << 8 | 0x0)
54 #define CIX_PAD_GPIO023_FUNC_GPIO023				   (40 << 8 | 0x1)
55 #define CIX_PAD_GPIO023_FUNC_SFI_I3C0_PUR_EN_L			   (40 << 8 | 0x2)
56 #define CIX_PAD_GPIO024_FUNC_SFI_GPIO9				   (41 << 8 | 0x0)
57 #define CIX_PAD_GPIO024_FUNC_GPIO024				   (41 << 8 | 0x1)
58 #define CIX_PAD_GPIO024_FUNC_SFI_I3C1_PUR_EN_L			   (41 << 8 | 0x2)
59 #define CIX_PAD_SPI1_MISO_FUNC_SPI1_MISO			   (42 << 8 | 0x0)
60 #define CIX_PAD_SPI1_MISO_FUNC_GPIO025				   (42 << 8 | 0x1)
61 #define CIX_PAD_SPI1_CS0_FUNC_SPI1_CS0				   (43 << 8 | 0x0)
62 #define CIX_PAD_SPI1_CS0_FUNC_GPIO026				   (43 << 8 | 0x1)
63 #define CIX_PAD_SPI1_CS1_FUNC_SPI1_CS1				   (44 << 8 | 0x0)
64 #define CIX_PAD_SPI1_CS1_FUNC_GPIO027				   (44 << 8 | 0x1)
65 #define CIX_PAD_SPI1_MOSI_FUNC_SPI1_MOSI			   (45 << 8 | 0x0)
66 #define CIX_PAD_SPI1_MOSI_FUNC_GPIO028				   (45 << 8 | 0x1)
67 #define CIX_PAD_SPI1_CLK_FUNC_SPI1_CLK				   (46 << 8 | 0x0)
68 #define CIX_PAD_SPI1_CLK_FUNC_GPIO029				   (46 << 8 | 0x1)
69 #define CIX_PAD_GPIO030_FUNC_GPIO030				   (47 << 8 | 0x0)
70 #define CIX_PAD_GPIO030_FUNC_USB_OC0_L				   (47 << 8 | 0x1)
71 #define CIX_PAD_GPIO031_FUNC_GPIO031				   (48 << 8 | 0x0)
72 #define CIX_PAD_GPIO031_FUNC_USB_OC1_L				   (48 << 8 | 0x1)
73 #define CIX_PAD_GPIO032_FUNC_GPIO032				   (49 << 8 | 0x0)
74 #define CIX_PAD_GPIO032_FUNC_USB_OC2_L				   (49 << 8 | 0x1)
75 #define CIX_PAD_GPIO033_FUNC_GPIO033				   (50 << 8 | 0x0)
76 #define CIX_PAD_GPIO033_FUNC_USB_OC3_L				   (50 << 8 | 0x1)
77 #define CIX_PAD_GPIO034_FUNC_GPIO034				   (51 << 8 | 0x0)
78 #define CIX_PAD_GPIO034_FUNC_USB_OC4_L				   (51 << 8 | 0x1)
79 #define CIX_PAD_GPIO035_FUNC_GPIO035				   (52 << 8 | 0x0)
80 #define CIX_PAD_GPIO035_FUNC_USB_OC5_L				   (52 << 8 | 0x1)
81 #define CIX_PAD_GPIO036_FUNC_GPIO036				   (53 << 8 | 0x0)
82 #define CIX_PAD_GPIO036_FUNC_USB_OC6_L				   (53 << 8 | 0x1)
83 #define CIX_PAD_GPIO037_FUNC_GPIO037				   (54 << 8 | 0x0)
84 #define CIX_PAD_GPIO037_FUNC_USB_OC7_L				   (54 << 8 | 0x1)
85 #define CIX_PAD_GPIO038_FUNC_GPIO038				   (55 << 8 | 0x0)
86 #define CIX_PAD_GPIO038_FUNC_USB_OC8_L				   (55 << 8 | 0x1)
87 #define CIX_PAD_GPIO039_FUNC_GPIO039				   (56 << 8 | 0x0)
88 #define CIX_PAD_GPIO039_FUNC_USB_OC9_L				   (56 << 8 | 0x1)
89 #define CIX_PAD_GPIO040_FUNC_GPIO040				   (57 << 8 | 0x0)
90 #define CIX_PAD_GPIO040_FUNC_USB_DRIVE_VBUS0			   (57 << 8 | 0x1)
91 #define CIX_PAD_GPIO041_FUNC_GPIO041				   (58 << 8 | 0x0)
92 #define CIX_PAD_GPIO041_FUNC_USB_DRIVE_VBUS4			   (58 << 8 | 0x1)
93 #define CIX_PAD_GPIO042_FUNC_GPIO042				   (59 << 8 | 0x0)
94 #define CIX_PAD_GPIO042_FUNC_USB_DRIVE_VBUS5			   (59 << 8 | 0x1)
95 #define CIX_PAD_SE_QSPI_CLK_FUNC_SE_QSPI_CLK			   (60 << 8 | 0x0)
96 #define CIX_PAD_SE_QSPI_CLK_FUNC_QSPI_CLK			   (60 << 8 | 0x1)
97 #define CIX_PAD_SE_QSPI_CS_L_FUNC_SE_QSPI_CS_L			   (61 << 8 | 0x0)
98 #define CIX_PAD_SE_QSPI_CS_L_FUNC_QSPI_CS_L			   (61 << 8 | 0x1)
99 #define CIX_PAD_SE_QSPI_DATA0_FUNC_SE_QSPI_DATA0		   (62 << 8 | 0x0)
100 #define CIX_PAD_SE_QSPI_DATA0_FUNC_QSPI_DATA0			   (62 << 8 | 0x1)
101 #define CIX_PAD_SE_QSPI_DATA1_FUNC_SE_QSPI_DATA1		   (63 << 8 | 0x0)
102 #define CIX_PAD_SE_QSPI_DATA1_FUNC_QSPI_DATA1			   (63 << 8 | 0x1)
103 #define CIX_PAD_SE_QSPI_DATA2_FUNC_SE_QSPI_DATA2		   (64 << 8 | 0x0)
104 #define CIX_PAD_SE_QSPI_DATA2_FUNC_QSPI_DATA2			   (64 << 8 | 0x1)
105 #define CIX_PAD_SE_QSPI_DATA3_FUNC_SE_QSPI_DATA3		   (65 << 8 | 0x0)
106 #define CIX_PAD_SE_QSPI_DATA3_FUNC_QSPI_DATA3			   (65 << 8 | 0x1)
107 /* s0 pads */
108 #define CIX_PAD_GPIO043_FUNC_GPIO043				   (0 << 8 | 0x0)
109 #define CIX_PAD_GPIO044_FUNC_GPIO044				   (1 << 8 | 0x0)
110 #define CIX_PAD_GPIO045_FUNC_GPIO045				   (2 << 8 | 0x0)
111 #define CIX_PAD_GPIO046_FUNC_GPIO046				   (3 << 8 | 0x0)
112 #define CIX_PAD_DP2_DIGON_FUNC_DP2_DIGON			   (18 << 8 | 0x0)
113 #define CIX_PAD_DP2_BLON_FUNC_DP2_BLON				   (19 << 8 | 0x0)
114 #define CIX_PAD_DP2_VARY_BL_FUNC_DP2_VARY_BL			   (20 << 8 | 0x0)
115 #define CIX_PAD_I2C7_SCL_FUNC_I2C7_SCL				   (21 << 8 | 0x0)
116 #define CIX_PAD_I2C7_SDA_FUNC_I2C7_SDA				   (22 << 8 | 0x0)
117 #define CIX_PAD_I2C5_SCL_FUNC_I2C5_SCL				   (26 << 8 | 0x0)
118 #define CIX_PAD_I2C5_SCL_FUNC_GPIO047				   (26 << 8 | 0x1)
119 #define CIX_PAD_I2C5_SDA_FUNC_I2C5_SDA				   (27 << 8 | 0x0)
120 #define CIX_PAD_I2C5_SDA_FUNC_GPIO048				   (27 << 8 | 0x1)
121 #define CIX_PAD_I2C6_SCL_FUNC_I2C6_SCL				   (28 << 8 | 0x0)
122 #define CIX_PAD_I2C6_SCL_FUNC_GPIO049				   (28 << 8 | 0x1)
123 #define CIX_PAD_I2C6_SDA_FUNC_I2C6_SDA				   (29 << 8 | 0x0)
124 #define CIX_PAD_I2C6_SDA_FUNC_GPIO050				   (29 << 8 | 0x1)
125 #define CIX_PAD_I2C0_CLK_FUNC_I2C0_CLK				   (30 << 8 | 0x0)
126 #define CIX_PAD_I2C0_CLK_FUNC_GPIO051				   (30 << 8 | 0x1)
127 #define CIX_PAD_I2C0_SDA_FUNC_I2C0_SDA				   (31 << 8 | 0x0)
128 #define CIX_PAD_I2C0_SDA_FUNC_GPIO052				   (31 << 8 | 0x1)
129 #define CIX_PAD_I2C1_CLK_FUNC_I2C1_CLK				   (32 << 8 | 0x0)
130 #define CIX_PAD_I2C1_CLK_FUNC_GPIO053				   (32 << 8 | 0x1)
131 #define CIX_PAD_I2C1_SDA_FUNC_I2C1_SDA				   (33 << 8 | 0x0)
132 #define CIX_PAD_I2C1_SDA_FUNC_GPIO054				   (33 << 8 | 0x1)
133 #define CIX_PAD_I2C2_SCL_FUNC_I2C2_SCL				   (34 << 8 | 0x0)
134 #define CIX_PAD_I2C2_SCL_FUNC_I3C0_SCL				   (34 << 8 | 0x1)
135 #define CIX_PAD_I2C2_SCL_FUNC_GPIO055				   (34 << 8 | 0x2)
136 #define CIX_PAD_I2C2_SDA_FUNC_I2C2_SDA				   (35 << 8 | 0x0)
137 #define CIX_PAD_I2C2_SDA_FUNC_I3C0_SDA				   (35 << 8 | 0x1)
138 #define CIX_PAD_I2C2_SDA_FUNC_GPIO056				   (35 << 8 | 0x2)
139 #define CIX_PAD_GPIO057_FUNC_GPIO057				   (36 << 8 | 0x0)
140 #define CIX_PAD_GPIO057_FUNC_I3C0_PUR_EN_L			   (36 << 8 | 0x1)
141 #define CIX_PAD_I2C3_CLK_FUNC_I2C3_CLK				   (37 << 8 | 0x0)
142 #define CIX_PAD_I2C3_CLK_FUNC_I3C1_CLK				   (37 << 8 | 0x1)
143 #define CIX_PAD_I2C3_CLK_FUNC_GPIO058				   (37 << 8 | 0x2)
144 #define CIX_PAD_I2C3_SDA_FUNC_I2C3_SDA				   (38 << 8 | 0x0)
145 #define CIX_PAD_I2C3_SDA_FUNC_I3C1_SDA				   (38 << 8 | 0x1)
146 #define CIX_PAD_I2C3_SDA_FUNC_GPIO059				   (38 << 8 | 0x2)
147 #define CIX_PAD_GPIO060_FUNC_GPIO060				   (39 << 8 | 0x0)
148 #define CIX_PAD_GPIO060_FUNC_I3C1_PUR_EN_L			   (39 << 8 | 0x1)
149 #define CIX_PAD_I2C4_CLK_FUNC_I2C4_CLK				   (40 << 8 | 0x0)
150 #define CIX_PAD_I2C4_CLK_FUNC_GPIO061				   (40 << 8 | 0x1)
151 #define CIX_PAD_I2C4_SDA_FUNC_I2C4_SDA				   (41 << 8 | 0x0)
152 #define CIX_PAD_I2C4_SDA_FUNC_GPIO062				   (41 << 8 | 0x1)
153 #define CIX_PAD_HDA_BITCLK_FUNC_HDA_BITCLK			   (42 << 8 | 0x0)
154 #define CIX_PAD_HDA_BITCLK_FUNC_I2S0_SCK			   (42 << 8 | 0x1)
155 #define CIX_PAD_HDA_BITCLK_FUNC_I2S9_RSCK_DBG			   (42 << 8 | 0x2)
156 #define CIX_PAD_HDA_RST_L_FUNC_HDA_RST_L			   (43 << 8 | 0x0)
157 #define CIX_PAD_HDA_RST_L_FUNC_I2S0_DATA_IN			   (43 << 8 | 0x1)
158 #define CIX_PAD_HDA_RST_L_FUNC_I2S9_DATA_IN0_DBG		   (43 << 8 | 0x2)
159 #define CIX_PAD_HDA_SDIN0_FUNC_HDA_SDIN0			   (44 << 8 | 0x0)
160 #define CIX_PAD_HDA_SDIN0_FUNC_I2S0_MCLK			   (44 << 8 | 0x1)
161 #define CIX_PAD_HDA_SDIN0_FUNC_I2S9_TSCK_DBG			   (44 << 8 | 0x2)
162 #define CIX_PAD_HDA_SDOUT0_FUNC_HDA_SDOUT0			   (45 << 8 | 0x0)
163 #define CIX_PAD_HDA_SDOUT0_FUNC_I2S0_DATA_OUT			   (45 << 8 | 0x1)
164 #define CIX_PAD_HDA_SDOUT0_FUNC_I2S9_TWS_DBG		           (45 << 8 | 0x2)
165 #define CIX_PAD_HDA_SYNC_FUNC_HDA_SYNC				   (46 << 8 | 0x0)
166 #define CIX_PAD_HDA_SYNC_FUNC_I2S0_WS				   (46 << 8 | 0x1)
167 #define CIX_PAD_HDA_SYNC_FUNC_I2S9_RWS_DBG			   (46 << 8 | 0x2)
168 #define CIX_PAD_HDA_SDIN1_FUNC_HDA_SDIN1			   (47 << 8 | 0x0)
169 #define CIX_PAD_HDA_SDIN1_FUNC_GPIO063				   (47 << 8 | 0x1)
170 #define CIX_PAD_HDA_SDIN1_FUNC_I2S9_DATA_IN1_DBG		   (47 << 8 | 0x2)
171 #define CIX_PAD_HDA_SDOUT1_FUNC_HDA_SDOUT1			   (48 << 8 | 0x0)
172 #define CIX_PAD_HDA_SDOUT1_FUNC_GPIO064				   (48 << 8 | 0x1)
173 #define CIX_PAD_HDA_SDOUT1_FUNC_I2S9_DATA_OUT0_DBG		   (48 << 8 | 0x2)
174 #define CIX_PAD_I2S1_MCLK_FUNC_I2S1_MCLK			   (49 << 8 | 0x0)
175 #define CIX_PAD_I2S1_MCLK_FUNC_GPIO065				   (49 << 8 | 0x1)
176 #define CIX_PAD_I2S1_SCK_FUNC_I2S1_SCK				   (50 << 8 | 0x0)
177 #define CIX_PAD_I2S1_SCK_FUNC_GPIO066				   (50 << 8 | 0x1)
178 #define CIX_PAD_I2S1_WS_FUNC_I2S1_WS				   (51 << 8 | 0x0)
179 #define CIX_PAD_I2S1_WS_FUNC_GPIO067				   (51 << 8 | 0x1)
180 #define CIX_PAD_I2S1_DATA_IN_FUNC_I2S1_DATA_IN			   (52 << 8 | 0x0)
181 #define CIX_PAD_I2S1_DATA_IN_FUNC_GPIO068			   (52 << 8 | 0x1)
182 #define CIX_PAD_I2S1_DATA_OUT_FUNC_I2S1_DATA_OUT		   (53 << 8 | 0x0)
183 #define CIX_PAD_I2S1_DATA_OUT_FUNC_GPIO069			   (53 << 8 | 0x1)
184 #define CIX_PAD_I2S2_MCLK_FUNC_I2S2_MCLK			   (54 << 8 | 0x0)
185 #define CIX_PAD_I2S2_MCLK_FUNC_GPIO070				   (54 << 8 | 0x1)
186 #define CIX_PAD_I2S2_RSCK_FUNC_I2S2_RSCK			   (55 << 8 | 0x0)
187 #define CIX_PAD_I2S2_RSCK_FUNC_GPIO071				   (55 << 8 | 0x1)
188 #define CIX_PAD_I2S2_RSCK_FUNC_I2S5_RSCK_DBG			   (55 << 8 | 0x2)
189 #define CIX_PAD_I2S2_RSCK_FUNC_I2S6_RSCK_DBG			   (55 << 8 | 0x3)
190 #define CIX_PAD_I2S2_RWS_FUNC_I2S2_RWS				   (56 << 8 | 0x0)
191 #define CIX_PAD_I2S2_RWS_FUNC_GPIO072				   (56 << 8 | 0x1)
192 #define CIX_PAD_I2S2_RWS_FUNC_I2S5_RWS_DBG			   (56 << 8 | 0x2)
193 #define CIX_PAD_I2S2_RWS_FUNC_I2S6_RWS_DBG			   (56 << 8 | 0x3)
194 #define CIX_PAD_I2S2_TSCK_FUNC_I2S2_TSCK			   (57 << 8 | 0x0)
195 #define CIX_PAD_I2S2_TSCK_FUNC_GPIO073				   (57 << 8 | 0x1)
196 #define CIX_PAD_I2S2_TSCK_FUNC_I2S5_TSCK_DBG			   (57 << 8 | 0x2)
197 #define CIX_PAD_I2S2_TSCK_FUNC_I2S6_TSCK_DBG			   (57 << 8 | 0x3)
198 #define CIX_PAD_I2S2_TWS_FUNC_I2S2_TWS				   (58 << 8 | 0x0)
199 #define CIX_PAD_I2S2_TWS_FUNC_GPIO074				   (58 << 8 | 0x1)
200 #define CIX_PAD_I2S2_TWS_FUNC_I2S5_TWS_DBG			   (58 << 8 | 0x2)
201 #define CIX_PAD_I2S2_TWS_FUNC_I2S6_TWS_DBG			   (58 << 8 | 0x3)
202 #define CIX_PAD_I2S2_DATA_IN0_FUNC_I2S2_DATA_IN0		   (59 << 8 | 0x0)
203 #define CIX_PAD_I2S2_DATA_IN0_FUNC_GPIO075			   (59 << 8 | 0x1)
204 #define CIX_PAD_I2S2_DATA_IN0_FUNC_I2S5_DATA_IN0_DBG		   (59 << 8 | 0x2)
205 #define CIX_PAD_I2S2_DATA_IN0_FUNC_I2S6_DATA_IN0_DBG		   (59 << 8 | 0x3)
206 #define CIX_PAD_I2S2_DATA_IN1_FUNC_I2S2_DATA_IN1		   (60 << 8 | 0x0)
207 #define CIX_PAD_I2S2_DATA_IN1_FUNC_GPIO076			   (60 << 8 | 0x1)
208 #define CIX_PAD_I2S2_DATA_IN1_FUNC_I2S5_DATA_IN1_DBG		   (60 << 8 | 0x2)
209 #define CIX_PAD_I2S2_DATA_IN1_FUNC_I2S6_DATA_IN1_DBG		   (60 << 8 | 0x3)
210 #define CIX_PAD_I2S2_DATA_OUT0_FUNC_I2S2_DATA_OUT0		   (61 << 8 | 0x0)
211 #define CIX_PAD_I2S2_DATA_OUT0_FUNC_GPIO077			   (61 << 8 | 0x1)
212 #define CIX_PAD_I2S2_DATA_OUT0_FUNC_I2S5_DATA_OUT0_DBG		   (61 << 8 | 0x2)
213 #define CIX_PAD_I2S2_DATA_OUT0_FUNC_I2S6_DATA_OUT0_DBG		   (61 << 8 | 0x3)
214 #define CIX_PAD_I2S2_DATA_OUT1_FUNC_I2S2_DATA_OUT1		   (62 << 8 | 0x0)
215 #define CIX_PAD_I2S2_DATA_OUT1_FUNC_GPIO078			   (62 << 8 | 0x1)
216 #define CIX_PAD_I2S2_DATA_OUT1_FUNC_I2S5_DATA_OUT1_DBG		   (62 << 8 | 0x2)
217 #define CIX_PAD_I2S2_DATA_OUT1_FUNC_I2S6_DATA_OUT1_DBG		   (62 << 8 | 0x3)
218 #define CIX_PAD_I2S2_DATA_OUT2_FUNC_I2S2_DATA_OUT2		   (63 << 8 | 0x0)
219 #define CIX_PAD_I2S2_DATA_OUT2_FUNC_GPIO079			   (63 << 8 | 0x1)
220 #define CIX_PAD_I2S2_DATA_OUT3_FUNC_I2S2_DATA_OUT3		   (64 << 8 | 0x0)
221 #define CIX_PAD_I2S2_DATA_OUT3_FUNC_GPIO080			   (64 << 8 | 0x1)
222 #define CIX_PAD_I2S2_DATA_OUT3_FUNC_I2S9_DATA_OUT1_DBG		   (64 << 8 | 0x2)
223 #define CIX_PAD_I2S3_MCLK_FUNC_I2S3_MCLK			   (65 << 8 | 0x0)
224 #define CIX_PAD_I2S3_MCLK_FUNC_GPIO081				   (65 << 8 | 0x1)
225 #define CIX_PAD_I2S3_RSCK_FUNC_I2S3_RSCK			   (66 << 8 | 0x0)
226 #define CIX_PAD_I2S3_RSCK_FUNC_GPIO082				   (66 << 8 | 0x1)
227 #define CIX_PAD_I2S3_RSCK_FUNC_I2S7_RSCK_DBG			   (66 << 8 | 0x2)
228 #define CIX_PAD_I2S3_RSCK_FUNC_I2S8_RSCK_DBG			   (66 << 8 | 0x3)
229 #define CIX_PAD_I2S3_RWS_FUNC_I2S3_RWS				   (67 << 8 | 0x0)
230 #define CIX_PAD_I2S3_RWS_FUNC_GPIO083				   (67 << 8 | 0x1)
231 #define CIX_PAD_I2S3_RWS_FUNC_I2S7_RWS_DBG			   (67 << 8 | 0x2)
232 #define CIX_PAD_I2S3_RWS_FUNC_I2S8_RWS_DBG			   (67 << 8 | 0x3)
233 #define CIX_PAD_I2S3_TSCK_FUNC_I2S3_TSCK			   (68 << 8 | 0x0)
234 #define CIX_PAD_I2S3_TSCK_FUNC_GPIO084				   (68 << 8 | 0x1)
235 #define CIX_PAD_I2S3_TSCK_FUNC_I2S7_TSCK_DBG			   (68 << 8 | 0x2)
236 #define CIX_PAD_I2S3_TSCK_FUNC_I2S8_TSCK_DBG			   (68 << 8 | 0x3)
237 #define CIX_PAD_I2S3_TWS_FUNC_I2S3_TWS				   (69 << 8 | 0x0)
238 #define CIX_PAD_I2S3_TWS_FUNC_GPIO085				   (69 << 8 | 0x1)
239 #define CIX_PAD_I2S3_TWS_FUNC_I2S7_TWS_DBG			   (69 << 8 | 0x2)
240 #define CIX_PAD_I2S3_TWS_FUNC_I2S8_TWS_DBG			   (69 << 8 | 0x3)
241 #define CIX_PAD_I2S3_DATA_IN0_FUNC_I2S3_DATA_IN0		   (70 << 8 | 0x0)
242 #define CIX_PAD_I2S3_DATA_IN0_FUNC_GPIO086			   (70 << 8 | 0x1)
243 #define CIX_PAD_I2S3_DATA_IN0_FUNC_I2S7_DATA_IN0_DBG		   (70 << 8 | 0x2)
244 #define CIX_PAD_I2S3_DATA_IN0_FUNC_I2S8_DATA_IN0_DBG		   (70 << 8 | 0x3)
245 #define CIX_PAD_I2S3_DATA_IN1_FUNC_I2S3_DATA_IN1		   (71 << 8 | 0x0)
246 #define CIX_PAD_I2S3_DATA_IN1_FUNC_GPIO087			   (71 << 8 | 0x1)
247 #define CIX_PAD_I2S3_DATA_IN1_FUNC_I2S7_DATA_IN1_DBG		   (71 << 8 | 0x2)
248 #define CIX_PAD_I2S3_DATA_IN1_FUNC_I2S8_DATA_IN1_DBG		   (71 << 8 | 0x3)
249 #define CIX_PAD_I2S3_DATA_OUT0_FUNC_I2S3_DATA_OUT0		   (72 << 8 | 0x0)
250 #define CIX_PAD_I2S3_DATA_OUT0_FUNC_GPIO088			   (72 << 8 | 0x1)
251 #define CIX_PAD_I2S3_DATA_OUT0_FUNC_I2S7_DATA_OUT0_DBG		   (72 << 8 | 0x2)
252 #define CIX_PAD_I2S3_DATA_OUT0_FUNC_I2S8_DATA_OUT0_DBG		   (72 << 8 | 0x3)
253 #define CIX_PAD_I2S3_DATA_OUT1_FUNC_I2S3_DATA_OUT1		   (73 << 8 | 0x0)
254 #define CIX_PAD_I2S3_DATA_OUT1_FUNC_GPIO089			   (73 << 8 | 0x1)
255 #define CIX_PAD_I2S3_DATA_OUT1_FUNC_I2S7_DATA_OUT1_DBG		   (73 << 8 | 0x2)
256 #define CIX_PAD_I2S3_DATA_OUT1_FUNC_I2S8_DATA_OUT1_DBG		   (73 << 8 | 0x3)
257 #define CIX_PAD_GPIO090_FUNC_GPIO090				   (74 << 8 | 0x0)
258 #define CIX_PAD_GPIO090_FUNC_I2S4_MCLK_LB			   (74 << 8 | 0x1)
259 #define CIX_PAD_GPIO091_FUNC_GPIO091				   (75 << 8 | 0x0)
260 #define CIX_PAD_GPIO091_FUNC_I2S4_SCK_LB			   (75 << 8 | 0x1)
261 #define CIX_PAD_GPIO092_FUNC_GPIO092				   (76 << 8 | 0x0)
262 #define CIX_PAD_GPIO092_FUNC_I2S4_WS_LB				   (76 << 8 | 0x1)
263 #define CIX_PAD_GPIO093_FUNC_GPIO093				   (77 << 8 | 0x0)
264 #define CIX_PAD_GPIO093_FUNC_I2S4_DATA_IN_LB			   (77 << 8 | 0x1)
265 #define CIX_PAD_GPIO094_FUNC_GPIO094				   (78 << 8 | 0x0)
266 #define CIX_PAD_GPIO094_FUNC_I2S4_DATA_OUT_LB			   (78 << 8 | 0x1)
267 #define CIX_PAD_UART0_TXD_FUNC_UART0_TXD			   (79 << 8 | 0x0)
268 #define CIX_PAD_UART0_TXD_FUNC_PWM0				   (79 << 8 | 0x1)
269 #define CIX_PAD_UART0_TXD_FUNC_GPIO095				   (79 << 8 | 0x2)
270 #define CIX_PAD_UART0_RXD_FUNC_UART0_RXD			   (80 << 8 | 0x0)
271 #define CIX_PAD_UART0_RXD_FUNC_PWM1				   (80 << 8 | 0x1)
272 #define CIX_PAD_UART0_RXD_FUNC_GPIO096				   (80 << 8 | 0x2)
273 #define CIX_PAD_UART0_CTS_FUNC_UART0_CTS			   (81 << 8 | 0x0)
274 #define CIX_PAD_UART0_CTS_FUNC_FAN_OUT2				   (81 << 8 | 0x1)
275 #define CIX_PAD_UART0_CTS_FUNC_GPIO097				   (81 << 8 | 0x2)
276 #define CIX_PAD_UART0_RTS_FUNC_UART0_RTS			   (82 << 8 | 0x0)
277 #define CIX_PAD_UART0_RTS_FUNC_FAN_TACH2			   (82 << 8 | 0x1)
278 #define CIX_PAD_UART0_RTS_FUNC_GPIO098				   (82 << 8 | 0x2)
279 #define CIX_PAD_UART1_TXD_FUNC_UART1_TXD			   (83 << 8 | 0x0)
280 #define CIX_PAD_UART1_TXD_FUNC_FAN_OUT0				   (83 << 8 | 0x1)
281 #define CIX_PAD_UART1_TXD_FUNC_GPIO099				   (83 << 8 | 0x2)
282 #define CIX_PAD_UART1_RXD_FUNC_UART1_RXD			   (84 << 8 | 0x0)
283 #define CIX_PAD_UART1_RXD_FUNC_FAN_TACH0			   (84 << 8 | 0x1)
284 #define CIX_PAD_UART1_RXD_FUNC_GPIO100				   (84 << 8 | 0x2)
285 #define CIX_PAD_UART1_CTS_FUNC_UART1_CTS			   (85 << 8 | 0x0)
286 #define CIX_PAD_UART1_CTS_FUNC_FAN_OUT1				   (85 << 8 | 0x1)
287 #define CIX_PAD_UART1_CTS_FUNC_GPIO101				   (85 << 8 | 0x2)
288 #define CIX_PAD_UART1_RTS_FUNC_UART1_RTS			   (86 << 8 | 0x0)
289 #define CIX_PAD_UART1_RTS_FUNC_FAN_TACH1			   (86 << 8 | 0x1)
290 #define CIX_PAD_UART1_RTS_FUNC_GPIO102				   (86 << 8 | 0x2)
291 #define CIX_PAD_UART2_TXD_FUNC_UART2_TXD			   (87 << 8 | 0x0)
292 #define CIX_PAD_UART2_TXD_FUNC_GPIO103				   (87 << 8 | 0x1)
293 #define CIX_PAD_UART2_RXD_FUNC_UART2_RXD			   (88 << 8 | 0x0)
294 #define CIX_PAD_UART2_RXD_FUNC_GPIO104				   (88 << 8 | 0x1)
295 #define CIX_PAD_UART3_TXD_FUNC_UART3_TXD			   (89 << 8 | 0x0)
296 #define CIX_PAD_UART3_TXD_FUNC_GPIO105				   (89 << 8 | 0x1)
297 #define CIX_PAD_UART3_RXD_FUNC_UART3_RXD			   (90 << 8 | 0x0)
298 #define CIX_PAD_UART3_RXD_FUNC_GPIO106				   (90 << 8 | 0x1)
299 #define CIX_PAD_UART3_CTS_FUNC_UART3_CTS			   (91 << 8 | 0x0)
300 #define CIX_PAD_UART3_CTS_FUNC_GPIO107				   (91 << 8 | 0x1)
301 #define CIX_PAD_UART3_CTS_FUNC_TRIGIN0				   (91 << 8 | 0x2)
302 #define CIX_PAD_UART3_RTS_FUNC_UART3_RTS			   (92 << 8 | 0x0)
303 #define CIX_PAD_UART3_RTS_FUNC_GPIO108				   (92 << 8 | 0x1)
304 #define CIX_PAD_UART3_RTS_FUNC_TRIGIN1				   (92 << 8 | 0x2)
305 #define CIX_PAD_UART4_CSU_PM_TXD_FUNC_UART4_CSU_PM_TXD		   (93 << 8 | 0x0)
306 #define CIX_PAD_UART4_CSU_PM_TXD_FUNC_GPIO109			   (93 << 8 | 0x1)
307 #define CIX_PAD_UART4_CSU_PM_RXD_FUNC_UART4_CSU_PM_RXD		   (94 << 8 | 0x0)
308 #define CIX_PAD_UART4_CSU_PM_RXD_FUNC_GPIO110			   (94 << 8 | 0x1)
309 #define CIX_PAD_UART5_CSU_SE_TXD_FUNC_UART5_CSU_SE_TXD		   (95 << 8 | 0x0)
310 #define CIX_PAD_UART5_CSU_SE_TXD_FUNC_GPIO111			   (95 << 8 | 0x1)
311 #define CIX_PAD_UART5_CSU_SE_RXD_FUNC_UART5_CSU_SE_RXD		   (96 << 8 | 0x0)
312 #define CIX_PAD_UART5_CSU_SE_RXD_FUNC_GPIO112			   (96 << 8 | 0x1)
313 #define CIX_PAD_UART6_CSU_SE_RXD_FUNC_UART6_CSU_SE_RXD		   (97 << 8 | 0x0)
314 #define CIX_PAD_UART6_CSU_SE_RXD_FUNC_GPIO113			   (97 << 8 | 0x1)
315 #define CIX_PAD_CLK_REQ0_L_FUNC_CLK_REQ0_L			   (98 << 8 | 0x0)
316 #define CIX_PAD_CLK_REQ0_L_FUNC_GPIO114				   (98 << 8 | 0x1)
317 #define CIX_PAD_CLK_REQ2_L_FUNC_CLK_REQ2_L			   (99 << 8 | 0x0)
318 #define CIX_PAD_CLK_REQ2_L_FUNC_GPIO115				   (99 << 8 | 0x1)
319 #define CIX_PAD_CLK_REQ4_L_FUNC_CLK_REQ4_L			   (100 << 8 | 0x0)
320 #define CIX_PAD_CLK_REQ4_L_FUNC_GPIO116				   (100 << 8 | 0x1)
321 #define CIX_PAD_CSI0_MCLK0_FUNC_CSI0_MCLK0			   (101 << 8 | 0x0)
322 #define CIX_PAD_CSI0_MCLK0_FUNC_GPIO117				   (101 << 8 | 0x1)
323 #define CIX_PAD_CSI0_MCLK1_FUNC_CSI0_MCLK1			   (102 << 8 | 0x0)
324 #define CIX_PAD_CSI0_MCLK1_FUNC_GPIO118				   (102 << 8 | 0x1)
325 #define CIX_PAD_CSI1_MCLK0_FUNC_CSI1_MCLK0			   (103 << 8 | 0x0)
326 #define CIX_PAD_CSI1_MCLK0_FUNC_GPIO119				   (103 << 8 | 0x1)
327 #define CIX_PAD_CSI1_MCLK1_FUNC_CSI1_MCLK1			   (104 << 8 | 0x0)
328 #define CIX_PAD_CSI1_MCLK1_FUNC_GPIO120				   (104 << 8 | 0x1)
329 #define CIX_PAD_GPIO121_FUNC_GPIO121				   (105 << 8 | 0x0)
330 #define CIX_PAD_GPIO121_FUNC_GMAC0_REFCLK_25M			   (105 << 8 | 0x1)
331 #define CIX_PAD_GPIO122_FUNC_GPIO122				   (106 << 8 | 0x0)
332 #define CIX_PAD_GPIO122_FUNC_GMAC0_TX_CTL			   (106 << 8 | 0x1)
333 #define CIX_PAD_GPIO123_FUNC_GPIO123				   (107 << 8 | 0x0)
334 #define CIX_PAD_GPIO123_FUNC_GMAC0_TXD0				   (107 << 8 | 0x1)
335 #define CIX_PAD_GPIO124_FUNC_GPIO124				   (108 << 8 | 0x0)
336 #define CIX_PAD_GPIO124_FUNC_GMAC0_TXD1				   (108 << 8 | 0x1)
337 #define CIX_PAD_GPIO125_FUNC_GPIO125				   (109 << 8 | 0x0)
338 #define CIX_PAD_GPIO125_FUNC_GMAC0_TXD2				   (109 << 8 | 0x1)
339 #define CIX_PAD_GPIO126_FUNC_GPIO126				   (110 << 8 | 0x0)
340 #define CIX_PAD_GPIO126_FUNC_GMAC0_TXD3				   (110 << 8 | 0x1)
341 #define CIX_PAD_GPIO127_FUNC_GPIO127				   (111 << 8 | 0x0)
342 #define CIX_PAD_GPIO127_FUNC_GMAC0_TX_CLK			   (111 << 8 | 0x1)
343 #define CIX_PAD_GPIO128_FUNC_GPIO128				   (112 << 8 | 0x0)
344 #define CIX_PAD_GPIO128_FUNC_GMAC0_RX_CTL			   (112 << 8 | 0x1)
345 #define CIX_PAD_GPIO129_FUNC_GPIO129				   (113 << 8 | 0x0)
346 #define CIX_PAD_GPIO129_FUNC_GMAC0_RXD0				   (113 << 8 | 0x1)
347 #define CIX_PAD_GPIO130_FUNC_GPIO130				   (114 << 8 | 0x0)
348 #define CIX_PAD_GPIO130_FUNC_GMAC0_RXD1				   (114 << 8 | 0x1)
349 #define CIX_PAD_GPIO131_FUNC_GPIO131				   (115 << 8 | 0x0)
350 #define CIX_PAD_GPIO131_FUNC_GMAC0_RXD2				   (115 << 8 | 0x1)
351 #define CIX_PAD_GPIO132_FUNC_GPIO132				   (116 << 8 | 0x0)
352 #define CIX_PAD_GPIO132_FUNC_GMAC0_RXD3				   (116 << 8 | 0x1)
353 #define CIX_PAD_GPIO133_FUNC_GPIO133				   (117 << 8 | 0x0)
354 #define CIX_PAD_GPIO133_FUNC_GMAC0_RX_CLK			   (117 << 8 | 0x1)
355 #define CIX_PAD_GPIO134_FUNC_GPIO134				   (118 << 8 | 0x0)
356 #define CIX_PAD_GPIO134_FUNC_GMAC0_MDC				   (118 << 8 | 0x1)
357 #define CIX_PAD_GPIO135_FUNC_GPIO135				   (119 << 8 | 0x0)
358 #define CIX_PAD_GPIO135_FUNC_GMAC0_MDIO				   (119 << 8 | 0x1)
359 #define CIX_PAD_GPIO136_FUNC_GPIO136				   (120 << 8 | 0x0)
360 #define CIX_PAD_GPIO136_FUNC_GMAC1_REFCLK_25M			   (120 << 8 | 0x1)
361 #define CIX_PAD_GPIO137_FUNC_GPIO137				   (121 << 8 | 0x0)
362 #define CIX_PAD_GPIO137_FUNC_GMAC1_TX_CTL			   (121 << 8 | 0x1)
363 #define CIX_PAD_GPIO138_FUNC_GPIO138				   (122 << 8 | 0x0)
364 #define CIX_PAD_GPIO138_FUNC_GMAC1_TXD0				   (122 << 8 | 0x1)
365 #define CIX_PAD_GPIO138_FUNC_SPI2_MISO				   (122 << 8 | 0x2)
366 #define CIX_PAD_GPIO139_FUNC_GPIO139				   (123 << 8 | 0x0)
367 #define CIX_PAD_GPIO139_FUNC_GMAC1_TXD1				   (123 << 8 | 0x1)
368 #define CIX_PAD_GPIO139_FUNC_SPI2_CS0				   (123 << 8 | 0x2)
369 #define CIX_PAD_GPIO140_FUNC_GPIO140				   (124 << 8 | 0x0)
370 #define CIX_PAD_GPIO140_FUNC_GMAC1_TXD2				   (124 << 8 | 0x1)
371 #define CIX_PAD_GPIO140_FUNC_SPI2_CS1				   (124 << 8 | 0x2)
372 #define CIX_PAD_GPIO141_FUNC_GPIO141				   (125 << 8 | 0x0)
373 #define CIX_PAD_GPIO141_FUNC_GMAC1_TXD3				   (125 << 8 | 0x1)
374 #define CIX_PAD_GPIO141_FUNC_SPI2_MOSI				   (125 << 8 | 0x2)
375 #define CIX_PAD_GPIO142_FUNC_GPIO142				   (126 << 8 | 0x0)
376 #define CIX_PAD_GPIO142_FUNC_GMAC1_TX_CLK			   (126 << 8 | 0x1)
377 #define CIX_PAD_GPIO142_FUNC_SPI2_CLK				   (126 << 8 | 0x2)
378 #define CIX_PAD_GPIO143_FUNC_GPIO143				   (127 << 8 | 0x0)
379 #define CIX_PAD_GPIO143_FUNC_GMAC1_RX_CTL			   (127 << 8 | 0x1)
380 #define CIX_PAD_GPIO144_FUNC_GPIO144				   (128 << 8 | 0x0)
381 #define CIX_PAD_GPIO144_FUNC_GMAC1_RXD0				   (128 << 8 | 0x1)
382 #define CIX_PAD_GPIO145_FUNC_GPIO145				   (129 << 8 | 0x0)
383 #define CIX_PAD_GPIO145_FUNC_GMAC1_RXD1				   (129 << 8 | 0x1)
384 #define CIX_PAD_GPIO146_FUNC_GPIO146				   (130 << 8 | 0x0)
385 #define CIX_PAD_GPIO146_FUNC_GMAC1_RXD2				   (130 << 8 | 0x1)
386 #define CIX_PAD_GPIO147_FUNC_GPIO147				   (131 << 8 | 0x0)
387 #define CIX_PAD_GPIO147_FUNC_GMAC1_RXD3				   (131 << 8 | 0x1)
388 #define CIX_PAD_GPIO148_FUNC_GPIO148				   (132 << 8 | 0x0)
389 #define CIX_PAD_GPIO148_FUNC_GMAC1_RX_CLK			   (132 << 8 | 0x1)
390 #define CIX_PAD_GPIO149_FUNC_GPIO149				   (133 << 8 | 0x0)
391 #define CIX_PAD_GPIO149_FUNC_GMAC1_MDC				   (133 << 8 | 0x1)
392 #define CIX_PAD_GPIO150_FUNC_GPIO150				   (134 << 8 | 0x0)
393 #define CIX_PAD_GPIO150_FUNC_GMAC1_MDIO				   (134 << 8 | 0x1)
394 #define CIX_PAD_GPIO151_FUNC_GPIO151				   (135 << 8 | 0x0)
395 #define CIX_PAD_GPIO151_FUNC_PM_GPIO0				   (135 << 8 | 0x1)
396 #define CIX_PAD_GPIO152_FUNC_GPIO152				   (136 << 8 | 0x0)
397 #define CIX_PAD_GPIO152_FUNC_PM_GPIO1				   (136 << 8 | 0x1)
398 #define CIX_PAD_GPIO153_FUNC_GPIO153				   (137 << 8 | 0x0)
399 #define CIX_PAD_GPIO153_FUNC_PM_GPIO2				   (137 << 8 | 0x1)
400 
401 #endif
402