xref: /linux/drivers/pinctrl/tegra/pinctrl-tegra264.c (revision d2c9a99135da931377240942d44f3dea104cedb8)
1*c9850620SPrathamesh Shete // SPDX-License-Identifier: GPL-2.0-only
2*c9850620SPrathamesh Shete /*
3*c9850620SPrathamesh Shete  * Pinctrl data for the NVIDIA Tegra264 pinmux
4*c9850620SPrathamesh Shete  *
5*c9850620SPrathamesh Shete  * Copyright (c) 2024-2026, NVIDIA CORPORATION.  All rights reserved.
6*c9850620SPrathamesh Shete  */
7*c9850620SPrathamesh Shete 
8*c9850620SPrathamesh Shete #include <linux/module.h>
9*c9850620SPrathamesh Shete #include <linux/platform_device.h>
10*c9850620SPrathamesh Shete #include <linux/property.h>
11*c9850620SPrathamesh Shete #include <linux/pinctrl/pinctrl.h>
12*c9850620SPrathamesh Shete #include <linux/pinctrl/pinmux.h>
13*c9850620SPrathamesh Shete 
14*c9850620SPrathamesh Shete #include "pinctrl-tegra.h"
15*c9850620SPrathamesh Shete 
16*c9850620SPrathamesh Shete /* Define unique ID for each pins */
17*c9850620SPrathamesh Shete enum {
18*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L4_CLKREQ_N_PD0,
19*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L4_RST_N_PD1,
20*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L5_CLKREQ_N_PD2,
21*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L5_RST_N_PD3,
22*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH0_MDIO_PD4,
23*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH0_MDC_PD5,
24*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH3_MDIO_PD6,
25*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH3_MDC_PD7,
26*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH1_MDIO_PE0,
27*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH1_MDC_PE1,
28*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH2_MDIO_PE2,
29*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH2_MDC_PE3,
30*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L1_CLKREQ_N_PB0,
31*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L1_RST_N_PB1,
32*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L2_CLKREQ_N_PB2,
33*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L2_RST_N_PB3,
34*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L3_CLKREQ_N_PB4,
35*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L3_RST_N_PB5,
36*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO113_PB6,
37*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO114_PB7,
38*c9850620SPrathamesh Shete 	TEGRA_PIN_SGMII0_SMA_MDIO_PC0,
39*c9850620SPrathamesh Shete 	TEGRA_PIN_SGMII0_SMA_MDC_PC1,
40*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_WAKE_N_PC2,
41*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM1_PA0,
42*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM6_PA1,
43*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM7_PA2,
44*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM8_PA3,
45*c9850620SPrathamesh Shete 	TEGRA_PIN_UFS0_REF_CLK_PA4,
46*c9850620SPrathamesh Shete 	TEGRA_PIN_UFS0_RST_N_PA5,
47*c9850620SPrathamesh Shete };
48*c9850620SPrathamesh Shete 
49*c9850620SPrathamesh Shete enum {
50*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO250_PF0,
51*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO251_PF1,
52*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO252_PF2,
53*c9850620SPrathamesh Shete 	TEGRA_PIN_DP_AUX_CH0_HPD_PF3,
54*c9850620SPrathamesh Shete 	TEGRA_PIN_DP_AUX_CH1_HPD_PF4,
55*c9850620SPrathamesh Shete 	TEGRA_PIN_DP_AUX_CH2_HPD_PF5,
56*c9850620SPrathamesh Shete 	TEGRA_PIN_DP_AUX_CH3_HPD_PF6,
57*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM2_PF7,
58*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM3_PG0,
59*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN7_I2C_SCL_PG1,
60*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN7_I2C_SDA_PG2,
61*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN9_I2C_SCL_PG3,
62*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN9_I2C_SDA_PG4,
63*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_CLK_PX0,
64*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_CMD_PX1,
65*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT0_PX2,
66*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT1_PX3,
67*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT2_PX4,
68*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT3_PX5,
69*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_COMP,
70*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO124_PL0,
71*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO125_PL1,
72*c9850620SPrathamesh Shete 	TEGRA_PIN_FAN_TACH0_PL2,
73*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO127_PL3,
74*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO128_PL4,
75*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO129_PL5,
76*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO130_PL6,
77*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO131_PL7,
78*c9850620SPrathamesh Shete 	TEGRA_PIN_GP_PWM9_PM0,
79*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO133_PM1,
80*c9850620SPrathamesh Shete 	TEGRA_PIN_UART9_TX_PM2,
81*c9850620SPrathamesh Shete 	TEGRA_PIN_UART9_RX_PM3,
82*c9850620SPrathamesh Shete 	TEGRA_PIN_UART9_RTS_N_PM4,
83*c9850620SPrathamesh Shete 	TEGRA_PIN_UART9_CTS_N_PM5,
84*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO170_PU0,
85*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO171_PU1,
86*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO172_PU2,
87*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO173_PU3,
88*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO174_PU4,
89*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO175_PU5,
90*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO176_PU6,
91*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO177_PU7,
92*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO178_PV0,
93*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM10_PV1,
94*c9850620SPrathamesh Shete 	TEGRA_PIN_UART4_TX_PV2,
95*c9850620SPrathamesh Shete 	TEGRA_PIN_UART4_RX_PV3,
96*c9850620SPrathamesh Shete 	TEGRA_PIN_UART4_RTS_N_PV4,
97*c9850620SPrathamesh Shete 	TEGRA_PIN_UART4_CTS_N_PV5,
98*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP2_CLK_PV6,
99*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP2_DIN_PV7,
100*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP2_DOUT_PW0,
101*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP2_FS_PW1,
102*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN1_I2C_SCL_PW2,
103*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN1_I2C_SDA_PW3,
104*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN0_I2C_SCL_PW4,
105*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN0_I2C_SDA_PW5,
106*c9850620SPrathamesh Shete 	TEGRA_PIN_PWR_I2C_SCL_PW6,
107*c9850620SPrathamesh Shete 	TEGRA_PIN_PWR_I2C_SDA_PW7,
108*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO138_PP0,
109*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO139_PP1,
110*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP6_SCLK_PP2,
111*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP6_DOUT_PP3,
112*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP6_DIN_PP4,
113*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP6_FS_PP5,
114*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP4_SCLK_PP6,
115*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP4_DOUT_PP7,
116*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP4_DIN_PQ0,
117*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP4_FS_PQ1,
118*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI5_SCK_PQ2,
119*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI5_MISO_PQ3,
120*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI5_MOSI_PQ4,
121*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI5_CS0_PQ5,
122*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO152_PQ6,
123*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO153_PQ7,
124*c9850620SPrathamesh Shete 	TEGRA_PIN_AUD_MCLK_PR0,
125*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO155_PR1,
126*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP1_SCLK_PR2,
127*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP1_OUT_PR3,
128*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP1_IN_PR4,
129*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP1_FS_PR5,
130*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN11_I2C_SCL_PR6,
131*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN11_I2C_SDA_PR7,
132*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO350_PS0,
133*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO351_PS1,
134*c9850620SPrathamesh Shete 	TEGRA_PIN_QSPI0_SCK_PT0,
135*c9850620SPrathamesh Shete 	TEGRA_PIN_QSPI0_CS_N_PT1,
136*c9850620SPrathamesh Shete 	TEGRA_PIN_QSPI0_IO0_PT2,
137*c9850620SPrathamesh Shete 	TEGRA_PIN_QSPI0_IO1_PT3,
138*c9850620SPrathamesh Shete 	TEGRA_PIN_QSPI0_IO2_PT4,
139*c9850620SPrathamesh Shete 	TEGRA_PIN_QSPI0_IO3_PT5,
140*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO192_PT6,
141*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO270_PY0,
142*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO271_PY1,
143*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO272_PY2,
144*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO273_PY3,
145*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO274_PY4,
146*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO275_PY5,
147*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO276_PY6,
148*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO277_PY7,
149*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO278_PZ0,
150*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO279_PZ1,
151*c9850620SPrathamesh Shete 	TEGRA_PIN_XHALT_TRIG_PZ2,
152*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO281_PZ3,
153*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO282_PZ4,
154*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO283_PZ5,
155*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO284_PZ6,
156*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO285_PZ7,
157*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO286_PAL0,
158*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO287_PAL1,
159*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO288_PAL2,
160*c9850620SPrathamesh Shete 	TEGRA_PIN_CPU_PWR_REQ_PH0,
161*c9850620SPrathamesh Shete 	TEGRA_PIN_GPU_PWR_REQ_PH1,
162*c9850620SPrathamesh Shete 	TEGRA_PIN_UART10_TX_PH2,
163*c9850620SPrathamesh Shete 	TEGRA_PIN_UART10_RX_PH3,
164*c9850620SPrathamesh Shete 	TEGRA_PIN_UART10_RTS_N_PH4,
165*c9850620SPrathamesh Shete 	TEGRA_PIN_UART10_CTS_N_PH5,
166*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI3_SCK_PH6,
167*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI3_MISO_PH7,
168*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI3_MOSI_PJ0,
169*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI3_CS0_PJ1,
170*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI3_CS3_PJ2,
171*c9850620SPrathamesh Shete 	TEGRA_PIN_UART5_TX_PJ3,
172*c9850620SPrathamesh Shete 	TEGRA_PIN_UART5_RX_PJ4,
173*c9850620SPrathamesh Shete 	TEGRA_PIN_UART5_RTS_N_PJ5,
174*c9850620SPrathamesh Shete 	TEGRA_PIN_UART5_CTS_N_PJ6,
175*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI1_SCK_PJ7,
176*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI1_MISO_PK0,
177*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI1_MOSI_PK1,
178*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI1_CS0_PK2,
179*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI1_CS1_PK3,
180*c9850620SPrathamesh Shete 	TEGRA_PIN_EXTPERIPH1_CLK_PK4,
181*c9850620SPrathamesh Shete 	TEGRA_PIN_EXTPERIPH2_CLK_PK5,
182*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN12_I2C_SCL_PK6,
183*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN12_I2C_SDA_PK7,
184*c9850620SPrathamesh Shete };
185*c9850620SPrathamesh Shete 
186*c9850620SPrathamesh Shete enum {
187*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO00_PAA0,
188*c9850620SPrathamesh Shete 	TEGRA_PIN_VCOMP_ALERT_PAA1,
189*c9850620SPrathamesh Shete 	TEGRA_PIN_AO_RETENTION_N_PAA2,
190*c9850620SPrathamesh Shete 	TEGRA_PIN_BATT_OC_PAA3,
191*c9850620SPrathamesh Shete 	TEGRA_PIN_BOOTV_CTL_N_PAA4,
192*c9850620SPrathamesh Shete 	TEGRA_PIN_POWER_ON_PAA5,
193*c9850620SPrathamesh Shete 	TEGRA_PIN_HDMI_CEC_PAA6,
194*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO07_PAA7,
195*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO08_PBB0,
196*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO09_PBB1,
197*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN2_I2C_SCL_PCC0,
198*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN2_I2C_SDA_PCC1,
199*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN3_I2C_SCL_PCC2,
200*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN3_I2C_SDA_PCC3,
201*c9850620SPrathamesh Shete 	TEGRA_PIN_GP_PWM4_PCC4,
202*c9850620SPrathamesh Shete 	TEGRA_PIN_UART0_TX_PCC5,
203*c9850620SPrathamesh Shete 	TEGRA_PIN_UART0_RX_PCC6,
204*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI2_SCK_PCC7,
205*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI2_MISO_PDD0,
206*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI2_MOSI_PDD1,
207*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI2_CS0_N_PDD2,
208*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO21_PDD3,
209*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO22_PDD4,
210*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO23_PDD5,
211*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO24_PDD6,
212*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO25_PDD7,
213*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO26_PEE0,
214*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO27_PEE1,
215*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO28_PEE2,
216*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO29_PEE3,
217*c9850620SPrathamesh Shete };
218*c9850620SPrathamesh Shete 
219*c9850620SPrathamesh Shete static const struct pinctrl_pin_desc tegra264_uphy_pins[] = {
220*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L4_CLKREQ_N_PD0, "PEX_L4_CLKREQ_N_PD0"),
221*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L4_RST_N_PD1, "PEX_L4_RST_N_PD1"),
222*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L5_CLKREQ_N_PD2, "PEX_L5_CLKREQ_N_PD2"),
223*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L5_RST_N_PD3, "PEX_L5_RST_N_PD3"),
224*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_ETH0_MDIO_PD4, "ETH0_MDIO_PD4"),
225*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_ETH0_MDC_PD5, "ETH0_MDC_PD5"),
226*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_ETH3_MDIO_PD6, "ETH3_MDIO_PD6"),
227*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_ETH3_MDC_PD7, "ETH3_MDC_PD7"),
228*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_ETH1_MDIO_PE0, "ETH1_MDIO_PE0"),
229*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_ETH1_MDC_PE1, "ETH1_MDC_PE1"),
230*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_ETH2_MDIO_PE2, "ETH2_MDIO_PE2"),
231*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_ETH2_MDC_PE3, "ETH2_MDC_PE3"),
232*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L1_CLKREQ_N_PB0, "PEX_L1_CLKREQ_N_PB0"),
233*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L1_RST_N_PB1, "PEX_L1_RST_N_PB1"),
234*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L2_CLKREQ_N_PB2, "PEX_L2_CLKREQ_N_PB2"),
235*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L2_RST_N_PB3, "PEX_L2_RST_N_PB3"),
236*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L3_CLKREQ_N_PB4, "PEX_L3_CLKREQ_N_PB4"),
237*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L3_RST_N_PB5, "PEX_L3_RST_N_PB5"),
238*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO113_PB6, "SOC_GPIO113_PB6"),
239*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO114_PB7, "SOC_GPIO114_PB7"),
240*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SGMII0_SMA_MDIO_PC0, "SGMII0_SMA_MDIO_PC0"),
241*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SGMII0_SMA_MDC_PC1, "SGMII0_SMA_MDC_PC1"),
242*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_WAKE_N_PC2, "PEX_WAKE_N_PC2"),
243*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWM1_PA0, "PWM1_PA0"),
244*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWM6_PA1, "PWM6_PA1"),
245*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWM7_PA2, "PWM7_PA2"),
246*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWM8_PA3, "PWM8_PA3"),
247*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UFS0_REF_CLK_PA4, "UFS0_REF_CLK_PA4"),
248*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UFS0_RST_N_PA5, "UFS0_RST_N_PA5"),
249*c9850620SPrathamesh Shete };
250*c9850620SPrathamesh Shete 
251*c9850620SPrathamesh Shete static const struct pinctrl_pin_desc tegra264_main_pins[] = {
252*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO250_PF0, "SOC_GPIO250_PF0"),
253*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO251_PF1, "SOC_GPIO251_PF1"),
254*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO252_PF2, "SOC_GPIO252_PF2"),
255*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DP_AUX_CH0_HPD_PF3, "DP_AUX_CH0_HPD_PF3"),
256*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DP_AUX_CH1_HPD_PF4, "DP_AUX_CH1_HPD_PF4"),
257*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DP_AUX_CH2_HPD_PF5, "DP_AUX_CH2_HPD_PF5"),
258*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DP_AUX_CH3_HPD_PF6, "DP_AUX_CH3_HPD_PF6"),
259*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWM2_PF7, "PWM2_PF7"),
260*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWM3_PG0, "PWM3_PG0"),
261*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN7_I2C_SCL_PG1, "GEN7_I2C_SCL_PG1"),
262*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN7_I2C_SDA_PG2, "GEN7_I2C_SDA_PG2"),
263*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN9_I2C_SCL_PG3, "GEN9_I2C_SCL_PG3"),
264*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN9_I2C_SDA_PG4, "GEN9_I2C_SDA_PG4"),
265*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CLK_PX0, "SDMMC1_CLK_PX0"),
266*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CMD_PX1, "SDMMC1_CMD_PX1"),
267*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT0_PX2, "SDMMC1_DAT0_PX2"),
268*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT1_PX3, "SDMMC1_DAT1_PX3"),
269*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT2_PX4, "SDMMC1_DAT2_PX4"),
270*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT3_PX5, "SDMMC1_DAT3_PX5"),
271*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_COMP, "SDMMC1_COMP"),
272*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_CPU_PWR_REQ_PH0, "CPU_PWR_REQ_PH0"),
273*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GPU_PWR_REQ_PH1, "GPU_PWR_REQ_PH1"),
274*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART10_TX_PH2, "UART10_TX_PH2"),
275*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART10_RX_PH3, "UART10_RX_PH3"),
276*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART10_RTS_N_PH4, "UART10_RTS_N_PH4"),
277*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART10_CTS_N_PH5, "UART10_CTS_N_PH5"),
278*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI3_SCK_PH6, "SPI3_SCK_PH6"),
279*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI3_MISO_PH7, "SPI3_MISO_PH7"),
280*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI3_MOSI_PJ0, "SPI3_MOSI_PJ0"),
281*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI3_CS0_PJ1, "SPI3_CS0_PJ1"),
282*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI3_CS3_PJ2, "SPI3_CS3_PJ2"),
283*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART5_TX_PJ3, "UART5_TX_PJ3"),
284*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART5_RX_PJ4, "UART5_RX_PJ4"),
285*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART5_RTS_N_PJ5, "UART5_RTS_N_PJ5"),
286*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART5_CTS_N_PJ6, "UART5_CTS_N_PJ6"),
287*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI1_SCK_PJ7, "SPI1_SCK_PJ7"),
288*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI1_MISO_PK0, "SPI1_MISO_PK0"),
289*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI1_MOSI_PK1, "SPI1_MOSI_PK1"),
290*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI1_CS0_PK2, "SPI1_CS0_PK2"),
291*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI1_CS1_PK3, "SPI1_CS1_PK3"),
292*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_EXTPERIPH1_CLK_PK4, "EXTPERIPH1_CLK_PK4"),
293*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_EXTPERIPH2_CLK_PK5, "EXTPERIPH2_CLK_PK5"),
294*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN12_I2C_SCL_PK6, "GEN12_I2C_SCL_PK6"),
295*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN12_I2C_SDA_PK7, "GEN12_I2C_SDA_PK7"),
296*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO124_PL0, "SOC_GPIO124_PL0"),
297*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO125_PL1, "SOC_GPIO125_PL1"),
298*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_FAN_TACH0_PL2, "FAN_TACH0_PL2"),
299*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO127_PL3, "SOC_GPIO127_PL3"),
300*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO128_PL4, "SOC_GPIO128_PL4"),
301*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO129_PL5, "SOC_GPIO129_PL5"),
302*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO130_PL6, "SOC_GPIO130_PL6"),
303*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO131_PL7, "SOC_GPIO131_PL7"),
304*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GP_PWM9_PM0, "GP_PWM9_PM0"),
305*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO133_PM1, "SOC_GPIO133_PM1"),
306*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART9_TX_PM2, "UART9_TX_PM2"),
307*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART9_RX_PM3, "UART9_RX_PM3"),
308*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART9_RTS_N_PM4, "UART9_RTS_N_PM4"),
309*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART9_CTS_N_PM5, "UART9_CTS_N_PM5"),
310*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_QSPI0_SCK_PT0, "QSPI0_SCK_PT0"),
311*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_QSPI0_CS_N_PT1, "QSPI0_CS_N_PT1"),
312*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_QSPI0_IO0_PT2, "QSPI0_IO0_PT2"),
313*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_QSPI0_IO1_PT3, "QSPI0_IO1_PT3"),
314*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_QSPI0_IO2_PT4, "QSPI0_IO2_PT4"),
315*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_QSPI0_IO3_PT5, "QSPI0_IO3_PT5"),
316*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO192_PT6, "SOC_GPIO192_PT6"),
317*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO170_PU0, "SOC_GPIO170_PU0"),
318*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO171_PU1, "SOC_GPIO171_PU1"),
319*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO172_PU2, "SOC_GPIO172_PU2"),
320*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO173_PU3, "SOC_GPIO173_PU3"),
321*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO174_PU4, "SOC_GPIO174_PU4"),
322*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO175_PU5, "SOC_GPIO175_PU5"),
323*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO176_PU6, "SOC_GPIO176_PU6"),
324*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO177_PU7, "SOC_GPIO177_PU7"),
325*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO178_PV0, "SOC_GPIO178_PV0"),
326*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWM10_PV1, "PWM10_PV1"),
327*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART4_TX_PV2, "UART4_TX_PV2"),
328*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART4_RX_PV3, "UART4_RX_PV3"),
329*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART4_RTS_N_PV4, "UART4_RTS_N_PV4"),
330*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART4_CTS_N_PV5, "UART4_CTS_N_PV5"),
331*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP2_CLK_PV6, "DAP2_CLK_PV6"),
332*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP2_DIN_PV7, "DAP2_DIN_PV7"),
333*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP2_DOUT_PW0, "DAP2_DOUT_PW0"),
334*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP2_FS_PW1, "DAP2_FS_PW1"),
335*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SCL_PW2, "GEN1_I2C_SCL_PW2"),
336*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SDA_PW3, "GEN1_I2C_SDA_PW3"),
337*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN0_I2C_SCL_PW4, "GEN0_I2C_SCL_PW4"),
338*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN0_I2C_SDA_PW5, "GEN0_I2C_SDA_PW5"),
339*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SCL_PW6, "PWR_I2C_SCL_PW6"),
340*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SDA_PW7, "PWR_I2C_SDA_PW7"),
341*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO270_PY0, "SOC_GPIO270_PY0"),
342*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO271_PY1, "SOC_GPIO271_PY1"),
343*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO272_PY2, "SOC_GPIO272_PY2"),
344*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO273_PY3, "SOC_GPIO273_PY3"),
345*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO274_PY4, "SOC_GPIO274_PY4"),
346*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO275_PY5, "SOC_GPIO275_PY5"),
347*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO276_PY6, "SOC_GPIO276_PY6"),
348*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO277_PY7, "SOC_GPIO277_PY7"),
349*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO278_PZ0, "SOC_GPIO278_PZ0"),
350*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO279_PZ1, "SOC_GPIO279_PZ1"),
351*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_XHALT_TRIG_PZ2, "XHALT_TRIG_PZ2"),
352*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO281_PZ3, "SOC_GPIO281_PZ3"),
353*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO282_PZ4, "SOC_GPIO282_PZ4"),
354*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO283_PZ5, "SOC_GPIO283_PZ5"),
355*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO284_PZ6, "SOC_GPIO284_PZ6"),
356*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO285_PZ7, "SOC_GPIO285_PZ7"),
357*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO286_PAL0, "SOC_GPIO286_PAL0"),
358*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO287_PAL1, "SOC_GPIO287_PAL1"),
359*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO288_PAL2, "SOC_GPIO288_PAL2"),
360*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO138_PP0, "SOC_GPIO138_PP0"),
361*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO139_PP1, "SOC_GPIO139_PP1"),
362*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP6_SCLK_PP2, "DAP6_SCLK_PP2"),
363*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP6_DOUT_PP3, "DAP6_DOUT_PP3"),
364*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP6_DIN_PP4, "DAP6_DIN_PP4"),
365*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP6_FS_PP5, "DAP6_FS_PP5"),
366*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP4_SCLK_PP6, "DAP4_SCLK_PP6"),
367*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP4_DOUT_PP7, "DAP4_DOUT_PP7"),
368*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP4_DIN_PQ0, "DAP4_DIN_PQ0"),
369*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP4_FS_PQ1, "DAP4_FS_PQ1"),
370*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI5_SCK_PQ2, "SPI5_SCK_PQ2"),
371*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI5_MISO_PQ3, "SPI5_MISO_PQ3"),
372*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI5_MOSI_PQ4, "SPI5_MOSI_PQ4"),
373*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI5_CS0_PQ5, "SPI5_CS0_PQ5"),
374*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO152_PQ6, "SOC_GPIO152_PQ6"),
375*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO153_PQ7, "SOC_GPIO153_PQ7"),
376*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_AUD_MCLK_PR0, "AUD_MCLK_PR0"),
377*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO155_PR1, "SOC_GPIO155_PR1"),
378*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP1_SCLK_PR2, "DAP1_SCLK_PR2"),
379*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP1_OUT_PR3, "DAP1_OUT_PR3"),
380*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP1_IN_PR4, "DAP1_IN_PR4"),
381*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP1_FS_PR5, "DAP1_FS_PR5"),
382*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN11_I2C_SCL_PR6, "GEN11_I2C_SCL_PR6"),
383*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN11_I2C_SDA_PR7, "GEN11_I2C_SDA_PR7"),
384*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO350_PS0, "SOC_GPIO350_PS0"),
385*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO351_PS1, "SOC_GPIO351_PS1"),
386*c9850620SPrathamesh Shete 
387*c9850620SPrathamesh Shete };
388*c9850620SPrathamesh Shete 
389*c9850620SPrathamesh Shete static const struct pinctrl_pin_desc tegra264_aon_pins[] = {
390*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO00_PAA0, "SOC_GPIO00_PAA0"),
391*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_VCOMP_ALERT_PAA1, "VCOMP_ALERT_PAA1"),
392*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_AO_RETENTION_N_PAA2, "AO_RETENTION_N_PAA2"),
393*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_BATT_OC_PAA3, "BATT_OC_PAA3"),
394*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_BOOTV_CTL_N_PAA4, "BOOTV_CTL_N_PAA4"),
395*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_POWER_ON_PAA5, "POWER_ON_PAA5"),
396*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_HDMI_CEC_PAA6, "HDMI_CEC_PAA6"),
397*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO07_PAA7, "SOC_GPIO07_PAA7"),
398*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO08_PBB0, "SOC_GPIO08_PBB0"),
399*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO09_PBB1, "SOC_GPIO09_PBB1"),
400*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SCL_PCC0, "GEN2_I2C_SCL_PCC0"),
401*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SDA_PCC1, "GEN2_I2C_SDA_PCC1"),
402*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN3_I2C_SCL_PCC2, "GEN3_I2C_SCL_PCC2"),
403*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN3_I2C_SDA_PCC3, "GEN3_I2C_SDA_PCC3"),
404*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GP_PWM4_PCC4, "GP_PWM4_PCC4"),
405*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART0_TX_PCC5, "UART0_TX_PCC5"),
406*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART0_RX_PCC6, "UART0_RX_PCC6"),
407*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI2_SCK_PCC7, "SPI2_SCK_PCC7"),
408*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI2_MISO_PDD0, "SPI2_MISO_PDD0"),
409*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI2_MOSI_PDD1, "SPI2_MOSI_PDD1"),
410*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI2_CS0_N_PDD2, "SPI2_CS0_N_PDD2"),
411*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO21_PDD3, "SOC_GPIO21_PDD3"),
412*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO22_PDD4, "SOC_GPIO22_PDD4"),
413*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO23_PDD5, "SOC_GPIO23_PDD5"),
414*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO24_PDD6, "SOC_GPIO24_PDD6"),
415*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO25_PDD7, "SOC_GPIO25_PDD7"),
416*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO26_PEE0, "SOC_GPIO26_PEE0"),
417*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO27_PEE1, "SOC_GPIO27_PEE1"),
418*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO28_PEE2, "SOC_GPIO28_PEE2"),
419*c9850620SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO29_PEE3, "SOC_GPIO29_PEE3"),
420*c9850620SPrathamesh Shete };
421*c9850620SPrathamesh Shete 
422*c9850620SPrathamesh Shete static const unsigned int soc_gpio250_pf0_pins[] = {
423*c9850620SPrathamesh Shete 		TEGRA_PIN_SOC_GPIO250_PF0,
424*c9850620SPrathamesh Shete };
425*c9850620SPrathamesh Shete 
426*c9850620SPrathamesh Shete static const unsigned int soc_gpio251_pf1_pins[] = {
427*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO251_PF1,
428*c9850620SPrathamesh Shete };
429*c9850620SPrathamesh Shete 
430*c9850620SPrathamesh Shete static const unsigned int soc_gpio252_pf2_pins[] = {
431*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO252_PF2,
432*c9850620SPrathamesh Shete };
433*c9850620SPrathamesh Shete 
434*c9850620SPrathamesh Shete static const unsigned int dp_aux_ch0_hpd_pf3_pins[] = {
435*c9850620SPrathamesh Shete 	TEGRA_PIN_DP_AUX_CH0_HPD_PF3,
436*c9850620SPrathamesh Shete };
437*c9850620SPrathamesh Shete 
438*c9850620SPrathamesh Shete static const unsigned int dp_aux_ch1_hpd_pf4_pins[] = {
439*c9850620SPrathamesh Shete 	TEGRA_PIN_DP_AUX_CH1_HPD_PF4,
440*c9850620SPrathamesh Shete };
441*c9850620SPrathamesh Shete 
442*c9850620SPrathamesh Shete static const unsigned int dp_aux_ch2_hpd_pf5_pins[] = {
443*c9850620SPrathamesh Shete 	TEGRA_PIN_DP_AUX_CH2_HPD_PF5,
444*c9850620SPrathamesh Shete };
445*c9850620SPrathamesh Shete 
446*c9850620SPrathamesh Shete static const unsigned int dp_aux_ch3_hpd_pf6_pins[] = {
447*c9850620SPrathamesh Shete 	TEGRA_PIN_DP_AUX_CH3_HPD_PF6,
448*c9850620SPrathamesh Shete };
449*c9850620SPrathamesh Shete 
450*c9850620SPrathamesh Shete static const unsigned int pwm2_pf7_pins[] = {
451*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM2_PF7,
452*c9850620SPrathamesh Shete };
453*c9850620SPrathamesh Shete 
454*c9850620SPrathamesh Shete static const unsigned int pwm3_pg0_pins[] = {
455*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM3_PG0,
456*c9850620SPrathamesh Shete };
457*c9850620SPrathamesh Shete 
458*c9850620SPrathamesh Shete static const unsigned int gen7_i2c_scl_pg1_pins[] = {
459*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN7_I2C_SCL_PG1,
460*c9850620SPrathamesh Shete };
461*c9850620SPrathamesh Shete 
462*c9850620SPrathamesh Shete static const unsigned int gen7_i2c_sda_pg2_pins[] = {
463*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN7_I2C_SDA_PG2,
464*c9850620SPrathamesh Shete };
465*c9850620SPrathamesh Shete 
466*c9850620SPrathamesh Shete static const unsigned int gen9_i2c_scl_pg3_pins[] = {
467*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN9_I2C_SCL_PG3,
468*c9850620SPrathamesh Shete };
469*c9850620SPrathamesh Shete 
470*c9850620SPrathamesh Shete static const unsigned int gen9_i2c_sda_pg4_pins[] = {
471*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN9_I2C_SDA_PG4,
472*c9850620SPrathamesh Shete };
473*c9850620SPrathamesh Shete 
474*c9850620SPrathamesh Shete static const unsigned int pwm1_pa0_pins[] = {
475*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM1_PA0,
476*c9850620SPrathamesh Shete };
477*c9850620SPrathamesh Shete 
478*c9850620SPrathamesh Shete static const unsigned int pwm6_pa1_pins[] = {
479*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM6_PA1,
480*c9850620SPrathamesh Shete };
481*c9850620SPrathamesh Shete 
482*c9850620SPrathamesh Shete static const unsigned int pwm7_pa2_pins[] = {
483*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM7_PA2,
484*c9850620SPrathamesh Shete };
485*c9850620SPrathamesh Shete 
486*c9850620SPrathamesh Shete static const unsigned int pwm8_pa3_pins[] = {
487*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM8_PA3,
488*c9850620SPrathamesh Shete };
489*c9850620SPrathamesh Shete 
490*c9850620SPrathamesh Shete static const unsigned int ufs0_ref_clk_pa4_pins[] = {
491*c9850620SPrathamesh Shete 	TEGRA_PIN_UFS0_REF_CLK_PA4,
492*c9850620SPrathamesh Shete };
493*c9850620SPrathamesh Shete 
494*c9850620SPrathamesh Shete static const unsigned int ufs0_rst_n_pa5_pins[] = {
495*c9850620SPrathamesh Shete 	TEGRA_PIN_UFS0_RST_N_PA5,
496*c9850620SPrathamesh Shete };
497*c9850620SPrathamesh Shete 
498*c9850620SPrathamesh Shete static const unsigned int pex_l1_clkreq_n_pb0_pins[] = {
499*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L1_CLKREQ_N_PB0,
500*c9850620SPrathamesh Shete };
501*c9850620SPrathamesh Shete 
502*c9850620SPrathamesh Shete static const unsigned int pex_l1_rst_n_pb1_pins[] = {
503*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L1_RST_N_PB1,
504*c9850620SPrathamesh Shete };
505*c9850620SPrathamesh Shete 
506*c9850620SPrathamesh Shete static const unsigned int pex_l2_clkreq_n_pb2_pins[] = {
507*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L2_CLKREQ_N_PB2,
508*c9850620SPrathamesh Shete };
509*c9850620SPrathamesh Shete 
510*c9850620SPrathamesh Shete static const unsigned int pex_l2_rst_n_pb3_pins[] = {
511*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L2_RST_N_PB3,
512*c9850620SPrathamesh Shete };
513*c9850620SPrathamesh Shete 
514*c9850620SPrathamesh Shete static const unsigned int pex_l3_clkreq_n_pb4_pins[] = {
515*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L3_CLKREQ_N_PB4,
516*c9850620SPrathamesh Shete };
517*c9850620SPrathamesh Shete 
518*c9850620SPrathamesh Shete static const unsigned int pex_l3_rst_n_pb5_pins[] = {
519*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L3_RST_N_PB5,
520*c9850620SPrathamesh Shete };
521*c9850620SPrathamesh Shete 
522*c9850620SPrathamesh Shete static const unsigned int soc_gpio113_pb6_pins[] = {
523*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO113_PB6,
524*c9850620SPrathamesh Shete };
525*c9850620SPrathamesh Shete 
526*c9850620SPrathamesh Shete static const unsigned int soc_gpio114_pb7_pins[] = {
527*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO114_PB7,
528*c9850620SPrathamesh Shete };
529*c9850620SPrathamesh Shete 
530*c9850620SPrathamesh Shete static const unsigned int sgmii0_sma_mdio_pc0_pins[] = {
531*c9850620SPrathamesh Shete 	TEGRA_PIN_SGMII0_SMA_MDIO_PC0,
532*c9850620SPrathamesh Shete };
533*c9850620SPrathamesh Shete 
534*c9850620SPrathamesh Shete static const unsigned int sgmii0_sma_mdc_pc1_pins[] = {
535*c9850620SPrathamesh Shete 	TEGRA_PIN_SGMII0_SMA_MDC_PC1,
536*c9850620SPrathamesh Shete };
537*c9850620SPrathamesh Shete 
538*c9850620SPrathamesh Shete static const unsigned int pex_wake_n_pc2_pins[] = {
539*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_WAKE_N_PC2,
540*c9850620SPrathamesh Shete };
541*c9850620SPrathamesh Shete 
542*c9850620SPrathamesh Shete static const unsigned int pex_l4_clkreq_n_pd0_pins[] = {
543*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L4_CLKREQ_N_PD0,
544*c9850620SPrathamesh Shete };
545*c9850620SPrathamesh Shete 
546*c9850620SPrathamesh Shete static const unsigned int pex_l4_rst_n_pd1_pins[] = {
547*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L4_RST_N_PD1,
548*c9850620SPrathamesh Shete };
549*c9850620SPrathamesh Shete 
550*c9850620SPrathamesh Shete static const unsigned int pex_l5_clkreq_n_pd2_pins[] = {
551*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L5_CLKREQ_N_PD2,
552*c9850620SPrathamesh Shete };
553*c9850620SPrathamesh Shete 
554*c9850620SPrathamesh Shete static const unsigned int pex_l5_rst_n_pd3_pins[] = {
555*c9850620SPrathamesh Shete 	TEGRA_PIN_PEX_L5_RST_N_PD3,
556*c9850620SPrathamesh Shete };
557*c9850620SPrathamesh Shete 
558*c9850620SPrathamesh Shete static const unsigned int eth0_mdio_pd4_pins[] = {
559*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH0_MDIO_PD4,
560*c9850620SPrathamesh Shete };
561*c9850620SPrathamesh Shete 
562*c9850620SPrathamesh Shete static const unsigned int eth0_mdc_pd5_pins[] = {
563*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH0_MDC_PD5,
564*c9850620SPrathamesh Shete };
565*c9850620SPrathamesh Shete 
566*c9850620SPrathamesh Shete static const unsigned int eth3_mdio_pd6_pins[] = {
567*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH3_MDIO_PD6,
568*c9850620SPrathamesh Shete };
569*c9850620SPrathamesh Shete 
570*c9850620SPrathamesh Shete static const unsigned int eth3_mdc_pd7_pins[] = {
571*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH3_MDC_PD7,
572*c9850620SPrathamesh Shete };
573*c9850620SPrathamesh Shete 
574*c9850620SPrathamesh Shete static const unsigned int eth1_mdio_pe0_pins[] = {
575*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH1_MDIO_PE0,
576*c9850620SPrathamesh Shete };
577*c9850620SPrathamesh Shete 
578*c9850620SPrathamesh Shete static const unsigned int eth1_mdc_pe1_pins[] = {
579*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH1_MDC_PE1,
580*c9850620SPrathamesh Shete };
581*c9850620SPrathamesh Shete 
582*c9850620SPrathamesh Shete static const unsigned int eth2_mdio_pe2_pins[] = {
583*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH2_MDIO_PE2,
584*c9850620SPrathamesh Shete };
585*c9850620SPrathamesh Shete 
586*c9850620SPrathamesh Shete static const unsigned int eth2_mdc_pe3_pins[] = {
587*c9850620SPrathamesh Shete 	TEGRA_PIN_ETH2_MDC_PE3,
588*c9850620SPrathamesh Shete };
589*c9850620SPrathamesh Shete 
590*c9850620SPrathamesh Shete static const unsigned int sdmmc1_clk_px0_pins[] = {
591*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_CLK_PX0,
592*c9850620SPrathamesh Shete };
593*c9850620SPrathamesh Shete 
594*c9850620SPrathamesh Shete static const unsigned int sdmmc1_cmd_px1_pins[] = {
595*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_CMD_PX1,
596*c9850620SPrathamesh Shete };
597*c9850620SPrathamesh Shete 
598*c9850620SPrathamesh Shete static const unsigned int sdmmc1_dat0_px2_pins[] = {
599*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT0_PX2,
600*c9850620SPrathamesh Shete };
601*c9850620SPrathamesh Shete 
602*c9850620SPrathamesh Shete static const unsigned int sdmmc1_dat1_px3_pins[] = {
603*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT1_PX3,
604*c9850620SPrathamesh Shete };
605*c9850620SPrathamesh Shete 
606*c9850620SPrathamesh Shete static const unsigned int sdmmc1_dat2_px4_pins[] = {
607*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT2_PX4,
608*c9850620SPrathamesh Shete };
609*c9850620SPrathamesh Shete 
610*c9850620SPrathamesh Shete static const unsigned int sdmmc1_dat3_px5_pins[] = {
611*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT3_PX5,
612*c9850620SPrathamesh Shete };
613*c9850620SPrathamesh Shete 
614*c9850620SPrathamesh Shete static const unsigned int sdmmc1_comp_pins[] = {
615*c9850620SPrathamesh Shete 	TEGRA_PIN_SDMMC1_COMP,
616*c9850620SPrathamesh Shete };
617*c9850620SPrathamesh Shete 
618*c9850620SPrathamesh Shete static const unsigned int cpu_pwr_req_ph0_pins[] = {
619*c9850620SPrathamesh Shete 	TEGRA_PIN_CPU_PWR_REQ_PH0,
620*c9850620SPrathamesh Shete };
621*c9850620SPrathamesh Shete 
622*c9850620SPrathamesh Shete static const unsigned int gpu_pwr_req_ph1_pins[] = {
623*c9850620SPrathamesh Shete 	TEGRA_PIN_GPU_PWR_REQ_PH1,
624*c9850620SPrathamesh Shete };
625*c9850620SPrathamesh Shete 
626*c9850620SPrathamesh Shete static const unsigned int uart10_tx_ph2_pins[] = {
627*c9850620SPrathamesh Shete 	TEGRA_PIN_UART10_TX_PH2,
628*c9850620SPrathamesh Shete };
629*c9850620SPrathamesh Shete 
630*c9850620SPrathamesh Shete static const unsigned int uart10_rx_ph3_pins[] = {
631*c9850620SPrathamesh Shete 	TEGRA_PIN_UART10_RX_PH3,
632*c9850620SPrathamesh Shete };
633*c9850620SPrathamesh Shete 
634*c9850620SPrathamesh Shete static const unsigned int uart10_rts_n_ph4_pins[] = {
635*c9850620SPrathamesh Shete 	TEGRA_PIN_UART10_RTS_N_PH4,
636*c9850620SPrathamesh Shete };
637*c9850620SPrathamesh Shete 
638*c9850620SPrathamesh Shete static const unsigned int uart10_cts_n_ph5_pins[] = {
639*c9850620SPrathamesh Shete 	TEGRA_PIN_UART10_CTS_N_PH5,
640*c9850620SPrathamesh Shete };
641*c9850620SPrathamesh Shete 
642*c9850620SPrathamesh Shete static const unsigned int spi3_sck_ph6_pins[] = {
643*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI3_SCK_PH6,
644*c9850620SPrathamesh Shete };
645*c9850620SPrathamesh Shete 
646*c9850620SPrathamesh Shete static const unsigned int spi3_miso_ph7_pins[] = {
647*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI3_MISO_PH7,
648*c9850620SPrathamesh Shete };
649*c9850620SPrathamesh Shete 
650*c9850620SPrathamesh Shete static const unsigned int spi3_mosi_pj0_pins[] = {
651*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI3_MOSI_PJ0,
652*c9850620SPrathamesh Shete };
653*c9850620SPrathamesh Shete 
654*c9850620SPrathamesh Shete static const unsigned int spi3_cs0_pj1_pins[] = {
655*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI3_CS0_PJ1,
656*c9850620SPrathamesh Shete };
657*c9850620SPrathamesh Shete 
658*c9850620SPrathamesh Shete static const unsigned int spi3_cs3_pj2_pins[] = {
659*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI3_CS3_PJ2,
660*c9850620SPrathamesh Shete };
661*c9850620SPrathamesh Shete 
662*c9850620SPrathamesh Shete static const unsigned int uart5_tx_pj3_pins[] = {
663*c9850620SPrathamesh Shete 	TEGRA_PIN_UART5_TX_PJ3,
664*c9850620SPrathamesh Shete };
665*c9850620SPrathamesh Shete 
666*c9850620SPrathamesh Shete static const unsigned int uart5_rx_pj4_pins[] = {
667*c9850620SPrathamesh Shete 	TEGRA_PIN_UART5_RX_PJ4,
668*c9850620SPrathamesh Shete };
669*c9850620SPrathamesh Shete 
670*c9850620SPrathamesh Shete static const unsigned int uart5_rts_n_pj5_pins[] = {
671*c9850620SPrathamesh Shete 	TEGRA_PIN_UART5_RTS_N_PJ5,
672*c9850620SPrathamesh Shete };
673*c9850620SPrathamesh Shete 
674*c9850620SPrathamesh Shete static const unsigned int uart5_cts_n_pj6_pins[] = {
675*c9850620SPrathamesh Shete 	TEGRA_PIN_UART5_CTS_N_PJ6,
676*c9850620SPrathamesh Shete };
677*c9850620SPrathamesh Shete 
678*c9850620SPrathamesh Shete static const unsigned int spi1_sck_pj7_pins[] = {
679*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI1_SCK_PJ7,
680*c9850620SPrathamesh Shete };
681*c9850620SPrathamesh Shete 
682*c9850620SPrathamesh Shete static const unsigned int spi1_miso_pk0_pins[] = {
683*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI1_MISO_PK0,
684*c9850620SPrathamesh Shete };
685*c9850620SPrathamesh Shete 
686*c9850620SPrathamesh Shete static const unsigned int spi1_mosi_pk1_pins[] = {
687*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI1_MOSI_PK1,
688*c9850620SPrathamesh Shete };
689*c9850620SPrathamesh Shete 
690*c9850620SPrathamesh Shete static const unsigned int spi1_cs0_pk2_pins[] = {
691*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI1_CS0_PK2,
692*c9850620SPrathamesh Shete };
693*c9850620SPrathamesh Shete 
694*c9850620SPrathamesh Shete static const unsigned int spi1_cs1_pk3_pins[] = {
695*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI1_CS1_PK3,
696*c9850620SPrathamesh Shete };
697*c9850620SPrathamesh Shete 
698*c9850620SPrathamesh Shete static const unsigned int extperiph1_clk_pk4_pins[] = {
699*c9850620SPrathamesh Shete 	TEGRA_PIN_EXTPERIPH1_CLK_PK4,
700*c9850620SPrathamesh Shete };
701*c9850620SPrathamesh Shete 
702*c9850620SPrathamesh Shete static const unsigned int extperiph2_clk_pk5_pins[] = {
703*c9850620SPrathamesh Shete 	TEGRA_PIN_EXTPERIPH2_CLK_PK5,
704*c9850620SPrathamesh Shete };
705*c9850620SPrathamesh Shete 
706*c9850620SPrathamesh Shete static const unsigned int gen12_i2c_scl_pk6_pins[] = {
707*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN12_I2C_SCL_PK6,
708*c9850620SPrathamesh Shete };
709*c9850620SPrathamesh Shete 
710*c9850620SPrathamesh Shete static const unsigned int gen12_i2c_sda_pk7_pins[] = {
711*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN12_I2C_SDA_PK7,
712*c9850620SPrathamesh Shete };
713*c9850620SPrathamesh Shete 
714*c9850620SPrathamesh Shete static const unsigned int soc_gpio124_pl0_pins[] = {
715*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO124_PL0,
716*c9850620SPrathamesh Shete };
717*c9850620SPrathamesh Shete 
718*c9850620SPrathamesh Shete static const unsigned int soc_gpio125_pl1_pins[] = {
719*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO125_PL1,
720*c9850620SPrathamesh Shete };
721*c9850620SPrathamesh Shete 
722*c9850620SPrathamesh Shete static const unsigned int fan_tach0_pl2_pins[] = {
723*c9850620SPrathamesh Shete 	TEGRA_PIN_FAN_TACH0_PL2,
724*c9850620SPrathamesh Shete };
725*c9850620SPrathamesh Shete 
726*c9850620SPrathamesh Shete static const unsigned int soc_gpio127_pl3_pins[] = {
727*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO127_PL3,
728*c9850620SPrathamesh Shete };
729*c9850620SPrathamesh Shete 
730*c9850620SPrathamesh Shete static const unsigned int soc_gpio128_pl4_pins[] = {
731*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO128_PL4,
732*c9850620SPrathamesh Shete };
733*c9850620SPrathamesh Shete 
734*c9850620SPrathamesh Shete static const unsigned int soc_gpio129_pl5_pins[] = {
735*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO129_PL5,
736*c9850620SPrathamesh Shete };
737*c9850620SPrathamesh Shete 
738*c9850620SPrathamesh Shete static const unsigned int soc_gpio130_pl6_pins[] = {
739*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO130_PL6,
740*c9850620SPrathamesh Shete };
741*c9850620SPrathamesh Shete 
742*c9850620SPrathamesh Shete static const unsigned int soc_gpio131_pl7_pins[] = {
743*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO131_PL7,
744*c9850620SPrathamesh Shete };
745*c9850620SPrathamesh Shete 
746*c9850620SPrathamesh Shete static const unsigned int gp_pwm9_pm0_pins[] = {
747*c9850620SPrathamesh Shete 	TEGRA_PIN_GP_PWM9_PM0,
748*c9850620SPrathamesh Shete };
749*c9850620SPrathamesh Shete 
750*c9850620SPrathamesh Shete static const unsigned int soc_gpio133_pm1_pins[] = {
751*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO133_PM1,
752*c9850620SPrathamesh Shete };
753*c9850620SPrathamesh Shete 
754*c9850620SPrathamesh Shete static const unsigned int uart9_tx_pm2_pins[] = {
755*c9850620SPrathamesh Shete 	TEGRA_PIN_UART9_TX_PM2,
756*c9850620SPrathamesh Shete };
757*c9850620SPrathamesh Shete 
758*c9850620SPrathamesh Shete static const unsigned int uart9_rx_pm3_pins[] = {
759*c9850620SPrathamesh Shete 	TEGRA_PIN_UART9_RX_PM3,
760*c9850620SPrathamesh Shete };
761*c9850620SPrathamesh Shete 
762*c9850620SPrathamesh Shete static const unsigned int uart9_rts_n_pm4_pins[] = {
763*c9850620SPrathamesh Shete 	TEGRA_PIN_UART9_RTS_N_PM4,
764*c9850620SPrathamesh Shete };
765*c9850620SPrathamesh Shete 
766*c9850620SPrathamesh Shete static const unsigned int uart9_cts_n_pm5_pins[] = {
767*c9850620SPrathamesh Shete 	TEGRA_PIN_UART9_CTS_N_PM5,
768*c9850620SPrathamesh Shete };
769*c9850620SPrathamesh Shete 
770*c9850620SPrathamesh Shete static const unsigned int soc_gpio170_pu0_pins[] = {
771*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO170_PU0,
772*c9850620SPrathamesh Shete };
773*c9850620SPrathamesh Shete 
774*c9850620SPrathamesh Shete static const unsigned int soc_gpio171_pu1_pins[] = {
775*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO171_PU1,
776*c9850620SPrathamesh Shete };
777*c9850620SPrathamesh Shete 
778*c9850620SPrathamesh Shete static const unsigned int soc_gpio172_pu2_pins[] = {
779*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO172_PU2,
780*c9850620SPrathamesh Shete };
781*c9850620SPrathamesh Shete 
782*c9850620SPrathamesh Shete static const unsigned int soc_gpio173_pu3_pins[] = {
783*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO173_PU3,
784*c9850620SPrathamesh Shete };
785*c9850620SPrathamesh Shete 
786*c9850620SPrathamesh Shete static const unsigned int soc_gpio174_pu4_pins[] = {
787*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO174_PU4,
788*c9850620SPrathamesh Shete };
789*c9850620SPrathamesh Shete 
790*c9850620SPrathamesh Shete static const unsigned int soc_gpio175_pu5_pins[] = {
791*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO175_PU5,
792*c9850620SPrathamesh Shete };
793*c9850620SPrathamesh Shete 
794*c9850620SPrathamesh Shete static const unsigned int soc_gpio176_pu6_pins[] = {
795*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO176_PU6,
796*c9850620SPrathamesh Shete };
797*c9850620SPrathamesh Shete 
798*c9850620SPrathamesh Shete static const unsigned int soc_gpio177_pu7_pins[] = {
799*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO177_PU7,
800*c9850620SPrathamesh Shete };
801*c9850620SPrathamesh Shete 
802*c9850620SPrathamesh Shete static const unsigned int soc_gpio178_pv0_pins[] = {
803*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO178_PV0,
804*c9850620SPrathamesh Shete };
805*c9850620SPrathamesh Shete 
806*c9850620SPrathamesh Shete static const unsigned int pwm10_pv1_pins[] = {
807*c9850620SPrathamesh Shete 	TEGRA_PIN_PWM10_PV1,
808*c9850620SPrathamesh Shete };
809*c9850620SPrathamesh Shete 
810*c9850620SPrathamesh Shete static const unsigned int uart4_tx_pv2_pins[] = {
811*c9850620SPrathamesh Shete 	TEGRA_PIN_UART4_TX_PV2,
812*c9850620SPrathamesh Shete };
813*c9850620SPrathamesh Shete 
814*c9850620SPrathamesh Shete static const unsigned int uart4_rx_pv3_pins[] = {
815*c9850620SPrathamesh Shete 	TEGRA_PIN_UART4_RX_PV3,
816*c9850620SPrathamesh Shete };
817*c9850620SPrathamesh Shete 
818*c9850620SPrathamesh Shete static const unsigned int uart4_rts_n_pv4_pins[] = {
819*c9850620SPrathamesh Shete 	TEGRA_PIN_UART4_RTS_N_PV4,
820*c9850620SPrathamesh Shete };
821*c9850620SPrathamesh Shete 
822*c9850620SPrathamesh Shete static const unsigned int uart4_cts_n_pv5_pins[] = {
823*c9850620SPrathamesh Shete 	TEGRA_PIN_UART4_CTS_N_PV5,
824*c9850620SPrathamesh Shete };
825*c9850620SPrathamesh Shete 
826*c9850620SPrathamesh Shete static const unsigned int dap2_clk_pv6_pins[] = {
827*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP2_CLK_PV6,
828*c9850620SPrathamesh Shete };
829*c9850620SPrathamesh Shete 
830*c9850620SPrathamesh Shete static const unsigned int dap2_din_pv7_pins[] = {
831*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP2_DIN_PV7,
832*c9850620SPrathamesh Shete };
833*c9850620SPrathamesh Shete 
834*c9850620SPrathamesh Shete static const unsigned int dap2_dout_pw0_pins[] = {
835*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP2_DOUT_PW0,
836*c9850620SPrathamesh Shete };
837*c9850620SPrathamesh Shete 
838*c9850620SPrathamesh Shete static const unsigned int dap2_fs_pw1_pins[] = {
839*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP2_FS_PW1,
840*c9850620SPrathamesh Shete };
841*c9850620SPrathamesh Shete 
842*c9850620SPrathamesh Shete static const unsigned int gen1_i2c_scl_pw2_pins[] = {
843*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN1_I2C_SCL_PW2,
844*c9850620SPrathamesh Shete };
845*c9850620SPrathamesh Shete 
846*c9850620SPrathamesh Shete static const unsigned int gen1_i2c_sda_pw3_pins[] = {
847*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN1_I2C_SDA_PW3,
848*c9850620SPrathamesh Shete };
849*c9850620SPrathamesh Shete 
850*c9850620SPrathamesh Shete static const unsigned int gen0_i2c_scl_pw4_pins[] = {
851*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN0_I2C_SCL_PW4,
852*c9850620SPrathamesh Shete };
853*c9850620SPrathamesh Shete 
854*c9850620SPrathamesh Shete static const unsigned int gen0_i2c_sda_pw5_pins[] = {
855*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN0_I2C_SDA_PW5,
856*c9850620SPrathamesh Shete };
857*c9850620SPrathamesh Shete 
858*c9850620SPrathamesh Shete static const unsigned int pwr_i2c_scl_pw6_pins[] = {
859*c9850620SPrathamesh Shete 	TEGRA_PIN_PWR_I2C_SCL_PW6,
860*c9850620SPrathamesh Shete };
861*c9850620SPrathamesh Shete 
862*c9850620SPrathamesh Shete static const unsigned int pwr_i2c_sda_pw7_pins[] = {
863*c9850620SPrathamesh Shete 	TEGRA_PIN_PWR_I2C_SDA_PW7,
864*c9850620SPrathamesh Shete };
865*c9850620SPrathamesh Shete 
866*c9850620SPrathamesh Shete static const unsigned int qspi0_sck_pt0_pins[] = {
867*c9850620SPrathamesh Shete 	TEGRA_PIN_QSPI0_SCK_PT0,
868*c9850620SPrathamesh Shete };
869*c9850620SPrathamesh Shete 
870*c9850620SPrathamesh Shete static const unsigned int qspi0_cs_n_pt1_pins[] = {
871*c9850620SPrathamesh Shete 	TEGRA_PIN_QSPI0_CS_N_PT1,
872*c9850620SPrathamesh Shete };
873*c9850620SPrathamesh Shete 
874*c9850620SPrathamesh Shete static const unsigned int qspi0_io0_pt2_pins[] = {
875*c9850620SPrathamesh Shete 	TEGRA_PIN_QSPI0_IO0_PT2,
876*c9850620SPrathamesh Shete };
877*c9850620SPrathamesh Shete 
878*c9850620SPrathamesh Shete static const unsigned int qspi0_io1_pt3_pins[] = {
879*c9850620SPrathamesh Shete 	TEGRA_PIN_QSPI0_IO1_PT3,
880*c9850620SPrathamesh Shete };
881*c9850620SPrathamesh Shete 
882*c9850620SPrathamesh Shete static const unsigned int qspi0_io2_pt4_pins[] = {
883*c9850620SPrathamesh Shete 	TEGRA_PIN_QSPI0_IO2_PT4,
884*c9850620SPrathamesh Shete };
885*c9850620SPrathamesh Shete 
886*c9850620SPrathamesh Shete static const unsigned int qspi0_io3_pt5_pins[] = {
887*c9850620SPrathamesh Shete 	TEGRA_PIN_QSPI0_IO3_PT5,
888*c9850620SPrathamesh Shete };
889*c9850620SPrathamesh Shete 
890*c9850620SPrathamesh Shete static const unsigned int soc_gpio192_pt6_pins[] = {
891*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO192_PT6,
892*c9850620SPrathamesh Shete };
893*c9850620SPrathamesh Shete 
894*c9850620SPrathamesh Shete static const unsigned int soc_gpio138_pp0_pins[] = {
895*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO138_PP0,
896*c9850620SPrathamesh Shete };
897*c9850620SPrathamesh Shete 
898*c9850620SPrathamesh Shete static const unsigned int soc_gpio139_pp1_pins[] = {
899*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO139_PP1,
900*c9850620SPrathamesh Shete };
901*c9850620SPrathamesh Shete 
902*c9850620SPrathamesh Shete static const unsigned int dap6_sclk_pp2_pins[] = {
903*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP6_SCLK_PP2,
904*c9850620SPrathamesh Shete };
905*c9850620SPrathamesh Shete 
906*c9850620SPrathamesh Shete static const unsigned int dap6_dout_pp3_pins[] = {
907*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP6_DOUT_PP3,
908*c9850620SPrathamesh Shete };
909*c9850620SPrathamesh Shete 
910*c9850620SPrathamesh Shete static const unsigned int dap6_din_pp4_pins[] = {
911*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP6_DIN_PP4,
912*c9850620SPrathamesh Shete };
913*c9850620SPrathamesh Shete 
914*c9850620SPrathamesh Shete static const unsigned int dap6_fs_pp5_pins[] = {
915*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP6_FS_PP5,
916*c9850620SPrathamesh Shete };
917*c9850620SPrathamesh Shete 
918*c9850620SPrathamesh Shete static const unsigned int dap4_sclk_pp6_pins[] = {
919*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP4_SCLK_PP6,
920*c9850620SPrathamesh Shete };
921*c9850620SPrathamesh Shete 
922*c9850620SPrathamesh Shete static const unsigned int dap4_dout_pp7_pins[] = {
923*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP4_DOUT_PP7,
924*c9850620SPrathamesh Shete };
925*c9850620SPrathamesh Shete 
926*c9850620SPrathamesh Shete static const unsigned int dap4_din_pq0_pins[] = {
927*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP4_DIN_PQ0,
928*c9850620SPrathamesh Shete };
929*c9850620SPrathamesh Shete 
930*c9850620SPrathamesh Shete static const unsigned int dap4_fs_pq1_pins[] = {
931*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP4_FS_PQ1,
932*c9850620SPrathamesh Shete };
933*c9850620SPrathamesh Shete 
934*c9850620SPrathamesh Shete static const unsigned int spi5_sck_pq2_pins[] = {
935*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI5_SCK_PQ2,
936*c9850620SPrathamesh Shete };
937*c9850620SPrathamesh Shete 
938*c9850620SPrathamesh Shete static const unsigned int spi5_miso_pq3_pins[] = {
939*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI5_MISO_PQ3,
940*c9850620SPrathamesh Shete };
941*c9850620SPrathamesh Shete 
942*c9850620SPrathamesh Shete static const unsigned int spi5_mosi_pq4_pins[] = {
943*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI5_MOSI_PQ4,
944*c9850620SPrathamesh Shete };
945*c9850620SPrathamesh Shete 
946*c9850620SPrathamesh Shete static const unsigned int spi5_cs0_pq5_pins[] = {
947*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI5_CS0_PQ5,
948*c9850620SPrathamesh Shete };
949*c9850620SPrathamesh Shete 
950*c9850620SPrathamesh Shete static const unsigned int soc_gpio152_pq6_pins[] = {
951*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO152_PQ6,
952*c9850620SPrathamesh Shete };
953*c9850620SPrathamesh Shete 
954*c9850620SPrathamesh Shete static const unsigned int soc_gpio153_pq7_pins[] = {
955*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO153_PQ7,
956*c9850620SPrathamesh Shete };
957*c9850620SPrathamesh Shete 
958*c9850620SPrathamesh Shete static const unsigned int aud_mclk_pr0_pins[] = {
959*c9850620SPrathamesh Shete 	TEGRA_PIN_AUD_MCLK_PR0,
960*c9850620SPrathamesh Shete };
961*c9850620SPrathamesh Shete 
962*c9850620SPrathamesh Shete static const unsigned int soc_gpio155_pr1_pins[] = {
963*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO155_PR1,
964*c9850620SPrathamesh Shete };
965*c9850620SPrathamesh Shete 
966*c9850620SPrathamesh Shete static const unsigned int dap1_sclk_pr2_pins[] = {
967*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP1_SCLK_PR2,
968*c9850620SPrathamesh Shete };
969*c9850620SPrathamesh Shete 
970*c9850620SPrathamesh Shete static const unsigned int dap1_out_pr3_pins[] = {
971*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP1_OUT_PR3,
972*c9850620SPrathamesh Shete };
973*c9850620SPrathamesh Shete 
974*c9850620SPrathamesh Shete static const unsigned int dap1_in_pr4_pins[] = {
975*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP1_IN_PR4,
976*c9850620SPrathamesh Shete };
977*c9850620SPrathamesh Shete 
978*c9850620SPrathamesh Shete static const unsigned int dap1_fs_pr5_pins[] = {
979*c9850620SPrathamesh Shete 	TEGRA_PIN_DAP1_FS_PR5,
980*c9850620SPrathamesh Shete };
981*c9850620SPrathamesh Shete 
982*c9850620SPrathamesh Shete static const unsigned int gen11_i2c_scl_pr6_pins[] = {
983*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN11_I2C_SCL_PR6,
984*c9850620SPrathamesh Shete };
985*c9850620SPrathamesh Shete 
986*c9850620SPrathamesh Shete static const unsigned int gen11_i2c_sda_pr7_pins[] = {
987*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN11_I2C_SDA_PR7,
988*c9850620SPrathamesh Shete };
989*c9850620SPrathamesh Shete 
990*c9850620SPrathamesh Shete static const unsigned int soc_gpio350_ps0_pins[] = {
991*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO350_PS0,
992*c9850620SPrathamesh Shete };
993*c9850620SPrathamesh Shete 
994*c9850620SPrathamesh Shete static const unsigned int soc_gpio351_ps1_pins[] = {
995*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO351_PS1,
996*c9850620SPrathamesh Shete };
997*c9850620SPrathamesh Shete 
998*c9850620SPrathamesh Shete static const unsigned int soc_gpio270_py0_pins[] = {
999*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO270_PY0,
1000*c9850620SPrathamesh Shete };
1001*c9850620SPrathamesh Shete 
1002*c9850620SPrathamesh Shete static const unsigned int soc_gpio271_py1_pins[] = {
1003*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO271_PY1,
1004*c9850620SPrathamesh Shete };
1005*c9850620SPrathamesh Shete 
1006*c9850620SPrathamesh Shete static const unsigned int soc_gpio272_py2_pins[] = {
1007*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO272_PY2,
1008*c9850620SPrathamesh Shete };
1009*c9850620SPrathamesh Shete 
1010*c9850620SPrathamesh Shete static const unsigned int soc_gpio273_py3_pins[] = {
1011*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO273_PY3,
1012*c9850620SPrathamesh Shete };
1013*c9850620SPrathamesh Shete 
1014*c9850620SPrathamesh Shete static const unsigned int soc_gpio274_py4_pins[] = {
1015*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO274_PY4,
1016*c9850620SPrathamesh Shete };
1017*c9850620SPrathamesh Shete 
1018*c9850620SPrathamesh Shete static const unsigned int soc_gpio275_py5_pins[] = {
1019*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO275_PY5,
1020*c9850620SPrathamesh Shete };
1021*c9850620SPrathamesh Shete 
1022*c9850620SPrathamesh Shete static const unsigned int soc_gpio276_py6_pins[] = {
1023*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO276_PY6,
1024*c9850620SPrathamesh Shete };
1025*c9850620SPrathamesh Shete 
1026*c9850620SPrathamesh Shete static const unsigned int soc_gpio277_py7_pins[] = {
1027*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO277_PY7,
1028*c9850620SPrathamesh Shete };
1029*c9850620SPrathamesh Shete 
1030*c9850620SPrathamesh Shete static const unsigned int soc_gpio278_pz0_pins[] = {
1031*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO278_PZ0,
1032*c9850620SPrathamesh Shete };
1033*c9850620SPrathamesh Shete 
1034*c9850620SPrathamesh Shete static const unsigned int soc_gpio279_pz1_pins[] = {
1035*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO279_PZ1,
1036*c9850620SPrathamesh Shete };
1037*c9850620SPrathamesh Shete 
1038*c9850620SPrathamesh Shete static const unsigned int xhalt_trig_pz2_pins[] = {
1039*c9850620SPrathamesh Shete 	TEGRA_PIN_XHALT_TRIG_PZ2,
1040*c9850620SPrathamesh Shete };
1041*c9850620SPrathamesh Shete 
1042*c9850620SPrathamesh Shete static const unsigned int soc_gpio281_pz3_pins[] = {
1043*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO281_PZ3,
1044*c9850620SPrathamesh Shete };
1045*c9850620SPrathamesh Shete 
1046*c9850620SPrathamesh Shete static const unsigned int soc_gpio282_pz4_pins[] = {
1047*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO282_PZ4,
1048*c9850620SPrathamesh Shete };
1049*c9850620SPrathamesh Shete 
1050*c9850620SPrathamesh Shete static const unsigned int soc_gpio283_pz5_pins[] = {
1051*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO283_PZ5,
1052*c9850620SPrathamesh Shete };
1053*c9850620SPrathamesh Shete 
1054*c9850620SPrathamesh Shete static const unsigned int soc_gpio284_pz6_pins[] = {
1055*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO284_PZ6,
1056*c9850620SPrathamesh Shete };
1057*c9850620SPrathamesh Shete 
1058*c9850620SPrathamesh Shete static const unsigned int soc_gpio285_pz7_pins[] = {
1059*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO285_PZ7,
1060*c9850620SPrathamesh Shete };
1061*c9850620SPrathamesh Shete 
1062*c9850620SPrathamesh Shete static const unsigned int soc_gpio286_pal0_pins[] = {
1063*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO286_PAL0,
1064*c9850620SPrathamesh Shete };
1065*c9850620SPrathamesh Shete 
1066*c9850620SPrathamesh Shete static const unsigned int soc_gpio287_pal1_pins[] = {
1067*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO287_PAL1,
1068*c9850620SPrathamesh Shete };
1069*c9850620SPrathamesh Shete 
1070*c9850620SPrathamesh Shete static const unsigned int soc_gpio288_pal2_pins[] = {
1071*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO288_PAL2,
1072*c9850620SPrathamesh Shete };
1073*c9850620SPrathamesh Shete 
1074*c9850620SPrathamesh Shete static const unsigned int soc_gpio00_paa0_pins[] = {
1075*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO00_PAA0,
1076*c9850620SPrathamesh Shete };
1077*c9850620SPrathamesh Shete 
1078*c9850620SPrathamesh Shete static const unsigned int vcomp_alert_paa1_pins[] = {
1079*c9850620SPrathamesh Shete 	TEGRA_PIN_VCOMP_ALERT_PAA1,
1080*c9850620SPrathamesh Shete };
1081*c9850620SPrathamesh Shete 
1082*c9850620SPrathamesh Shete static const unsigned int ao_retention_n_paa2_pins[] = {
1083*c9850620SPrathamesh Shete 	TEGRA_PIN_AO_RETENTION_N_PAA2,
1084*c9850620SPrathamesh Shete };
1085*c9850620SPrathamesh Shete 
1086*c9850620SPrathamesh Shete static const unsigned int batt_oc_paa3_pins[] = {
1087*c9850620SPrathamesh Shete 	TEGRA_PIN_BATT_OC_PAA3,
1088*c9850620SPrathamesh Shete };
1089*c9850620SPrathamesh Shete 
1090*c9850620SPrathamesh Shete static const unsigned int bootv_ctl_n_paa4_pins[] = {
1091*c9850620SPrathamesh Shete 	TEGRA_PIN_BOOTV_CTL_N_PAA4,
1092*c9850620SPrathamesh Shete };
1093*c9850620SPrathamesh Shete 
1094*c9850620SPrathamesh Shete static const unsigned int power_on_paa5_pins[] = {
1095*c9850620SPrathamesh Shete 	TEGRA_PIN_POWER_ON_PAA5,
1096*c9850620SPrathamesh Shete };
1097*c9850620SPrathamesh Shete 
1098*c9850620SPrathamesh Shete static const unsigned int hdmi_cec_paa6_pins[] = {
1099*c9850620SPrathamesh Shete 	TEGRA_PIN_HDMI_CEC_PAA6,
1100*c9850620SPrathamesh Shete };
1101*c9850620SPrathamesh Shete 
1102*c9850620SPrathamesh Shete static const unsigned int soc_gpio07_paa7_pins[] = {
1103*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO07_PAA7,
1104*c9850620SPrathamesh Shete };
1105*c9850620SPrathamesh Shete 
1106*c9850620SPrathamesh Shete static const unsigned int soc_gpio08_pbb0_pins[] = {
1107*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO08_PBB0,
1108*c9850620SPrathamesh Shete };
1109*c9850620SPrathamesh Shete 
1110*c9850620SPrathamesh Shete static const unsigned int soc_gpio09_pbb1_pins[] = {
1111*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO09_PBB1,
1112*c9850620SPrathamesh Shete };
1113*c9850620SPrathamesh Shete 
1114*c9850620SPrathamesh Shete static const unsigned int gen2_i2c_scl_pcc0_pins[] = {
1115*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN2_I2C_SCL_PCC0,
1116*c9850620SPrathamesh Shete };
1117*c9850620SPrathamesh Shete 
1118*c9850620SPrathamesh Shete static const unsigned int gen2_i2c_sda_pcc1_pins[] = {
1119*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN2_I2C_SDA_PCC1,
1120*c9850620SPrathamesh Shete };
1121*c9850620SPrathamesh Shete 
1122*c9850620SPrathamesh Shete static const unsigned int gen3_i2c_scl_pcc2_pins[] = {
1123*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN3_I2C_SCL_PCC2,
1124*c9850620SPrathamesh Shete };
1125*c9850620SPrathamesh Shete 
1126*c9850620SPrathamesh Shete static const unsigned int gen3_i2c_sda_pcc3_pins[] = {
1127*c9850620SPrathamesh Shete 	TEGRA_PIN_GEN3_I2C_SDA_PCC3,
1128*c9850620SPrathamesh Shete };
1129*c9850620SPrathamesh Shete 
1130*c9850620SPrathamesh Shete static const unsigned int gp_pwm4_pcc4_pins[] = {
1131*c9850620SPrathamesh Shete 	TEGRA_PIN_GP_PWM4_PCC4,
1132*c9850620SPrathamesh Shete };
1133*c9850620SPrathamesh Shete 
1134*c9850620SPrathamesh Shete static const unsigned int uart0_tx_pcc5_pins[] = {
1135*c9850620SPrathamesh Shete 	TEGRA_PIN_UART0_TX_PCC5,
1136*c9850620SPrathamesh Shete };
1137*c9850620SPrathamesh Shete 
1138*c9850620SPrathamesh Shete static const unsigned int uart0_rx_pcc6_pins[] = {
1139*c9850620SPrathamesh Shete 	TEGRA_PIN_UART0_RX_PCC6,
1140*c9850620SPrathamesh Shete };
1141*c9850620SPrathamesh Shete 
1142*c9850620SPrathamesh Shete static const unsigned int spi2_sck_pcc7_pins[] = {
1143*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI2_SCK_PCC7,
1144*c9850620SPrathamesh Shete };
1145*c9850620SPrathamesh Shete 
1146*c9850620SPrathamesh Shete static const unsigned int spi2_miso_pdd0_pins[] = {
1147*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI2_MISO_PDD0,
1148*c9850620SPrathamesh Shete };
1149*c9850620SPrathamesh Shete 
1150*c9850620SPrathamesh Shete static const unsigned int spi2_mosi_pdd1_pins[] = {
1151*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI2_MOSI_PDD1,
1152*c9850620SPrathamesh Shete };
1153*c9850620SPrathamesh Shete 
1154*c9850620SPrathamesh Shete static const unsigned int spi2_cs0_n_pdd2_pins[] = {
1155*c9850620SPrathamesh Shete 	TEGRA_PIN_SPI2_CS0_N_PDD2,
1156*c9850620SPrathamesh Shete };
1157*c9850620SPrathamesh Shete 
1158*c9850620SPrathamesh Shete static const unsigned int soc_gpio21_pdd3_pins[] = {
1159*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO21_PDD3,
1160*c9850620SPrathamesh Shete };
1161*c9850620SPrathamesh Shete 
1162*c9850620SPrathamesh Shete static const unsigned int soc_gpio22_pdd4_pins[] = {
1163*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO22_PDD4,
1164*c9850620SPrathamesh Shete };
1165*c9850620SPrathamesh Shete 
1166*c9850620SPrathamesh Shete static const unsigned int soc_gpio23_pdd5_pins[] = {
1167*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO23_PDD5,
1168*c9850620SPrathamesh Shete };
1169*c9850620SPrathamesh Shete 
1170*c9850620SPrathamesh Shete static const unsigned int soc_gpio24_pdd6_pins[] = {
1171*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO24_PDD6,
1172*c9850620SPrathamesh Shete };
1173*c9850620SPrathamesh Shete 
1174*c9850620SPrathamesh Shete static const unsigned int soc_gpio25_pdd7_pins[] = {
1175*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO25_PDD7,
1176*c9850620SPrathamesh Shete };
1177*c9850620SPrathamesh Shete 
1178*c9850620SPrathamesh Shete static const unsigned int soc_gpio26_pee0_pins[] = {
1179*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO26_PEE0,
1180*c9850620SPrathamesh Shete };
1181*c9850620SPrathamesh Shete 
1182*c9850620SPrathamesh Shete static const unsigned int soc_gpio27_pee1_pins[] = {
1183*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO27_PEE1,
1184*c9850620SPrathamesh Shete };
1185*c9850620SPrathamesh Shete 
1186*c9850620SPrathamesh Shete static const unsigned int soc_gpio28_pee2_pins[] = {
1187*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO28_PEE2,
1188*c9850620SPrathamesh Shete };
1189*c9850620SPrathamesh Shete 
1190*c9850620SPrathamesh Shete static const unsigned int soc_gpio29_pee3_pins[] = {
1191*c9850620SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO29_PEE3,
1192*c9850620SPrathamesh Shete };
1193*c9850620SPrathamesh Shete 
1194*c9850620SPrathamesh Shete enum tegra_mux_dt {
1195*c9850620SPrathamesh Shete 	TEGRA_MUX_DCA_VSYNC,
1196*c9850620SPrathamesh Shete 	TEGRA_MUX_DCA_HSYNC,
1197*c9850620SPrathamesh Shete 	TEGRA_MUX_RSVD0,
1198*c9850620SPrathamesh Shete 	TEGRA_MUX_DP_AUX_CH0_HPD,
1199*c9850620SPrathamesh Shete 	TEGRA_MUX_DP_AUX_CH1_HPD,
1200*c9850620SPrathamesh Shete 	TEGRA_MUX_DP_AUX_CH2_HPD,
1201*c9850620SPrathamesh Shete 	TEGRA_MUX_DP_AUX_CH3_HPD,
1202*c9850620SPrathamesh Shete 	TEGRA_MUX_GP_PWM2,
1203*c9850620SPrathamesh Shete 	TEGRA_MUX_GP_PWM3,
1204*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C7_CLK,
1205*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C7_DAT,
1206*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C9_CLK,
1207*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C9_DAT,
1208*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTK_CTS,
1209*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTK_RTS,
1210*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTK_RXD,
1211*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTK_TXD,
1212*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI3_CS0,
1213*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI3_CS3,
1214*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI3_DIN,
1215*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI3_DOUT,
1216*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI3_SCK,
1217*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTF_CTS,
1218*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTF_RTS,
1219*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTF_RXD,
1220*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTF_TXD,
1221*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI1_CS0,
1222*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI1_CS1,
1223*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI1_DIN,
1224*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI1_DOUT,
1225*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI1_SCK,
1226*c9850620SPrathamesh Shete 	TEGRA_MUX_EXTPERIPH2_CLK,
1227*c9850620SPrathamesh Shete 	TEGRA_MUX_EXTPERIPH1_CLK,
1228*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C12_CLK,
1229*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C12_DAT,
1230*c9850620SPrathamesh Shete 	TEGRA_MUX_NV_THERM_FAN_TACH0,
1231*c9850620SPrathamesh Shete 	TEGRA_MUX_GP_PWM9,
1232*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTJ_CTS,
1233*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTJ_RTS,
1234*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTJ_RXD,
1235*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTJ_TXD,
1236*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C0_CLK,
1237*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C0_DAT,
1238*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C1_CLK,
1239*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C1_DAT,
1240*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S2_LRCK,
1241*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S2_SCLK,
1242*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S2_SDATA_OUT,
1243*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S2_SDATA_IN,
1244*c9850620SPrathamesh Shete 	TEGRA_MUX_GP_PWM10,
1245*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTE_CTS,
1246*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTE_RTS,
1247*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTE_RXD,
1248*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTE_TXD,
1249*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C5_DAT,
1250*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C5_CLK,
1251*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S6_SDATA_IN,
1252*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S6_SDATA_OUT,
1253*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S6_LRCK,
1254*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S6_SCLK,
1255*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S4_SDATA_OUT,
1256*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S4_SCLK,
1257*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S4_SDATA_IN,
1258*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S4_LRCK,
1259*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI5_CS0,
1260*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI5_DIN,
1261*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI5_DOUT,
1262*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI5_SCK,
1263*c9850620SPrathamesh Shete 	TEGRA_MUX_AUD_MCLK,
1264*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S1_SCLK,
1265*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S1_SDATA_IN,
1266*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S1_SDATA_OUT,
1267*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S1_LRCK,
1268*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C11_CLK,
1269*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C11_DAT,
1270*c9850620SPrathamesh Shete 	TEGRA_MUX_XHALT_TRIG,
1271*c9850620SPrathamesh Shete 	TEGRA_MUX_GP_PWM1,
1272*c9850620SPrathamesh Shete 	TEGRA_MUX_GP_PWM6,
1273*c9850620SPrathamesh Shete 	TEGRA_MUX_GP_PWM7,
1274*c9850620SPrathamesh Shete 	TEGRA_MUX_GP_PWM8,
1275*c9850620SPrathamesh Shete 	TEGRA_MUX_UFS0,
1276*c9850620SPrathamesh Shete 	TEGRA_MUX_PE1_CLKREQ_L,
1277*c9850620SPrathamesh Shete 	TEGRA_MUX_PE1_RST_L,
1278*c9850620SPrathamesh Shete 	TEGRA_MUX_PE2_RST_L,
1279*c9850620SPrathamesh Shete 	TEGRA_MUX_PE2_CLKREQ_L,
1280*c9850620SPrathamesh Shete 	TEGRA_MUX_PE3_CLKREQ_L,
1281*c9850620SPrathamesh Shete 	TEGRA_MUX_PE3_RST_L,
1282*c9850620SPrathamesh Shete 	TEGRA_MUX_SGMII0_SMA_MDIO,
1283*c9850620SPrathamesh Shete 	TEGRA_MUX_SGMII0_SMA_MDC,
1284*c9850620SPrathamesh Shete 	TEGRA_MUX_USB_VBUS_EN0,
1285*c9850620SPrathamesh Shete 	TEGRA_MUX_USB_VBUS_EN1,
1286*c9850620SPrathamesh Shete 	TEGRA_MUX_ETH1_MDIO,
1287*c9850620SPrathamesh Shete 	TEGRA_MUX_PE4_CLKREQ_L,
1288*c9850620SPrathamesh Shete 	TEGRA_MUX_PE4_RST_L,
1289*c9850620SPrathamesh Shete 	TEGRA_MUX_PE5_CLKREQ_L,
1290*c9850620SPrathamesh Shete 	TEGRA_MUX_PE5_RST_L,
1291*c9850620SPrathamesh Shete 	TEGRA_MUX_ETH0_MDIO,
1292*c9850620SPrathamesh Shete 	TEGRA_MUX_ETH0_MDC,
1293*c9850620SPrathamesh Shete 	TEGRA_MUX_ETH1_MDC,
1294*c9850620SPrathamesh Shete 	TEGRA_MUX_ETH2_MDIO,
1295*c9850620SPrathamesh Shete 	TEGRA_MUX_ETH2_MDC,
1296*c9850620SPrathamesh Shete 	TEGRA_MUX_ETH3_MDIO,
1297*c9850620SPrathamesh Shete 	TEGRA_MUX_ETH3_MDC,
1298*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI0_CS_N,
1299*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI0_IO0,
1300*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI0_IO1,
1301*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI0_IO2,
1302*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI0_IO3,
1303*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI0_SCK,
1304*c9850620SPrathamesh Shete 	TEGRA_MUX_SDMMC1_CLK,
1305*c9850620SPrathamesh Shete 	TEGRA_MUX_SDMMC1_CMD,
1306*c9850620SPrathamesh Shete 	TEGRA_MUX_SDMMC1_COMP,
1307*c9850620SPrathamesh Shete 	TEGRA_MUX_SDMMC1_DAT3,
1308*c9850620SPrathamesh Shete 	TEGRA_MUX_SDMMC1_DAT2,
1309*c9850620SPrathamesh Shete 	TEGRA_MUX_SDMMC1_DAT1,
1310*c9850620SPrathamesh Shete 	TEGRA_MUX_SDMMC1_DAT0,
1311*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI3_SCK,
1312*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI3_CS0,
1313*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI3_IO0,
1314*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI3_IO1,
1315*c9850620SPrathamesh Shete 	TEGRA_MUX_DCB_VSYNC,
1316*c9850620SPrathamesh Shete 	TEGRA_MUX_DCB_HSYNC,
1317*c9850620SPrathamesh Shete 	TEGRA_MUX_DSA_LSPII,
1318*c9850620SPrathamesh Shete 	TEGRA_MUX_DCE_VSYNC,
1319*c9850620SPrathamesh Shete 	TEGRA_MUX_DCE_HSYNC,
1320*c9850620SPrathamesh Shete 	TEGRA_MUX_DCH_VSYNC,
1321*c9850620SPrathamesh Shete 	TEGRA_MUX_DCH_HSYNC,
1322*c9850620SPrathamesh Shete 	TEGRA_MUX_BL_EN,
1323*c9850620SPrathamesh Shete 	TEGRA_MUX_BL_PWM_DIM0,
1324*c9850620SPrathamesh Shete 	TEGRA_MUX_RSVD1,
1325*c9850620SPrathamesh Shete 	TEGRA_MUX_SOC_THERM_OC3,
1326*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S5_SCLK,
1327*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S5_SDATA_IN,
1328*c9850620SPrathamesh Shete 	TEGRA_MUX_EXTPERIPH3_CLK,
1329*c9850620SPrathamesh Shete 	TEGRA_MUX_EXTPERIPH4_CLK,
1330*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S5_SDATA_OUT,
1331*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S5_LRCK,
1332*c9850620SPrathamesh Shete 	TEGRA_MUX_SDMMC1_CD,
1333*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S7_SDATA_IN,
1334*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI4_SCK,
1335*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI4_DIN,
1336*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI4_DOUT,
1337*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI4_CS0,
1338*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI4_CS1,
1339*c9850620SPrathamesh Shete 	TEGRA_MUX_GP_PWM5,
1340*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C14_CLK,
1341*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C14_DAT,
1342*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S8_SCLK,
1343*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S8_SDATA_OUT,
1344*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S8_LRCK,
1345*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S8_SDATA_IN,
1346*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C16_CLK,
1347*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C16_DAT,
1348*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S3_SCLK,
1349*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S3_SDATA_OUT,
1350*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S3_SDATA_IN,
1351*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S3_LRCK,
1352*c9850620SPrathamesh Shete 	TEGRA_MUX_PM_TRIG1,
1353*c9850620SPrathamesh Shete 	TEGRA_MUX_PM_TRIG0,
1354*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI2_SCK,
1355*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI2_CS0,
1356*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI2_IO0,
1357*c9850620SPrathamesh Shete 	TEGRA_MUX_QSPI2_IO1,
1358*c9850620SPrathamesh Shete 	TEGRA_MUX_DCC_VSYNC,
1359*c9850620SPrathamesh Shete 	TEGRA_MUX_DCC_HSYNC,
1360*c9850620SPrathamesh Shete 	TEGRA_MUX_RSVD2,
1361*c9850620SPrathamesh Shete 	TEGRA_MUX_DCF_VSYNC,
1362*c9850620SPrathamesh Shete 	TEGRA_MUX_DCF_HSYNC,
1363*c9850620SPrathamesh Shete 	TEGRA_MUX_SOUNDWIRE1_CLK,
1364*c9850620SPrathamesh Shete 	TEGRA_MUX_SOUNDWIRE1_DAT0,
1365*c9850620SPrathamesh Shete 	TEGRA_MUX_SOUNDWIRE1_DAT1,
1366*c9850620SPrathamesh Shete 	TEGRA_MUX_SOUNDWIRE1_DAT2,
1367*c9850620SPrathamesh Shete 	TEGRA_MUX_DMIC2_CLK,
1368*c9850620SPrathamesh Shete 	TEGRA_MUX_DMIC2_DAT,
1369*c9850620SPrathamesh Shete 	TEGRA_MUX_NV_THERM_FAN_TACH1,
1370*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C15_CLK,
1371*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C15_DAT,
1372*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S7_LRCK,
1373*c9850620SPrathamesh Shete 	TEGRA_MUX_CCLA_LA_TRIGGER_MUX,
1374*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S7_SCLK,
1375*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S7_SDATA_OUT,
1376*c9850620SPrathamesh Shete 	TEGRA_MUX_DMIC1_DAT,
1377*c9850620SPrathamesh Shete 	TEGRA_MUX_DMIC1_CLK,
1378*c9850620SPrathamesh Shete 	TEGRA_MUX_DCD_VSYNC,
1379*c9850620SPrathamesh Shete 	TEGRA_MUX_DCD_HSYNC,
1380*c9850620SPrathamesh Shete 	TEGRA_MUX_RSVD3,
1381*c9850620SPrathamesh Shete 	TEGRA_MUX_DCG_VSYNC,
1382*c9850620SPrathamesh Shete 	TEGRA_MUX_DCG_HSYNC,
1383*c9850620SPrathamesh Shete 	TEGRA_MUX_DSPK1_CLK,
1384*c9850620SPrathamesh Shete 	TEGRA_MUX_DSPK1_DAT,
1385*c9850620SPrathamesh Shete 	TEGRA_MUX_SOC_THERM_OC2,
1386*c9850620SPrathamesh Shete 	TEGRA_MUX_ISTCTRL_IST_DONE_N,
1387*c9850620SPrathamesh Shete 	TEGRA_MUX_SOC_THERM_OC1,
1388*c9850620SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT0C,
1389*c9850620SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT0D,
1390*c9850620SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT0A,
1391*c9850620SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT0B,
1392*c9850620SPrathamesh Shete 	TEGRA_MUX_TOUCH_CLK,
1393*c9850620SPrathamesh Shete 	TEGRA_MUX_HDMI_CEC,
1394*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C2_CLK,
1395*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C2_DAT,
1396*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C3_CLK,
1397*c9850620SPrathamesh Shete 	TEGRA_MUX_I2C3_DAT,
1398*c9850620SPrathamesh Shete 	TEGRA_MUX_GP_PWM4,
1399*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTA_TXD,
1400*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTA_RXD,
1401*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI2_SCK,
1402*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI2_DIN,
1403*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI2_DOUT,
1404*c9850620SPrathamesh Shete 	TEGRA_MUX_SPI2_CS0,
1405*c9850620SPrathamesh Shete 	TEGRA_MUX_TSC_SYNC1,
1406*c9850620SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT3,
1407*c9850620SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT0,
1408*c9850620SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT1,
1409*c9850620SPrathamesh Shete 	TEGRA_MUX_TSC_SYNC0,
1410*c9850620SPrathamesh Shete 	TEGRA_MUX_SOUNDWIRE0_CLK,
1411*c9850620SPrathamesh Shete 	TEGRA_MUX_SOUNDWIRE0_DAT0,
1412*c9850620SPrathamesh Shete 	TEGRA_MUX_L0L1_RST_OUT_N,
1413*c9850620SPrathamesh Shete 	TEGRA_MUX_L2_RST_OUT_N,
1414*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTL_TXD,
1415*c9850620SPrathamesh Shete 	TEGRA_MUX_UARTL_RXD,
1416*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S9_SCLK,
1417*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S9_SDATA_OUT,
1418*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S9_SDATA_IN,
1419*c9850620SPrathamesh Shete 	TEGRA_MUX_I2S9_LRCK,
1420*c9850620SPrathamesh Shete 	TEGRA_MUX_DMIC5_DAT,
1421*c9850620SPrathamesh Shete 	TEGRA_MUX_DMIC5_CLK,
1422*c9850620SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT2,
1423*c9850620SPrathamesh Shete };
1424*c9850620SPrathamesh Shete 
1425*c9850620SPrathamesh Shete /* Make list of each function name */
1426*c9850620SPrathamesh Shete #define TEGRA_PIN_FUNCTION(lid) #lid
1427*c9850620SPrathamesh Shete 
1428*c9850620SPrathamesh Shete static const char * const tegra264_functions[] = {
1429*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dca_vsync),
1430*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dca_hsync),
1431*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(rsvd0),
1432*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dp_aux_ch0_hpd),
1433*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dp_aux_ch1_hpd),
1434*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dp_aux_ch2_hpd),
1435*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dp_aux_ch3_hpd),
1436*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm2),
1437*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm3),
1438*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c7_clk),
1439*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c7_dat),
1440*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c9_clk),
1441*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c9_dat),
1442*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartk_cts),
1443*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartk_rts),
1444*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartk_rxd),
1445*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartk_txd),
1446*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi3_cs0),
1447*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi3_cs3),
1448*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi3_din),
1449*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi3_dout),
1450*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi3_sck),
1451*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartf_cts),
1452*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartf_rts),
1453*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartf_rxd),
1454*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartf_txd),
1455*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi1_cs0),
1456*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi1_cs1),
1457*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi1_din),
1458*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi1_dout),
1459*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi1_sck),
1460*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(extperiph2_clk),
1461*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(extperiph1_clk),
1462*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c12_clk),
1463*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c12_dat),
1464*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(nv_therm_fan_tach0),
1465*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm9),
1466*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartj_cts),
1467*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartj_rts),
1468*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartj_rxd),
1469*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartj_txd),
1470*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c0_clk),
1471*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c0_dat),
1472*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c1_clk),
1473*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c1_dat),
1474*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s2_lrck),
1475*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s2_sclk),
1476*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s2_sdata_out),
1477*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s2_sdata_in),
1478*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm10),
1479*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarte_cts),
1480*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarte_rts),
1481*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarte_rxd),
1482*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarte_txd),
1483*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c5_dat),
1484*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c5_clk),
1485*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s6_sdata_in),
1486*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s6_sdata_out),
1487*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s6_lrck),
1488*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s6_sclk),
1489*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s4_sdata_out),
1490*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s4_sclk),
1491*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s4_sdata_in),
1492*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s4_lrck),
1493*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi5_cs0),
1494*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi5_din),
1495*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi5_dout),
1496*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi5_sck),
1497*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(aud_mclk),
1498*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s1_sclk),
1499*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s1_sdata_in),
1500*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s1_sdata_out),
1501*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s1_lrck),
1502*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c11_clk),
1503*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c11_dat),
1504*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(xhalt_trig),
1505*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm1),
1506*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm6),
1507*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm7),
1508*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm8),
1509*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ufs0),
1510*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe1_clkreq_l),
1511*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe1_rst_l),
1512*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe2_rst_l),
1513*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe2_clkreq_l),
1514*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe3_clkreq_l),
1515*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe3_rst_l),
1516*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sgmii0_sma_mdio),
1517*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sgmii0_sma_mdc),
1518*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(usb_vbus_en0),
1519*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(usb_vbus_en1),
1520*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(eth1_mdio),
1521*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe4_clkreq_l),
1522*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe4_rst_l),
1523*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe5_clkreq_l),
1524*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe5_rst_l),
1525*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(eth0_mdio),
1526*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(eth0_mdc),
1527*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(eth1_mdc),
1528*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(eth2_mdio),
1529*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(eth2_mdc),
1530*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(eth3_mdio),
1531*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(eth3_mdc),
1532*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi0_cs_n),
1533*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi0_io0),
1534*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi0_io1),
1535*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi0_io2),
1536*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi0_io3),
1537*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi0_sck),
1538*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_clk),
1539*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_cmd),
1540*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_comp),
1541*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_dat3),
1542*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_dat2),
1543*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_dat1),
1544*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_dat0),
1545*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi3_sck),
1546*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi3_cs0),
1547*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi3_io0),
1548*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi3_io1),
1549*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dcb_vsync),
1550*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dcb_hsync),
1551*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dsa_lspii),
1552*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dce_vsync),
1553*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dce_hsync),
1554*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dch_vsync),
1555*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dch_hsync),
1556*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(bl_en),
1557*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(bl_pwm_dim0),
1558*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(rsvd1),
1559*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soc_therm_oc3),
1560*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s5_sclk),
1561*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s5_sdata_in),
1562*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(extperiph3_clk),
1563*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(extperiph4_clk),
1564*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s5_sdata_out),
1565*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s5_lrck),
1566*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_cd),
1567*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s7_sdata_in),
1568*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi4_sck),
1569*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi4_din),
1570*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi4_dout),
1571*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi4_cs0),
1572*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi4_cs1),
1573*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm5),
1574*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c14_clk),
1575*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c14_dat),
1576*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s8_sclk),
1577*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s8_sdata_out),
1578*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s8_lrck),
1579*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s8_sdata_in),
1580*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c16_clk),
1581*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c16_dat),
1582*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s3_sclk),
1583*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s3_sdata_out),
1584*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s3_sdata_in),
1585*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s3_lrck),
1586*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pm_trig1),
1587*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pm_trig0),
1588*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi2_sck),
1589*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi2_cs0),
1590*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi2_io0),
1591*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi2_io1),
1592*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dcc_vsync),
1593*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dcc_hsync),
1594*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(rsvd2),
1595*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dcf_vsync),
1596*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dcf_hsync),
1597*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soundwire1_clk),
1598*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soundwire1_dat0),
1599*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soundwire1_dat1),
1600*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soundwire1_dat2),
1601*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic2_clk),
1602*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic2_dat),
1603*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(nv_therm_fan_tach1),
1604*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c15_clk),
1605*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c15_dat),
1606*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s7_lrck),
1607*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ccla_la_trigger_mux),
1608*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s7_sclk),
1609*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s7_sdata_out),
1610*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic1_dat),
1611*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic1_clk),
1612*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dcd_vsync),
1613*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dcd_hsync),
1614*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(rsvd3),
1615*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dcg_vsync),
1616*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dcg_hsync),
1617*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dspk1_clk),
1618*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dspk1_dat),
1619*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soc_therm_oc2),
1620*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(istctrl_ist_done_n),
1621*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soc_therm_oc1),
1622*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out0c),
1623*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out0d),
1624*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out0a),
1625*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out0b),
1626*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(touch_clk),
1627*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(hdmi_cec),
1628*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c2_clk),
1629*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c2_dat),
1630*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c3_clk),
1631*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c3_dat),
1632*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm4),
1633*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarta_txd),
1634*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarta_rxd),
1635*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi2_sck),
1636*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi2_din),
1637*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi2_dout),
1638*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi2_cs0),
1639*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_sync1),
1640*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out3),
1641*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out0),
1642*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out1),
1643*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_sync0),
1644*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soundwire0_clk),
1645*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soundwire0_dat0),
1646*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(l0l1_rst_out_n),
1647*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(l2_rst_out_n),
1648*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartl_txd),
1649*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartl_rxd),
1650*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s9_sclk),
1651*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s9_sdata_out),
1652*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s9_sdata_in),
1653*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s9_lrck),
1654*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic5_dat),
1655*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic5_clk),
1656*c9850620SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out2),
1657*c9850620SPrathamesh Shete };
1658*c9850620SPrathamesh Shete 
1659*c9850620SPrathamesh Shete #define PINGROUP_REG_Y(r) ((r))
1660*c9850620SPrathamesh Shete #define PINGROUP_REG_N(r) -1
1661*c9850620SPrathamesh Shete 
1662*c9850620SPrathamesh Shete #define DRV_PINGROUP_Y(r) ((r))
1663*c9850620SPrathamesh Shete 
1664*c9850620SPrathamesh Shete #define DRV_PINGROUP_ENTRY_N					\
1665*c9850620SPrathamesh Shete 		.drv_reg = -1,					\
1666*c9850620SPrathamesh Shete 		.drv_bank = -1,					\
1667*c9850620SPrathamesh Shete 		.drvdn_bit = -1,				\
1668*c9850620SPrathamesh Shete 		.drvup_bit = -1,				\
1669*c9850620SPrathamesh Shete 		.slwr_bit = -1,					\
1670*c9850620SPrathamesh Shete 		.slwf_bit = -1
1671*c9850620SPrathamesh Shete 
1672*c9850620SPrathamesh Shete #define DRV_PINGROUP_ENTRY_Y(r, drvdn_b, drvdn_w, drvup_b,	\
1673*c9850620SPrathamesh Shete 			     drvup_w, slwr_b, slwr_w, slwf_b,	\
1674*c9850620SPrathamesh Shete 			     slwf_w, bank)			\
1675*c9850620SPrathamesh Shete 		.drv_reg = DRV_PINGROUP_Y(r),			\
1676*c9850620SPrathamesh Shete 		.drv_bank = bank,				\
1677*c9850620SPrathamesh Shete 		.drvdn_bit = drvdn_b,				\
1678*c9850620SPrathamesh Shete 		.drvdn_width = drvdn_w,				\
1679*c9850620SPrathamesh Shete 		.drvup_bit = drvup_b,				\
1680*c9850620SPrathamesh Shete 		.drvup_width = drvup_w,				\
1681*c9850620SPrathamesh Shete 		.slwr_bit = slwr_b,				\
1682*c9850620SPrathamesh Shete 		.slwr_width = slwr_w,				\
1683*c9850620SPrathamesh Shete 		.slwf_bit = slwf_b,				\
1684*c9850620SPrathamesh Shete 		.slwf_width = slwf_w
1685*c9850620SPrathamesh Shete 
1686*c9850620SPrathamesh Shete #define PIN_PINGROUP_ENTRY_N					\
1687*c9850620SPrathamesh Shete 		.mux_reg = -1,					\
1688*c9850620SPrathamesh Shete 		.pupd_reg = -1,					\
1689*c9850620SPrathamesh Shete 		.tri_reg = -1,					\
1690*c9850620SPrathamesh Shete 		.einput_bit = -1,				\
1691*c9850620SPrathamesh Shete 		.e_io_hv_bit = -1,				\
1692*c9850620SPrathamesh Shete 		.odrain_bit = -1,				\
1693*c9850620SPrathamesh Shete 		.lock_bit = -1,					\
1694*c9850620SPrathamesh Shete 		.parked_bit = -1,				\
1695*c9850620SPrathamesh Shete 		.lpmd_bit = -1,					\
1696*c9850620SPrathamesh Shete 		.drvtype_bit = -1,				\
1697*c9850620SPrathamesh Shete 		.lpdr_bit = -1,					\
1698*c9850620SPrathamesh Shete 		.pbias_buf_bit = -1,				\
1699*c9850620SPrathamesh Shete 		.preemp_bit = -1,				\
1700*c9850620SPrathamesh Shete 		.rfu_in_bit = -1
1701*c9850620SPrathamesh Shete 
1702*c9850620SPrathamesh Shete #define PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, e_input,	\
1703*c9850620SPrathamesh Shete 				e_lpdr, e_pbias_buf, gpio_sfio_sel,	\
1704*c9850620SPrathamesh Shete 				schmitt_b)				\
1705*c9850620SPrathamesh Shete 		.mux_reg = PINGROUP_REG_Y(r),			\
1706*c9850620SPrathamesh Shete 		.lpmd_bit = -1,					\
1707*c9850620SPrathamesh Shete 		.lock_bit = -1,					\
1708*c9850620SPrathamesh Shete 		.hsm_bit = -1,					\
1709*c9850620SPrathamesh Shete 		.mux_bank = bank,				\
1710*c9850620SPrathamesh Shete 		.mux_bit = 0,					\
1711*c9850620SPrathamesh Shete 		.pupd_reg = PINGROUP_REG_##pupd(r),		\
1712*c9850620SPrathamesh Shete 		.pupd_bank = bank,				\
1713*c9850620SPrathamesh Shete 		.pupd_bit = 2,					\
1714*c9850620SPrathamesh Shete 		.tri_reg = PINGROUP_REG_Y(r),			\
1715*c9850620SPrathamesh Shete 		.tri_bank = bank,				\
1716*c9850620SPrathamesh Shete 		.tri_bit = 4,					\
1717*c9850620SPrathamesh Shete 		.einput_bit = e_input,				\
1718*c9850620SPrathamesh Shete 		.sfsel_bit = gpio_sfio_sel,			\
1719*c9850620SPrathamesh Shete 		.schmitt_bit = schmitt_b,			\
1720*c9850620SPrathamesh Shete 		.drvtype_bit = 13,				\
1721*c9850620SPrathamesh Shete 		.lpdr_bit = e_lpdr,
1722*c9850620SPrathamesh Shete 
1723*c9850620SPrathamesh Shete #define drive_eth1_mdio_pe0 DRV_PINGROUP_ENTRY_Y(0x4, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1724*c9850620SPrathamesh Shete #define drive_pex_l4_clkreq_n_pd0 DRV_PINGROUP_ENTRY_Y(0xc, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1725*c9850620SPrathamesh Shete #define drive_pex_l4_rst_n_pd1 DRV_PINGROUP_ENTRY_Y(0x14, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1726*c9850620SPrathamesh Shete #define drive_pex_l5_clkreq_n_pd2 DRV_PINGROUP_ENTRY_Y(0x1c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1727*c9850620SPrathamesh Shete #define drive_pex_l5_rst_n_pd3 DRV_PINGROUP_ENTRY_Y(0x24, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1728*c9850620SPrathamesh Shete #define drive_eth0_mdio_pd4 DRV_PINGROUP_ENTRY_Y(0x2c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1729*c9850620SPrathamesh Shete #define drive_eth0_mdc_pd5 DRV_PINGROUP_ENTRY_Y(0x34, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1730*c9850620SPrathamesh Shete #define drive_eth1_mdc_pe1 DRV_PINGROUP_ENTRY_Y(0x3c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1731*c9850620SPrathamesh Shete #define drive_eth2_mdio_pe2 DRV_PINGROUP_ENTRY_Y(0x44, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1732*c9850620SPrathamesh Shete #define drive_eth2_mdc_pe3 DRV_PINGROUP_ENTRY_Y(0x4c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1733*c9850620SPrathamesh Shete #define drive_eth3_mdio_pd6 DRV_PINGROUP_ENTRY_Y(0x54, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1734*c9850620SPrathamesh Shete #define drive_eth3_mdc_pd7 DRV_PINGROUP_ENTRY_Y(0x5c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1735*c9850620SPrathamesh Shete #define drive_pex_l1_clkreq_n_pb0 DRV_PINGROUP_ENTRY_Y(0x2004, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1736*c9850620SPrathamesh Shete #define drive_pex_l1_rst_n_pb1 DRV_PINGROUP_ENTRY_Y(0x200c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1737*c9850620SPrathamesh Shete #define drive_pex_wake_n_pc2 DRV_PINGROUP_ENTRY_Y(0x2014, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1738*c9850620SPrathamesh Shete #define drive_pex_l2_rst_n_pb3 DRV_PINGROUP_ENTRY_Y(0x201c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1739*c9850620SPrathamesh Shete #define drive_pex_l2_clkreq_n_pb2 DRV_PINGROUP_ENTRY_Y(0x2024, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1740*c9850620SPrathamesh Shete #define drive_pex_l3_clkreq_n_pb4 DRV_PINGROUP_ENTRY_Y(0x202c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1741*c9850620SPrathamesh Shete #define drive_pex_l3_rst_n_pb5 DRV_PINGROUP_ENTRY_Y(0x2034, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1742*c9850620SPrathamesh Shete #define drive_sgmii0_sma_mdio_pc0 DRV_PINGROUP_ENTRY_Y(0x203c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1743*c9850620SPrathamesh Shete #define drive_sgmii0_sma_mdc_pc1 DRV_PINGROUP_ENTRY_Y(0x2044, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1744*c9850620SPrathamesh Shete #define drive_soc_gpio113_pb6 DRV_PINGROUP_ENTRY_Y(0x204c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1745*c9850620SPrathamesh Shete #define drive_soc_gpio114_pb7 DRV_PINGROUP_ENTRY_Y(0x2054, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1746*c9850620SPrathamesh Shete #define drive_pwm1_pa0 DRV_PINGROUP_ENTRY_Y(0x3004, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1747*c9850620SPrathamesh Shete #define drive_pwm6_pa1 DRV_PINGROUP_ENTRY_Y(0x300c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1748*c9850620SPrathamesh Shete #define drive_pwm7_pa2 DRV_PINGROUP_ENTRY_Y(0x3014, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1749*c9850620SPrathamesh Shete #define drive_pwm8_pa3 DRV_PINGROUP_ENTRY_Y(0x301c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1750*c9850620SPrathamesh Shete #define drive_ufs0_ref_clk_pa4 DRV_PINGROUP_ENTRY_Y(0x3024, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1751*c9850620SPrathamesh Shete #define drive_ufs0_rst_n_pa5 DRV_PINGROUP_ENTRY_Y(0x302c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1752*c9850620SPrathamesh Shete 
1753*c9850620SPrathamesh Shete #define drive_cpu_pwr_req_ph0 DRV_PINGROUP_ENTRY_Y(0x4, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1754*c9850620SPrathamesh Shete #define drive_gpu_pwr_req_ph1 DRV_PINGROUP_ENTRY_Y(0xc, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1755*c9850620SPrathamesh Shete #define drive_uart10_cts_n_ph5 DRV_PINGROUP_ENTRY_Y(0x14, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1756*c9850620SPrathamesh Shete #define drive_uart10_rts_n_ph4 DRV_PINGROUP_ENTRY_Y(0x1c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1757*c9850620SPrathamesh Shete #define drive_uart10_rx_ph3 DRV_PINGROUP_ENTRY_Y(0x24, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1758*c9850620SPrathamesh Shete #define drive_uart10_tx_ph2 DRV_PINGROUP_ENTRY_Y(0x2c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1759*c9850620SPrathamesh Shete #define drive_spi3_cs0_pj1 DRV_PINGROUP_ENTRY_Y(0x34, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1760*c9850620SPrathamesh Shete #define drive_spi3_cs3_pj2 DRV_PINGROUP_ENTRY_Y(0x3c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1761*c9850620SPrathamesh Shete #define drive_spi3_miso_ph7 DRV_PINGROUP_ENTRY_Y(0x44, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1762*c9850620SPrathamesh Shete #define drive_spi3_mosi_pj0 DRV_PINGROUP_ENTRY_Y(0x4c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1763*c9850620SPrathamesh Shete #define drive_spi3_sck_ph6 DRV_PINGROUP_ENTRY_Y(0x54, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1764*c9850620SPrathamesh Shete #define drive_uart5_cts_n_pj6 DRV_PINGROUP_ENTRY_Y(0x5c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1765*c9850620SPrathamesh Shete #define drive_uart5_rts_n_pj5 DRV_PINGROUP_ENTRY_Y(0x64, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1766*c9850620SPrathamesh Shete #define drive_uart5_rx_pj4 DRV_PINGROUP_ENTRY_Y(0x6c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1767*c9850620SPrathamesh Shete #define drive_uart5_tx_pj3 DRV_PINGROUP_ENTRY_Y(0x74, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1768*c9850620SPrathamesh Shete #define drive_spi1_cs0_pk2 DRV_PINGROUP_ENTRY_Y(0x7c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1769*c9850620SPrathamesh Shete #define drive_spi1_cs1_pk3 DRV_PINGROUP_ENTRY_Y(0x84, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1770*c9850620SPrathamesh Shete #define drive_spi1_miso_pk0 DRV_PINGROUP_ENTRY_Y(0x8c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1771*c9850620SPrathamesh Shete #define drive_spi1_mosi_pk1 DRV_PINGROUP_ENTRY_Y(0x94, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1772*c9850620SPrathamesh Shete #define drive_spi1_sck_pj7 DRV_PINGROUP_ENTRY_Y(0x9c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1773*c9850620SPrathamesh Shete #define drive_extperiph2_clk_pk5 DRV_PINGROUP_ENTRY_Y(0xa4, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1774*c9850620SPrathamesh Shete #define drive_extperiph1_clk_pk4 DRV_PINGROUP_ENTRY_Y(0xac, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1775*c9850620SPrathamesh Shete #define drive_gen12_i2c_scl_pk6 DRV_PINGROUP_ENTRY_Y(0xb4, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1776*c9850620SPrathamesh Shete #define drive_gen12_i2c_sda_pk7 DRV_PINGROUP_ENTRY_Y(0xbc, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1777*c9850620SPrathamesh Shete #define drive_soc_gpio124_pl0 DRV_PINGROUP_ENTRY_Y(0x1004, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1778*c9850620SPrathamesh Shete #define drive_soc_gpio125_pl1 DRV_PINGROUP_ENTRY_Y(0x100c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1779*c9850620SPrathamesh Shete #define drive_fan_tach0_pl2 DRV_PINGROUP_ENTRY_Y(0x1014, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1780*c9850620SPrathamesh Shete #define drive_soc_gpio127_pl3 DRV_PINGROUP_ENTRY_Y(0x101c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1781*c9850620SPrathamesh Shete #define drive_soc_gpio128_pl4 DRV_PINGROUP_ENTRY_Y(0x1024, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1782*c9850620SPrathamesh Shete #define drive_soc_gpio129_pl5 DRV_PINGROUP_ENTRY_Y(0x102c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1783*c9850620SPrathamesh Shete #define drive_soc_gpio130_pl6 DRV_PINGROUP_ENTRY_Y(0x1034, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1784*c9850620SPrathamesh Shete #define drive_soc_gpio131_pl7 DRV_PINGROUP_ENTRY_Y(0x103c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1785*c9850620SPrathamesh Shete #define drive_gp_pwm9_pm0 DRV_PINGROUP_ENTRY_Y(0x1044, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1786*c9850620SPrathamesh Shete #define drive_soc_gpio133_pm1 DRV_PINGROUP_ENTRY_Y(0x104c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1787*c9850620SPrathamesh Shete #define drive_uart9_cts_n_pm5 DRV_PINGROUP_ENTRY_Y(0x1054, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1788*c9850620SPrathamesh Shete #define drive_uart9_rts_n_pm4 DRV_PINGROUP_ENTRY_Y(0x105c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1789*c9850620SPrathamesh Shete #define drive_uart9_rx_pm3 DRV_PINGROUP_ENTRY_Y(0x1064, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1790*c9850620SPrathamesh Shete #define drive_uart9_tx_pm2 DRV_PINGROUP_ENTRY_Y(0x106c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1791*c9850620SPrathamesh Shete #define drive_sdmmc1_comp DRV_PINGROUP_ENTRY_N
1792*c9850620SPrathamesh Shete #define drive_sdmmc1_clk_px0 DRV_PINGROUP_ENTRY_Y(0x2004, 28, 2, 30, 2, -1, -1, -1, -1, 0)
1793*c9850620SPrathamesh Shete #define drive_sdmmc1_cmd_px1 DRV_PINGROUP_ENTRY_Y(0x200c, 28, 2, 30, 2, -1, -1, -1, -1, 0)
1794*c9850620SPrathamesh Shete #define drive_sdmmc1_dat3_px5 DRV_PINGROUP_ENTRY_Y(0x201c, 28, 2, 30, 2, -1, -1, -1, -1, 0)
1795*c9850620SPrathamesh Shete #define drive_sdmmc1_dat2_px4 DRV_PINGROUP_ENTRY_Y(0x2024, 28, 2, 30, 2, -1, -1, -1, -1, 0)
1796*c9850620SPrathamesh Shete #define drive_sdmmc1_dat1_px3 DRV_PINGROUP_ENTRY_Y(0x202c, 28, 2, 30, 2, -1, -1, -1, -1, 0)
1797*c9850620SPrathamesh Shete #define drive_sdmmc1_dat0_px2 DRV_PINGROUP_ENTRY_Y(0x2034, 28, 2, 30, 2, -1, -1, -1, -1, 0)
1798*c9850620SPrathamesh Shete #define drive_qspi0_cs_n_pt1 DRV_PINGROUP_ENTRY_Y(0x3004, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1799*c9850620SPrathamesh Shete #define drive_qspi0_io0_pt2 DRV_PINGROUP_ENTRY_Y(0x300c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1800*c9850620SPrathamesh Shete #define drive_qspi0_io1_pt3 DRV_PINGROUP_ENTRY_Y(0x3014, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1801*c9850620SPrathamesh Shete #define drive_qspi0_io2_pt4 DRV_PINGROUP_ENTRY_Y(0x301c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1802*c9850620SPrathamesh Shete #define drive_qspi0_io3_pt5 DRV_PINGROUP_ENTRY_Y(0x3024, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1803*c9850620SPrathamesh Shete #define drive_qspi0_sck_pt0 DRV_PINGROUP_ENTRY_Y(0x302c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1804*c9850620SPrathamesh Shete #define drive_soc_gpio192_pt6 DRV_PINGROUP_ENTRY_Y(0x3034, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1805*c9850620SPrathamesh Shete #define drive_soc_gpio138_pp0 DRV_PINGROUP_ENTRY_Y(0x5004, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1806*c9850620SPrathamesh Shete #define drive_soc_gpio139_pp1 DRV_PINGROUP_ENTRY_Y(0x500c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1807*c9850620SPrathamesh Shete #define drive_dap6_din_pp4 DRV_PINGROUP_ENTRY_Y(0x5014, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1808*c9850620SPrathamesh Shete #define drive_dap6_dout_pp3 DRV_PINGROUP_ENTRY_Y(0x501c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1809*c9850620SPrathamesh Shete #define drive_dap6_fs_pp5 DRV_PINGROUP_ENTRY_Y(0x5024, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1810*c9850620SPrathamesh Shete #define drive_dap6_sclk_pp2 DRV_PINGROUP_ENTRY_Y(0x502c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1811*c9850620SPrathamesh Shete #define drive_dap4_dout_pp7 DRV_PINGROUP_ENTRY_Y(0x5034, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1812*c9850620SPrathamesh Shete #define drive_dap4_sclk_pp6 DRV_PINGROUP_ENTRY_Y(0x503c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1813*c9850620SPrathamesh Shete #define drive_dap4_din_pq0 DRV_PINGROUP_ENTRY_Y(0x5044, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1814*c9850620SPrathamesh Shete #define drive_dap4_fs_pq1 DRV_PINGROUP_ENTRY_Y(0x504c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1815*c9850620SPrathamesh Shete #define drive_spi5_cs0_pq5 DRV_PINGROUP_ENTRY_Y(0x5054, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1816*c9850620SPrathamesh Shete #define drive_spi5_miso_pq3 DRV_PINGROUP_ENTRY_Y(0x505c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1817*c9850620SPrathamesh Shete #define drive_spi5_mosi_pq4 DRV_PINGROUP_ENTRY_Y(0x5064, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1818*c9850620SPrathamesh Shete #define drive_spi5_sck_pq2 DRV_PINGROUP_ENTRY_Y(0x506c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1819*c9850620SPrathamesh Shete #define drive_soc_gpio152_pq6 DRV_PINGROUP_ENTRY_Y(0x5074, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1820*c9850620SPrathamesh Shete #define drive_soc_gpio153_pq7 DRV_PINGROUP_ENTRY_Y(0x507c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1821*c9850620SPrathamesh Shete #define drive_soc_gpio155_pr1 DRV_PINGROUP_ENTRY_Y(0x5084, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1822*c9850620SPrathamesh Shete #define drive_aud_mclk_pr0 DRV_PINGROUP_ENTRY_Y(0x508c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1823*c9850620SPrathamesh Shete #define drive_dap1_sclk_pr2 DRV_PINGROUP_ENTRY_Y(0x5094, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1824*c9850620SPrathamesh Shete #define drive_dap1_in_pr4 DRV_PINGROUP_ENTRY_Y(0x509c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1825*c9850620SPrathamesh Shete #define drive_dap1_out_pr3 DRV_PINGROUP_ENTRY_Y(0x50a4, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1826*c9850620SPrathamesh Shete #define drive_dap1_fs_pr5 DRV_PINGROUP_ENTRY_Y(0x50ac, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1827*c9850620SPrathamesh Shete #define drive_gen11_i2c_scl_pr6 DRV_PINGROUP_ENTRY_Y(0x50b4, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1828*c9850620SPrathamesh Shete #define drive_gen11_i2c_sda_pr7 DRV_PINGROUP_ENTRY_Y(0x50bc, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1829*c9850620SPrathamesh Shete #define drive_soc_gpio350_ps0 DRV_PINGROUP_ENTRY_Y(0x50c4, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1830*c9850620SPrathamesh Shete #define drive_soc_gpio351_ps1 DRV_PINGROUP_ENTRY_Y(0x50cc, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1831*c9850620SPrathamesh Shete #define drive_gen0_i2c_scl_pw4 DRV_PINGROUP_ENTRY_Y(0x6004, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1832*c9850620SPrathamesh Shete #define drive_gen0_i2c_sda_pw5 DRV_PINGROUP_ENTRY_Y(0x600c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1833*c9850620SPrathamesh Shete #define drive_gen1_i2c_scl_pw2 DRV_PINGROUP_ENTRY_Y(0x6014, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1834*c9850620SPrathamesh Shete #define drive_gen1_i2c_sda_pw3 DRV_PINGROUP_ENTRY_Y(0x601c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1835*c9850620SPrathamesh Shete #define drive_dap2_fs_pw1 DRV_PINGROUP_ENTRY_Y(0x6044, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1836*c9850620SPrathamesh Shete #define drive_dap2_clk_pv6 DRV_PINGROUP_ENTRY_Y(0x604c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1837*c9850620SPrathamesh Shete #define drive_dap2_din_pv7 DRV_PINGROUP_ENTRY_Y(0x6054, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1838*c9850620SPrathamesh Shete #define drive_dap2_dout_pw0 DRV_PINGROUP_ENTRY_Y(0x605c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1839*c9850620SPrathamesh Shete #define drive_pwm10_pv1 DRV_PINGROUP_ENTRY_Y(0x6064, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1840*c9850620SPrathamesh Shete #define drive_soc_gpio170_pu0 DRV_PINGROUP_ENTRY_Y(0x606c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1841*c9850620SPrathamesh Shete #define drive_soc_gpio171_pu1 DRV_PINGROUP_ENTRY_Y(0x6074, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1842*c9850620SPrathamesh Shete #define drive_soc_gpio172_pu2 DRV_PINGROUP_ENTRY_Y(0x607c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1843*c9850620SPrathamesh Shete #define drive_soc_gpio173_pu3 DRV_PINGROUP_ENTRY_Y(0x6084, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1844*c9850620SPrathamesh Shete #define drive_soc_gpio174_pu4 DRV_PINGROUP_ENTRY_Y(0x608c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1845*c9850620SPrathamesh Shete #define drive_soc_gpio175_pu5 DRV_PINGROUP_ENTRY_Y(0x6094, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1846*c9850620SPrathamesh Shete #define drive_soc_gpio176_pu6 DRV_PINGROUP_ENTRY_Y(0x609c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1847*c9850620SPrathamesh Shete #define drive_soc_gpio177_pu7 DRV_PINGROUP_ENTRY_Y(0x60a4, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1848*c9850620SPrathamesh Shete #define drive_soc_gpio178_pv0 DRV_PINGROUP_ENTRY_Y(0x60ac, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1849*c9850620SPrathamesh Shete #define drive_uart4_cts_n_pv5 DRV_PINGROUP_ENTRY_Y(0x60b4, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1850*c9850620SPrathamesh Shete #define drive_uart4_rts_n_pv4 DRV_PINGROUP_ENTRY_Y(0x60bc, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1851*c9850620SPrathamesh Shete #define drive_uart4_rx_pv3 DRV_PINGROUP_ENTRY_Y(0x60c4, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1852*c9850620SPrathamesh Shete #define drive_uart4_tx_pv2 DRV_PINGROUP_ENTRY_Y(0x60cc, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1853*c9850620SPrathamesh Shete #define drive_pwr_i2c_sda_pw7 DRV_PINGROUP_ENTRY_Y(0x60d4, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1854*c9850620SPrathamesh Shete #define drive_pwr_i2c_scl_pw6 DRV_PINGROUP_ENTRY_Y(0x60dc, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1855*c9850620SPrathamesh Shete #define drive_soc_gpio250_pf0 DRV_PINGROUP_ENTRY_Y(0x7004, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1856*c9850620SPrathamesh Shete #define drive_soc_gpio251_pf1 DRV_PINGROUP_ENTRY_Y(0x700c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1857*c9850620SPrathamesh Shete #define drive_soc_gpio252_pf2 DRV_PINGROUP_ENTRY_Y(0x7014, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1858*c9850620SPrathamesh Shete #define drive_dp_aux_ch0_hpd_pf3 DRV_PINGROUP_ENTRY_Y(0x701c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1859*c9850620SPrathamesh Shete #define drive_dp_aux_ch1_hpd_pf4 DRV_PINGROUP_ENTRY_Y(0x7024, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1860*c9850620SPrathamesh Shete #define drive_dp_aux_ch2_hpd_pf5 DRV_PINGROUP_ENTRY_Y(0x702c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1861*c9850620SPrathamesh Shete #define drive_dp_aux_ch3_hpd_pf6 DRV_PINGROUP_ENTRY_Y(0x7034, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1862*c9850620SPrathamesh Shete #define drive_pwm2_pf7 DRV_PINGROUP_ENTRY_Y(0x703c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1863*c9850620SPrathamesh Shete #define drive_pwm3_pg0 DRV_PINGROUP_ENTRY_Y(0x7044, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1864*c9850620SPrathamesh Shete #define drive_gen7_i2c_scl_pg1 DRV_PINGROUP_ENTRY_Y(0x704c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1865*c9850620SPrathamesh Shete #define drive_gen7_i2c_sda_pg2 DRV_PINGROUP_ENTRY_Y(0x7054, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1866*c9850620SPrathamesh Shete #define drive_gen9_i2c_scl_pg3 DRV_PINGROUP_ENTRY_Y(0x705c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1867*c9850620SPrathamesh Shete #define drive_gen9_i2c_sda_pg4 DRV_PINGROUP_ENTRY_Y(0x7064, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1868*c9850620SPrathamesh Shete #define drive_soc_gpio270_py0 DRV_PINGROUP_ENTRY_Y(0xa004, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1869*c9850620SPrathamesh Shete #define drive_soc_gpio271_py1 DRV_PINGROUP_ENTRY_Y(0xa00c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1870*c9850620SPrathamesh Shete #define drive_soc_gpio272_py2 DRV_PINGROUP_ENTRY_Y(0xa014, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1871*c9850620SPrathamesh Shete #define drive_soc_gpio273_py3 DRV_PINGROUP_ENTRY_Y(0xa01c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1872*c9850620SPrathamesh Shete #define drive_soc_gpio274_py4 DRV_PINGROUP_ENTRY_Y(0xa024, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1873*c9850620SPrathamesh Shete #define drive_soc_gpio275_py5 DRV_PINGROUP_ENTRY_Y(0xa02c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1874*c9850620SPrathamesh Shete #define drive_soc_gpio276_py6 DRV_PINGROUP_ENTRY_Y(0xa034, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1875*c9850620SPrathamesh Shete #define drive_soc_gpio277_py7 DRV_PINGROUP_ENTRY_Y(0xa03c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1876*c9850620SPrathamesh Shete #define drive_soc_gpio278_pz0 DRV_PINGROUP_ENTRY_Y(0xa044, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1877*c9850620SPrathamesh Shete #define drive_soc_gpio279_pz1 DRV_PINGROUP_ENTRY_Y(0xa04c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1878*c9850620SPrathamesh Shete #define drive_soc_gpio282_pz4 DRV_PINGROUP_ENTRY_Y(0xa054, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1879*c9850620SPrathamesh Shete #define drive_soc_gpio283_pz5 DRV_PINGROUP_ENTRY_Y(0xa05c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1880*c9850620SPrathamesh Shete #define drive_soc_gpio284_pz6 DRV_PINGROUP_ENTRY_Y(0xa064, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1881*c9850620SPrathamesh Shete #define drive_soc_gpio285_pz7 DRV_PINGROUP_ENTRY_Y(0xa06c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1882*c9850620SPrathamesh Shete #define drive_soc_gpio286_pal0 DRV_PINGROUP_ENTRY_Y(0xa074, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1883*c9850620SPrathamesh Shete #define drive_soc_gpio287_pal1 DRV_PINGROUP_ENTRY_Y(0xa07c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1884*c9850620SPrathamesh Shete #define drive_soc_gpio288_pal2 DRV_PINGROUP_ENTRY_Y(0xa084, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1885*c9850620SPrathamesh Shete #define drive_xhalt_trig_pz2 DRV_PINGROUP_ENTRY_Y(0xa08c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1886*c9850620SPrathamesh Shete #define drive_soc_gpio281_pz3 DRV_PINGROUP_ENTRY_Y(0xa094, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1887*c9850620SPrathamesh Shete 
1888*c9850620SPrathamesh Shete #define drive_ao_retention_n_paa2 DRV_PINGROUP_ENTRY_Y(0x2c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1889*c9850620SPrathamesh Shete #define drive_batt_oc_paa3 DRV_PINGROUP_ENTRY_Y(0x34, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1890*c9850620SPrathamesh Shete #define drive_power_on_paa5 DRV_PINGROUP_ENTRY_Y(0x3c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1891*c9850620SPrathamesh Shete #define drive_vcomp_alert_paa1 DRV_PINGROUP_ENTRY_Y(0x44, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1892*c9850620SPrathamesh Shete #define drive_bootv_ctl_n_paa4 DRV_PINGROUP_ENTRY_Y(0x4c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1893*c9850620SPrathamesh Shete #define drive_soc_gpio00_paa0 DRV_PINGROUP_ENTRY_Y(0x54, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1894*c9850620SPrathamesh Shete #define drive_soc_gpio07_paa7 DRV_PINGROUP_ENTRY_Y(0x5c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1895*c9850620SPrathamesh Shete #define drive_soc_gpio08_pbb0 DRV_PINGROUP_ENTRY_Y(0x64, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1896*c9850620SPrathamesh Shete #define drive_soc_gpio09_pbb1 DRV_PINGROUP_ENTRY_Y(0x6c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1897*c9850620SPrathamesh Shete #define drive_hdmi_cec_paa6 DRV_PINGROUP_ENTRY_Y(0x74, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1898*c9850620SPrathamesh Shete #define drive_gen2_i2c_scl_pcc0 DRV_PINGROUP_ENTRY_Y(0x1004, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1899*c9850620SPrathamesh Shete #define drive_gen2_i2c_sda_pcc1 DRV_PINGROUP_ENTRY_Y(0x100c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1900*c9850620SPrathamesh Shete #define drive_gen3_i2c_scl_pcc2 DRV_PINGROUP_ENTRY_Y(0x1014, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1901*c9850620SPrathamesh Shete #define drive_gen3_i2c_sda_pcc3 DRV_PINGROUP_ENTRY_Y(0x101c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1902*c9850620SPrathamesh Shete #define drive_gp_pwm4_pcc4 DRV_PINGROUP_ENTRY_Y(0x1024, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1903*c9850620SPrathamesh Shete #define drive_uart0_tx_pcc5 DRV_PINGROUP_ENTRY_Y(0x102c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1904*c9850620SPrathamesh Shete #define drive_uart0_rx_pcc6 DRV_PINGROUP_ENTRY_Y(0x1034, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1905*c9850620SPrathamesh Shete #define drive_spi2_sck_pcc7 DRV_PINGROUP_ENTRY_Y(0x103c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1906*c9850620SPrathamesh Shete #define drive_spi2_miso_pdd0 DRV_PINGROUP_ENTRY_Y(0x1044, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1907*c9850620SPrathamesh Shete #define drive_spi2_mosi_pdd1 DRV_PINGROUP_ENTRY_Y(0x104c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1908*c9850620SPrathamesh Shete #define drive_spi2_cs0_n_pdd2 DRV_PINGROUP_ENTRY_Y(0x1054, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1909*c9850620SPrathamesh Shete #define drive_soc_gpio21_pdd3 DRV_PINGROUP_ENTRY_Y(0x105c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1910*c9850620SPrathamesh Shete #define drive_soc_gpio22_pdd4 DRV_PINGROUP_ENTRY_Y(0x1064, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1911*c9850620SPrathamesh Shete #define drive_soc_gpio23_pdd5 DRV_PINGROUP_ENTRY_Y(0x106c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1912*c9850620SPrathamesh Shete #define drive_soc_gpio24_pdd6 DRV_PINGROUP_ENTRY_Y(0x1074, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1913*c9850620SPrathamesh Shete #define drive_soc_gpio25_pdd7 DRV_PINGROUP_ENTRY_Y(0x107c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1914*c9850620SPrathamesh Shete #define drive_soc_gpio26_pee0 DRV_PINGROUP_ENTRY_Y(0x1084, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1915*c9850620SPrathamesh Shete #define drive_soc_gpio27_pee1 DRV_PINGROUP_ENTRY_Y(0x108c, 12, 4, 20, 4, -1, -1, -1, -1, 0)
1916*c9850620SPrathamesh Shete #define drive_soc_gpio28_pee2 DRV_PINGROUP_ENTRY_N
1917*c9850620SPrathamesh Shete #define drive_soc_gpio29_pee3 DRV_PINGROUP_ENTRY_N
1918*c9850620SPrathamesh Shete 
1919*c9850620SPrathamesh Shete #define PINGROUP(pg_name, f0, f1, f2, f3, r, bank, pupd, e_io_hv, e_lpbk, e_input, e_lpdr, e_pbias_buf,	\
1920*c9850620SPrathamesh Shete 			gpio_sfio_sel, schmitt_b)							\
1921*c9850620SPrathamesh Shete 	{								\
1922*c9850620SPrathamesh Shete 		.name = #pg_name,					\
1923*c9850620SPrathamesh Shete 		.pins = pg_name##_pins,					\
1924*c9850620SPrathamesh Shete 		.npins = ARRAY_SIZE(pg_name##_pins),			\
1925*c9850620SPrathamesh Shete 			.funcs = {					\
1926*c9850620SPrathamesh Shete 				TEGRA_MUX_##f0,				\
1927*c9850620SPrathamesh Shete 				TEGRA_MUX_##f1,				\
1928*c9850620SPrathamesh Shete 				TEGRA_MUX_##f2,				\
1929*c9850620SPrathamesh Shete 				TEGRA_MUX_##f3,				\
1930*c9850620SPrathamesh Shete 			},						\
1931*c9850620SPrathamesh Shete 		PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk,	\
1932*c9850620SPrathamesh Shete 					e_input, e_lpdr, e_pbias_buf,	\
1933*c9850620SPrathamesh Shete 					gpio_sfio_sel, schmitt_b)	\
1934*c9850620SPrathamesh Shete 		drive_##pg_name,					\
1935*c9850620SPrathamesh Shete 	}
1936*c9850620SPrathamesh Shete 
1937*c9850620SPrathamesh Shete static const struct tegra_pingroup tegra264_uphy_groups[] = {
1938*c9850620SPrathamesh Shete 	PINGROUP(eth1_mdio_pe0, ETH1_MDIO, RSVD1, RSVD2, RSVD3, 0x0, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1939*c9850620SPrathamesh Shete 	PINGROUP(pex_l4_clkreq_n_pd0, PE4_CLKREQ_L, RSVD1, RSVD2, RSVD3, 0x8, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1940*c9850620SPrathamesh Shete 	PINGROUP(pex_l4_rst_n_pd1, PE4_RST_L, RSVD1, RSVD2, RSVD3, 0x10, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1941*c9850620SPrathamesh Shete 	PINGROUP(pex_l5_clkreq_n_pd2, PE5_CLKREQ_L, RSVD1, RSVD2, RSVD3, 0x18, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1942*c9850620SPrathamesh Shete 	PINGROUP(pex_l5_rst_n_pd3, PE5_RST_L, RSVD1, RSVD2, RSVD3, 0x20, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1943*c9850620SPrathamesh Shete 	PINGROUP(eth0_mdio_pd4, ETH0_MDIO, RSVD1, RSVD2, RSVD3, 0x28, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1944*c9850620SPrathamesh Shete 	PINGROUP(eth0_mdc_pd5, ETH0_MDC, RSVD1, RSVD2, RSVD3, 0x30, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1945*c9850620SPrathamesh Shete 	PINGROUP(eth1_mdc_pe1, ETH1_MDC, RSVD1, RSVD2, RSVD3, 0x38, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1946*c9850620SPrathamesh Shete 	PINGROUP(eth2_mdio_pe2, ETH2_MDIO, RSVD1, RSVD2, RSVD3, 0x40, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1947*c9850620SPrathamesh Shete 	PINGROUP(eth2_mdc_pe3, ETH2_MDC, RSVD1, RSVD2, RSVD3, 0x48, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1948*c9850620SPrathamesh Shete 	PINGROUP(eth3_mdio_pd6, ETH3_MDIO, RSVD1, RSVD2, RSVD3, 0x50, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1949*c9850620SPrathamesh Shete 	PINGROUP(eth3_mdc_pd7, ETH3_MDC, RSVD1, RSVD2, RSVD3, 0x58, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1950*c9850620SPrathamesh Shete 	PINGROUP(pex_l1_clkreq_n_pb0, PE1_CLKREQ_L, RSVD1, RSVD2, RSVD3, 0x2000, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1951*c9850620SPrathamesh Shete 	PINGROUP(pex_l1_rst_n_pb1, PE1_RST_L, RSVD1, RSVD2, RSVD3, 0x2008, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1952*c9850620SPrathamesh Shete 	PINGROUP(pex_wake_n_pc2, RSVD0, RSVD1, RSVD2, RSVD3, 0x2010, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1953*c9850620SPrathamesh Shete 	PINGROUP(pex_l2_rst_n_pb3, PE2_RST_L, RSVD1, RSVD2, RSVD3, 0x2018, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1954*c9850620SPrathamesh Shete 	PINGROUP(pex_l2_clkreq_n_pb2, PE2_CLKREQ_L, RSVD1, RSVD2, RSVD3, 0x2020, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1955*c9850620SPrathamesh Shete 	PINGROUP(pex_l3_clkreq_n_pb4, PE3_CLKREQ_L, RSVD1, RSVD2, RSVD3, 0x2028, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1956*c9850620SPrathamesh Shete 	PINGROUP(pex_l3_rst_n_pb5, PE3_RST_L, RSVD1, RSVD2, RSVD3, 0x2030, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1957*c9850620SPrathamesh Shete 	PINGROUP(sgmii0_sma_mdio_pc0, SGMII0_SMA_MDIO, RSVD1, RSVD2, RSVD3, 0x2038, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1958*c9850620SPrathamesh Shete 	PINGROUP(sgmii0_sma_mdc_pc1, SGMII0_SMA_MDC, RSVD1, RSVD2, RSVD3, 0x2040, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1959*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio113_pb6, USB_VBUS_EN0, RSVD1, RSVD2, RSVD3, 0x2048, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1960*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio114_pb7, USB_VBUS_EN1, RSVD1, RSVD2, RSVD3, 0x2050, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1961*c9850620SPrathamesh Shete 	PINGROUP(pwm1_pa0, GP_PWM1, RSVD1, RSVD2, RSVD3, 0x3000, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1962*c9850620SPrathamesh Shete 	PINGROUP(pwm6_pa1, GP_PWM6, RSVD1, RSVD2, RSVD3, 0x3008, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1963*c9850620SPrathamesh Shete 	PINGROUP(pwm7_pa2, GP_PWM7, RSVD1, RSVD2, RSVD3, 0x3010, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1964*c9850620SPrathamesh Shete 	PINGROUP(pwm8_pa3, GP_PWM8, RSVD1, RSVD2, RSVD3, 0x3018, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1965*c9850620SPrathamesh Shete 	PINGROUP(ufs0_ref_clk_pa4, UFS0, RSVD1, RSVD2, RSVD3, 0x3020, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1966*c9850620SPrathamesh Shete 	PINGROUP(ufs0_rst_n_pa5, UFS0, RSVD1, RSVD2, RSVD3, 0x3028, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1967*c9850620SPrathamesh Shete };
1968*c9850620SPrathamesh Shete 
1969*c9850620SPrathamesh Shete static const struct tegra_pingroup tegra264_main_groups[] = {
1970*c9850620SPrathamesh Shete 	PINGROUP(cpu_pwr_req_ph0, RSVD0, RSVD1, RSVD2, RSVD3, 0x0, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1971*c9850620SPrathamesh Shete 	PINGROUP(gpu_pwr_req_ph1, RSVD0, RSVD1, RSVD2, RSVD3, 0x8, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1972*c9850620SPrathamesh Shete 	PINGROUP(uart10_cts_n_ph5, UARTK_CTS, RSVD1, RSVD2, RSVD3, 0x10, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1973*c9850620SPrathamesh Shete 	PINGROUP(uart10_rts_n_ph4, UARTK_RTS, RSVD1, RSVD2, RSVD3, 0x18, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1974*c9850620SPrathamesh Shete 	PINGROUP(uart10_rx_ph3, UARTK_RXD, RSVD1, RSVD2, RSVD3, 0x20, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1975*c9850620SPrathamesh Shete 	PINGROUP(uart10_tx_ph2, UARTK_TXD, RSVD1, RSVD2, RSVD3, 0x28, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1976*c9850620SPrathamesh Shete 	PINGROUP(spi3_cs0_pj1, SPI3_CS0, RSVD1, RSVD2, RSVD3, 0x30, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1977*c9850620SPrathamesh Shete 	PINGROUP(spi3_cs3_pj2, SPI3_CS3, RSVD1, RSVD2, RSVD3, 0x38, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1978*c9850620SPrathamesh Shete 	PINGROUP(spi3_miso_ph7, SPI3_DIN, RSVD1, RSVD2, RSVD3, 0x40, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1979*c9850620SPrathamesh Shete 	PINGROUP(spi3_mosi_pj0, SPI3_DOUT, RSVD1, RSVD2, RSVD3, 0x48, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1980*c9850620SPrathamesh Shete 	PINGROUP(spi3_sck_ph6, SPI3_SCK, RSVD1, RSVD2, RSVD3, 0x50, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1981*c9850620SPrathamesh Shete 	PINGROUP(uart5_cts_n_pj6, UARTF_CTS, RSVD1, RSVD2, RSVD3, 0x58, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1982*c9850620SPrathamesh Shete 	PINGROUP(uart5_rts_n_pj5, UARTF_RTS, RSVD1, RSVD2, RSVD3, 0x60, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1983*c9850620SPrathamesh Shete 	PINGROUP(uart5_rx_pj4, UARTF_RXD, RSVD1, RSVD2, RSVD3, 0x68, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1984*c9850620SPrathamesh Shete 	PINGROUP(uart5_tx_pj3, UARTF_TXD, RSVD1, RSVD2, RSVD3, 0x70, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1985*c9850620SPrathamesh Shete 	PINGROUP(spi1_cs0_pk2, SPI1_CS0, RSVD1, RSVD2, RSVD3, 0x78, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1986*c9850620SPrathamesh Shete 	PINGROUP(spi1_cs1_pk3, SPI1_CS1, RSVD1, RSVD2, RSVD3, 0x80, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1987*c9850620SPrathamesh Shete 	PINGROUP(spi1_miso_pk0, SPI1_DIN, RSVD1, RSVD2, RSVD3, 0x88, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1988*c9850620SPrathamesh Shete 	PINGROUP(spi1_mosi_pk1, SPI1_DOUT, RSVD1, RSVD2, RSVD3, 0x90, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1989*c9850620SPrathamesh Shete 	PINGROUP(spi1_sck_pj7, SPI1_SCK, RSVD1, RSVD2, RSVD3, 0x98, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1990*c9850620SPrathamesh Shete 	PINGROUP(extperiph2_clk_pk5, EXTPERIPH2_CLK, RSVD1, DMIC2_CLK, DSPK1_CLK, 0xa0, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1991*c9850620SPrathamesh Shete 	PINGROUP(extperiph1_clk_pk4, EXTPERIPH1_CLK, RSVD1, DMIC2_DAT, DSPK1_DAT, 0xa8, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1992*c9850620SPrathamesh Shete 	PINGROUP(gen12_i2c_scl_pk6, I2C12_CLK, RSVD1, RSVD2, RSVD3, 0xb0, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1993*c9850620SPrathamesh Shete 	PINGROUP(gen12_i2c_sda_pk7, I2C12_DAT, RSVD1, RSVD2, RSVD3, 0xb8, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1994*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio124_pl0, RSVD0, SOC_THERM_OC3, RSVD2, RSVD3, 0x1000, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1995*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio125_pl1, RSVD0, I2S5_SCLK, RSVD2, RSVD3, 0x1008, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1996*c9850620SPrathamesh Shete 	PINGROUP(fan_tach0_pl2, NV_THERM_FAN_TACH0, RSVD1, RSVD2, RSVD3, 0x1010, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1997*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio127_pl3, RSVD0, RSVD1, NV_THERM_FAN_TACH1, RSVD3, 0x1018, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1998*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio128_pl4, RSVD0, I2S5_SDATA_IN, RSVD2, RSVD3, 0x1020, 0, Y, 5, 7, 6, 8, -1, 10, 11),
1999*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio129_pl5, RSVD0, EXTPERIPH3_CLK, I2C15_CLK, RSVD3, 0x1028, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2000*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio130_pl6, RSVD0, EXTPERIPH4_CLK, I2C15_DAT, RSVD3, 0x1030, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2001*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio131_pl7, RSVD0, I2S5_SDATA_OUT, RSVD2, RSVD3, 0x1038, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2002*c9850620SPrathamesh Shete 	PINGROUP(gp_pwm9_pm0, GP_PWM9, RSVD1, RSVD2, RSVD3, 0x1040, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2003*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio133_pm1, RSVD0, I2S5_LRCK, RSVD2, RSVD3, 0x1048, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2004*c9850620SPrathamesh Shete 	PINGROUP(uart9_cts_n_pm5, UARTJ_CTS, RSVD1, RSVD2, RSVD3, 0x1050, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2005*c9850620SPrathamesh Shete 	PINGROUP(uart9_rts_n_pm4, UARTJ_RTS, RSVD1, RSVD2, RSVD3, 0x1058, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2006*c9850620SPrathamesh Shete 	PINGROUP(uart9_rx_pm3, UARTJ_RXD, RSVD1, RSVD2, RSVD3, 0x1060, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2007*c9850620SPrathamesh Shete 	PINGROUP(uart9_tx_pm2, UARTJ_TXD, RSVD1, RSVD2, RSVD3, 0x1068, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2008*c9850620SPrathamesh Shete 	PINGROUP(sdmmc1_clk_px0, SDMMC1_CLK, RSVD1, RSVD2, RSVD3, 0x2000, 0, Y, -1, 5, 6, 13, -1, 10, -1),
2009*c9850620SPrathamesh Shete 	PINGROUP(sdmmc1_cmd_px1, SDMMC1_CMD, RSVD1, RSVD2, RSVD3, 0x2008, 0, Y, -1, 5, 6, 13, -1, 10, -1),
2010*c9850620SPrathamesh Shete 	PINGROUP(sdmmc1_comp, SDMMC1_COMP, RSVD1, RSVD2, RSVD3, 0x2010, 0, N, -1, -1, -1, -1, -1, -1, -1),
2011*c9850620SPrathamesh Shete 	PINGROUP(sdmmc1_dat3_px5, SDMMC1_DAT3, RSVD1, RSVD2, RSVD3, 0x2018, 0, Y, -1, 5, 6, 13, -1, 10, -1),
2012*c9850620SPrathamesh Shete 	PINGROUP(sdmmc1_dat2_px4, SDMMC1_DAT2, RSVD1, RSVD2, RSVD3, 0x2020, 0, Y, -1, 5, 6, 13, -1, 10, -1),
2013*c9850620SPrathamesh Shete 	PINGROUP(sdmmc1_dat1_px3, SDMMC1_DAT1, RSVD1, RSVD2, RSVD3, 0x2028, 0, Y, -1, 5, 6, 13, -1, 10, -1),
2014*c9850620SPrathamesh Shete 	PINGROUP(sdmmc1_dat0_px2, SDMMC1_DAT0, RSVD1, RSVD2, RSVD3, 0x2030, 0, Y, -1, 5, 6, 13, -1, 10, -1),
2015*c9850620SPrathamesh Shete 	PINGROUP(qspi0_cs_n_pt1, QSPI0_CS_N, RSVD1, RSVD2, RSVD3, 0x3000, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2016*c9850620SPrathamesh Shete 	PINGROUP(qspi0_io0_pt2, QSPI0_IO0, RSVD1, RSVD2, RSVD3, 0x3008, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2017*c9850620SPrathamesh Shete 	PINGROUP(qspi0_io1_pt3, QSPI0_IO1, RSVD1, RSVD2, RSVD3, 0x3010, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2018*c9850620SPrathamesh Shete 	PINGROUP(qspi0_io2_pt4, QSPI0_IO2, RSVD1, RSVD2, RSVD3, 0x3018, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2019*c9850620SPrathamesh Shete 	PINGROUP(qspi0_io3_pt5, QSPI0_IO3, RSVD1, RSVD2, RSVD3, 0x3020, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2020*c9850620SPrathamesh Shete 	PINGROUP(qspi0_sck_pt0, QSPI0_SCK, RSVD1, RSVD2, RSVD3, 0x3028, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2021*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio192_pt6, RSVD0, RSVD1, RSVD2, RSVD3, 0x3030, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2022*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio138_pp0, RSVD0, I2C14_CLK, DMIC1_DAT, RSVD3, 0x5000, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2023*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio139_pp1, RSVD0, I2C14_DAT, DMIC1_CLK, RSVD3, 0x5008, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2024*c9850620SPrathamesh Shete 	PINGROUP(dap6_din_pp4, I2S6_SDATA_IN, RSVD1, RSVD2, RSVD3, 0x5010, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2025*c9850620SPrathamesh Shete 	PINGROUP(dap6_dout_pp3, I2S6_SDATA_OUT, RSVD1, RSVD2, RSVD3, 0x5018, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2026*c9850620SPrathamesh Shete 	PINGROUP(dap6_fs_pp5, I2S6_LRCK, RSVD1, RSVD2, RSVD3, 0x5020, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2027*c9850620SPrathamesh Shete 	PINGROUP(dap6_sclk_pp2, I2S6_SCLK, RSVD1, RSVD2, RSVD3, 0x5028, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2028*c9850620SPrathamesh Shete 	PINGROUP(dap4_dout_pp7, I2S4_SDATA_OUT, RSVD1, RSVD2, RSVD3, 0x5030, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2029*c9850620SPrathamesh Shete 	PINGROUP(dap4_sclk_pp6, I2S4_SCLK, RSVD1, RSVD2, RSVD3, 0x5038, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2030*c9850620SPrathamesh Shete 	PINGROUP(dap4_din_pq0, I2S4_SDATA_IN, RSVD1, RSVD2, RSVD3, 0x5040, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2031*c9850620SPrathamesh Shete 	PINGROUP(dap4_fs_pq1, I2S4_LRCK, RSVD1, RSVD2, RSVD3, 0x5048, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2032*c9850620SPrathamesh Shete 	PINGROUP(spi5_cs0_pq5, SPI5_CS0, RSVD1, RSVD2, RSVD3, 0x5050, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2033*c9850620SPrathamesh Shete 	PINGROUP(spi5_miso_pq3, SPI5_DIN, RSVD1, RSVD2, RSVD3, 0x5058, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2034*c9850620SPrathamesh Shete 	PINGROUP(spi5_mosi_pq4, SPI5_DOUT, RSVD1, RSVD2, RSVD3, 0x5060, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2035*c9850620SPrathamesh Shete 	PINGROUP(spi5_sck_pq2, SPI5_SCK, RSVD1, RSVD2, RSVD3, 0x5068, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2036*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio152_pq6, RSVD0, I2S8_SCLK, RSVD2, RSVD3, 0x5070, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2037*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio153_pq7, RSVD0, I2S8_SDATA_OUT, RSVD2, RSVD3, 0x5078, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2038*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio155_pr1, RSVD0, I2S8_LRCK, RSVD2, RSVD3, 0x5080, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2039*c9850620SPrathamesh Shete 	PINGROUP(aud_mclk_pr0, AUD_MCLK, RSVD1, RSVD2, RSVD3, 0x5088, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2040*c9850620SPrathamesh Shete 	PINGROUP(dap1_sclk_pr2, I2S1_SCLK, RSVD1, RSVD2, RSVD3, 0x5090, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2041*c9850620SPrathamesh Shete 	PINGROUP(dap1_in_pr4, I2S1_SDATA_IN, RSVD1, RSVD2, RSVD3, 0x5098, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2042*c9850620SPrathamesh Shete 	PINGROUP(dap1_out_pr3, I2S1_SDATA_OUT, RSVD1, RSVD2, RSVD3, 0x50a0, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2043*c9850620SPrathamesh Shete 	PINGROUP(dap1_fs_pr5, I2S1_LRCK, RSVD1, RSVD2, RSVD3, 0x50a8, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2044*c9850620SPrathamesh Shete 	PINGROUP(gen11_i2c_scl_pr6, I2C11_CLK, RSVD1, RSVD2, RSVD3, 0x50b0, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2045*c9850620SPrathamesh Shete 	PINGROUP(gen11_i2c_sda_pr7, I2C11_DAT, RSVD1, RSVD2, RSVD3, 0x50b8, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2046*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio350_ps0, RSVD0, I2S8_SDATA_IN, RSVD2, RSVD3, 0x50c0, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2047*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio351_ps1, RSVD0, RSVD1, RSVD2, RSVD3, 0x50c8, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2048*c9850620SPrathamesh Shete 	PINGROUP(gen0_i2c_scl_pw4, I2C0_CLK, RSVD1, RSVD2, RSVD3, 0x6000, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2049*c9850620SPrathamesh Shete 	PINGROUP(gen0_i2c_sda_pw5, I2C0_DAT, RSVD1, RSVD2, RSVD3, 0x6008, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2050*c9850620SPrathamesh Shete 	PINGROUP(gen1_i2c_scl_pw2, I2C1_CLK, RSVD1, RSVD2, RSVD3, 0x6010, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2051*c9850620SPrathamesh Shete 	PINGROUP(gen1_i2c_sda_pw3, I2C1_DAT, RSVD1, RSVD2, RSVD3, 0x6018, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2052*c9850620SPrathamesh Shete 	PINGROUP(dap2_fs_pw1, I2S2_LRCK, RSVD1, RSVD2, RSVD3, 0x6040, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2053*c9850620SPrathamesh Shete 	PINGROUP(dap2_clk_pv6, I2S2_SCLK, RSVD1, RSVD2, RSVD3, 0x6048, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2054*c9850620SPrathamesh Shete 	PINGROUP(dap2_din_pv7, I2S2_SDATA_OUT, RSVD1, RSVD2, RSVD3, 0x6050, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2055*c9850620SPrathamesh Shete 	PINGROUP(dap2_dout_pw0, I2S2_SDATA_IN, RSVD1, RSVD2, RSVD3, 0x6058, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2056*c9850620SPrathamesh Shete 	PINGROUP(pwm10_pv1, GP_PWM10, SDMMC1_CD, I2S7_LRCK, RSVD3, 0x6060, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2057*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio170_pu0, RSVD0, I2S7_SDATA_IN, CCLA_LA_TRIGGER_MUX, RSVD3, 0x6068, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2058*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio171_pu1, RSVD0, SPI4_SCK, RSVD2, RSVD3, 0x6070, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2059*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio172_pu2, RSVD0, SPI4_DIN, RSVD2, RSVD3, 0x6078, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2060*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio173_pu3, RSVD0, SPI4_DOUT, RSVD2, RSVD3, 0x6080, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2061*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio174_pu4, RSVD0, SPI4_CS0, RSVD2, RSVD3, 0x6088, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2062*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio175_pu5, RSVD0, SPI4_CS1, RSVD2, RSVD3, 0x6090, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2063*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio176_pu6, RSVD0, RSVD1, I2S7_SCLK, RSVD3, 0x6098, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2064*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio177_pu7, RSVD0, GP_PWM5, RSVD2, RSVD3, 0x60a0, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2065*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio178_pv0, RSVD0, RSVD1, I2S7_SDATA_OUT, RSVD3, 0x60a8, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2066*c9850620SPrathamesh Shete 	PINGROUP(uart4_cts_n_pv5, UARTE_CTS, RSVD1, RSVD2, RSVD3, 0x60b0, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2067*c9850620SPrathamesh Shete 	PINGROUP(uart4_rts_n_pv4, UARTE_RTS, RSVD1, RSVD2, RSVD3, 0x60b8, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2068*c9850620SPrathamesh Shete 	PINGROUP(uart4_rx_pv3, UARTE_RXD, RSVD1, RSVD2, RSVD3, 0x60c0, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2069*c9850620SPrathamesh Shete 	PINGROUP(uart4_tx_pv2, UARTE_TXD, RSVD1, RSVD2, RSVD3, 0x60c8, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2070*c9850620SPrathamesh Shete 	PINGROUP(pwr_i2c_sda_pw7, I2C5_DAT, RSVD1, RSVD2, RSVD3, 0x60d0, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2071*c9850620SPrathamesh Shete 	PINGROUP(pwr_i2c_scl_pw6, I2C5_CLK, RSVD1, RSVD2, RSVD3, 0x60d8, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2072*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio250_pf0, DCA_VSYNC, DCB_VSYNC, DCC_VSYNC, DCD_VSYNC, 0x7000, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2073*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio251_pf1, DCA_HSYNC, DCB_HSYNC, DCC_HSYNC, DCD_HSYNC, 0x7008, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2074*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio252_pf2, RSVD0, DSA_LSPII, RSVD2, RSVD3, 0x7010, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2075*c9850620SPrathamesh Shete 	PINGROUP(dp_aux_ch0_hpd_pf3, DP_AUX_CH0_HPD, DCE_VSYNC, DCF_VSYNC, DCG_VSYNC, 0x7018, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2076*c9850620SPrathamesh Shete 	PINGROUP(dp_aux_ch1_hpd_pf4, DP_AUX_CH1_HPD, DCE_HSYNC, DCF_HSYNC, DCG_HSYNC, 0x7020, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2077*c9850620SPrathamesh Shete 	PINGROUP(dp_aux_ch2_hpd_pf5, DP_AUX_CH2_HPD, DCH_VSYNC, RSVD2, RSVD3, 0x7028, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2078*c9850620SPrathamesh Shete 	PINGROUP(dp_aux_ch3_hpd_pf6, DP_AUX_CH3_HPD, DCH_HSYNC, RSVD2, RSVD3, 0x7030, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2079*c9850620SPrathamesh Shete 	PINGROUP(pwm2_pf7, GP_PWM2, BL_EN, RSVD2, RSVD3, 0x7038, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2080*c9850620SPrathamesh Shete 	PINGROUP(pwm3_pg0, GP_PWM3, BL_PWM_DIM0, RSVD2, RSVD3, 0x7040, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2081*c9850620SPrathamesh Shete 	PINGROUP(gen7_i2c_scl_pg1, I2C7_CLK, RSVD1, SOUNDWIRE1_CLK, RSVD3, 0x7048, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2082*c9850620SPrathamesh Shete 	PINGROUP(gen7_i2c_sda_pg2, I2C7_DAT, RSVD1, SOUNDWIRE1_DAT0, RSVD3, 0x7050, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2083*c9850620SPrathamesh Shete 	PINGROUP(gen9_i2c_scl_pg3, I2C9_CLK, RSVD1, SOUNDWIRE1_DAT1, RSVD3, 0x7058, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2084*c9850620SPrathamesh Shete 	PINGROUP(gen9_i2c_sda_pg4, I2C9_DAT, RSVD1, SOUNDWIRE1_DAT2, RSVD3, 0x7060, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2085*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio270_py0, RSVD0, I2C16_CLK, RSVD2, RSVD3, 0xa000, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2086*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio271_py1, RSVD0, I2C16_DAT, RSVD2, RSVD3, 0xa008, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2087*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio272_py2, RSVD0, I2S3_SCLK, RSVD2, RSVD3, 0xa010, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2088*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio273_py3, RSVD0, I2S3_SDATA_OUT, RSVD2, RSVD3, 0xa018, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2089*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio274_py4, RSVD0, I2S3_SDATA_IN, RSVD2, RSVD3, 0xa020, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2090*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio275_py5, RSVD0, I2S3_LRCK, RSVD2, RSVD3, 0xa028, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2091*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio276_py6, RSVD0, RSVD1, RSVD2, RSVD3, 0xa030, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2092*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio277_py7, RSVD0, RSVD1, RSVD2, RSVD3, 0xa038, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2093*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio278_pz0, RSVD0, RSVD1, RSVD2, RSVD3, 0xa040, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2094*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio279_pz1, RSVD0, RSVD1, RSVD2, RSVD3, 0xa048, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2095*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio282_pz4, RSVD0, PM_TRIG1, RSVD2, RSVD3, 0xa050, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2096*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio283_pz5, RSVD0, RSVD1, RSVD2, RSVD3, 0xa058, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2097*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio284_pz6, RSVD0, RSVD1, RSVD2, RSVD3, 0xa060, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2098*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio285_pz7, RSVD0, RSVD1, RSVD2, RSVD3, 0xa068, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2099*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio286_pal0, RSVD0, RSVD1, RSVD2, RSVD3, 0xa070, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2100*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio287_pal1, RSVD0, RSVD1, RSVD2, RSVD3, 0xa078, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2101*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio288_pal2, RSVD0, RSVD1, RSVD2, RSVD3, 0xa080, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2102*c9850620SPrathamesh Shete 	PINGROUP(xhalt_trig_pz2, XHALT_TRIG, RSVD1, RSVD2, RSVD3, 0xa088, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2103*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio281_pz3, RSVD0, PM_TRIG0, RSVD2, RSVD3, 0xa090, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2104*c9850620SPrathamesh Shete };
2105*c9850620SPrathamesh Shete 
2106*c9850620SPrathamesh Shete static const struct tegra_pingroup tegra264_aon_groups[] = {
2107*c9850620SPrathamesh Shete 	PINGROUP(ao_retention_n_paa2, RSVD0, RSVD1, RSVD2, ISTCTRL_IST_DONE_N, 0x28, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2108*c9850620SPrathamesh Shete 	PINGROUP(batt_oc_paa3, SOC_THERM_OC2, RSVD1, RSVD2, RSVD3, 0x30, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2109*c9850620SPrathamesh Shete 	PINGROUP(power_on_paa5, RSVD0, RSVD1, RSVD2, RSVD3, 0x38, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2110*c9850620SPrathamesh Shete 	PINGROUP(vcomp_alert_paa1, SOC_THERM_OC1, RSVD1, RSVD2, RSVD3, 0x40, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2111*c9850620SPrathamesh Shete 	PINGROUP(bootv_ctl_n_paa4, RSVD0, RSVD1, RSVD2, RSVD3, 0x48, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2112*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio00_paa0, RSVD0, RSVD1, RSVD2, RSVD3, 0x50, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2113*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio07_paa7, RSVD0, RSVD1, RSVD2, RSVD3, 0x58, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2114*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio08_pbb0, RSVD0, RSVD1, RSVD2, RSVD3, 0x60, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2115*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio09_pbb1, RSVD0, RSVD1, RSVD2, RSVD3, 0x68, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2116*c9850620SPrathamesh Shete 	PINGROUP(hdmi_cec_paa6, HDMI_CEC, RSVD1, RSVD2, RSVD3, 0x70, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2117*c9850620SPrathamesh Shete 	PINGROUP(gen2_i2c_scl_pcc0, I2C2_CLK, RSVD1, RSVD2, RSVD3, 0x1000, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2118*c9850620SPrathamesh Shete 	PINGROUP(gen2_i2c_sda_pcc1, I2C2_DAT, RSVD1, RSVD2, RSVD3, 0x1008, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2119*c9850620SPrathamesh Shete 	PINGROUP(gen3_i2c_scl_pcc2, I2C3_CLK, RSVD1, RSVD2, RSVD3, 0x1010, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2120*c9850620SPrathamesh Shete 	PINGROUP(gen3_i2c_sda_pcc3, I2C3_DAT, RSVD1, RSVD2, RSVD3, 0x1018, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2121*c9850620SPrathamesh Shete 	PINGROUP(gp_pwm4_pcc4, GP_PWM4, TOUCH_CLK, RSVD2, RSVD3, 0x1020, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2122*c9850620SPrathamesh Shete 	PINGROUP(uart0_tx_pcc5, UARTA_TXD, RSVD1, UARTL_TXD, RSVD3, 0x1028, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2123*c9850620SPrathamesh Shete 	PINGROUP(uart0_rx_pcc6, UARTA_RXD, RSVD1, UARTL_RXD, RSVD3, 0x1030, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2124*c9850620SPrathamesh Shete 	PINGROUP(spi2_sck_pcc7, SPI2_SCK, RSVD1, I2S9_SCLK, SOUNDWIRE0_CLK, 0x1038, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2125*c9850620SPrathamesh Shete 	PINGROUP(spi2_miso_pdd0, SPI2_DIN, RSVD1, I2S9_SDATA_OUT, SOUNDWIRE0_DAT0, 0x1040, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2126*c9850620SPrathamesh Shete 	PINGROUP(spi2_mosi_pdd1, SPI2_DOUT, RSVD1, I2S9_SDATA_IN, RSVD3, 0x1048, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2127*c9850620SPrathamesh Shete 	PINGROUP(spi2_cs0_n_pdd2, SPI2_CS0, RSVD1, I2S9_LRCK, RSVD3, 0x1050, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2128*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio21_pdd3, RSVD0, TSC_SYNC1, DMIC5_DAT, RSVD3, 0x1058, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2129*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio22_pdd4, RSVD0, RSVD1, DMIC5_CLK, RSVD3, 0x1060, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2130*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio23_pdd5, RSVD0, RSVD1, TSC_EDGE_OUT2, TSC_EDGE_OUT0C, 0x1068, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2131*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio24_pdd6, RSVD0, TSC_EDGE_OUT3, RSVD2, TSC_EDGE_OUT0D, 0x1070, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2132*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio25_pdd7, RSVD0, TSC_EDGE_OUT0, RSVD2, TSC_EDGE_OUT0A, 0x1078, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2133*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio26_pee0, RSVD0, TSC_EDGE_OUT1, RSVD2, TSC_EDGE_OUT0B, 0x1080, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2134*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio27_pee1, RSVD0, TSC_SYNC0, RSVD2, RSVD3, 0x1088, 0, Y, 5, 7, 6, 8, -1, 10, 11),
2135*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio28_pee2, L0L1_RST_OUT_N, RSVD1, RSVD2, RSVD3, 0x1090, 0, N, -1, -1, -1, -1, -1, 10, -1),
2136*c9850620SPrathamesh Shete 	PINGROUP(soc_gpio29_pee3, L2_RST_OUT_N, RSVD1, RSVD2, RSVD3, 0x1098, 0, N, -1, -1, -1, -1, -1, 10, -1),
2137*c9850620SPrathamesh Shete };
2138*c9850620SPrathamesh Shete 
2139*c9850620SPrathamesh Shete static const struct tegra_pinctrl_soc_data tegra264_uphy_pinctrl = {
2140*c9850620SPrathamesh Shete 	.pins = tegra264_uphy_pins,
2141*c9850620SPrathamesh Shete 	.npins = ARRAY_SIZE(tegra264_uphy_pins),
2142*c9850620SPrathamesh Shete 	.functions = tegra264_functions,
2143*c9850620SPrathamesh Shete 	.nfunctions = ARRAY_SIZE(tegra264_functions),
2144*c9850620SPrathamesh Shete 	.groups = tegra264_uphy_groups,
2145*c9850620SPrathamesh Shete 	.ngroups = ARRAY_SIZE(tegra264_uphy_groups),
2146*c9850620SPrathamesh Shete 	.hsm_in_mux = false,
2147*c9850620SPrathamesh Shete 	.schmitt_in_mux = true,
2148*c9850620SPrathamesh Shete 	.drvtype_in_mux = true,
2149*c9850620SPrathamesh Shete 	.sfsel_in_mux = true,
2150*c9850620SPrathamesh Shete };
2151*c9850620SPrathamesh Shete 
2152*c9850620SPrathamesh Shete static const struct tegra_pinctrl_soc_data tegra264_main_pinctrl = {
2153*c9850620SPrathamesh Shete 	.pins = tegra264_main_pins,
2154*c9850620SPrathamesh Shete 	.npins = ARRAY_SIZE(tegra264_main_pins),
2155*c9850620SPrathamesh Shete 	.functions = tegra264_functions,
2156*c9850620SPrathamesh Shete 	.nfunctions = ARRAY_SIZE(tegra264_functions),
2157*c9850620SPrathamesh Shete 	.groups = tegra264_main_groups,
2158*c9850620SPrathamesh Shete 	.ngroups = ARRAY_SIZE(tegra264_main_groups),
2159*c9850620SPrathamesh Shete 	.hsm_in_mux = false,
2160*c9850620SPrathamesh Shete 	.schmitt_in_mux = true,
2161*c9850620SPrathamesh Shete 	.drvtype_in_mux = true,
2162*c9850620SPrathamesh Shete 	.sfsel_in_mux = true,
2163*c9850620SPrathamesh Shete };
2164*c9850620SPrathamesh Shete 
2165*c9850620SPrathamesh Shete static const struct tegra_pinctrl_soc_data tegra264_aon_pinctrl = {
2166*c9850620SPrathamesh Shete 	.pins = tegra264_aon_pins,
2167*c9850620SPrathamesh Shete 	.npins = ARRAY_SIZE(tegra264_aon_pins),
2168*c9850620SPrathamesh Shete 	.functions = tegra264_functions,
2169*c9850620SPrathamesh Shete 	.nfunctions = ARRAY_SIZE(tegra264_functions),
2170*c9850620SPrathamesh Shete 	.groups = tegra264_aon_groups,
2171*c9850620SPrathamesh Shete 	.ngroups = ARRAY_SIZE(tegra264_aon_groups),
2172*c9850620SPrathamesh Shete 	.hsm_in_mux = false,
2173*c9850620SPrathamesh Shete 	.schmitt_in_mux = true,
2174*c9850620SPrathamesh Shete 	.drvtype_in_mux = true,
2175*c9850620SPrathamesh Shete 	.sfsel_in_mux = true,
2176*c9850620SPrathamesh Shete };
2177*c9850620SPrathamesh Shete 
tegra264_pinctrl_probe(struct platform_device * pdev)2178*c9850620SPrathamesh Shete static int tegra264_pinctrl_probe(struct platform_device *pdev)
2179*c9850620SPrathamesh Shete {
2180*c9850620SPrathamesh Shete 	const struct tegra_pinctrl_soc_data *soc = device_get_match_data(&pdev->dev);
2181*c9850620SPrathamesh Shete 
2182*c9850620SPrathamesh Shete 	return tegra_pinctrl_probe(pdev, soc);
2183*c9850620SPrathamesh Shete }
2184*c9850620SPrathamesh Shete 
2185*c9850620SPrathamesh Shete static const struct of_device_id tegra264_pinctrl_of_match[] = {
2186*c9850620SPrathamesh Shete 	{ .compatible = "nvidia,tegra264-pinmux-uphy", .data = &tegra264_uphy_pinctrl},
2187*c9850620SPrathamesh Shete 	{ .compatible = "nvidia,tegra264-pinmux-main", .data = &tegra264_main_pinctrl},
2188*c9850620SPrathamesh Shete 	{ .compatible = "nvidia,tegra264-pinmux-aon", .data = &tegra264_aon_pinctrl},
2189*c9850620SPrathamesh Shete 	{ }
2190*c9850620SPrathamesh Shete };
2191*c9850620SPrathamesh Shete MODULE_DEVICE_TABLE(of, tegra264_pinctrl_of_match);
2192*c9850620SPrathamesh Shete 
2193*c9850620SPrathamesh Shete static struct platform_driver tegra264_pinctrl_driver = {
2194*c9850620SPrathamesh Shete 	.driver = {
2195*c9850620SPrathamesh Shete 		.name = "tegra264-pinctrl",
2196*c9850620SPrathamesh Shete 		.of_match_table = tegra264_pinctrl_of_match,
2197*c9850620SPrathamesh Shete 	},
2198*c9850620SPrathamesh Shete 	.probe = tegra264_pinctrl_probe,
2199*c9850620SPrathamesh Shete };
2200*c9850620SPrathamesh Shete 
tegra264_pinctrl_init(void)2201*c9850620SPrathamesh Shete static int __init tegra264_pinctrl_init(void)
2202*c9850620SPrathamesh Shete {
2203*c9850620SPrathamesh Shete 	return platform_driver_register(&tegra264_pinctrl_driver);
2204*c9850620SPrathamesh Shete }
2205*c9850620SPrathamesh Shete module_init(tegra264_pinctrl_init);
2206*c9850620SPrathamesh Shete 
tegra264_pinctrl_exit(void)2207*c9850620SPrathamesh Shete static void __exit tegra264_pinctrl_exit(void)
2208*c9850620SPrathamesh Shete {
2209*c9850620SPrathamesh Shete 	platform_driver_unregister(&tegra264_pinctrl_driver);
2210*c9850620SPrathamesh Shete }
2211*c9850620SPrathamesh Shete module_exit(tegra264_pinctrl_exit);
2212*c9850620SPrathamesh Shete 
2213*c9850620SPrathamesh Shete MODULE_LICENSE("GPL");
2214*c9850620SPrathamesh Shete MODULE_AUTHOR("NVIDIA Corporation");
2215*c9850620SPrathamesh Shete MODULE_DESCRIPTION("NVIDIA Tegra264 pinctrl driver");
2216