xref: /linux/drivers/pinctrl/tegra/pinctrl-tegra238.c (revision d2c9a99135da931377240942d44f3dea104cedb8)
125cac729SPrathamesh Shete // SPDX-License-Identifier: GPL-2.0-only
225cac729SPrathamesh Shete /*
325cac729SPrathamesh Shete  * Pinctrl data for the NVIDIA Tegra238 pinmux
425cac729SPrathamesh Shete  *
525cac729SPrathamesh Shete  * Copyright (c) 2022-2026, NVIDIA CORPORATION.  All rights reserved.
625cac729SPrathamesh Shete  */
725cac729SPrathamesh Shete 
825cac729SPrathamesh Shete #include <linux/module.h>
925cac729SPrathamesh Shete #include <linux/platform_device.h>
1025cac729SPrathamesh Shete #include <linux/property.h>
1125cac729SPrathamesh Shete #include <linux/pinctrl/pinctrl.h>
1225cac729SPrathamesh Shete #include <linux/pinctrl/pinmux.h>
1325cac729SPrathamesh Shete 
1425cac729SPrathamesh Shete #include "pinctrl-tegra.h"
1525cac729SPrathamesh Shete 
1625cac729SPrathamesh Shete /* Define unique ID for each pins */
1725cac729SPrathamesh Shete enum {
1825cac729SPrathamesh Shete 	TEGRA_PIN_GPU_PWR_REQ_PA0,
1925cac729SPrathamesh Shete 	TEGRA_PIN_GP_PWM5_PA1,
2025cac729SPrathamesh Shete 	TEGRA_PIN_GP_PWM6_PA2,
2125cac729SPrathamesh Shete 	TEGRA_PIN_SPI3_SCK_PA3,
2225cac729SPrathamesh Shete 	TEGRA_PIN_SPI3_MISO_PA4,
2325cac729SPrathamesh Shete 	TEGRA_PIN_SPI3_MOSI_PA5,
2425cac729SPrathamesh Shete 	TEGRA_PIN_SPI3_CS0_PA6,
2525cac729SPrathamesh Shete 	TEGRA_PIN_SPI3_CS1_PA7,
2625cac729SPrathamesh Shete 	TEGRA_PIN_SPI1_SCK_PB0,
2725cac729SPrathamesh Shete 	TEGRA_PIN_SPI1_MISO_PB1,
2825cac729SPrathamesh Shete 	TEGRA_PIN_SPI1_MOSI_PB2,
2925cac729SPrathamesh Shete 	TEGRA_PIN_SPI1_CS0_PB3,
3025cac729SPrathamesh Shete 	TEGRA_PIN_SPI1_CS1_PB4,
3125cac729SPrathamesh Shete 	TEGRA_PIN_PWR_I2C_SCL_PC0,
3225cac729SPrathamesh Shete 	TEGRA_PIN_PWR_I2C_SDA_PC1,
3325cac729SPrathamesh Shete 	TEGRA_PIN_EXTPERIPH1_CLK_PC2,
3425cac729SPrathamesh Shete 	TEGRA_PIN_EXTPERIPH2_CLK_PC3,
3525cac729SPrathamesh Shete 	TEGRA_PIN_CAM_I2C_SCL_PC4,
3625cac729SPrathamesh Shete 	TEGRA_PIN_CAM_I2C_SDA_PC5,
3725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO23_PC6,
3825cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO24_PC7,
3925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO27_PD0,
4025cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO55_PD1,
4125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO29_PD2,
4225cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO33_PD3,
4325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO32_PD4,
4425cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO35_PD5,
4525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO37_PD6,
4625cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO56_PD7,
4725cac729SPrathamesh Shete 	TEGRA_PIN_UART1_TX_PE0,
4825cac729SPrathamesh Shete 	TEGRA_PIN_UART1_RX_PE1,
4925cac729SPrathamesh Shete 	TEGRA_PIN_UART1_RTS_PE2,
5025cac729SPrathamesh Shete 	TEGRA_PIN_UART1_CTS_PE3,
5125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO13_PF0,
5225cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO14_PF1,
5325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO15_PF2,
5425cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO16_PF3,
5525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO17_PF4,
5625cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO18_PF5,
5725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO20_PF6,
5825cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO21_PF7,
5925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO22_PG0,
6025cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO06_PG1,
6125cac729SPrathamesh Shete 	TEGRA_PIN_UART4_TX_PG2,
6225cac729SPrathamesh Shete 	TEGRA_PIN_UART4_RX_PG3,
6325cac729SPrathamesh Shete 	TEGRA_PIN_UART4_RTS_PG4,
6425cac729SPrathamesh Shete 	TEGRA_PIN_UART4_CTS_PG5,
6525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO41_PG6,
6625cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO42_PG7,
6725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO43_PH0,
6825cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO44_PH1,
6925cac729SPrathamesh Shete 	TEGRA_PIN_GEN1_I2C_SCL_PH2,
7025cac729SPrathamesh Shete 	TEGRA_PIN_GEN1_I2C_SDA_PH3,
7125cac729SPrathamesh Shete 	TEGRA_PIN_CPU_PWR_REQ_PH4,
7225cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO07_PH5,
7325cac729SPrathamesh Shete 	TEGRA_PIN_DAP3_CLK_PJ0,
7425cac729SPrathamesh Shete 	TEGRA_PIN_DAP3_DOUT_PJ1,
7525cac729SPrathamesh Shete 	TEGRA_PIN_DAP3_DIN_PJ2,
7625cac729SPrathamesh Shete 	TEGRA_PIN_DAP3_FS_PJ3,
7725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO57_PJ4,
7825cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO58_PJ5,
7925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO59_PJ6,
8025cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO60_PJ7,
8125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO45_PK0,
8225cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO46_PK1,
8325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO47_PK2,
8425cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO48_PK3,
8525cac729SPrathamesh Shete 	TEGRA_PIN_QSPI0_SCK_PL0,
8625cac729SPrathamesh Shete 	TEGRA_PIN_QSPI0_IO0_PL1,
8725cac729SPrathamesh Shete 	TEGRA_PIN_QSPI0_IO1_PL2,
8825cac729SPrathamesh Shete 	TEGRA_PIN_QSPI0_CS_N_PL3,
8925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO152_PL4,
9025cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO153_PL5,
9125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO154_PL6,
9225cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO155_PL7,
9325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO156_PM0,
9425cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO157_PM1,
9525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO158_PM2,
9625cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO159_PM3,
9725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO160_PM4,
9825cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO161_PM5,
9925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO162_PM6,
10025cac729SPrathamesh Shete 	TEGRA_PIN_UART7_TX_PM7,
10125cac729SPrathamesh Shete 	TEGRA_PIN_UART7_RX_PN0,
10225cac729SPrathamesh Shete 	TEGRA_PIN_UART7_RTS_PN1,
10325cac729SPrathamesh Shete 	TEGRA_PIN_UART7_CTS_PN2,
10425cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO167_PP0,
10525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO168_PP1,
10625cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO169_PP2,
10725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO170_PP3,
10825cac729SPrathamesh Shete 	TEGRA_PIN_DAP4_SCLK_PP4,
10925cac729SPrathamesh Shete 	TEGRA_PIN_DAP4_DOUT_PP5,
11025cac729SPrathamesh Shete 	TEGRA_PIN_DAP4_DIN_PP6,
11125cac729SPrathamesh Shete 	TEGRA_PIN_DAP4_FS_PP7,
11225cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO171_PQ0,
11325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO172_PQ1,
11425cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO173_PQ2,
11525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO61_PR0,
11625cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO62_PR1,
11725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO63_PR2,
11825cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO64_PR3,
11925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO65_PR4,
12025cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO66_PR5,
12125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO67_PR6,
12225cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO68_PR7,
12325cac729SPrathamesh Shete 	TEGRA_PIN_GEN4_I2C_SCL_PS0,
12425cac729SPrathamesh Shete 	TEGRA_PIN_GEN4_I2C_SDA_PS1,
12525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO75_PS2,
12625cac729SPrathamesh Shete 	TEGRA_PIN_GEN7_I2C_SCL_PS3,
12725cac729SPrathamesh Shete 	TEGRA_PIN_GEN7_I2C_SDA_PS4,
12825cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO78_PS5,
12925cac729SPrathamesh Shete 	TEGRA_PIN_GEN9_I2C_SCL_PS6,
13025cac729SPrathamesh Shete 	TEGRA_PIN_GEN9_I2C_SDA_PS7,
13125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO81_PT0,
13225cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO36_PT1,
13325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO53_PT2,
13425cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO38_PT3,
13525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO40_PT4,
13625cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO34_PT5,
13725cac729SPrathamesh Shete 	TEGRA_PIN_USB_VBUS_EN0_PT6,
13825cac729SPrathamesh Shete 	TEGRA_PIN_USB_VBUS_EN1_PT7,
13925cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_CLK_PU0,
14025cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_CMD_PU1,
14125cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT0_PU2,
14225cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT1_PU3,
14325cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT2_PU4,
14425cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT3_PU5,
14525cac729SPrathamesh Shete 	TEGRA_PIN_UFS0_REF_CLK_PV0,
14625cac729SPrathamesh Shete 	TEGRA_PIN_UFS0_RST_N_PV1,
14725cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L0_CLKREQ_N_PW0,
14825cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L0_RST_N_PW1,
14925cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L1_CLKREQ_N_PW2,
15025cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L1_RST_N_PW3,
15125cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L2_CLKREQ_N_PW4,
15225cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L2_RST_N_PW5,
15325cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L3_CLKREQ_N_PW6,
15425cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L3_RST_N_PW7,
15525cac729SPrathamesh Shete 	TEGRA_PIN_PEX_WAKE_N_PX0,
15625cac729SPrathamesh Shete 	TEGRA_PIN_DP_AUX_CH0_HPD_PX1,
15725cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_COMP,
15825cac729SPrathamesh Shete };
15925cac729SPrathamesh Shete 
16025cac729SPrathamesh Shete enum {
16125cac729SPrathamesh Shete 	TEGRA_PIN_BOOTV_CTL_N_PAA0,
16225cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO00_PAA1,
16325cac729SPrathamesh Shete 	TEGRA_PIN_VCOMP_ALERT_PAA2,
16425cac729SPrathamesh Shete 	TEGRA_PIN_PWM1_PAA3,
16525cac729SPrathamesh Shete 	TEGRA_PIN_BATT_OC_PAA4,
16625cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO04_PAA5,
16725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO25_PAA6,
16825cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO26_PAA7,
16925cac729SPrathamesh Shete 	TEGRA_PIN_HDMI_CEC_PBB0,
17025cac729SPrathamesh Shete 	TEGRA_PIN_SPI2_SCK_PCC0,
17125cac729SPrathamesh Shete 	TEGRA_PIN_SPI2_MISO_PCC1,
17225cac729SPrathamesh Shete 	TEGRA_PIN_SPI2_MOSI_PCC2,
17325cac729SPrathamesh Shete 	TEGRA_PIN_SPI2_CS0_PCC3,
17425cac729SPrathamesh Shete 	TEGRA_PIN_SPI2_CS1_PCC4,
17525cac729SPrathamesh Shete 	TEGRA_PIN_UART3_TX_PCC5,
17625cac729SPrathamesh Shete 	TEGRA_PIN_UART3_RX_PCC6,
17725cac729SPrathamesh Shete 	TEGRA_PIN_GEN2_I2C_SCL_PCC7,
17825cac729SPrathamesh Shete 	TEGRA_PIN_GEN2_I2C_SDA_PDD0,
17925cac729SPrathamesh Shete 	TEGRA_PIN_GEN8_I2C_SCL_PDD1,
18025cac729SPrathamesh Shete 	TEGRA_PIN_GEN8_I2C_SDA_PDD2,
18125cac729SPrathamesh Shete 	TEGRA_PIN_TOUCH_CLK_PDD3,
18225cac729SPrathamesh Shete 	TEGRA_PIN_DMIC1_CLK_PDD4,
18325cac729SPrathamesh Shete 	TEGRA_PIN_DMIC1_DAT_PDD5,
18425cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO19_PDD6,
18525cac729SPrathamesh Shete 	TEGRA_PIN_PWM2_PDD7,
18625cac729SPrathamesh Shete 	TEGRA_PIN_PWM3_PEE0,
18725cac729SPrathamesh Shete 	TEGRA_PIN_PWM7_PEE1,
18825cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO49_PEE2,
18925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO82_PEE3,
19025cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO50_PEE4,
19125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO83_PEE5,
19225cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO69_PFF0,
19325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO70_PFF1,
19425cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO71_PFF2,
19525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO72_PFF3,
19625cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO73_PFF4,
19725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO74_PFF5,
19825cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO80_PFF6,
19925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO76_PFF7,
20025cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO77_PGG0,
20125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO84_PGG1,
20225cac729SPrathamesh Shete 	TEGRA_PIN_UART2_TX_PGG2,
20325cac729SPrathamesh Shete 	TEGRA_PIN_UART2_RX_PGG3,
20425cac729SPrathamesh Shete 	TEGRA_PIN_UART2_RTS_PGG4,
20525cac729SPrathamesh Shete 	TEGRA_PIN_UART2_CTS_PGG5,
20625cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO85_PGG6,
20725cac729SPrathamesh Shete 	TEGRA_PIN_UART5_TX_PGG7,
20825cac729SPrathamesh Shete 	TEGRA_PIN_UART5_RX_PHH0,
20925cac729SPrathamesh Shete 	TEGRA_PIN_UART5_RTS_PHH1,
21025cac729SPrathamesh Shete 	TEGRA_PIN_UART5_CTS_PHH2,
21125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO86_PHH3,
21225cac729SPrathamesh Shete };
21325cac729SPrathamesh Shete 
21425cac729SPrathamesh Shete /* Table for pin descriptor */
21525cac729SPrathamesh Shete static const struct pinctrl_pin_desc tegra238_pins[] = {
21625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GPU_PWR_REQ_PA0, "GPU_PWR_REQ_PA0"),
21725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GP_PWM5_PA1, "GP_PWM5_PA1"),
21825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GP_PWM6_PA2, "GP_PWM6_PA2"),
21925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI3_SCK_PA3, "SPI3_SCK_PA3"),
22025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI3_MISO_PA4, "SPI3_MISO_PA4"),
22125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI3_MOSI_PA5, "SPI3_MOSI_PA5"),
22225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI3_CS0_PA6, "SPI3_CS0_PA6"),
22325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI3_CS1_PA7, "SPI3_CS1_PA7"),
22425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI1_SCK_PB0, "SPI1_SCK_PB0"),
22525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI1_MISO_PB1, "SPI1_MISO_PB1"),
22625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI1_MOSI_PB2, "SPI1_MOSI_PB2"),
22725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI1_CS0_PB3, "SPI1_CS0_PB3"),
22825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI1_CS1_PB4, "SPI1_CS1_PB4"),
22925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SCL_PC0, "PWR_I2C_SCL_PC0"),
23025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SDA_PC1, "PWR_I2C_SDA_PC1"),
23125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_EXTPERIPH1_CLK_PC2, "EXTPERIPH1_CLK_PC2"),
23225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_EXTPERIPH2_CLK_PC3, "EXTPERIPH2_CLK_PC3"),
23325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SCL_PC4, "CAM_I2C_SCL_PC4"),
23425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SDA_PC5, "CAM_I2C_SDA_PC5"),
23525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO23_PC6, "SOC_GPIO23_PC6"),
23625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO24_PC7, "SOC_GPIO24_PC7"),
23725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO27_PD0, "SOC_GPIO27_PD0"),
23825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO55_PD1, "SOC_GPIO55_PD1"),
23925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO29_PD2, "SOC_GPIO29_PD2"),
24025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO33_PD3, "SOC_GPIO33_PD3"),
24125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO32_PD4, "SOC_GPIO32_PD4"),
24225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO35_PD5, "SOC_GPIO35_PD5"),
24325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO37_PD6, "SOC_GPIO37_PD6"),
24425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO56_PD7, "SOC_GPIO56_PD7"),
24525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART1_TX_PE0, "UART1_TX_PE0"),
24625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART1_RX_PE1, "UART1_RX_PE1"),
24725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART1_RTS_PE2, "UART1_RTS_PE2"),
24825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART1_CTS_PE3, "UART1_CTS_PE3"),
24925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO13_PF0, "SOC_GPIO13_PF0"),
25025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO14_PF1, "SOC_GPIO14_PF1"),
25125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO15_PF2, "SOC_GPIO15_PF2"),
25225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO16_PF3, "SOC_GPIO16_PF3"),
25325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO17_PF4, "SOC_GPIO17_PF4"),
25425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO18_PF5, "SOC_GPIO18_PF5"),
25525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO20_PF6, "SOC_GPIO20_PF6"),
25625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO21_PF7, "SOC_GPIO21_PF7"),
25725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO22_PG0, "SOC_GPIO22_PG0"),
25825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO06_PG1, "SOC_GPIO06_PG1"),
25925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART4_TX_PG2, "UART4_TX_PG2"),
26025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART4_RX_PG3, "UART4_RX_PG3"),
26125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART4_RTS_PG4, "UART4_RTS_PG4"),
26225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART4_CTS_PG5, "UART4_CTS_PG5"),
26325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO41_PG6, "SOC_GPIO41_PG6"),
26425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO42_PG7, "SOC_GPIO42_PG7"),
26525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO43_PH0, "SOC_GPIO43_PH0"),
26625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO44_PH1, "SOC_GPIO44_PH1"),
26725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SCL_PH2, "GEN1_I2C_SCL_PH2"),
26825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SDA_PH3, "GEN1_I2C_SDA_PH3"),
26925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_CPU_PWR_REQ_PH4, "CPU_PWR_REQ_PH4"),
27025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO07_PH5, "SOC_GPIO07_PH5"),
27125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP3_CLK_PJ0, "DAP3_CLK_PJ0"),
27225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP3_DOUT_PJ1, "DAP3_DOUT_PJ1"),
27325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP3_DIN_PJ2, "DAP3_DIN_PJ2"),
27425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP3_FS_PJ3, "DAP3_FS_PJ3"),
27525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO57_PJ4, "SOC_GPIO57_PJ4"),
27625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO58_PJ5, "SOC_GPIO58_PJ5"),
27725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO59_PJ6, "SOC_GPIO59_PJ6"),
27825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO60_PJ7, "SOC_GPIO60_PJ7"),
27925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO45_PK0, "SOC_GPIO45_PK0"),
28025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO46_PK1, "SOC_GPIO46_PK1"),
28125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO47_PK2, "SOC_GPIO47_PK2"),
28225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO48_PK3, "SOC_GPIO48_PK3"),
28325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_QSPI0_SCK_PL0, "QSPI0_SCK_PL0"),
28425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_QSPI0_IO0_PL1, "QSPI0_IO0_PL1"),
28525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_QSPI0_IO1_PL2, "QSPI0_IO1_PL2"),
28625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_QSPI0_CS_N_PL3, "QSPI0_CS_N_PL3"),
28725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO152_PL4, "SOC_GPIO152_PL4"),
28825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO153_PL5, "SOC_GPIO153_PL5"),
28925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO154_PL6, "SOC_GPIO154_PL6"),
29025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO155_PL7, "SOC_GPIO155_PL7"),
29125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO156_PM0, "SOC_GPIO156_PM0"),
29225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO157_PM1, "SOC_GPIO157_PM1"),
29325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO158_PM2, "SOC_GPIO158_PM2"),
29425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO159_PM3, "SOC_GPIO159_PM3"),
29525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO160_PM4, "SOC_GPIO160_PM4"),
29625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO161_PM5, "SOC_GPIO161_PM5"),
29725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO162_PM6, "SOC_GPIO162_PM6"),
29825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART7_TX_PM7, "UART7_TX_PM7"),
29925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART7_RX_PN0, "UART7_RX_PN0"),
30025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART7_RTS_PN1, "UART7_RTS_PN1"),
30125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART7_CTS_PN2, "UART7_CTS_PN2"),
30225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO167_PP0, "SOC_GPIO167_PP0"),
30325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO168_PP1, "SOC_GPIO168_PP1"),
30425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO169_PP2, "SOC_GPIO169_PP2"),
30525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO170_PP3, "SOC_GPIO170_PP3"),
30625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP4_SCLK_PP4, "DAP4_SCLK_PP4"),
30725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP4_DOUT_PP5, "DAP4_DOUT_PP5"),
30825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP4_DIN_PP6, "DAP4_DIN_PP6"),
30925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DAP4_FS_PP7, "DAP4_FS_PP7"),
31025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO171_PQ0, "SOC_GPIO171_PQ0"),
31125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO172_PQ1, "SOC_GPIO172_PQ1"),
31225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO173_PQ2, "SOC_GPIO173_PQ2"),
31325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO61_PR0, "SOC_GPIO61_PR0"),
31425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO62_PR1, "SOC_GPIO62_PR1"),
31525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO63_PR2, "SOC_GPIO63_PR2"),
31625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO64_PR3, "SOC_GPIO64_PR3"),
31725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO65_PR4, "SOC_GPIO65_PR4"),
31825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO66_PR5, "SOC_GPIO66_PR5"),
31925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO67_PR6, "SOC_GPIO67_PR6"),
32025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO68_PR7, "SOC_GPIO68_PR7"),
32125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN4_I2C_SCL_PS0, "GEN4_I2C_SCL_PS0"),
32225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN4_I2C_SDA_PS1, "GEN4_I2C_SDA_PS1"),
32325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO75_PS2, "SOC_GPIO75_PS2"),
32425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN7_I2C_SCL_PS3, "GEN7_I2C_SCL_PS3"),
32525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN7_I2C_SDA_PS4, "GEN7_I2C_SDA_PS4"),
32625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO78_PS5, "SOC_GPIO78_PS5"),
32725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN9_I2C_SCL_PS6, "GEN9_I2C_SCL_PS6"),
32825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN9_I2C_SDA_PS7, "GEN9_I2C_SDA_PS7"),
32925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO81_PT0, "SOC_GPIO81_PT0"),
33025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO36_PT1, "SOC_GPIO36_PT1"),
33125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO53_PT2, "SOC_GPIO53_PT2"),
33225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO38_PT3, "SOC_GPIO38_PT3"),
33325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO40_PT4, "SOC_GPIO40_PT4"),
33425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO34_PT5, "SOC_GPIO34_PT5"),
33525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN0_PT6, "USB_VBUS_EN0_PT6"),
33625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN1_PT7, "USB_VBUS_EN1_PT7"),
33725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CLK_PU0, "SDMMC1_CLK_PU0"),
33825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CMD_PU1, "SDMMC1_CMD_PU1"),
33925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT0_PU2, "SDMMC1_DAT0_PU2"),
34025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT1_PU3, "SDMMC1_DAT1_PU3"),
34125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT2_PU4, "SDMMC1_DAT2_PU4"),
34225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT3_PU5, "SDMMC1_DAT3_PU5"),
34325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UFS0_REF_CLK_PV0, "UFS0_REF_CLK_PV0"),
34425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UFS0_RST_N_PV1, "UFS0_RST_N_PV1"),
34525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L0_CLKREQ_N_PW0, "PEX_L0_CLKREQ_N_PW0"),
34625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L0_RST_N_PW1, "PEX_L0_RST_N_PW1"),
34725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L1_CLKREQ_N_PW2, "PEX_L1_CLKREQ_N_PW2"),
34825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L1_RST_N_PW3, "PEX_L1_RST_N_PW3"),
34925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L2_CLKREQ_N_PW4, "PEX_L2_CLKREQ_N_PW4"),
35025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L2_RST_N_PW5, "PEX_L2_RST_N_PW5"),
35125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L3_CLKREQ_N_PW6, "PEX_L3_CLKREQ_N_PW6"),
35225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_L3_RST_N_PW7, "PEX_L3_RST_N_PW7"),
35325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PEX_WAKE_N_PX0, "PEX_WAKE_N_PX0"),
35425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DP_AUX_CH0_HPD_PX1, "DP_AUX_CH0_HPD_PX1"),
35525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SDMMC1_COMP, "SDMMC1_COMP"),
35625cac729SPrathamesh Shete };
35725cac729SPrathamesh Shete 
35825cac729SPrathamesh Shete static const struct pinctrl_pin_desc tegra238_aon_pins[] = {
35925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_BOOTV_CTL_N_PAA0, "BOOTV_CTL_N_PAA0"),
36025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO00_PAA1, "SOC_GPIO00_PAA1"),
36125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_VCOMP_ALERT_PAA2, "VCOMP_ALERT_PAA2"),
36225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWM1_PAA3, "PWM1_PAA3"),
36325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_BATT_OC_PAA4, "BATT_OC_PAA4"),
36425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO04_PAA5, "SOC_GPIO04_PAA5"),
36525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO25_PAA6, "SOC_GPIO25_PAA6"),
36625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO26_PAA7, "SOC_GPIO26_PAA7"),
36725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_HDMI_CEC_PBB0, "HDMI_CEC_PBB0"),
36825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI2_SCK_PCC0, "SPI2_SCK_PCC0"),
36925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI2_MISO_PCC1, "SPI2_MISO_PCC1"),
37025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI2_MOSI_PCC2, "SPI2_MOSI_PCC2"),
37125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI2_CS0_PCC3, "SPI2_CS0_PCC3"),
37225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SPI2_CS1_PCC4, "SPI2_CS1_PCC4"),
37325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART3_TX_PCC5, "UART3_TX_PCC5"),
37425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART3_RX_PCC6, "UART3_RX_PCC6"),
37525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SCL_PCC7, "GEN2_I2C_SCL_PCC7"),
37625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SDA_PDD0, "GEN2_I2C_SDA_PDD0"),
37725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN8_I2C_SCL_PDD1, "GEN8_I2C_SCL_PDD1"),
37825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_GEN8_I2C_SDA_PDD2, "GEN8_I2C_SDA_PDD2"),
37925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_TOUCH_CLK_PDD3, "TOUCH_CLK_PDD3"),
38025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DMIC1_CLK_PDD4, "DMIC1_CLK_PDD4"),
38125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_DMIC1_DAT_PDD5, "DMIC1_DAT_PDD5"),
38225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO19_PDD6, "SOC_GPIO19_PDD6"),
38325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWM2_PDD7, "PWM2_PDD7"),
38425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWM3_PEE0, "PWM3_PEE0"),
38525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_PWM7_PEE1, "PWM7_PEE1"),
38625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO49_PEE2, "SOC_GPIO49_PEE2"),
38725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO82_PEE3, "SOC_GPIO82_PEE3"),
38825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO50_PEE4, "SOC_GPIO50_PEE4"),
38925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO83_PEE5, "SOC_GPIO83_PEE5"),
39025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO69_PFF0, "SOC_GPIO69_PFF0"),
39125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO70_PFF1, "SOC_GPIO70_PFF1"),
39225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO71_PFF2, "SOC_GPIO71_PFF2"),
39325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO72_PFF3, "SOC_GPIO72_PFF3"),
39425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO73_PFF4, "SOC_GPIO73_PFF4"),
39525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO74_PFF5, "SOC_GPIO74_PFF5"),
39625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO80_PFF6, "SOC_GPIO80_PFF6"),
39725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO76_PFF7, "SOC_GPIO76_PFF7"),
39825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO77_PGG0, "SOC_GPIO77_PGG0"),
39925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO84_PGG1, "SOC_GPIO84_PGG1"),
40025cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART2_TX_PGG2, "UART2_TX_PGG2"),
40125cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART2_RX_PGG3, "UART2_RX_PGG3"),
40225cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART2_RTS_PGG4, "UART2_RTS_PGG4"),
40325cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART2_CTS_PGG5, "UART2_CTS_PGG5"),
40425cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO85_PGG6, "SOC_GPIO85_PGG6"),
40525cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART5_TX_PGG7, "UART5_TX_PGG7"),
40625cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART5_RX_PHH0, "UART5_RX_PHH0"),
40725cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART5_RTS_PHH1, "UART5_RTS_PHH1"),
40825cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_UART5_CTS_PHH2, "UART5_CTS_PHH2"),
40925cac729SPrathamesh Shete 	PINCTRL_PIN(TEGRA_PIN_SOC_GPIO86_PHH3, "SOC_GPIO86_PHH3"),
41025cac729SPrathamesh Shete };
41125cac729SPrathamesh Shete 
41225cac729SPrathamesh Shete static const unsigned int gpu_pwr_req_pa0_pins[] = {
41325cac729SPrathamesh Shete 	TEGRA_PIN_GPU_PWR_REQ_PA0,
41425cac729SPrathamesh Shete };
41525cac729SPrathamesh Shete 
41625cac729SPrathamesh Shete static const unsigned int gp_pwm5_pa1_pins[] = {
41725cac729SPrathamesh Shete 	TEGRA_PIN_GP_PWM5_PA1,
41825cac729SPrathamesh Shete };
41925cac729SPrathamesh Shete 
42025cac729SPrathamesh Shete static const unsigned int gp_pwm6_pa2_pins[] = {
42125cac729SPrathamesh Shete 	TEGRA_PIN_GP_PWM6_PA2,
42225cac729SPrathamesh Shete };
42325cac729SPrathamesh Shete 
42425cac729SPrathamesh Shete static const unsigned int spi3_sck_pa3_pins[] = {
42525cac729SPrathamesh Shete 	TEGRA_PIN_SPI3_SCK_PA3,
42625cac729SPrathamesh Shete };
42725cac729SPrathamesh Shete 
42825cac729SPrathamesh Shete static const unsigned int spi3_miso_pa4_pins[] = {
42925cac729SPrathamesh Shete 	TEGRA_PIN_SPI3_MISO_PA4,
43025cac729SPrathamesh Shete };
43125cac729SPrathamesh Shete 
43225cac729SPrathamesh Shete static const unsigned int spi3_mosi_pa5_pins[] = {
43325cac729SPrathamesh Shete 	TEGRA_PIN_SPI3_MOSI_PA5,
43425cac729SPrathamesh Shete };
43525cac729SPrathamesh Shete 
43625cac729SPrathamesh Shete static const unsigned int spi3_cs0_pa6_pins[] = {
43725cac729SPrathamesh Shete 	TEGRA_PIN_SPI3_CS0_PA6,
43825cac729SPrathamesh Shete };
43925cac729SPrathamesh Shete 
44025cac729SPrathamesh Shete static const unsigned int spi3_cs1_pa7_pins[] = {
44125cac729SPrathamesh Shete 	TEGRA_PIN_SPI3_CS1_PA7,
44225cac729SPrathamesh Shete };
44325cac729SPrathamesh Shete 
44425cac729SPrathamesh Shete static const unsigned int spi1_sck_pb0_pins[] = {
44525cac729SPrathamesh Shete 	TEGRA_PIN_SPI1_SCK_PB0,
44625cac729SPrathamesh Shete };
44725cac729SPrathamesh Shete 
44825cac729SPrathamesh Shete static const unsigned int spi1_miso_pb1_pins[] = {
44925cac729SPrathamesh Shete 	TEGRA_PIN_SPI1_MISO_PB1,
45025cac729SPrathamesh Shete };
45125cac729SPrathamesh Shete 
45225cac729SPrathamesh Shete static const unsigned int spi1_mosi_pb2_pins[] = {
45325cac729SPrathamesh Shete 	TEGRA_PIN_SPI1_MOSI_PB2,
45425cac729SPrathamesh Shete };
45525cac729SPrathamesh Shete 
45625cac729SPrathamesh Shete static const unsigned int spi1_cs0_pb3_pins[] = {
45725cac729SPrathamesh Shete 	TEGRA_PIN_SPI1_CS0_PB3,
45825cac729SPrathamesh Shete };
45925cac729SPrathamesh Shete 
46025cac729SPrathamesh Shete static const unsigned int spi1_cs1_pb4_pins[] = {
46125cac729SPrathamesh Shete 	TEGRA_PIN_SPI1_CS1_PB4,
46225cac729SPrathamesh Shete };
46325cac729SPrathamesh Shete 
46425cac729SPrathamesh Shete static const unsigned int pwr_i2c_scl_pc0_pins[] = {
46525cac729SPrathamesh Shete 	TEGRA_PIN_PWR_I2C_SCL_PC0,
46625cac729SPrathamesh Shete };
46725cac729SPrathamesh Shete 
46825cac729SPrathamesh Shete static const unsigned int pwr_i2c_sda_pc1_pins[] = {
46925cac729SPrathamesh Shete 	TEGRA_PIN_PWR_I2C_SDA_PC1,
47025cac729SPrathamesh Shete };
47125cac729SPrathamesh Shete 
47225cac729SPrathamesh Shete static const unsigned int extperiph1_clk_pc2_pins[] = {
47325cac729SPrathamesh Shete 	TEGRA_PIN_EXTPERIPH1_CLK_PC2,
47425cac729SPrathamesh Shete };
47525cac729SPrathamesh Shete 
47625cac729SPrathamesh Shete static const unsigned int extperiph2_clk_pc3_pins[] = {
47725cac729SPrathamesh Shete 	TEGRA_PIN_EXTPERIPH2_CLK_PC3,
47825cac729SPrathamesh Shete };
47925cac729SPrathamesh Shete 
48025cac729SPrathamesh Shete static const unsigned int cam_i2c_scl_pc4_pins[] = {
48125cac729SPrathamesh Shete 	TEGRA_PIN_CAM_I2C_SCL_PC4,
48225cac729SPrathamesh Shete };
48325cac729SPrathamesh Shete 
48425cac729SPrathamesh Shete static const unsigned int cam_i2c_sda_pc5_pins[] = {
48525cac729SPrathamesh Shete 	TEGRA_PIN_CAM_I2C_SDA_PC5,
48625cac729SPrathamesh Shete };
48725cac729SPrathamesh Shete 
48825cac729SPrathamesh Shete static const unsigned int soc_gpio23_pc6_pins[] = {
48925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO23_PC6,
49025cac729SPrathamesh Shete };
49125cac729SPrathamesh Shete 
49225cac729SPrathamesh Shete static const unsigned int soc_gpio24_pc7_pins[] = {
49325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO24_PC7,
49425cac729SPrathamesh Shete };
49525cac729SPrathamesh Shete 
49625cac729SPrathamesh Shete static const unsigned int soc_gpio27_pd0_pins[] = {
49725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO27_PD0,
49825cac729SPrathamesh Shete };
49925cac729SPrathamesh Shete 
50025cac729SPrathamesh Shete static const unsigned int soc_gpio55_pd1_pins[] = {
50125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO55_PD1,
50225cac729SPrathamesh Shete };
50325cac729SPrathamesh Shete 
50425cac729SPrathamesh Shete static const unsigned int soc_gpio29_pd2_pins[] = {
50525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO29_PD2,
50625cac729SPrathamesh Shete };
50725cac729SPrathamesh Shete 
50825cac729SPrathamesh Shete static const unsigned int soc_gpio33_pd3_pins[] = {
50925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO33_PD3,
51025cac729SPrathamesh Shete };
51125cac729SPrathamesh Shete 
51225cac729SPrathamesh Shete static const unsigned int soc_gpio32_pd4_pins[] = {
51325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO32_PD4,
51425cac729SPrathamesh Shete };
51525cac729SPrathamesh Shete 
51625cac729SPrathamesh Shete static const unsigned int soc_gpio35_pd5_pins[] = {
51725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO35_PD5,
51825cac729SPrathamesh Shete };
51925cac729SPrathamesh Shete 
52025cac729SPrathamesh Shete static const unsigned int soc_gpio37_pd6_pins[] = {
52125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO37_PD6,
52225cac729SPrathamesh Shete };
52325cac729SPrathamesh Shete 
52425cac729SPrathamesh Shete static const unsigned int soc_gpio56_pd7_pins[] = {
52525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO56_PD7,
52625cac729SPrathamesh Shete };
52725cac729SPrathamesh Shete 
52825cac729SPrathamesh Shete static const unsigned int uart1_tx_pe0_pins[] = {
52925cac729SPrathamesh Shete 	TEGRA_PIN_UART1_TX_PE0,
53025cac729SPrathamesh Shete };
53125cac729SPrathamesh Shete 
53225cac729SPrathamesh Shete static const unsigned int uart1_rx_pe1_pins[] = {
53325cac729SPrathamesh Shete 	TEGRA_PIN_UART1_RX_PE1,
53425cac729SPrathamesh Shete };
53525cac729SPrathamesh Shete 
53625cac729SPrathamesh Shete static const unsigned int uart1_rts_pe2_pins[] = {
53725cac729SPrathamesh Shete 	TEGRA_PIN_UART1_RTS_PE2,
53825cac729SPrathamesh Shete };
53925cac729SPrathamesh Shete 
54025cac729SPrathamesh Shete static const unsigned int uart1_cts_pe3_pins[] = {
54125cac729SPrathamesh Shete 	TEGRA_PIN_UART1_CTS_PE3,
54225cac729SPrathamesh Shete };
54325cac729SPrathamesh Shete 
54425cac729SPrathamesh Shete static const unsigned int soc_gpio13_pf0_pins[] = {
54525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO13_PF0,
54625cac729SPrathamesh Shete };
54725cac729SPrathamesh Shete 
54825cac729SPrathamesh Shete static const unsigned int soc_gpio14_pf1_pins[] = {
54925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO14_PF1,
55025cac729SPrathamesh Shete };
55125cac729SPrathamesh Shete 
55225cac729SPrathamesh Shete static const unsigned int soc_gpio15_pf2_pins[] = {
55325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO15_PF2,
55425cac729SPrathamesh Shete };
55525cac729SPrathamesh Shete 
55625cac729SPrathamesh Shete static const unsigned int soc_gpio16_pf3_pins[] = {
55725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO16_PF3,
55825cac729SPrathamesh Shete };
55925cac729SPrathamesh Shete 
56025cac729SPrathamesh Shete static const unsigned int soc_gpio17_pf4_pins[] = {
56125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO17_PF4,
56225cac729SPrathamesh Shete };
56325cac729SPrathamesh Shete 
56425cac729SPrathamesh Shete static const unsigned int soc_gpio18_pf5_pins[] = {
56525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO18_PF5,
56625cac729SPrathamesh Shete };
56725cac729SPrathamesh Shete 
56825cac729SPrathamesh Shete static const unsigned int soc_gpio20_pf6_pins[] = {
56925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO20_PF6,
57025cac729SPrathamesh Shete };
57125cac729SPrathamesh Shete 
57225cac729SPrathamesh Shete static const unsigned int soc_gpio21_pf7_pins[] = {
57325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO21_PF7,
57425cac729SPrathamesh Shete };
57525cac729SPrathamesh Shete 
57625cac729SPrathamesh Shete static const unsigned int soc_gpio22_pg0_pins[] = {
57725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO22_PG0,
57825cac729SPrathamesh Shete };
57925cac729SPrathamesh Shete 
58025cac729SPrathamesh Shete static const unsigned int soc_gpio06_pg1_pins[] = {
58125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO06_PG1,
58225cac729SPrathamesh Shete };
58325cac729SPrathamesh Shete 
58425cac729SPrathamesh Shete static const unsigned int uart4_tx_pg2_pins[] = {
58525cac729SPrathamesh Shete 	TEGRA_PIN_UART4_TX_PG2,
58625cac729SPrathamesh Shete };
58725cac729SPrathamesh Shete 
58825cac729SPrathamesh Shete static const unsigned int uart4_rx_pg3_pins[] = {
58925cac729SPrathamesh Shete 	TEGRA_PIN_UART4_RX_PG3,
59025cac729SPrathamesh Shete };
59125cac729SPrathamesh Shete 
59225cac729SPrathamesh Shete static const unsigned int uart4_rts_pg4_pins[] = {
59325cac729SPrathamesh Shete 	TEGRA_PIN_UART4_RTS_PG4,
59425cac729SPrathamesh Shete };
59525cac729SPrathamesh Shete 
59625cac729SPrathamesh Shete static const unsigned int uart4_cts_pg5_pins[] = {
59725cac729SPrathamesh Shete 	TEGRA_PIN_UART4_CTS_PG5,
59825cac729SPrathamesh Shete };
59925cac729SPrathamesh Shete 
60025cac729SPrathamesh Shete static const unsigned int soc_gpio41_pg6_pins[] = {
60125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO41_PG6,
60225cac729SPrathamesh Shete };
60325cac729SPrathamesh Shete 
60425cac729SPrathamesh Shete static const unsigned int soc_gpio42_pg7_pins[] = {
60525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO42_PG7,
60625cac729SPrathamesh Shete };
60725cac729SPrathamesh Shete 
60825cac729SPrathamesh Shete static const unsigned int soc_gpio43_ph0_pins[] = {
60925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO43_PH0,
61025cac729SPrathamesh Shete };
61125cac729SPrathamesh Shete 
61225cac729SPrathamesh Shete static const unsigned int soc_gpio44_ph1_pins[] = {
61325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO44_PH1,
61425cac729SPrathamesh Shete };
61525cac729SPrathamesh Shete 
61625cac729SPrathamesh Shete static const unsigned int gen1_i2c_scl_ph2_pins[] = {
61725cac729SPrathamesh Shete 	TEGRA_PIN_GEN1_I2C_SCL_PH2,
61825cac729SPrathamesh Shete };
61925cac729SPrathamesh Shete 
62025cac729SPrathamesh Shete static const unsigned int gen1_i2c_sda_ph3_pins[] = {
62125cac729SPrathamesh Shete 	TEGRA_PIN_GEN1_I2C_SDA_PH3,
62225cac729SPrathamesh Shete };
62325cac729SPrathamesh Shete 
62425cac729SPrathamesh Shete static const unsigned int cpu_pwr_req_ph4_pins[] = {
62525cac729SPrathamesh Shete 	TEGRA_PIN_CPU_PWR_REQ_PH4,
62625cac729SPrathamesh Shete };
62725cac729SPrathamesh Shete 
62825cac729SPrathamesh Shete static const unsigned int soc_gpio07_ph5_pins[] = {
62925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO07_PH5,
63025cac729SPrathamesh Shete };
63125cac729SPrathamesh Shete 
63225cac729SPrathamesh Shete static const unsigned int dap3_clk_pj0_pins[] = {
63325cac729SPrathamesh Shete 	TEGRA_PIN_DAP3_CLK_PJ0,
63425cac729SPrathamesh Shete };
63525cac729SPrathamesh Shete 
63625cac729SPrathamesh Shete static const unsigned int dap3_dout_pj1_pins[] = {
63725cac729SPrathamesh Shete 	TEGRA_PIN_DAP3_DOUT_PJ1,
63825cac729SPrathamesh Shete };
63925cac729SPrathamesh Shete 
64025cac729SPrathamesh Shete static const unsigned int dap3_din_pj2_pins[] = {
64125cac729SPrathamesh Shete 	TEGRA_PIN_DAP3_DIN_PJ2,
64225cac729SPrathamesh Shete };
64325cac729SPrathamesh Shete 
64425cac729SPrathamesh Shete static const unsigned int dap3_fs_pj3_pins[] = {
64525cac729SPrathamesh Shete 	TEGRA_PIN_DAP3_FS_PJ3,
64625cac729SPrathamesh Shete };
64725cac729SPrathamesh Shete 
64825cac729SPrathamesh Shete static const unsigned int soc_gpio57_pj4_pins[] = {
64925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO57_PJ4,
65025cac729SPrathamesh Shete };
65125cac729SPrathamesh Shete 
65225cac729SPrathamesh Shete static const unsigned int soc_gpio58_pj5_pins[] = {
65325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO58_PJ5,
65425cac729SPrathamesh Shete };
65525cac729SPrathamesh Shete 
65625cac729SPrathamesh Shete static const unsigned int soc_gpio59_pj6_pins[] = {
65725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO59_PJ6,
65825cac729SPrathamesh Shete };
65925cac729SPrathamesh Shete 
66025cac729SPrathamesh Shete static const unsigned int soc_gpio60_pj7_pins[] = {
66125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO60_PJ7,
66225cac729SPrathamesh Shete };
66325cac729SPrathamesh Shete 
66425cac729SPrathamesh Shete static const unsigned int soc_gpio45_pk0_pins[] = {
66525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO45_PK0,
66625cac729SPrathamesh Shete };
66725cac729SPrathamesh Shete 
66825cac729SPrathamesh Shete static const unsigned int soc_gpio46_pk1_pins[] = {
66925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO46_PK1,
67025cac729SPrathamesh Shete };
67125cac729SPrathamesh Shete 
67225cac729SPrathamesh Shete static const unsigned int soc_gpio47_pk2_pins[] = {
67325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO47_PK2,
67425cac729SPrathamesh Shete };
67525cac729SPrathamesh Shete 
67625cac729SPrathamesh Shete static const unsigned int soc_gpio48_pk3_pins[] = {
67725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO48_PK3,
67825cac729SPrathamesh Shete };
67925cac729SPrathamesh Shete 
68025cac729SPrathamesh Shete static const unsigned int qspi0_sck_pl0_pins[] = {
68125cac729SPrathamesh Shete 	TEGRA_PIN_QSPI0_SCK_PL0,
68225cac729SPrathamesh Shete };
68325cac729SPrathamesh Shete 
68425cac729SPrathamesh Shete static const unsigned int qspi0_io0_pl1_pins[] = {
68525cac729SPrathamesh Shete 	TEGRA_PIN_QSPI0_IO0_PL1,
68625cac729SPrathamesh Shete };
68725cac729SPrathamesh Shete 
68825cac729SPrathamesh Shete static const unsigned int qspi0_io1_pl2_pins[] = {
68925cac729SPrathamesh Shete 	TEGRA_PIN_QSPI0_IO1_PL2,
69025cac729SPrathamesh Shete };
69125cac729SPrathamesh Shete 
69225cac729SPrathamesh Shete static const unsigned int qspi0_cs_n_pl3_pins[] = {
69325cac729SPrathamesh Shete 	TEGRA_PIN_QSPI0_CS_N_PL3,
69425cac729SPrathamesh Shete };
69525cac729SPrathamesh Shete 
69625cac729SPrathamesh Shete static const unsigned int soc_gpio152_pl4_pins[] = {
69725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO152_PL4,
69825cac729SPrathamesh Shete };
69925cac729SPrathamesh Shete 
70025cac729SPrathamesh Shete static const unsigned int soc_gpio153_pl5_pins[] = {
70125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO153_PL5,
70225cac729SPrathamesh Shete };
70325cac729SPrathamesh Shete 
70425cac729SPrathamesh Shete static const unsigned int soc_gpio154_pl6_pins[] = {
70525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO154_PL6,
70625cac729SPrathamesh Shete };
70725cac729SPrathamesh Shete 
70825cac729SPrathamesh Shete static const unsigned int soc_gpio155_pl7_pins[] = {
70925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO155_PL7,
71025cac729SPrathamesh Shete };
71125cac729SPrathamesh Shete 
71225cac729SPrathamesh Shete static const unsigned int soc_gpio156_pm0_pins[] = {
71325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO156_PM0,
71425cac729SPrathamesh Shete };
71525cac729SPrathamesh Shete 
71625cac729SPrathamesh Shete static const unsigned int soc_gpio157_pm1_pins[] = {
71725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO157_PM1,
71825cac729SPrathamesh Shete };
71925cac729SPrathamesh Shete 
72025cac729SPrathamesh Shete static const unsigned int soc_gpio158_pm2_pins[] = {
72125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO158_PM2,
72225cac729SPrathamesh Shete };
72325cac729SPrathamesh Shete 
72425cac729SPrathamesh Shete static const unsigned int soc_gpio159_pm3_pins[] = {
72525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO159_PM3,
72625cac729SPrathamesh Shete };
72725cac729SPrathamesh Shete 
72825cac729SPrathamesh Shete static const unsigned int soc_gpio160_pm4_pins[] = {
72925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO160_PM4,
73025cac729SPrathamesh Shete };
73125cac729SPrathamesh Shete 
73225cac729SPrathamesh Shete static const unsigned int soc_gpio161_pm5_pins[] = {
73325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO161_PM5,
73425cac729SPrathamesh Shete };
73525cac729SPrathamesh Shete 
73625cac729SPrathamesh Shete static const unsigned int soc_gpio162_pm6_pins[] = {
73725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO162_PM6,
73825cac729SPrathamesh Shete };
73925cac729SPrathamesh Shete 
74025cac729SPrathamesh Shete static const unsigned int uart7_tx_pm7_pins[] = {
74125cac729SPrathamesh Shete 	TEGRA_PIN_UART7_TX_PM7,
74225cac729SPrathamesh Shete };
74325cac729SPrathamesh Shete 
74425cac729SPrathamesh Shete static const unsigned int uart7_rx_pn0_pins[] = {
74525cac729SPrathamesh Shete 	TEGRA_PIN_UART7_RX_PN0,
74625cac729SPrathamesh Shete };
74725cac729SPrathamesh Shete 
74825cac729SPrathamesh Shete static const unsigned int uart7_rts_pn1_pins[] = {
74925cac729SPrathamesh Shete 	TEGRA_PIN_UART7_RTS_PN1,
75025cac729SPrathamesh Shete };
75125cac729SPrathamesh Shete 
75225cac729SPrathamesh Shete static const unsigned int uart7_cts_pn2_pins[] = {
75325cac729SPrathamesh Shete 	TEGRA_PIN_UART7_CTS_PN2,
75425cac729SPrathamesh Shete };
75525cac729SPrathamesh Shete 
75625cac729SPrathamesh Shete static const unsigned int soc_gpio167_pp0_pins[] = {
75725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO167_PP0,
75825cac729SPrathamesh Shete };
75925cac729SPrathamesh Shete 
76025cac729SPrathamesh Shete static const unsigned int soc_gpio168_pp1_pins[] = {
76125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO168_PP1,
76225cac729SPrathamesh Shete };
76325cac729SPrathamesh Shete 
76425cac729SPrathamesh Shete static const unsigned int soc_gpio169_pp2_pins[] = {
76525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO169_PP2,
76625cac729SPrathamesh Shete };
76725cac729SPrathamesh Shete 
76825cac729SPrathamesh Shete static const unsigned int soc_gpio170_pp3_pins[] = {
76925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO170_PP3,
77025cac729SPrathamesh Shete };
77125cac729SPrathamesh Shete 
77225cac729SPrathamesh Shete static const unsigned int dap4_sclk_pp4_pins[] = {
77325cac729SPrathamesh Shete 	TEGRA_PIN_DAP4_SCLK_PP4,
77425cac729SPrathamesh Shete };
77525cac729SPrathamesh Shete 
77625cac729SPrathamesh Shete static const unsigned int dap4_dout_pp5_pins[] = {
77725cac729SPrathamesh Shete 	TEGRA_PIN_DAP4_DOUT_PP5,
77825cac729SPrathamesh Shete };
77925cac729SPrathamesh Shete 
78025cac729SPrathamesh Shete static const unsigned int dap4_din_pp6_pins[] = {
78125cac729SPrathamesh Shete 	TEGRA_PIN_DAP4_DIN_PP6,
78225cac729SPrathamesh Shete };
78325cac729SPrathamesh Shete 
78425cac729SPrathamesh Shete static const unsigned int dap4_fs_pp7_pins[] = {
78525cac729SPrathamesh Shete 	TEGRA_PIN_DAP4_FS_PP7,
78625cac729SPrathamesh Shete };
78725cac729SPrathamesh Shete 
78825cac729SPrathamesh Shete static const unsigned int soc_gpio171_pq0_pins[] = {
78925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO171_PQ0,
79025cac729SPrathamesh Shete };
79125cac729SPrathamesh Shete 
79225cac729SPrathamesh Shete static const unsigned int soc_gpio172_pq1_pins[] = {
79325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO172_PQ1,
79425cac729SPrathamesh Shete };
79525cac729SPrathamesh Shete 
79625cac729SPrathamesh Shete static const unsigned int soc_gpio173_pq2_pins[] = {
79725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO173_PQ2,
79825cac729SPrathamesh Shete };
79925cac729SPrathamesh Shete 
80025cac729SPrathamesh Shete static const unsigned int soc_gpio61_pr0_pins[] = {
80125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO61_PR0,
80225cac729SPrathamesh Shete };
80325cac729SPrathamesh Shete 
80425cac729SPrathamesh Shete static const unsigned int soc_gpio62_pr1_pins[] = {
80525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO62_PR1,
80625cac729SPrathamesh Shete };
80725cac729SPrathamesh Shete 
80825cac729SPrathamesh Shete static const unsigned int soc_gpio63_pr2_pins[] = {
80925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO63_PR2,
81025cac729SPrathamesh Shete };
81125cac729SPrathamesh Shete 
81225cac729SPrathamesh Shete static const unsigned int soc_gpio64_pr3_pins[] = {
81325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO64_PR3,
81425cac729SPrathamesh Shete };
81525cac729SPrathamesh Shete 
81625cac729SPrathamesh Shete static const unsigned int soc_gpio65_pr4_pins[] = {
81725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO65_PR4,
81825cac729SPrathamesh Shete };
81925cac729SPrathamesh Shete 
82025cac729SPrathamesh Shete static const unsigned int soc_gpio66_pr5_pins[] = {
82125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO66_PR5,
82225cac729SPrathamesh Shete };
82325cac729SPrathamesh Shete 
82425cac729SPrathamesh Shete static const unsigned int soc_gpio67_pr6_pins[] = {
82525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO67_PR6,
82625cac729SPrathamesh Shete };
82725cac729SPrathamesh Shete 
82825cac729SPrathamesh Shete static const unsigned int soc_gpio68_pr7_pins[] = {
82925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO68_PR7,
83025cac729SPrathamesh Shete };
83125cac729SPrathamesh Shete 
83225cac729SPrathamesh Shete static const unsigned int gen4_i2c_scl_ps0_pins[] = {
83325cac729SPrathamesh Shete 	TEGRA_PIN_GEN4_I2C_SCL_PS0,
83425cac729SPrathamesh Shete };
83525cac729SPrathamesh Shete 
83625cac729SPrathamesh Shete static const unsigned int gen4_i2c_sda_ps1_pins[] = {
83725cac729SPrathamesh Shete 	TEGRA_PIN_GEN4_I2C_SDA_PS1,
83825cac729SPrathamesh Shete };
83925cac729SPrathamesh Shete 
84025cac729SPrathamesh Shete static const unsigned int soc_gpio75_ps2_pins[] = {
84125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO75_PS2,
84225cac729SPrathamesh Shete };
84325cac729SPrathamesh Shete 
84425cac729SPrathamesh Shete static const unsigned int gen7_i2c_scl_ps3_pins[] = {
84525cac729SPrathamesh Shete 	TEGRA_PIN_GEN7_I2C_SCL_PS3,
84625cac729SPrathamesh Shete };
84725cac729SPrathamesh Shete 
84825cac729SPrathamesh Shete static const unsigned int gen7_i2c_sda_ps4_pins[] = {
84925cac729SPrathamesh Shete 	TEGRA_PIN_GEN7_I2C_SDA_PS4,
85025cac729SPrathamesh Shete };
85125cac729SPrathamesh Shete 
85225cac729SPrathamesh Shete static const unsigned int soc_gpio78_ps5_pins[] = {
85325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO78_PS5,
85425cac729SPrathamesh Shete };
85525cac729SPrathamesh Shete 
85625cac729SPrathamesh Shete static const unsigned int gen9_i2c_scl_ps6_pins[] = {
85725cac729SPrathamesh Shete 	TEGRA_PIN_GEN9_I2C_SCL_PS6,
85825cac729SPrathamesh Shete };
85925cac729SPrathamesh Shete 
86025cac729SPrathamesh Shete static const unsigned int gen9_i2c_sda_ps7_pins[] = {
86125cac729SPrathamesh Shete 	TEGRA_PIN_GEN9_I2C_SDA_PS7,
86225cac729SPrathamesh Shete };
86325cac729SPrathamesh Shete 
86425cac729SPrathamesh Shete static const unsigned int soc_gpio81_pt0_pins[] = {
86525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO81_PT0,
86625cac729SPrathamesh Shete };
86725cac729SPrathamesh Shete 
86825cac729SPrathamesh Shete static const unsigned int soc_gpio36_pt1_pins[] = {
86925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO36_PT1,
87025cac729SPrathamesh Shete };
87125cac729SPrathamesh Shete 
87225cac729SPrathamesh Shete static const unsigned int soc_gpio53_pt2_pins[] = {
87325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO53_PT2,
87425cac729SPrathamesh Shete };
87525cac729SPrathamesh Shete 
87625cac729SPrathamesh Shete static const unsigned int soc_gpio38_pt3_pins[] = {
87725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO38_PT3,
87825cac729SPrathamesh Shete };
87925cac729SPrathamesh Shete 
88025cac729SPrathamesh Shete static const unsigned int soc_gpio40_pt4_pins[] = {
88125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO40_PT4,
88225cac729SPrathamesh Shete };
88325cac729SPrathamesh Shete 
88425cac729SPrathamesh Shete static const unsigned int soc_gpio34_pt5_pins[] = {
88525cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO34_PT5,
88625cac729SPrathamesh Shete };
88725cac729SPrathamesh Shete 
88825cac729SPrathamesh Shete static const unsigned int usb_vbus_en0_pt6_pins[] = {
88925cac729SPrathamesh Shete 	TEGRA_PIN_USB_VBUS_EN0_PT6,
89025cac729SPrathamesh Shete };
89125cac729SPrathamesh Shete 
89225cac729SPrathamesh Shete static const unsigned int usb_vbus_en1_pt7_pins[] = {
89325cac729SPrathamesh Shete 	TEGRA_PIN_USB_VBUS_EN1_PT7,
89425cac729SPrathamesh Shete };
89525cac729SPrathamesh Shete 
89625cac729SPrathamesh Shete static const unsigned int sdmmc1_clk_pu0_pins[] = {
89725cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_CLK_PU0,
89825cac729SPrathamesh Shete };
89925cac729SPrathamesh Shete 
90025cac729SPrathamesh Shete static const unsigned int sdmmc1_cmd_pu1_pins[] = {
90125cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_CMD_PU1,
90225cac729SPrathamesh Shete };
90325cac729SPrathamesh Shete 
90425cac729SPrathamesh Shete static const unsigned int sdmmc1_dat0_pu2_pins[] = {
90525cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT0_PU2,
90625cac729SPrathamesh Shete };
90725cac729SPrathamesh Shete 
90825cac729SPrathamesh Shete static const unsigned int sdmmc1_dat1_pu3_pins[] = {
90925cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT1_PU3,
91025cac729SPrathamesh Shete };
91125cac729SPrathamesh Shete 
91225cac729SPrathamesh Shete static const unsigned int sdmmc1_dat2_pu4_pins[] = {
91325cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT2_PU4,
91425cac729SPrathamesh Shete };
91525cac729SPrathamesh Shete 
91625cac729SPrathamesh Shete static const unsigned int sdmmc1_dat3_pu5_pins[] = {
91725cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_DAT3_PU5,
91825cac729SPrathamesh Shete };
91925cac729SPrathamesh Shete 
92025cac729SPrathamesh Shete static const unsigned int ufs0_ref_clk_pv0_pins[] = {
92125cac729SPrathamesh Shete 	TEGRA_PIN_UFS0_REF_CLK_PV0,
92225cac729SPrathamesh Shete };
92325cac729SPrathamesh Shete 
92425cac729SPrathamesh Shete static const unsigned int ufs0_rst_n_pv1_pins[] = {
92525cac729SPrathamesh Shete 	TEGRA_PIN_UFS0_RST_N_PV1,
92625cac729SPrathamesh Shete };
92725cac729SPrathamesh Shete 
92825cac729SPrathamesh Shete static const unsigned int pex_l0_clkreq_n_pw0_pins[] = {
92925cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L0_CLKREQ_N_PW0,
93025cac729SPrathamesh Shete };
93125cac729SPrathamesh Shete 
93225cac729SPrathamesh Shete static const unsigned int pex_l0_rst_n_pw1_pins[] = {
93325cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L0_RST_N_PW1,
93425cac729SPrathamesh Shete };
93525cac729SPrathamesh Shete 
93625cac729SPrathamesh Shete static const unsigned int pex_l1_clkreq_n_pw2_pins[] = {
93725cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L1_CLKREQ_N_PW2,
93825cac729SPrathamesh Shete };
93925cac729SPrathamesh Shete 
94025cac729SPrathamesh Shete static const unsigned int pex_l1_rst_n_pw3_pins[] = {
94125cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L1_RST_N_PW3,
94225cac729SPrathamesh Shete };
94325cac729SPrathamesh Shete 
94425cac729SPrathamesh Shete static const unsigned int pex_l2_clkreq_n_pw4_pins[] = {
94525cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L2_CLKREQ_N_PW4,
94625cac729SPrathamesh Shete };
94725cac729SPrathamesh Shete 
94825cac729SPrathamesh Shete static const unsigned int pex_l2_rst_n_pw5_pins[] = {
94925cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L2_RST_N_PW5,
95025cac729SPrathamesh Shete };
95125cac729SPrathamesh Shete 
95225cac729SPrathamesh Shete static const unsigned int pex_l3_clkreq_n_pw6_pins[] = {
95325cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L3_CLKREQ_N_PW6,
95425cac729SPrathamesh Shete };
95525cac729SPrathamesh Shete 
95625cac729SPrathamesh Shete static const unsigned int pex_l3_rst_n_pw7_pins[] = {
95725cac729SPrathamesh Shete 	TEGRA_PIN_PEX_L3_RST_N_PW7,
95825cac729SPrathamesh Shete };
95925cac729SPrathamesh Shete 
96025cac729SPrathamesh Shete static const unsigned int pex_wake_n_px0_pins[] = {
96125cac729SPrathamesh Shete 	TEGRA_PIN_PEX_WAKE_N_PX0,
96225cac729SPrathamesh Shete };
96325cac729SPrathamesh Shete 
96425cac729SPrathamesh Shete static const unsigned int dp_aux_ch0_hpd_px1_pins[] = {
96525cac729SPrathamesh Shete 	TEGRA_PIN_DP_AUX_CH0_HPD_PX1,
96625cac729SPrathamesh Shete };
96725cac729SPrathamesh Shete 
96825cac729SPrathamesh Shete static const unsigned int bootv_ctl_n_paa0_pins[] = {
96925cac729SPrathamesh Shete 	TEGRA_PIN_BOOTV_CTL_N_PAA0,
97025cac729SPrathamesh Shete };
97125cac729SPrathamesh Shete 
97225cac729SPrathamesh Shete static const unsigned int soc_gpio00_paa1_pins[] = {
97325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO00_PAA1,
97425cac729SPrathamesh Shete };
97525cac729SPrathamesh Shete 
97625cac729SPrathamesh Shete static const unsigned int vcomp_alert_paa2_pins[] = {
97725cac729SPrathamesh Shete 	TEGRA_PIN_VCOMP_ALERT_PAA2,
97825cac729SPrathamesh Shete };
97925cac729SPrathamesh Shete 
98025cac729SPrathamesh Shete static const unsigned int pwm1_paa3_pins[] = {
98125cac729SPrathamesh Shete 	TEGRA_PIN_PWM1_PAA3,
98225cac729SPrathamesh Shete };
98325cac729SPrathamesh Shete 
98425cac729SPrathamesh Shete static const unsigned int batt_oc_paa4_pins[] = {
98525cac729SPrathamesh Shete 	TEGRA_PIN_BATT_OC_PAA4,
98625cac729SPrathamesh Shete };
98725cac729SPrathamesh Shete 
98825cac729SPrathamesh Shete static const unsigned int soc_gpio04_paa5_pins[] = {
98925cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO04_PAA5,
99025cac729SPrathamesh Shete };
99125cac729SPrathamesh Shete 
99225cac729SPrathamesh Shete static const unsigned int soc_gpio25_paa6_pins[] = {
99325cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO25_PAA6,
99425cac729SPrathamesh Shete };
99525cac729SPrathamesh Shete 
99625cac729SPrathamesh Shete static const unsigned int soc_gpio26_paa7_pins[] = {
99725cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO26_PAA7,
99825cac729SPrathamesh Shete };
99925cac729SPrathamesh Shete 
100025cac729SPrathamesh Shete static const unsigned int hdmi_cec_pbb0_pins[] = {
100125cac729SPrathamesh Shete 	TEGRA_PIN_HDMI_CEC_PBB0,
100225cac729SPrathamesh Shete };
100325cac729SPrathamesh Shete 
100425cac729SPrathamesh Shete static const unsigned int spi2_sck_pcc0_pins[] = {
100525cac729SPrathamesh Shete 	TEGRA_PIN_SPI2_SCK_PCC0,
100625cac729SPrathamesh Shete };
100725cac729SPrathamesh Shete 
100825cac729SPrathamesh Shete static const unsigned int spi2_miso_pcc1_pins[] = {
100925cac729SPrathamesh Shete 	TEGRA_PIN_SPI2_MISO_PCC1,
101025cac729SPrathamesh Shete };
101125cac729SPrathamesh Shete 
101225cac729SPrathamesh Shete static const unsigned int spi2_mosi_pcc2_pins[] = {
101325cac729SPrathamesh Shete 	TEGRA_PIN_SPI2_MOSI_PCC2,
101425cac729SPrathamesh Shete };
101525cac729SPrathamesh Shete 
101625cac729SPrathamesh Shete static const unsigned int spi2_cs0_pcc3_pins[] = {
101725cac729SPrathamesh Shete 	TEGRA_PIN_SPI2_CS0_PCC3,
101825cac729SPrathamesh Shete };
101925cac729SPrathamesh Shete 
102025cac729SPrathamesh Shete static const unsigned int spi2_cs1_pcc4_pins[] = {
102125cac729SPrathamesh Shete 	TEGRA_PIN_SPI2_CS1_PCC4,
102225cac729SPrathamesh Shete };
102325cac729SPrathamesh Shete 
102425cac729SPrathamesh Shete static const unsigned int uart3_tx_pcc5_pins[] = {
102525cac729SPrathamesh Shete 	TEGRA_PIN_UART3_TX_PCC5,
102625cac729SPrathamesh Shete };
102725cac729SPrathamesh Shete 
102825cac729SPrathamesh Shete static const unsigned int uart3_rx_pcc6_pins[] = {
102925cac729SPrathamesh Shete 	TEGRA_PIN_UART3_RX_PCC6,
103025cac729SPrathamesh Shete };
103125cac729SPrathamesh Shete 
103225cac729SPrathamesh Shete static const unsigned int gen2_i2c_scl_pcc7_pins[] = {
103325cac729SPrathamesh Shete 	TEGRA_PIN_GEN2_I2C_SCL_PCC7,
103425cac729SPrathamesh Shete };
103525cac729SPrathamesh Shete 
103625cac729SPrathamesh Shete static const unsigned int gen2_i2c_sda_pdd0_pins[] = {
103725cac729SPrathamesh Shete 	TEGRA_PIN_GEN2_I2C_SDA_PDD0,
103825cac729SPrathamesh Shete };
103925cac729SPrathamesh Shete 
104025cac729SPrathamesh Shete static const unsigned int gen8_i2c_scl_pdd1_pins[] = {
104125cac729SPrathamesh Shete 	TEGRA_PIN_GEN8_I2C_SCL_PDD1,
104225cac729SPrathamesh Shete };
104325cac729SPrathamesh Shete 
104425cac729SPrathamesh Shete static const unsigned int gen8_i2c_sda_pdd2_pins[] = {
104525cac729SPrathamesh Shete 	TEGRA_PIN_GEN8_I2C_SDA_PDD2,
104625cac729SPrathamesh Shete };
104725cac729SPrathamesh Shete 
104825cac729SPrathamesh Shete static const unsigned int touch_clk_pdd3_pins[] = {
104925cac729SPrathamesh Shete 	TEGRA_PIN_TOUCH_CLK_PDD3,
105025cac729SPrathamesh Shete };
105125cac729SPrathamesh Shete 
105225cac729SPrathamesh Shete static const unsigned int dmic1_clk_pdd4_pins[] = {
105325cac729SPrathamesh Shete 	TEGRA_PIN_DMIC1_CLK_PDD4,
105425cac729SPrathamesh Shete };
105525cac729SPrathamesh Shete 
105625cac729SPrathamesh Shete static const unsigned int dmic1_dat_pdd5_pins[] = {
105725cac729SPrathamesh Shete 	TEGRA_PIN_DMIC1_DAT_PDD5,
105825cac729SPrathamesh Shete };
105925cac729SPrathamesh Shete 
106025cac729SPrathamesh Shete static const unsigned int soc_gpio19_pdd6_pins[] = {
106125cac729SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO19_PDD6,
106225cac729SPrathamesh Shete };
106325cac729SPrathamesh Shete 
106425cac729SPrathamesh Shete static const unsigned int pwm2_pdd7_pins[] = {
106525cac729SPrathamesh Shete 	TEGRA_PIN_PWM2_PDD7,
106625cac729SPrathamesh Shete };
106725cac729SPrathamesh Shete 
106825cac729SPrathamesh Shete static const unsigned int pwm3_pee0_pins[] = {
106925cac729SPrathamesh Shete 	TEGRA_PIN_PWM3_PEE0,
107025cac729SPrathamesh Shete };
107125cac729SPrathamesh Shete 
107225cac729SPrathamesh Shete static const unsigned int pwm7_pee1_pins[] = {
107325cac729SPrathamesh Shete 	TEGRA_PIN_PWM7_PEE1,
107425cac729SPrathamesh Shete };
107525cac729SPrathamesh Shete 
1076*221bb096SPrathamesh Shete static const unsigned int soc_gpio49_pee2_pins[] = {
1077*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO49_PEE2,
1078*221bb096SPrathamesh Shete };
1079*221bb096SPrathamesh Shete 
1080*221bb096SPrathamesh Shete static const unsigned int soc_gpio82_pee3_pins[] = {
1081*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO82_PEE3,
1082*221bb096SPrathamesh Shete };
1083*221bb096SPrathamesh Shete 
1084*221bb096SPrathamesh Shete static const unsigned int soc_gpio50_pee4_pins[] = {
1085*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO50_PEE4,
1086*221bb096SPrathamesh Shete };
1087*221bb096SPrathamesh Shete 
1088*221bb096SPrathamesh Shete static const unsigned int soc_gpio83_pee5_pins[] = {
1089*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO83_PEE5,
1090*221bb096SPrathamesh Shete };
1091*221bb096SPrathamesh Shete 
1092*221bb096SPrathamesh Shete static const unsigned int soc_gpio69_pff0_pins[] = {
1093*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO69_PFF0,
1094*221bb096SPrathamesh Shete };
1095*221bb096SPrathamesh Shete 
1096*221bb096SPrathamesh Shete static const unsigned int soc_gpio70_pff1_pins[] = {
1097*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO70_PFF1,
1098*221bb096SPrathamesh Shete };
1099*221bb096SPrathamesh Shete 
1100*221bb096SPrathamesh Shete static const unsigned int soc_gpio71_pff2_pins[] = {
1101*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO71_PFF2,
1102*221bb096SPrathamesh Shete };
1103*221bb096SPrathamesh Shete 
1104*221bb096SPrathamesh Shete static const unsigned int soc_gpio72_pff3_pins[] = {
1105*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO72_PFF3,
1106*221bb096SPrathamesh Shete };
1107*221bb096SPrathamesh Shete 
1108*221bb096SPrathamesh Shete static const unsigned int soc_gpio73_pff4_pins[] = {
1109*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO73_PFF4,
1110*221bb096SPrathamesh Shete };
1111*221bb096SPrathamesh Shete 
1112*221bb096SPrathamesh Shete static const unsigned int soc_gpio74_pff5_pins[] = {
1113*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO74_PFF5,
1114*221bb096SPrathamesh Shete };
1115*221bb096SPrathamesh Shete 
1116*221bb096SPrathamesh Shete static const unsigned int soc_gpio80_pff6_pins[] = {
1117*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO80_PFF6,
1118*221bb096SPrathamesh Shete };
1119*221bb096SPrathamesh Shete 
1120*221bb096SPrathamesh Shete static const unsigned int soc_gpio76_pff7_pins[] = {
1121*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO76_PFF7,
1122*221bb096SPrathamesh Shete };
1123*221bb096SPrathamesh Shete 
1124*221bb096SPrathamesh Shete static const unsigned int soc_gpio77_pgg0_pins[] = {
1125*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO77_PGG0,
1126*221bb096SPrathamesh Shete };
1127*221bb096SPrathamesh Shete 
1128*221bb096SPrathamesh Shete static const unsigned int soc_gpio84_pgg1_pins[] = {
1129*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO84_PGG1,
1130*221bb096SPrathamesh Shete };
1131*221bb096SPrathamesh Shete 
1132*221bb096SPrathamesh Shete static const unsigned int uart2_tx_pgg2_pins[] = {
1133*221bb096SPrathamesh Shete 	TEGRA_PIN_UART2_TX_PGG2,
1134*221bb096SPrathamesh Shete };
1135*221bb096SPrathamesh Shete 
1136*221bb096SPrathamesh Shete static const unsigned int uart2_rx_pgg3_pins[] = {
1137*221bb096SPrathamesh Shete 	TEGRA_PIN_UART2_RX_PGG3,
1138*221bb096SPrathamesh Shete };
1139*221bb096SPrathamesh Shete 
1140*221bb096SPrathamesh Shete static const unsigned int uart2_rts_pgg4_pins[] = {
1141*221bb096SPrathamesh Shete 	TEGRA_PIN_UART2_RTS_PGG4,
1142*221bb096SPrathamesh Shete };
1143*221bb096SPrathamesh Shete 
1144*221bb096SPrathamesh Shete static const unsigned int uart2_cts_pgg5_pins[] = {
1145*221bb096SPrathamesh Shete 	TEGRA_PIN_UART2_CTS_PGG5,
1146*221bb096SPrathamesh Shete };
1147*221bb096SPrathamesh Shete 
1148*221bb096SPrathamesh Shete static const unsigned int soc_gpio85_pgg6_pins[] = {
1149*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO85_PGG6,
1150*221bb096SPrathamesh Shete };
1151*221bb096SPrathamesh Shete 
1152*221bb096SPrathamesh Shete static const unsigned int uart5_tx_pgg7_pins[] = {
1153*221bb096SPrathamesh Shete 	TEGRA_PIN_UART5_TX_PGG7,
1154*221bb096SPrathamesh Shete };
1155*221bb096SPrathamesh Shete 
1156*221bb096SPrathamesh Shete static const unsigned int uart5_rx_phh0_pins[] = {
1157*221bb096SPrathamesh Shete 	TEGRA_PIN_UART5_RX_PHH0,
1158*221bb096SPrathamesh Shete };
1159*221bb096SPrathamesh Shete 
1160*221bb096SPrathamesh Shete static const unsigned int uart5_rts_phh1_pins[] = {
1161*221bb096SPrathamesh Shete 	TEGRA_PIN_UART5_RTS_PHH1,
1162*221bb096SPrathamesh Shete };
1163*221bb096SPrathamesh Shete 
1164*221bb096SPrathamesh Shete static const unsigned int uart5_cts_phh2_pins[] = {
1165*221bb096SPrathamesh Shete 	TEGRA_PIN_UART5_CTS_PHH2,
1166*221bb096SPrathamesh Shete };
1167*221bb096SPrathamesh Shete 
1168*221bb096SPrathamesh Shete static const unsigned int soc_gpio86_phh3_pins[] = {
1169*221bb096SPrathamesh Shete 	TEGRA_PIN_SOC_GPIO86_PHH3,
1170*221bb096SPrathamesh Shete };
1171*221bb096SPrathamesh Shete 
117225cac729SPrathamesh Shete static const unsigned int sdmmc1_comp_pins[] = {
117325cac729SPrathamesh Shete 	TEGRA_PIN_SDMMC1_COMP,
117425cac729SPrathamesh Shete };
117525cac729SPrathamesh Shete 
117625cac729SPrathamesh Shete /* Define unique ID for each function */
117725cac729SPrathamesh Shete enum tegra_mux_dt {
117825cac729SPrathamesh Shete 	TEGRA_MUX_DCA_VSYNC,
117925cac729SPrathamesh Shete 	TEGRA_MUX_DCA_HSYNC,
118025cac729SPrathamesh Shete 	TEGRA_MUX_DISPLAYA,
118125cac729SPrathamesh Shete 	TEGRA_MUX_RSVD0,
118225cac729SPrathamesh Shete 	TEGRA_MUX_I2C7_CLK,
118325cac729SPrathamesh Shete 	TEGRA_MUX_I2C7_DAT,
118425cac729SPrathamesh Shete 	TEGRA_MUX_I2C4_DAT,
118525cac729SPrathamesh Shete 	TEGRA_MUX_I2C4_CLK,
118625cac729SPrathamesh Shete 	TEGRA_MUX_I2C9_DAT,
118725cac729SPrathamesh Shete 	TEGRA_MUX_I2C9_CLK,
118825cac729SPrathamesh Shete 	TEGRA_MUX_USB_VBUS_EN0,
118925cac729SPrathamesh Shete 	TEGRA_MUX_USB_VBUS_EN1,
119025cac729SPrathamesh Shete 	TEGRA_MUX_SPI3_DIN,
119125cac729SPrathamesh Shete 	TEGRA_MUX_SPI1_CS0,
119225cac729SPrathamesh Shete 	TEGRA_MUX_SPI3_CS0,
119325cac729SPrathamesh Shete 	TEGRA_MUX_SPI1_DIN,
119425cac729SPrathamesh Shete 	TEGRA_MUX_SPI3_CS1,
119525cac729SPrathamesh Shete 	TEGRA_MUX_SPI1_SCK,
119625cac729SPrathamesh Shete 	TEGRA_MUX_SPI3_SCK,
119725cac729SPrathamesh Shete 	TEGRA_MUX_SPI1_CS1,
119825cac729SPrathamesh Shete 	TEGRA_MUX_SPI1_DOUT,
119925cac729SPrathamesh Shete 	TEGRA_MUX_SPI3_DOUT,
120025cac729SPrathamesh Shete 	TEGRA_MUX_GP_PWM5,
120125cac729SPrathamesh Shete 	TEGRA_MUX_GP_PWM6,
120225cac729SPrathamesh Shete 	TEGRA_MUX_EXTPERIPH2_CLK,
120325cac729SPrathamesh Shete 	TEGRA_MUX_EXTPERIPH1_CLK,
120425cac729SPrathamesh Shete 	TEGRA_MUX_I2C3_DAT,
120525cac729SPrathamesh Shete 	TEGRA_MUX_I2C3_CLK,
120625cac729SPrathamesh Shete 	TEGRA_MUX_EXTPERIPH4_CLK,
120725cac729SPrathamesh Shete 	TEGRA_MUX_EXTPERIPH3_CLK,
120825cac729SPrathamesh Shete 	TEGRA_MUX_DMIC2_DAT,
120925cac729SPrathamesh Shete 	TEGRA_MUX_DMIC2_CLK,
121025cac729SPrathamesh Shete 	TEGRA_MUX_UARTA_CTS,
121125cac729SPrathamesh Shete 	TEGRA_MUX_UARTA_RTS,
121225cac729SPrathamesh Shete 	TEGRA_MUX_UARTA_RXD,
121325cac729SPrathamesh Shete 	TEGRA_MUX_UARTA_TXD,
121425cac729SPrathamesh Shete 	TEGRA_MUX_I2C5_CLK,
121525cac729SPrathamesh Shete 	TEGRA_MUX_I2C5_DAT,
121625cac729SPrathamesh Shete 	TEGRA_MUX_UARTD_CTS,
121725cac729SPrathamesh Shete 	TEGRA_MUX_UARTD_RTS,
121825cac729SPrathamesh Shete 	TEGRA_MUX_UARTD_RXD,
121925cac729SPrathamesh Shete 	TEGRA_MUX_UARTD_TXD,
122025cac729SPrathamesh Shete 	TEGRA_MUX_I2C1_CLK,
122125cac729SPrathamesh Shete 	TEGRA_MUX_I2C1_DAT,
122225cac729SPrathamesh Shete 	TEGRA_MUX_SDMMC1_CD,
122325cac729SPrathamesh Shete 	TEGRA_MUX_I2S2_SCLK,
122425cac729SPrathamesh Shete 	TEGRA_MUX_I2S2_SDATA_OUT,
122525cac729SPrathamesh Shete 	TEGRA_MUX_I2S2_SDATA_IN,
122625cac729SPrathamesh Shete 	TEGRA_MUX_I2S2_LRCK,
122725cac729SPrathamesh Shete 	TEGRA_MUX_I2S4_SCLK,
122825cac729SPrathamesh Shete 	TEGRA_MUX_I2S4_SDATA_OUT,
122925cac729SPrathamesh Shete 	TEGRA_MUX_I2S4_SDATA_IN,
123025cac729SPrathamesh Shete 	TEGRA_MUX_I2S4_LRCK,
123125cac729SPrathamesh Shete 	TEGRA_MUX_I2S1_SCLK,
123225cac729SPrathamesh Shete 	TEGRA_MUX_I2S1_SDATA_OUT,
123325cac729SPrathamesh Shete 	TEGRA_MUX_I2S1_SDATA_IN,
123425cac729SPrathamesh Shete 	TEGRA_MUX_I2S1_LRCK,
123525cac729SPrathamesh Shete 	TEGRA_MUX_AUD_MCLK,
123625cac729SPrathamesh Shete 	TEGRA_MUX_I2S3_LRCK,
123725cac729SPrathamesh Shete 	TEGRA_MUX_I2S3_SCLK,
123825cac729SPrathamesh Shete 	TEGRA_MUX_I2S3_SDATA_IN,
123925cac729SPrathamesh Shete 	TEGRA_MUX_I2S3_SDATA_OUT,
124025cac729SPrathamesh Shete 	TEGRA_MUX_PE2_CLKREQ_L,
124125cac729SPrathamesh Shete 	TEGRA_MUX_PE1_CLKREQ_L,
124225cac729SPrathamesh Shete 	TEGRA_MUX_PE1_RST_L,
124325cac729SPrathamesh Shete 	TEGRA_MUX_PE0_CLKREQ_L,
124425cac729SPrathamesh Shete 	TEGRA_MUX_PE0_RST_L,
124525cac729SPrathamesh Shete 	TEGRA_MUX_PE2_RST_L,
124625cac729SPrathamesh Shete 	TEGRA_MUX_PE3_CLKREQ_L,
124725cac729SPrathamesh Shete 	TEGRA_MUX_PE3_RST_L,
124825cac729SPrathamesh Shete 	TEGRA_MUX_DP_AUX_CH0_HPD,
124925cac729SPrathamesh Shete 	TEGRA_MUX_QSPI0_IO0,
125025cac729SPrathamesh Shete 	TEGRA_MUX_QSPI0_IO1,
125125cac729SPrathamesh Shete 	TEGRA_MUX_QSPI0_SCK,
125225cac729SPrathamesh Shete 	TEGRA_MUX_QSPI0_CS_N,
125325cac729SPrathamesh Shete 	TEGRA_MUX_UARTG_CTS,
125425cac729SPrathamesh Shete 	TEGRA_MUX_UARTG_RTS,
125525cac729SPrathamesh Shete 	TEGRA_MUX_UARTG_TXD,
125625cac729SPrathamesh Shete 	TEGRA_MUX_UARTG_RXD,
125725cac729SPrathamesh Shete 	TEGRA_MUX_SDMMC1_CLK,
125825cac729SPrathamesh Shete 	TEGRA_MUX_SDMMC1_CMD,
125925cac729SPrathamesh Shete 	TEGRA_MUX_SDMMC1_COMP,
126025cac729SPrathamesh Shete 	TEGRA_MUX_SDMMC1_DAT3,
126125cac729SPrathamesh Shete 	TEGRA_MUX_SDMMC1_DAT2,
126225cac729SPrathamesh Shete 	TEGRA_MUX_SDMMC1_DAT1,
126325cac729SPrathamesh Shete 	TEGRA_MUX_SDMMC1_DAT0,
126425cac729SPrathamesh Shete 	TEGRA_MUX_UFS0,
126525cac729SPrathamesh Shete 	TEGRA_MUX_SOC_THERM_OC1,
126625cac729SPrathamesh Shete 	TEGRA_MUX_HDMI_CEC,
126725cac729SPrathamesh Shete 	TEGRA_MUX_GP_PWM4,
126825cac729SPrathamesh Shete 	TEGRA_MUX_UARTC_RXD,
126925cac729SPrathamesh Shete 	TEGRA_MUX_UARTC_TXD,
127025cac729SPrathamesh Shete 	TEGRA_MUX_I2C8_DAT,
127125cac729SPrathamesh Shete 	TEGRA_MUX_I2C8_CLK,
127225cac729SPrathamesh Shete 	TEGRA_MUX_SPI2_DOUT,
127325cac729SPrathamesh Shete 	TEGRA_MUX_I2C2_CLK,
127425cac729SPrathamesh Shete 	TEGRA_MUX_SPI2_CS0,
127525cac729SPrathamesh Shete 	TEGRA_MUX_I2C2_DAT,
127625cac729SPrathamesh Shete 	TEGRA_MUX_SPI2_SCK,
127725cac729SPrathamesh Shete 	TEGRA_MUX_SPI2_DIN,
127825cac729SPrathamesh Shete 	TEGRA_MUX_PPC_MODE_1,
127925cac729SPrathamesh Shete 	TEGRA_MUX_PPC_READY,
128025cac729SPrathamesh Shete 	TEGRA_MUX_PPC_MODE_2,
128125cac729SPrathamesh Shete 	TEGRA_MUX_PPC_CC,
128225cac729SPrathamesh Shete 	TEGRA_MUX_PPC_MODE_0,
128325cac729SPrathamesh Shete 	TEGRA_MUX_PPC_INT_N,
128425cac729SPrathamesh Shete 	TEGRA_MUX_UARTE_TXD,
128525cac729SPrathamesh Shete 	TEGRA_MUX_UARTE_RXD,
128625cac729SPrathamesh Shete 	TEGRA_MUX_UARTB_TXD,
128725cac729SPrathamesh Shete 	TEGRA_MUX_UARTB_RXD,
128825cac729SPrathamesh Shete 	TEGRA_MUX_UARTB_CTS,
128925cac729SPrathamesh Shete 	TEGRA_MUX_UARTB_RTS,
129025cac729SPrathamesh Shete 	TEGRA_MUX_UARTE_CTS,
129125cac729SPrathamesh Shete 	TEGRA_MUX_UARTE_RTS,
129225cac729SPrathamesh Shete 	TEGRA_MUX_GP_PWM7,
129325cac729SPrathamesh Shete 	TEGRA_MUX_GP_PWM2,
129425cac729SPrathamesh Shete 	TEGRA_MUX_GP_PWM3,
129525cac729SPrathamesh Shete 	TEGRA_MUX_GP_PWM1,
129625cac729SPrathamesh Shete 	TEGRA_MUX_SPI2_CS1,
129725cac729SPrathamesh Shete 	TEGRA_MUX_DMIC1_CLK,
129825cac729SPrathamesh Shete 	TEGRA_MUX_DMIC1_DAT,
129925cac729SPrathamesh Shete 	TEGRA_MUX_RSVD1,
130025cac729SPrathamesh Shete 	TEGRA_MUX_DCB_HSYNC,
130125cac729SPrathamesh Shete 	TEGRA_MUX_DCB_VSYNC,
130225cac729SPrathamesh Shete 	TEGRA_MUX_SOC_THERM_OC4,
130325cac729SPrathamesh Shete 	TEGRA_MUX_GP_PWM8,
130425cac729SPrathamesh Shete 	TEGRA_MUX_NV_THERM_FAN_TACH0,
130525cac729SPrathamesh Shete 	TEGRA_MUX_WDT_RESET_OUTA,
130625cac729SPrathamesh Shete 	TEGRA_MUX_CCLA_LA_TRIGGER_MUX,
130725cac729SPrathamesh Shete 	TEGRA_MUX_DSPK1_DAT,
130825cac729SPrathamesh Shete 	TEGRA_MUX_DSPK1_CLK,
130925cac729SPrathamesh Shete 	TEGRA_MUX_NV_THERM_FAN_TACH1,
131025cac729SPrathamesh Shete 	TEGRA_MUX_DSPK0_DAT,
131125cac729SPrathamesh Shete 	TEGRA_MUX_DSPK0_CLK,
131225cac729SPrathamesh Shete 	TEGRA_MUX_I2S5_SCLK,
131325cac729SPrathamesh Shete 	TEGRA_MUX_I2S6_LRCK,
131425cac729SPrathamesh Shete 	TEGRA_MUX_I2S6_SDATA_IN,
131525cac729SPrathamesh Shete 	TEGRA_MUX_I2S6_SCLK,
131625cac729SPrathamesh Shete 	TEGRA_MUX_I2S6_SDATA_OUT,
131725cac729SPrathamesh Shete 	TEGRA_MUX_I2S5_LRCK,
131825cac729SPrathamesh Shete 	TEGRA_MUX_I2S5_SDATA_OUT,
131925cac729SPrathamesh Shete 	TEGRA_MUX_I2S5_SDATA_IN,
132025cac729SPrathamesh Shete 	TEGRA_MUX_SDMMC1_PE3_RST_L,
132125cac729SPrathamesh Shete 	TEGRA_MUX_SDMMC1_PE3_CLKREQ_L,
132225cac729SPrathamesh Shete 	TEGRA_MUX_TOUCH_CLK,
132325cac729SPrathamesh Shete 	TEGRA_MUX_PPC_I2C_DAT,
132425cac729SPrathamesh Shete 	TEGRA_MUX_WDT_RESET_OUTB,
132525cac729SPrathamesh Shete 	TEGRA_MUX_SPI5_CS1,
132625cac729SPrathamesh Shete 	TEGRA_MUX_PPC_RST_N,
132725cac729SPrathamesh Shete 	TEGRA_MUX_PPC_I2C_CLK,
132825cac729SPrathamesh Shete 	TEGRA_MUX_SPI4_CS1,
132925cac729SPrathamesh Shete 	TEGRA_MUX_SOC_THERM_OC3,
133025cac729SPrathamesh Shete 	TEGRA_MUX_SPI5_SCK,
133125cac729SPrathamesh Shete 	TEGRA_MUX_SPI5_MISO,
133225cac729SPrathamesh Shete 	TEGRA_MUX_SPI4_SCK,
133325cac729SPrathamesh Shete 	TEGRA_MUX_SPI4_MISO,
133425cac729SPrathamesh Shete 	TEGRA_MUX_SPI4_CS0,
133525cac729SPrathamesh Shete 	TEGRA_MUX_SPI4_MOSI,
133625cac729SPrathamesh Shete 	TEGRA_MUX_SPI5_CS0,
133725cac729SPrathamesh Shete 	TEGRA_MUX_SPI5_MOSI,
133825cac729SPrathamesh Shete 	TEGRA_MUX_LED_BLINK,
133925cac729SPrathamesh Shete 	TEGRA_MUX_RSVD2,
134025cac729SPrathamesh Shete 	TEGRA_MUX_DMIC3_CLK,
134125cac729SPrathamesh Shete 	TEGRA_MUX_DMIC3_DAT,
134225cac729SPrathamesh Shete 	TEGRA_MUX_DMIC4_CLK,
134325cac729SPrathamesh Shete 	TEGRA_MUX_DMIC4_DAT,
134425cac729SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT0,
134525cac729SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT3,
134625cac729SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT1,
134725cac729SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT2,
134825cac729SPrathamesh Shete 	TEGRA_MUX_DMIC5_CLK,
134925cac729SPrathamesh Shete 	TEGRA_MUX_DMIC5_DAT,
135025cac729SPrathamesh Shete 	TEGRA_MUX_RSVD3,
135125cac729SPrathamesh Shete 	TEGRA_MUX_SDMMC1_WP,
135225cac729SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT0A,
135325cac729SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT0D,
135425cac729SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT0B,
135525cac729SPrathamesh Shete 	TEGRA_MUX_TSC_EDGE_OUT0C,
135625cac729SPrathamesh Shete 	TEGRA_MUX_SOC_THERM_OC2,
135725cac729SPrathamesh Shete };
135825cac729SPrathamesh Shete 
135925cac729SPrathamesh Shete /* Make list of each function name */
136025cac729SPrathamesh Shete #define TEGRA_PIN_FUNCTION(lid) #lid
136125cac729SPrathamesh Shete 
136225cac729SPrathamesh Shete static const char * const tegra238_functions[] = {
136325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dca_vsync),
136425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dca_hsync),
136525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(displaya),
136625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(rsvd0),
136725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c7_clk),
136825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c7_dat),
136925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c4_dat),
137025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c4_clk),
137125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c9_dat),
137225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c9_clk),
137325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(usb_vbus_en0),
137425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(usb_vbus_en1),
137525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi3_din),
137625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi1_cs0),
137725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi3_cs0),
137825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi1_din),
137925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi3_cs1),
138025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi1_sck),
138125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi3_sck),
138225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi1_cs1),
138325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi1_dout),
138425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi3_dout),
138525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm5),
138625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm6),
138725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(extperiph2_clk),
138825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(extperiph1_clk),
138925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c3_dat),
139025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c3_clk),
139125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(extperiph4_clk),
139225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(extperiph3_clk),
139325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic2_dat),
139425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic2_clk),
139525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarta_cts),
139625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarta_rts),
139725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarta_rxd),
139825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarta_txd),
139925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c5_clk),
140025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c5_dat),
140125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartd_cts),
140225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartd_rts),
140325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartd_rxd),
140425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartd_txd),
140525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c1_clk),
140625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c1_dat),
140725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_cd),
140825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s2_sclk),
140925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s2_sdata_out),
141025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s2_sdata_in),
141125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s2_lrck),
141225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s4_sclk),
141325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s4_sdata_out),
141425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s4_sdata_in),
141525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s4_lrck),
141625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s1_sclk),
141725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s1_sdata_out),
141825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s1_sdata_in),
141925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s1_lrck),
142025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(aud_mclk),
142125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s3_lrck),
142225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s3_sclk),
142325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s3_sdata_in),
142425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s3_sdata_out),
142525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe2_clkreq_l),
142625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe1_clkreq_l),
142725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe1_rst_l),
142825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe0_clkreq_l),
142925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe0_rst_l),
143025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe2_rst_l),
143125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe3_clkreq_l),
143225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(pe3_rst_l),
143325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dp_aux_ch0_hpd),
143425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi0_io0),
143525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi0_io1),
143625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi0_sck),
143725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(qspi0_cs_n),
143825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartg_cts),
143925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartg_rts),
144025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartg_txd),
144125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartg_rxd),
144225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_clk),
144325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_cmd),
144425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_comp),
144525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_dat3),
144625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_dat2),
144725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_dat1),
144825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_dat0),
144925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ufs0),
145025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soc_therm_oc1),
145125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(hdmi_cec),
145225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm4),
145325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartc_rxd),
145425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartc_txd),
145525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c8_dat),
145625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c8_clk),
145725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi2_dout),
145825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c2_clk),
145925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi2_cs0),
146025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2c2_dat),
146125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi2_sck),
146225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi2_din),
146325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ppc_mode_1),
146425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ppc_ready),
146525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ppc_mode_2),
146625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ppc_cc),
146725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ppc_mode_0),
146825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ppc_int_n),
146925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarte_txd),
147025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarte_rxd),
147125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartb_txd),
147225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartb_rxd),
147325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartb_cts),
147425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uartb_rts),
147525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarte_cts),
147625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(uarte_rts),
147725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm7),
147825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm2),
147925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm3),
148025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm1),
148125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi2_cs1),
148225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic1_clk),
148325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic1_dat),
148425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(rsvd1),
148525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dcb_hsync),
148625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dcb_vsync),
148725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soc_therm_oc4),
148825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(gp_pwm8),
148925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(nv_therm_fan_tach0),
149025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(wdt_reset_outa),
149125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ccla_la_trigger_mux),
149225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dspk1_dat),
149325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dspk1_clk),
149425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(nv_therm_fan_tach1),
149525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dspk0_dat),
149625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dspk0_clk),
149725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s5_sclk),
149825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s6_lrck),
149925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s6_sdata_in),
150025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s6_sclk),
150125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s6_sdata_out),
150225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s5_lrck),
150325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s5_sdata_out),
150425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(i2s5_sdata_in),
150525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_pe3_rst_l),
150625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_pe3_clkreq_l),
150725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(touch_clk),
150825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ppc_i2c_dat),
150925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(wdt_reset_outb),
151025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi5_cs1),
151125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ppc_rst_n),
151225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(ppc_i2c_clk),
151325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi4_cs1),
151425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soc_therm_oc3),
151525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi5_sck),
151625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi5_miso),
151725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi4_sck),
151825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi4_miso),
151925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi4_cs0),
152025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi4_mosi),
152125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi5_cs0),
152225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(spi5_mosi),
152325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(led_blink),
152425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(rsvd2),
152525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic3_clk),
152625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic3_dat),
152725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic4_clk),
152825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic4_dat),
152925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out0),
153025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out3),
153125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out1),
153225cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out2),
153325cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic5_clk),
153425cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(dmic5_dat),
153525cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(rsvd3),
153625cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(sdmmc1_wp),
153725cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out0a),
153825cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out0d),
153925cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out0b),
154025cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(tsc_edge_out0c),
154125cac729SPrathamesh Shete 	TEGRA_PIN_FUNCTION(soc_therm_oc2),
154225cac729SPrathamesh Shete };
154325cac729SPrathamesh Shete 
154425cac729SPrathamesh Shete #define PINGROUP_REG_Y(r) ((r))
154525cac729SPrathamesh Shete #define PINGROUP_REG_N(r) -1
154625cac729SPrathamesh Shete 
154725cac729SPrathamesh Shete #define DRV_PINGROUP_Y(r) ((r))
154825cac729SPrathamesh Shete 
154925cac729SPrathamesh Shete #define DRV_PINGROUP_ENTRY_N					\
155025cac729SPrathamesh Shete 		.drv_reg = -1,					\
155125cac729SPrathamesh Shete 		.drv_bank = -1,					\
155225cac729SPrathamesh Shete 		.drvdn_bit = -1,				\
155325cac729SPrathamesh Shete 		.drvup_bit = -1,				\
155425cac729SPrathamesh Shete 		.slwr_bit = -1,					\
155525cac729SPrathamesh Shete 		.slwf_bit = -1
155625cac729SPrathamesh Shete 
155725cac729SPrathamesh Shete #define DRV_PINGROUP_ENTRY_Y(r, drvdn_b, drvdn_w, drvup_b,	\
155825cac729SPrathamesh Shete 			     drvup_w, slwr_b, slwr_w, slwf_b,	\
155925cac729SPrathamesh Shete 			     slwf_w, bank)			\
156025cac729SPrathamesh Shete 		.drv_reg = DRV_PINGROUP_Y(r),			\
156125cac729SPrathamesh Shete 		.drv_bank = bank,				\
156225cac729SPrathamesh Shete 		.drvdn_bit = drvdn_b,				\
156325cac729SPrathamesh Shete 		.drvdn_width = drvdn_w,				\
156425cac729SPrathamesh Shete 		.drvup_bit = drvup_b,				\
156525cac729SPrathamesh Shete 		.drvup_width = drvup_w,				\
156625cac729SPrathamesh Shete 		.slwr_bit = slwr_b,				\
156725cac729SPrathamesh Shete 		.slwr_width = slwr_w,				\
156825cac729SPrathamesh Shete 		.slwf_bit = slwf_b,				\
156925cac729SPrathamesh Shete 		.slwf_width = slwf_w
157025cac729SPrathamesh Shete 
157125cac729SPrathamesh Shete #define PIN_PINGROUP_ENTRY_N					\
157225cac729SPrathamesh Shete 		.mux_reg = -1,					\
157325cac729SPrathamesh Shete 		.pupd_reg = -1,					\
157425cac729SPrathamesh Shete 		.tri_reg = -1,					\
157525cac729SPrathamesh Shete 		.einput_bit = -1,				\
157625cac729SPrathamesh Shete 		.e_io_hv_bit = -1,				\
157725cac729SPrathamesh Shete 		.odrain_bit = -1,				\
157825cac729SPrathamesh Shete 		.lock_bit = -1,					\
157925cac729SPrathamesh Shete 		.parked_bit = -1,				\
158025cac729SPrathamesh Shete 		.lpmd_bit = -1,					\
158125cac729SPrathamesh Shete 		.drvtype_bit = -1,				\
158225cac729SPrathamesh Shete 		.lpdr_bit = -1,					\
158325cac729SPrathamesh Shete 		.pbias_buf_bit = -1,				\
158425cac729SPrathamesh Shete 		.preemp_bit = -1,				\
158525cac729SPrathamesh Shete 		.rfu_in_bit = -1
158625cac729SPrathamesh Shete 
158725cac729SPrathamesh Shete #define PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, e_input,	\
158825cac729SPrathamesh Shete 				e_lpdr, e_pbias_buf, gpio_sfio_sel,	\
158925cac729SPrathamesh Shete 				schmitt_b)				\
159025cac729SPrathamesh Shete 		.mux_reg = PINGROUP_REG_Y(r),			\
159125cac729SPrathamesh Shete 		.lpmd_bit = -1,					\
159225cac729SPrathamesh Shete 		.lock_bit = -1,					\
159325cac729SPrathamesh Shete 		.hsm_bit = -1,					\
159425cac729SPrathamesh Shete 		.mux_bank = bank,				\
159525cac729SPrathamesh Shete 		.mux_bit = 0,					\
159625cac729SPrathamesh Shete 		.pupd_reg = PINGROUP_REG_##pupd(r),		\
159725cac729SPrathamesh Shete 		.pupd_bank = bank,				\
159825cac729SPrathamesh Shete 		.pupd_bit = 2,					\
159925cac729SPrathamesh Shete 		.tri_reg = PINGROUP_REG_Y(r),			\
160025cac729SPrathamesh Shete 		.tri_bank = bank,				\
160125cac729SPrathamesh Shete 		.tri_bit = 4,					\
160225cac729SPrathamesh Shete 		.einput_bit = e_input,				\
160325cac729SPrathamesh Shete 		.sfsel_bit = gpio_sfio_sel,			\
160425cac729SPrathamesh Shete 		.schmitt_bit = schmitt_b,			\
160525cac729SPrathamesh Shete 		.drvtype_bit = 13,				\
160625cac729SPrathamesh Shete 		.lpdr_bit = e_lpdr,
160725cac729SPrathamesh Shete 
160825cac729SPrathamesh Shete #define drive_soc_gpio36_pt1		DRV_PINGROUP_ENTRY_Y(0x10004,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
160925cac729SPrathamesh Shete #define drive_soc_gpio53_pt2		DRV_PINGROUP_ENTRY_Y(0x1000c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
161025cac729SPrathamesh Shete #define drive_soc_gpio38_pt3		DRV_PINGROUP_ENTRY_Y(0x1001c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
161125cac729SPrathamesh Shete #define drive_soc_gpio40_pt4		DRV_PINGROUP_ENTRY_Y(0x1002c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
161225cac729SPrathamesh Shete #define drive_soc_gpio75_ps2		DRV_PINGROUP_ENTRY_Y(0x10034,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
161325cac729SPrathamesh Shete #define drive_soc_gpio81_pt0		DRV_PINGROUP_ENTRY_Y(0x1003c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
161425cac729SPrathamesh Shete #define drive_soc_gpio78_ps5		DRV_PINGROUP_ENTRY_Y(0x10044,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
161525cac729SPrathamesh Shete #define drive_soc_gpio34_pt5		DRV_PINGROUP_ENTRY_Y(0x1004c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
161625cac729SPrathamesh Shete #define drive_gen7_i2c_scl_ps3		DRV_PINGROUP_ENTRY_Y(0x100a4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
161725cac729SPrathamesh Shete #define drive_gen7_i2c_sda_ps4		DRV_PINGROUP_ENTRY_Y(0x100ac,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
161825cac729SPrathamesh Shete #define drive_gen4_i2c_sda_ps1		DRV_PINGROUP_ENTRY_Y(0x100b4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
161925cac729SPrathamesh Shete #define drive_gen4_i2c_scl_ps0		DRV_PINGROUP_ENTRY_Y(0x100bc,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
162025cac729SPrathamesh Shete #define drive_gen9_i2c_sda_ps7		DRV_PINGROUP_ENTRY_Y(0x100c4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
162125cac729SPrathamesh Shete #define drive_gen9_i2c_scl_ps6		DRV_PINGROUP_ENTRY_Y(0x100cc,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
162225cac729SPrathamesh Shete #define drive_usb_vbus_en0_pt6		DRV_PINGROUP_ENTRY_Y(0x100d4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
162325cac729SPrathamesh Shete #define drive_usb_vbus_en1_pt7		DRV_PINGROUP_ENTRY_Y(0x100dc,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
162425cac729SPrathamesh Shete #define drive_soc_gpio61_pr0		DRV_PINGROUP_ENTRY_Y(0x1f004,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
162525cac729SPrathamesh Shete #define drive_soc_gpio62_pr1		DRV_PINGROUP_ENTRY_Y(0x1f00c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
162625cac729SPrathamesh Shete #define drive_soc_gpio63_pr2		DRV_PINGROUP_ENTRY_Y(0x1f014,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
162725cac729SPrathamesh Shete #define drive_soc_gpio64_pr3		DRV_PINGROUP_ENTRY_Y(0x1f01c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
162825cac729SPrathamesh Shete #define drive_soc_gpio65_pr4		DRV_PINGROUP_ENTRY_Y(0x1f024,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
162925cac729SPrathamesh Shete #define drive_soc_gpio66_pr5		DRV_PINGROUP_ENTRY_Y(0x1f02c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
163025cac729SPrathamesh Shete #define drive_soc_gpio67_pr6		DRV_PINGROUP_ENTRY_Y(0x1f034,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
163125cac729SPrathamesh Shete #define drive_soc_gpio68_pr7		DRV_PINGROUP_ENTRY_Y(0x1f03c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
163225cac729SPrathamesh Shete #define drive_spi3_miso_pa4		    DRV_PINGROUP_ENTRY_Y(0xd004,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
163325cac729SPrathamesh Shete #define drive_spi1_cs0_pb3		    DRV_PINGROUP_ENTRY_Y(0xd00c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
163425cac729SPrathamesh Shete #define drive_spi3_cs0_pa6		    DRV_PINGROUP_ENTRY_Y(0xd014,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
163525cac729SPrathamesh Shete #define drive_spi1_miso_pb1		    DRV_PINGROUP_ENTRY_Y(0xd01c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
163625cac729SPrathamesh Shete #define drive_spi3_cs1_pa7		    DRV_PINGROUP_ENTRY_Y(0xd024,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
163725cac729SPrathamesh Shete #define drive_spi1_sck_pb0		    DRV_PINGROUP_ENTRY_Y(0xd02c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
163825cac729SPrathamesh Shete #define drive_spi3_sck_pa3		    DRV_PINGROUP_ENTRY_Y(0xd034,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
163925cac729SPrathamesh Shete #define drive_spi1_cs1_pb4		    DRV_PINGROUP_ENTRY_Y(0xd03c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
164025cac729SPrathamesh Shete #define drive_spi1_mosi_pb2	        DRV_PINGROUP_ENTRY_Y(0xd044,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
164125cac729SPrathamesh Shete #define drive_spi3_mosi_pa5		    DRV_PINGROUP_ENTRY_Y(0xd04c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
164225cac729SPrathamesh Shete #define drive_gpu_pwr_req_pa0		DRV_PINGROUP_ENTRY_Y(0xd054,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
164325cac729SPrathamesh Shete #define drive_gp_pwm5_pa1		    DRV_PINGROUP_ENTRY_Y(0xd05c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
164425cac729SPrathamesh Shete #define drive_gp_pwm6_pa2		    DRV_PINGROUP_ENTRY_Y(0xd064,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
164525cac729SPrathamesh Shete #define drive_extperiph2_clk_pc3	DRV_PINGROUP_ENTRY_Y(0x4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
164625cac729SPrathamesh Shete #define drive_extperiph1_clk_pc2	DRV_PINGROUP_ENTRY_Y(0xc,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
164725cac729SPrathamesh Shete #define drive_cam_i2c_sda_pc5		DRV_PINGROUP_ENTRY_Y(0x14,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
164825cac729SPrathamesh Shete #define drive_cam_i2c_scl_pc4		DRV_PINGROUP_ENTRY_Y(0x1c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
164925cac729SPrathamesh Shete #define drive_soc_gpio23_pc6		DRV_PINGROUP_ENTRY_Y(0x24,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
165025cac729SPrathamesh Shete #define drive_soc_gpio24_pc7		DRV_PINGROUP_ENTRY_Y(0x2c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
165125cac729SPrathamesh Shete #define drive_soc_gpio27_pd0		DRV_PINGROUP_ENTRY_Y(0x44,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
165225cac729SPrathamesh Shete #define drive_soc_gpio29_pd2		DRV_PINGROUP_ENTRY_Y(0x54,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
165325cac729SPrathamesh Shete #define drive_soc_gpio32_pd4		DRV_PINGROUP_ENTRY_Y(0x6c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
165425cac729SPrathamesh Shete #define drive_soc_gpio33_pd3		DRV_PINGROUP_ENTRY_Y(0x74,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
165525cac729SPrathamesh Shete #define drive_soc_gpio35_pd5		DRV_PINGROUP_ENTRY_Y(0x7c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
165625cac729SPrathamesh Shete #define drive_soc_gpio37_pd6		DRV_PINGROUP_ENTRY_Y(0x84,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
165725cac729SPrathamesh Shete #define drive_soc_gpio56_pd7		DRV_PINGROUP_ENTRY_Y(0x8c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
165825cac729SPrathamesh Shete #define drive_soc_gpio55_pd1		DRV_PINGROUP_ENTRY_Y(0x94,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
165925cac729SPrathamesh Shete #define drive_uart1_cts_pe3		    DRV_PINGROUP_ENTRY_Y(0x9c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
166025cac729SPrathamesh Shete #define drive_uart1_rts_pe2		    DRV_PINGROUP_ENTRY_Y(0xa4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
166125cac729SPrathamesh Shete #define drive_uart1_rx_pe1		    DRV_PINGROUP_ENTRY_Y(0xac,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
166225cac729SPrathamesh Shete #define drive_uart1_tx_pe0		    DRV_PINGROUP_ENTRY_Y(0xb4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
166325cac729SPrathamesh Shete #define drive_pwr_i2c_scl_pc0		DRV_PINGROUP_ENTRY_Y(0xbc,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
166425cac729SPrathamesh Shete #define drive_pwr_i2c_sda_pc1		DRV_PINGROUP_ENTRY_Y(0xc4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
166525cac729SPrathamesh Shete #define drive_cpu_pwr_req_ph4		DRV_PINGROUP_ENTRY_Y(0x4004,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
166625cac729SPrathamesh Shete #define drive_uart4_cts_pg5		    DRV_PINGROUP_ENTRY_Y(0x400c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
166725cac729SPrathamesh Shete #define drive_uart4_rts_pg4		    DRV_PINGROUP_ENTRY_Y(0x4014,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
166825cac729SPrathamesh Shete #define drive_uart4_rx_pg3		    DRV_PINGROUP_ENTRY_Y(0x401c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
166925cac729SPrathamesh Shete #define drive_uart4_tx_pg2		    DRV_PINGROUP_ENTRY_Y(0x4024,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
167025cac729SPrathamesh Shete #define drive_gen1_i2c_scl_ph2		DRV_PINGROUP_ENTRY_Y(0x402c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
167125cac729SPrathamesh Shete #define drive_gen1_i2c_sda_ph3		DRV_PINGROUP_ENTRY_Y(0x4034,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
167225cac729SPrathamesh Shete #define drive_soc_gpio20_pf6		DRV_PINGROUP_ENTRY_Y(0x403c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
167325cac729SPrathamesh Shete #define drive_soc_gpio21_pf7		DRV_PINGROUP_ENTRY_Y(0x4044,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
167425cac729SPrathamesh Shete #define drive_soc_gpio22_pg0		DRV_PINGROUP_ENTRY_Y(0x404c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
167525cac729SPrathamesh Shete #define drive_soc_gpio13_pf0		DRV_PINGROUP_ENTRY_Y(0x4054,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
167625cac729SPrathamesh Shete #define drive_soc_gpio14_pf1		DRV_PINGROUP_ENTRY_Y(0x405c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
167725cac729SPrathamesh Shete #define drive_soc_gpio15_pf2		DRV_PINGROUP_ENTRY_Y(0x4064,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
167825cac729SPrathamesh Shete #define drive_soc_gpio16_pf3		DRV_PINGROUP_ENTRY_Y(0x406c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
167925cac729SPrathamesh Shete #define drive_soc_gpio17_pf4		DRV_PINGROUP_ENTRY_Y(0x4074,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
168025cac729SPrathamesh Shete #define drive_soc_gpio18_pf5		DRV_PINGROUP_ENTRY_Y(0x407c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
168125cac729SPrathamesh Shete #define drive_soc_gpio41_pg6		DRV_PINGROUP_ENTRY_Y(0x408c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
168225cac729SPrathamesh Shete #define drive_soc_gpio42_pg7		DRV_PINGROUP_ENTRY_Y(0x4094,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
168325cac729SPrathamesh Shete #define drive_soc_gpio43_ph0		DRV_PINGROUP_ENTRY_Y(0x409c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
168425cac729SPrathamesh Shete #define drive_soc_gpio44_ph1		DRV_PINGROUP_ENTRY_Y(0x40a4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
168525cac729SPrathamesh Shete #define drive_soc_gpio06_pg1		DRV_PINGROUP_ENTRY_Y(0x40ac,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
168625cac729SPrathamesh Shete #define drive_soc_gpio07_ph5		DRV_PINGROUP_ENTRY_Y(0x40b4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
168725cac729SPrathamesh Shete #define drive_dap4_sclk_pp4		    DRV_PINGROUP_ENTRY_Y(0x2004,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
168825cac729SPrathamesh Shete #define drive_dap4_dout_pp5		    DRV_PINGROUP_ENTRY_Y(0x200c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
168925cac729SPrathamesh Shete #define drive_dap4_din_pp6		    DRV_PINGROUP_ENTRY_Y(0x2014,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
169025cac729SPrathamesh Shete #define drive_dap4_fs_pp7		    DRV_PINGROUP_ENTRY_Y(0x201c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
169125cac729SPrathamesh Shete #define drive_soc_gpio167_pp0		DRV_PINGROUP_ENTRY_Y(0x2044,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
169225cac729SPrathamesh Shete #define drive_soc_gpio168_pp1		DRV_PINGROUP_ENTRY_Y(0x204c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
169325cac729SPrathamesh Shete #define drive_soc_gpio169_pp2		DRV_PINGROUP_ENTRY_Y(0x2054,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
169425cac729SPrathamesh Shete #define drive_soc_gpio170_pp3		DRV_PINGROUP_ENTRY_Y(0x205c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
169525cac729SPrathamesh Shete #define drive_soc_gpio171_pq0		DRV_PINGROUP_ENTRY_Y(0x2064,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
169625cac729SPrathamesh Shete #define drive_soc_gpio172_pq1		DRV_PINGROUP_ENTRY_Y(0x206c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
169725cac729SPrathamesh Shete #define drive_soc_gpio173_pq2		DRV_PINGROUP_ENTRY_Y(0x2074,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
169825cac729SPrathamesh Shete #define drive_soc_gpio45_pk0		DRV_PINGROUP_ENTRY_Y(0x18004,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
169925cac729SPrathamesh Shete #define drive_soc_gpio46_pk1		DRV_PINGROUP_ENTRY_Y(0x1800c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
170025cac729SPrathamesh Shete #define drive_soc_gpio47_pk2		DRV_PINGROUP_ENTRY_Y(0x18014,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
170125cac729SPrathamesh Shete #define drive_soc_gpio48_pk3		DRV_PINGROUP_ENTRY_Y(0x1801c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
170225cac729SPrathamesh Shete #define drive_soc_gpio57_pj4		DRV_PINGROUP_ENTRY_Y(0x18024,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
170325cac729SPrathamesh Shete #define drive_soc_gpio58_pj5		DRV_PINGROUP_ENTRY_Y(0x1802c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
170425cac729SPrathamesh Shete #define drive_soc_gpio59_pj6		DRV_PINGROUP_ENTRY_Y(0x18034,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
170525cac729SPrathamesh Shete #define drive_soc_gpio60_pj7		DRV_PINGROUP_ENTRY_Y(0x1803c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
170625cac729SPrathamesh Shete #define drive_dap3_fs_pj3		    DRV_PINGROUP_ENTRY_Y(0x18064,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
170725cac729SPrathamesh Shete #define drive_dap3_clk_pj0		    DRV_PINGROUP_ENTRY_Y(0x1806c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
170825cac729SPrathamesh Shete #define drive_dap3_din_pj2		    DRV_PINGROUP_ENTRY_Y(0x18074,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
170925cac729SPrathamesh Shete #define drive_dap3_dout_pj1		    DRV_PINGROUP_ENTRY_Y(0x1807c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
171025cac729SPrathamesh Shete #define drive_pex_l2_clkreq_n_pw4	DRV_PINGROUP_ENTRY_Y(0x7004,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
171125cac729SPrathamesh Shete #define drive_pex_wake_n_px0		DRV_PINGROUP_ENTRY_Y(0x700c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
171225cac729SPrathamesh Shete #define drive_pex_l1_clkreq_n_pw2	DRV_PINGROUP_ENTRY_Y(0x7014,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
171325cac729SPrathamesh Shete #define drive_pex_l1_rst_n_pw3		DRV_PINGROUP_ENTRY_Y(0x701c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
171425cac729SPrathamesh Shete #define drive_pex_l0_clkreq_n_pw0	DRV_PINGROUP_ENTRY_Y(0x7024,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
171525cac729SPrathamesh Shete #define drive_pex_l0_rst_n_pw1		DRV_PINGROUP_ENTRY_Y(0x702c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
171625cac729SPrathamesh Shete #define drive_pex_l2_rst_n_pw5		DRV_PINGROUP_ENTRY_Y(0x7034,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
171725cac729SPrathamesh Shete #define drive_pex_l3_clkreq_n_pw6	DRV_PINGROUP_ENTRY_Y(0x703c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
171825cac729SPrathamesh Shete #define drive_pex_l3_rst_n_pw7		DRV_PINGROUP_ENTRY_Y(0x7044,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
171925cac729SPrathamesh Shete #define drive_dp_aux_ch0_hpd_px1	DRV_PINGROUP_ENTRY_Y(0x704c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
172025cac729SPrathamesh Shete #define drive_qspi0_io0_pl1		    DRV_PINGROUP_ENTRY_Y(0xb004,	12,	5,	24,	5,	-1,	-1,	-1,	-1,	0)
172125cac729SPrathamesh Shete #define drive_qspi0_io1_pl2		    DRV_PINGROUP_ENTRY_Y(0xb00c,	12,	5,	24,	5,	-1,	-1,	-1,	-1,	0)
172225cac729SPrathamesh Shete #define drive_qspi0_sck_pl0		    DRV_PINGROUP_ENTRY_Y(0xb014,	12,	5,	24,	5,	-1,	-1,	-1,	-1,	0)
172325cac729SPrathamesh Shete #define drive_qspi0_cs_n_pl3		DRV_PINGROUP_ENTRY_Y(0xb01c,	12,	5,	24,	5,	-1,	-1,	-1,	-1,	0)
172425cac729SPrathamesh Shete #define drive_soc_gpio156_pm0		DRV_PINGROUP_ENTRY_Y(0xb024,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
172525cac729SPrathamesh Shete #define drive_soc_gpio155_pl7		DRV_PINGROUP_ENTRY_Y(0xb02c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
172625cac729SPrathamesh Shete #define drive_soc_gpio160_pm4		DRV_PINGROUP_ENTRY_Y(0xb034,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
172725cac729SPrathamesh Shete #define drive_soc_gpio154_pl6		DRV_PINGROUP_ENTRY_Y(0xb03c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
172825cac729SPrathamesh Shete #define drive_soc_gpio152_pl4		DRV_PINGROUP_ENTRY_Y(0xb044,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
172925cac729SPrathamesh Shete #define drive_soc_gpio153_pl5		DRV_PINGROUP_ENTRY_Y(0xb04c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
173025cac729SPrathamesh Shete #define drive_soc_gpio161_pm5		DRV_PINGROUP_ENTRY_Y(0xb054,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
173125cac729SPrathamesh Shete #define drive_soc_gpio162_pm6		DRV_PINGROUP_ENTRY_Y(0xb05c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
173225cac729SPrathamesh Shete #define drive_soc_gpio159_pm3		DRV_PINGROUP_ENTRY_Y(0xb064,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
173325cac729SPrathamesh Shete #define drive_soc_gpio157_pm1		DRV_PINGROUP_ENTRY_Y(0xb06c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
173425cac729SPrathamesh Shete #define drive_soc_gpio158_pm2		DRV_PINGROUP_ENTRY_Y(0xb074,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
173525cac729SPrathamesh Shete #define drive_uart7_cts_pn2		    DRV_PINGROUP_ENTRY_Y(0xb07c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
173625cac729SPrathamesh Shete #define drive_uart7_rts_pn1		    DRV_PINGROUP_ENTRY_Y(0xb084,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
173725cac729SPrathamesh Shete #define drive_uart7_tx_pm7		    DRV_PINGROUP_ENTRY_Y(0xb08c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
173825cac729SPrathamesh Shete #define drive_uart7_rx_pn0		    DRV_PINGROUP_ENTRY_Y(0xb094,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	0)
173925cac729SPrathamesh Shete #define drive_sdmmc1_clk_pu0		DRV_PINGROUP_ENTRY_Y(0x8004,	28,	2,	30,	2,	-1,	-1,	-1,	-1,	0)
174025cac729SPrathamesh Shete #define drive_sdmmc1_cmd_pu1		DRV_PINGROUP_ENTRY_Y(0x800c,	28,	2,	30,	2,	-1,	-1,	-1,	-1,	0)
174125cac729SPrathamesh Shete #define drive_sdmmc1_dat3_pu5		DRV_PINGROUP_ENTRY_Y(0x801c,	28,	2,	30,	2,	-1,	-1,	-1,	-1,	0)
174225cac729SPrathamesh Shete #define drive_sdmmc1_dat2_pu4		DRV_PINGROUP_ENTRY_Y(0x8024,	28,	2,	30,	2,	-1,	-1,	-1,	-1,	0)
174325cac729SPrathamesh Shete #define drive_sdmmc1_dat1_pu3		DRV_PINGROUP_ENTRY_Y(0x802c,	28,	2,	30,	2,	-1,	-1,	-1,	-1,	0)
174425cac729SPrathamesh Shete #define drive_sdmmc1_dat0_pu2		DRV_PINGROUP_ENTRY_Y(0x8034,	28,	2,	30,	2,	-1,	-1,	-1,	-1,	0)
174525cac729SPrathamesh Shete #define drive_ufs0_rst_n_pv1		DRV_PINGROUP_ENTRY_Y(0x11004,	12,	5,	24,	5,	-1,	-1,	-1,	-1,	0)
174625cac729SPrathamesh Shete #define drive_ufs0_ref_clk_pv0		DRV_PINGROUP_ENTRY_Y(0x1100c,	12,	5,	24,	5,	-1,	-1,	-1,	-1,	0)
174725cac729SPrathamesh Shete #define drive_batt_oc_paa4		    DRV_PINGROUP_ENTRY_Y(0x1024,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
174825cac729SPrathamesh Shete #define drive_bootv_ctl_n_paa0		DRV_PINGROUP_ENTRY_Y(0x102c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
174925cac729SPrathamesh Shete #define drive_vcomp_alert_paa2		DRV_PINGROUP_ENTRY_Y(0x105c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
175025cac729SPrathamesh Shete #define drive_hdmi_cec_pbb0		    DRV_PINGROUP_ENTRY_Y(0x1064,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
175125cac729SPrathamesh Shete #define drive_touch_clk_pdd3		DRV_PINGROUP_ENTRY_Y(0x106c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
175225cac729SPrathamesh Shete #define drive_uart3_rx_pcc6		    DRV_PINGROUP_ENTRY_Y(0x1074,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
175325cac729SPrathamesh Shete #define drive_uart3_tx_pcc5		    DRV_PINGROUP_ENTRY_Y(0x107c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
175425cac729SPrathamesh Shete #define drive_gen8_i2c_sda_pdd2		DRV_PINGROUP_ENTRY_Y(0x1084,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
175525cac729SPrathamesh Shete #define drive_gen8_i2c_scl_pdd1		DRV_PINGROUP_ENTRY_Y(0x108c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
175625cac729SPrathamesh Shete #define drive_spi2_mosi_pcc2		DRV_PINGROUP_ENTRY_Y(0x1094,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
175725cac729SPrathamesh Shete #define drive_gen2_i2c_scl_pcc7		DRV_PINGROUP_ENTRY_Y(0x109c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
175825cac729SPrathamesh Shete #define drive_spi2_cs0_pcc3		    DRV_PINGROUP_ENTRY_Y(0x10a4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
175925cac729SPrathamesh Shete #define drive_gen2_i2c_sda_pdd0		DRV_PINGROUP_ENTRY_Y(0x10ac,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
176025cac729SPrathamesh Shete #define drive_spi2_sck_pcc0		    DRV_PINGROUP_ENTRY_Y(0x10b4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
176125cac729SPrathamesh Shete #define drive_spi2_miso_pcc1		DRV_PINGROUP_ENTRY_Y(0x10bc,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
176225cac729SPrathamesh Shete #define drive_soc_gpio49_pee2		DRV_PINGROUP_ENTRY_Y(0x10c4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
176325cac729SPrathamesh Shete #define drive_soc_gpio50_pee4		DRV_PINGROUP_ENTRY_Y(0x10cc,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
176425cac729SPrathamesh Shete #define drive_soc_gpio82_pee3		DRV_PINGROUP_ENTRY_Y(0x10d4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
176525cac729SPrathamesh Shete #define drive_soc_gpio71_pff2		DRV_PINGROUP_ENTRY_Y(0x10dc,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
176625cac729SPrathamesh Shete #define drive_soc_gpio76_pff7		DRV_PINGROUP_ENTRY_Y(0x10e4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
176725cac729SPrathamesh Shete #define drive_soc_gpio74_pff5		DRV_PINGROUP_ENTRY_Y(0x10ec,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
176825cac729SPrathamesh Shete #define drive_soc_gpio00_paa1		DRV_PINGROUP_ENTRY_Y(0x10f4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
176925cac729SPrathamesh Shete #define drive_soc_gpio19_pdd6		DRV_PINGROUP_ENTRY_Y(0x10fc,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
177025cac729SPrathamesh Shete #define drive_soc_gpio86_phh3		DRV_PINGROUP_ENTRY_Y(0x1104,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
177125cac729SPrathamesh Shete #define drive_soc_gpio72_pff3		DRV_PINGROUP_ENTRY_Y(0x110c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
177225cac729SPrathamesh Shete #define drive_soc_gpio77_pgg0		DRV_PINGROUP_ENTRY_Y(0x1114,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
177325cac729SPrathamesh Shete #define drive_soc_gpio80_pff6		DRV_PINGROUP_ENTRY_Y(0x111c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
177425cac729SPrathamesh Shete #define drive_soc_gpio84_pgg1		DRV_PINGROUP_ENTRY_Y(0x1124,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
177525cac729SPrathamesh Shete #define drive_soc_gpio83_pee5		DRV_PINGROUP_ENTRY_Y(0x112c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
177625cac729SPrathamesh Shete #define drive_soc_gpio73_pff4		DRV_PINGROUP_ENTRY_Y(0x1134,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
177725cac729SPrathamesh Shete #define drive_soc_gpio70_pff1		DRV_PINGROUP_ENTRY_Y(0x113c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
177825cac729SPrathamesh Shete #define drive_soc_gpio04_paa5		DRV_PINGROUP_ENTRY_Y(0x1144,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
177925cac729SPrathamesh Shete #define drive_soc_gpio85_pgg6		DRV_PINGROUP_ENTRY_Y(0x114c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
178025cac729SPrathamesh Shete #define drive_soc_gpio69_pff0		DRV_PINGROUP_ENTRY_Y(0x1154,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
178125cac729SPrathamesh Shete #define drive_soc_gpio25_paa6		DRV_PINGROUP_ENTRY_Y(0x115c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
178225cac729SPrathamesh Shete #define drive_soc_gpio26_paa7		DRV_PINGROUP_ENTRY_Y(0x1164,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
178325cac729SPrathamesh Shete #define drive_uart5_tx_pgg7		    DRV_PINGROUP_ENTRY_Y(0x116c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
178425cac729SPrathamesh Shete #define drive_uart5_rx_phh0		    DRV_PINGROUP_ENTRY_Y(0x1174,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
178525cac729SPrathamesh Shete #define drive_uart2_tx_pgg2		    DRV_PINGROUP_ENTRY_Y(0x117c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
178625cac729SPrathamesh Shete #define drive_uart2_rx_pgg3		    DRV_PINGROUP_ENTRY_Y(0x1184,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
178725cac729SPrathamesh Shete #define drive_uart2_cts_pgg5		DRV_PINGROUP_ENTRY_Y(0x118c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
178825cac729SPrathamesh Shete #define drive_uart2_rts_pgg4		DRV_PINGROUP_ENTRY_Y(0x1194,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
178925cac729SPrathamesh Shete #define drive_uart5_cts_phh2		DRV_PINGROUP_ENTRY_Y(0x119c,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
179025cac729SPrathamesh Shete #define drive_uart5_rts_phh1		DRV_PINGROUP_ENTRY_Y(0x11a4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
179125cac729SPrathamesh Shete #define drive_pwm7_pee1			    DRV_PINGROUP_ENTRY_Y(0x11ac,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
179225cac729SPrathamesh Shete #define drive_pwm2_pdd7			    DRV_PINGROUP_ENTRY_Y(0x11b4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
179325cac729SPrathamesh Shete #define drive_pwm3_pee0			    DRV_PINGROUP_ENTRY_Y(0x11bc,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
179425cac729SPrathamesh Shete #define drive_pwm1_paa3			    DRV_PINGROUP_ENTRY_Y(0x11c4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
179525cac729SPrathamesh Shete #define drive_spi2_cs1_pcc4		    DRV_PINGROUP_ENTRY_Y(0x11cc,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
179625cac729SPrathamesh Shete #define drive_dmic1_clk_pdd4		DRV_PINGROUP_ENTRY_Y(0x11d4,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
179725cac729SPrathamesh Shete #define drive_dmic1_dat_pdd5		DRV_PINGROUP_ENTRY_Y(0x11dc,	12,	5,	20,	5,	-1,	-1,	-1,	-1,	1)
179825cac729SPrathamesh Shete 
179925cac729SPrathamesh Shete #define drive_sdmmc1_comp		DRV_PINGROUP_ENTRY_N
180025cac729SPrathamesh Shete 
180125cac729SPrathamesh Shete #define PINGROUP(pg_name, f0, f1, f2, f3, r, bank, pupd, e_io_hv, e_lpbk, e_input, e_lpdr, e_pbias_buf,	\
180225cac729SPrathamesh Shete 			gpio_sfio_sel, schmitt_b)							\
180325cac729SPrathamesh Shete 	{								\
180425cac729SPrathamesh Shete 		.name = #pg_name,					\
180525cac729SPrathamesh Shete 		.pins = pg_name##_pins,					\
180625cac729SPrathamesh Shete 		.npins = ARRAY_SIZE(pg_name##_pins),			\
180725cac729SPrathamesh Shete 			.funcs = {					\
180825cac729SPrathamesh Shete 				TEGRA_MUX_##f0,				\
180925cac729SPrathamesh Shete 				TEGRA_MUX_##f1,				\
181025cac729SPrathamesh Shete 				TEGRA_MUX_##f2,				\
181125cac729SPrathamesh Shete 				TEGRA_MUX_##f3,				\
181225cac729SPrathamesh Shete 			},						\
181325cac729SPrathamesh Shete 		PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk,	\
181425cac729SPrathamesh Shete 					e_input, e_lpdr, e_pbias_buf,	\
181525cac729SPrathamesh Shete 					gpio_sfio_sel, schmitt_b)	\
181625cac729SPrathamesh Shete 		drive_##pg_name,					\
181725cac729SPrathamesh Shete 	}
181825cac729SPrathamesh Shete 
181925cac729SPrathamesh Shete static const struct tegra_pingroup tegra238_groups[] = {
182025cac729SPrathamesh Shete 	PINGROUP(soc_gpio36_pt1,	DCA_VSYNC,	RSVD1,			RSVD2,		RSVD3,		0x10000,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
182125cac729SPrathamesh Shete 	PINGROUP(soc_gpio53_pt2,	DCA_HSYNC,	RSVD1,			RSVD2,		RSVD3,		0x10008,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
182225cac729SPrathamesh Shete 	PINGROUP(soc_gpio38_pt3,	DISPLAYA,	DCB_HSYNC,		RSVD2,		RSVD3,		0x10018,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
182325cac729SPrathamesh Shete 	PINGROUP(soc_gpio40_pt4,	RSVD0,		DCB_VSYNC,		RSVD2,		RSVD3,		0x10028,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
182425cac729SPrathamesh Shete 	PINGROUP(soc_gpio75_ps2,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x10030,	0,	Y,	5,	7,	6,	8,	-1,	10,	12),
182525cac729SPrathamesh Shete 	PINGROUP(soc_gpio81_pt0,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x10038,	0,	Y,	5,	7,	6,	8,	-1,	10,	12),
182625cac729SPrathamesh Shete 	PINGROUP(soc_gpio78_ps5,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x10040,	0,	Y,	5,	7,	6,	8,	-1,	10,	12),
182725cac729SPrathamesh Shete 	PINGROUP(soc_gpio34_pt5,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x10048,	0,	Y,	5,	7,	6,	8,	-1,	10,	12),
182825cac729SPrathamesh Shete 	PINGROUP(gen7_i2c_scl_ps3,	I2C7_CLK,	RSVD1,			RSVD2,		RSVD3,		0x100a0,	0,	Y,	5,	7,	6,	8,	-1,	10,	12),
182925cac729SPrathamesh Shete 	PINGROUP(gen7_i2c_sda_ps4,	I2C7_DAT,	RSVD1,			RSVD2,		RSVD3,		0x100a8,	0,	Y,	5,	7,	6,	8,	-1,	10,	12),
183025cac729SPrathamesh Shete 	PINGROUP(gen4_i2c_sda_ps1,	I2C4_DAT,	RSVD1,			RSVD2,		RSVD3,		0x100b0,	0,	Y,	5,	7,	6,	8,	-1,	10,	12),
183125cac729SPrathamesh Shete 	PINGROUP(gen4_i2c_scl_ps0,	I2C4_CLK,	RSVD1,			RSVD2,		RSVD3,		0x100b8,	0,	Y,	5,	7,	6,	8,	-1,	10,	12),
183225cac729SPrathamesh Shete 	PINGROUP(gen9_i2c_sda_ps7,	I2C9_DAT,	RSVD1,			RSVD2,		RSVD3,		0x100c0,	0,	Y,	5,	7,	6,	8,	-1,	10,	12),
183325cac729SPrathamesh Shete 	PINGROUP(gen9_i2c_scl_ps6,	I2C9_CLK,	RSVD1,			RSVD2,		RSVD3,		0x100c8,	0,	Y,	5,	7,	6,	8,	-1,	10,	12),
183425cac729SPrathamesh Shete 	PINGROUP(usb_vbus_en0_pt6,	USB_VBUS_EN0,	RSVD1,			RSVD2,		RSVD3,		0x100d0,	0,	Y,	5,	7,	6,	8,	-1,	10,	12),
183525cac729SPrathamesh Shete 	PINGROUP(usb_vbus_en1_pt7,	USB_VBUS_EN1,	RSVD1,			RSVD2,		RSVD3,		0x100d8,	0,	Y,	5,	7,	6,	8,	-1,	10,	12),
183625cac729SPrathamesh Shete 	PINGROUP(soc_gpio61_pr0,	RSVD0,		SOC_THERM_OC4,		RSVD2,		RSVD3,		0x1f000,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
183725cac729SPrathamesh Shete 	PINGROUP(soc_gpio62_pr1,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x1f008,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
183825cac729SPrathamesh Shete 	PINGROUP(soc_gpio63_pr2,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x1f010,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
183925cac729SPrathamesh Shete 	PINGROUP(soc_gpio64_pr3,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x1f018,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
184025cac729SPrathamesh Shete 	PINGROUP(soc_gpio65_pr4,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x1f020,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
184125cac729SPrathamesh Shete 	PINGROUP(soc_gpio66_pr5,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x1f028,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
184225cac729SPrathamesh Shete 	PINGROUP(soc_gpio67_pr6,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x1f030,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
184325cac729SPrathamesh Shete 	PINGROUP(soc_gpio68_pr7,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x1f038,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
184425cac729SPrathamesh Shete 	PINGROUP(spi3_miso_pa4,		SPI3_DIN,	RSVD1,			RSVD2,		RSVD3,		0xd000,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
184525cac729SPrathamesh Shete 	PINGROUP(spi1_cs0_pb3,		SPI1_CS0,	RSVD1,			RSVD2,		RSVD3,		0xd008,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
184625cac729SPrathamesh Shete 	PINGROUP(spi3_cs0_pa6,		SPI3_CS0,	RSVD1,			RSVD2,		RSVD3,		0xd010,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
184725cac729SPrathamesh Shete 	PINGROUP(spi1_miso_pb1,		SPI1_DIN,	RSVD1,			RSVD2,		RSVD3,		0xd018,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
184825cac729SPrathamesh Shete 	PINGROUP(spi3_cs1_pa7,		SPI3_CS1,	RSVD1,			RSVD2,		RSVD3,		0xd020,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
184925cac729SPrathamesh Shete 	PINGROUP(spi1_sck_pb0,		SPI1_SCK,	RSVD1,			RSVD2,		RSVD3,		0xd028,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
185025cac729SPrathamesh Shete 	PINGROUP(spi3_sck_pa3,		SPI3_SCK,	RSVD1,			RSVD2,		RSVD3,		0xd030,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
185125cac729SPrathamesh Shete 	PINGROUP(spi1_cs1_pb4,		SPI1_CS1,	RSVD1,			RSVD2,		RSVD3,		0xd038,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
185225cac729SPrathamesh Shete 	PINGROUP(spi1_mosi_pb2,		SPI1_DOUT,	RSVD1,			RSVD2,		RSVD3,		0xd040,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
185325cac729SPrathamesh Shete 	PINGROUP(spi3_mosi_pa5,		SPI3_DOUT,	RSVD1,			RSVD2,		RSVD3,		0xd048,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
185425cac729SPrathamesh Shete 	PINGROUP(gpu_pwr_req_pa0,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0xd050,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
185525cac729SPrathamesh Shete 	PINGROUP(gp_pwm5_pa1,		GP_PWM5,	RSVD1,			RSVD2,		RSVD3,		0xd058,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
185625cac729SPrathamesh Shete 	PINGROUP(gp_pwm6_pa2,		GP_PWM6,	RSVD1,			RSVD2,		RSVD3,		0xd060,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
185725cac729SPrathamesh Shete 	PINGROUP(extperiph2_clk_pc3,	EXTPERIPH2_CLK,	RSVD1,			RSVD2,		RSVD3,		0x0000,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
185825cac729SPrathamesh Shete 	PINGROUP(extperiph1_clk_pc2,	EXTPERIPH1_CLK,	RSVD1,			RSVD2,		RSVD3,		0x0008,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
185925cac729SPrathamesh Shete 	PINGROUP(cam_i2c_sda_pc5,	I2C3_DAT,	RSVD1,			RSVD2,		RSVD3,		0x0010,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
186025cac729SPrathamesh Shete 	PINGROUP(cam_i2c_scl_pc4,	I2C3_CLK,	RSVD1,			RSVD2,		RSVD3,		0x0018,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
186125cac729SPrathamesh Shete 	PINGROUP(soc_gpio23_pc6,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x0020,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
186225cac729SPrathamesh Shete 	PINGROUP(soc_gpio24_pc7,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x0028,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
186325cac729SPrathamesh Shete 	PINGROUP(soc_gpio27_pd0,	RSVD0,		GP_PWM8,		RSVD2,		RSVD3,		0x0040,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
186425cac729SPrathamesh Shete 	PINGROUP(soc_gpio29_pd2,	RSVD0,		NV_THERM_FAN_TACH0,	RSVD2,		RSVD3,		0x0050,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
186525cac729SPrathamesh Shete 	PINGROUP(soc_gpio32_pd4,	EXTPERIPH4_CLK,	RSVD1,			RSVD2,		RSVD3,		0x0068,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
186625cac729SPrathamesh Shete 	PINGROUP(soc_gpio33_pd3,	EXTPERIPH3_CLK,	RSVD1,			RSVD2,		RSVD3,		0x0070,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
186725cac729SPrathamesh Shete 	PINGROUP(soc_gpio35_pd5,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x0078,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
186825cac729SPrathamesh Shete 	PINGROUP(soc_gpio37_pd6,	DMIC2_DAT,	RSVD1,			RSVD2,		RSVD3,		0x0080,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
186925cac729SPrathamesh Shete 	PINGROUP(soc_gpio56_pd7,	DMIC2_CLK,	RSVD1,			RSVD2,		RSVD3,		0x0088,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
187025cac729SPrathamesh Shete 	PINGROUP(soc_gpio55_pd1,	RSVD0,		WDT_RESET_OUTA,		RSVD2,		RSVD3,		0x0090,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
187125cac729SPrathamesh Shete 	PINGROUP(uart1_cts_pe3,		UARTA_CTS,	RSVD1,			RSVD2,		RSVD3,		0x0098,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
187225cac729SPrathamesh Shete 	PINGROUP(uart1_rts_pe2,		UARTA_RTS,	RSVD1,			RSVD2,		RSVD3,		0x00a0,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
187325cac729SPrathamesh Shete 	PINGROUP(uart1_rx_pe1,		UARTA_RXD,	RSVD1,			RSVD2,		RSVD3,		0x00a8,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
187425cac729SPrathamesh Shete 	PINGROUP(uart1_tx_pe0,		UARTA_TXD,	RSVD1,			RSVD2,		RSVD3,		0x00b0,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
187525cac729SPrathamesh Shete 	PINGROUP(pwr_i2c_scl_pc0,	I2C5_CLK,	RSVD1,			RSVD2,		RSVD3,		0x00b8,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
187625cac729SPrathamesh Shete 	PINGROUP(pwr_i2c_sda_pc1,	I2C5_DAT,	RSVD1,			RSVD2,		RSVD3,		0x00c0,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
187725cac729SPrathamesh Shete 	PINGROUP(cpu_pwr_req_ph4,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x4000,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
187825cac729SPrathamesh Shete 	PINGROUP(uart4_cts_pg5,		UARTD_CTS,	RSVD1,			RSVD2,		RSVD3,		0x4008,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
187925cac729SPrathamesh Shete 	PINGROUP(uart4_rts_pg4,		UARTD_RTS,	RSVD1,			RSVD2,		RSVD3,		0x4010,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
188025cac729SPrathamesh Shete 	PINGROUP(uart4_rx_pg3,		UARTD_RXD,	RSVD1,			RSVD2,		RSVD3,		0x4018,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
188125cac729SPrathamesh Shete 	PINGROUP(uart4_tx_pg2,		UARTD_TXD,	RSVD1,			RSVD2,		RSVD3,		0x4020,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
188225cac729SPrathamesh Shete 	PINGROUP(gen1_i2c_scl_ph2,	I2C1_CLK,	RSVD1,			RSVD2,		RSVD3,		0x4028,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
188325cac729SPrathamesh Shete 	PINGROUP(gen1_i2c_sda_ph3,	I2C1_DAT,	RSVD1,			RSVD2,		RSVD3,		0x4030,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
188425cac729SPrathamesh Shete 	PINGROUP(soc_gpio20_pf6,	SDMMC1_CD,	RSVD1,			RSVD2,		RSVD3,		0x4038,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
188525cac729SPrathamesh Shete 	PINGROUP(soc_gpio21_pf7,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x4040,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
188625cac729SPrathamesh Shete 	PINGROUP(soc_gpio22_pg0,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x4048,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
188725cac729SPrathamesh Shete 	PINGROUP(soc_gpio13_pf0,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x4050,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
188825cac729SPrathamesh Shete 	PINGROUP(soc_gpio14_pf1,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x4058,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
188925cac729SPrathamesh Shete 	PINGROUP(soc_gpio15_pf2,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x4060,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
189025cac729SPrathamesh Shete 	PINGROUP(soc_gpio16_pf3,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x4068,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
189125cac729SPrathamesh Shete 	PINGROUP(soc_gpio17_pf4,	RSVD0,		CCLA_LA_TRIGGER_MUX,	RSVD2,		RSVD3,		0x4070,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
189225cac729SPrathamesh Shete 	PINGROUP(soc_gpio18_pf5,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x4078,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
189325cac729SPrathamesh Shete 	PINGROUP(soc_gpio41_pg6,	I2S2_SCLK,	RSVD1,			RSVD2,		RSVD3,		0x4088,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
189425cac729SPrathamesh Shete 	PINGROUP(soc_gpio42_pg7,	I2S2_SDATA_OUT,	RSVD1,			RSVD2,		RSVD3,		0x4090,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
189525cac729SPrathamesh Shete 	PINGROUP(soc_gpio43_ph0,	I2S2_SDATA_IN,	RSVD1,			RSVD2,		RSVD3,		0x4098,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
189625cac729SPrathamesh Shete 	PINGROUP(soc_gpio44_ph1,	I2S2_LRCK,	RSVD1,			RSVD2,		RSVD3,		0x40a0,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
189725cac729SPrathamesh Shete 	PINGROUP(soc_gpio06_pg1,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x40a8,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
189825cac729SPrathamesh Shete 	PINGROUP(soc_gpio07_ph5,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x40b0,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
189925cac729SPrathamesh Shete 	PINGROUP(dap4_sclk_pp4,		I2S4_SCLK,	RSVD1,			RSVD2,		RSVD3,		0x2000,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
190025cac729SPrathamesh Shete 	PINGROUP(dap4_dout_pp5,		I2S4_SDATA_OUT,	RSVD1,			RSVD2,		RSVD3,		0x2008,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
190125cac729SPrathamesh Shete 	PINGROUP(dap4_din_pp6,		I2S4_SDATA_IN,	RSVD1,			RSVD2,		RSVD3,		0x2010,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
190225cac729SPrathamesh Shete 	PINGROUP(dap4_fs_pp7,		I2S4_LRCK,	RSVD1,			RSVD2,		RSVD3,		0x2018,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
190325cac729SPrathamesh Shete 	PINGROUP(soc_gpio167_pp0,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x2040,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
190425cac729SPrathamesh Shete 	PINGROUP(soc_gpio168_pp1,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x2048,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
190525cac729SPrathamesh Shete 	PINGROUP(soc_gpio169_pp2,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x2050,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
190625cac729SPrathamesh Shete 	PINGROUP(soc_gpio170_pp3,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x2058,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
190725cac729SPrathamesh Shete 	PINGROUP(soc_gpio171_pq0,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x2060,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
190825cac729SPrathamesh Shete 	PINGROUP(soc_gpio172_pq1,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x2068,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
190925cac729SPrathamesh Shete 	PINGROUP(soc_gpio173_pq2,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x2070,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
191025cac729SPrathamesh Shete 	PINGROUP(soc_gpio45_pk0,	I2S1_SCLK,	DSPK1_DAT,		DMIC3_CLK,	RSVD3,		0x18000,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
191125cac729SPrathamesh Shete 	PINGROUP(soc_gpio46_pk1,	I2S1_SDATA_OUT,	DSPK1_CLK,		DMIC3_DAT,	RSVD3,		0x18008,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
191225cac729SPrathamesh Shete 	PINGROUP(soc_gpio47_pk2,	I2S1_SDATA_IN,	RSVD1,			RSVD2,		RSVD3,		0x18010,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
191325cac729SPrathamesh Shete 	PINGROUP(soc_gpio48_pk3,	I2S1_LRCK,	RSVD1,			RSVD2,		RSVD3,		0x18018,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
191425cac729SPrathamesh Shete 	PINGROUP(soc_gpio57_pj4,	RSVD0,		RSVD1,			RSVD2,		SDMMC1_WP,	0x18020,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
191525cac729SPrathamesh Shete 	PINGROUP(soc_gpio58_pj5,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x18028,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
191625cac729SPrathamesh Shete 	PINGROUP(soc_gpio59_pj6,	AUD_MCLK,	RSVD1,			RSVD2,		RSVD3,		0x18030,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
191725cac729SPrathamesh Shete 	PINGROUP(soc_gpio60_pj7,	RSVD0,		NV_THERM_FAN_TACH1,	RSVD2,		RSVD3,		0x18038,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
191825cac729SPrathamesh Shete 	PINGROUP(dap3_fs_pj3,		I2S3_LRCK,	RSVD1,			RSVD2,		RSVD3,		0x18060,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
191925cac729SPrathamesh Shete 	PINGROUP(dap3_clk_pj0,		I2S3_SCLK,	DSPK0_DAT,		DMIC4_CLK,	RSVD3,		0x18068,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
192025cac729SPrathamesh Shete 	PINGROUP(dap3_din_pj2,		I2S3_SDATA_IN,	RSVD1,			RSVD2,		RSVD3,		0x18070,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
192125cac729SPrathamesh Shete 	PINGROUP(dap3_dout_pj1,		I2S3_SDATA_OUT,	DSPK0_CLK,		DMIC4_DAT,	RSVD3,		0x18078,	0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
192225cac729SPrathamesh Shete 	PINGROUP(pex_l2_clkreq_n_pw4,	PE2_CLKREQ_L,	RSVD1,			RSVD2,		RSVD3,		0x7000,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
192325cac729SPrathamesh Shete 	PINGROUP(pex_wake_n_px0,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x7008,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
192425cac729SPrathamesh Shete 	PINGROUP(pex_l1_clkreq_n_pw2,	PE1_CLKREQ_L,	RSVD1,			RSVD2,		RSVD3,		0x7010,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
192525cac729SPrathamesh Shete 	PINGROUP(pex_l1_rst_n_pw3,	PE1_RST_L,	RSVD1,			RSVD2,		RSVD3,		0x7018,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
192625cac729SPrathamesh Shete 	PINGROUP(pex_l0_clkreq_n_pw0,	PE0_CLKREQ_L,	RSVD1,			RSVD2,		RSVD3,		0x7020,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
192725cac729SPrathamesh Shete 	PINGROUP(pex_l0_rst_n_pw1,	PE0_RST_L,	RSVD1,			RSVD2,		RSVD3,		0x7028,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
192825cac729SPrathamesh Shete 	PINGROUP(pex_l2_rst_n_pw5,	PE2_RST_L,	RSVD1,			RSVD2,		RSVD3,		0x7030,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
192925cac729SPrathamesh Shete 	PINGROUP(pex_l3_clkreq_n_pw6,	PE3_CLKREQ_L,	RSVD1,			RSVD2,		RSVD3,		0x7038,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
193025cac729SPrathamesh Shete 	PINGROUP(pex_l3_rst_n_pw7,	PE3_RST_L,	RSVD1,			RSVD2,		RSVD3,		0x7040,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
193125cac729SPrathamesh Shete 	PINGROUP(dp_aux_ch0_hpd_px1,	DP_AUX_CH0_HPD,	RSVD1,			RSVD2,		RSVD3,		0x7048,		0,	Y,	5,	7,	6,	8,	-1,	10,	12),
193225cac729SPrathamesh Shete 	PINGROUP(qspi0_io0_pl1,		QSPI0_IO0,	RSVD1,			RSVD2,		RSVD3,		0xb000,		0,	Y,	-1,	5,	6,	-1,	-1,	10,	12),
193325cac729SPrathamesh Shete 	PINGROUP(qspi0_io1_pl2,		QSPI0_IO1,	RSVD1,			RSVD2,		RSVD3,		0xb008,		0,	Y,	-1,	5,	6,	-1,	-1,	10,	12),
193425cac729SPrathamesh Shete 	PINGROUP(qspi0_sck_pl0,		QSPI0_SCK,	RSVD1,			RSVD2,		RSVD3,		0xb010,		0,	Y,	-1,	5,	6,	-1,	-1,	10,	12),
193525cac729SPrathamesh Shete 	PINGROUP(qspi0_cs_n_pl3,	QSPI0_CS_N,	RSVD1,			RSVD2,		RSVD3,		0xb018,		0,	Y,	-1,	5,	6,	-1,	-1,	10,	12),
193625cac729SPrathamesh Shete 	PINGROUP(soc_gpio156_pm0,	RSVD0,		I2S5_SCLK,		RSVD2,		RSVD3,		0xb020,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
193725cac729SPrathamesh Shete 	PINGROUP(soc_gpio155_pl7,	RSVD0,		I2S6_LRCK,		RSVD2,		RSVD3,		0xb028,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
193825cac729SPrathamesh Shete 	PINGROUP(soc_gpio160_pm4,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0xb030,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
193925cac729SPrathamesh Shete 	PINGROUP(soc_gpio154_pl6,	RSVD0,		I2S6_SDATA_IN,		RSVD2,		RSVD3,		0xb038,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
194025cac729SPrathamesh Shete 	PINGROUP(soc_gpio152_pl4,	RSVD0,		I2S6_SCLK,		RSVD2,		RSVD3,		0xb040,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
194125cac729SPrathamesh Shete 	PINGROUP(soc_gpio153_pl5,	RSVD0,		I2S6_SDATA_OUT,		RSVD2,		RSVD3,		0xb048,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
194225cac729SPrathamesh Shete 	PINGROUP(soc_gpio161_pm5,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0xb050,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
194325cac729SPrathamesh Shete 	PINGROUP(soc_gpio162_pm6,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0xb058,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
194425cac729SPrathamesh Shete 	PINGROUP(soc_gpio159_pm3,	RSVD0,		I2S5_LRCK,		RSVD2,		RSVD3,		0xb060,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
194525cac729SPrathamesh Shete 	PINGROUP(soc_gpio157_pm1,	RSVD0,		I2S5_SDATA_OUT,		RSVD2,		RSVD3,		0xb068,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
194625cac729SPrathamesh Shete 	PINGROUP(soc_gpio158_pm2,	RSVD0,		I2S5_SDATA_IN,		RSVD2,		RSVD3,		0xb070,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
194725cac729SPrathamesh Shete 	PINGROUP(uart7_cts_pn2,		UARTG_CTS,	RSVD1,			RSVD2,		RSVD3,		0xb078,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
194825cac729SPrathamesh Shete 	PINGROUP(uart7_rts_pn1,		UARTG_RTS,	RSVD1,			RSVD2,		RSVD3,		0xb080,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
194925cac729SPrathamesh Shete 	PINGROUP(uart7_tx_pm7,		UARTG_TXD,	RSVD1,			RSVD2,		RSVD3,		0xb088,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
195025cac729SPrathamesh Shete 	PINGROUP(uart7_rx_pn0,		UARTG_RXD,	RSVD1,			RSVD2,		RSVD3,		0xb090,		0,	Y,	-1,	7,	6,	8,	-1,	10,	12),
195125cac729SPrathamesh Shete 	PINGROUP(sdmmc1_clk_pu0,	SDMMC1_CLK,	RSVD1,			RSVD2,		RSVD3,		0x8000,		0,	Y,	-1,	5,	6,	-1,	9,	10,	12),
195225cac729SPrathamesh Shete 	PINGROUP(sdmmc1_cmd_pu1,	SDMMC1_CMD,	RSVD1,			RSVD2,		RSVD3,		0x8008,		0,	Y,	-1,	5,	6,	-1,	9,	10,	12),
195325cac729SPrathamesh Shete 	PINGROUP(sdmmc1_comp,		SDMMC1_COMP,	RSVD1,			RSVD2,		RSVD3,		0x8010,		0,	N,	-1,	-1,	-1,	-1,	-1,	-1,	-1),
195425cac729SPrathamesh Shete 	PINGROUP(sdmmc1_dat3_pu5,	SDMMC1_DAT3,	SDMMC1_PE3_RST_L,	RSVD2,		RSVD3,		0x8018,		0,	Y,	-1,	5,	6,	-1,	9,	10,	12),
195525cac729SPrathamesh Shete 	PINGROUP(sdmmc1_dat2_pu4,	SDMMC1_DAT2,	SDMMC1_PE3_CLKREQ_L,	RSVD2,		RSVD3,		0x8020,		0,	Y,	-1,	5,	6,	-1,	9,	10,	12),
195625cac729SPrathamesh Shete 	PINGROUP(sdmmc1_dat1_pu3,	SDMMC1_DAT1,	RSVD1,			RSVD2,		RSVD3,		0x8028,		0,	Y,	-1,	5,	6,	-1,	9,	10,	12),
195725cac729SPrathamesh Shete 	PINGROUP(sdmmc1_dat0_pu2,	SDMMC1_DAT0,	RSVD1,			RSVD2,		RSVD3,		0x8030,		0,	Y,	-1,	5,	6,	-1,	9,	10,	12),
195825cac729SPrathamesh Shete 	PINGROUP(ufs0_rst_n_pv1,	UFS0,		RSVD1,			RSVD2,		RSVD3,		0x11000,	0,	Y,	-1,	5,	6,	-1,	-1,	10,	12),
195925cac729SPrathamesh Shete 	PINGROUP(ufs0_ref_clk_pv0,	UFS0,		RSVD1,			RSVD2,		RSVD3,		0x11008,	0,	Y,	-1,	5,	6,	-1,	-1,	10,	12),
196025cac729SPrathamesh Shete 
196125cac729SPrathamesh Shete };
196225cac729SPrathamesh Shete 
196325cac729SPrathamesh Shete static const struct tegra_pingroup tegra238_aon_groups[] = {
196425cac729SPrathamesh Shete 	PINGROUP(bootv_ctl_n_paa0,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x1028,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
196525cac729SPrathamesh Shete 	PINGROUP(soc_gpio00_paa1,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x10f0,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
196625cac729SPrathamesh Shete 	PINGROUP(vcomp_alert_paa2,	SOC_THERM_OC1,	RSVD1,			RSVD2,		RSVD3,		0x1058,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
196725cac729SPrathamesh Shete 	PINGROUP(pwm1_paa3,		GP_PWM1,	RSVD1,			RSVD2,		RSVD3,		0x11c0,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
196825cac729SPrathamesh Shete 	PINGROUP(batt_oc_paa4,		SOC_THERM_OC2,	RSVD1,			RSVD2,		RSVD3,		0x1020,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
196925cac729SPrathamesh Shete 	PINGROUP(soc_gpio04_paa5,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x1140,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
197025cac729SPrathamesh Shete 	PINGROUP(soc_gpio25_paa6,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x1158,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
197125cac729SPrathamesh Shete 	PINGROUP(soc_gpio26_paa7,	RSVD0,		SOC_THERM_OC3,		RSVD2,		RSVD3,		0x1160,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
197225cac729SPrathamesh Shete 	PINGROUP(hdmi_cec_pbb0,		HDMI_CEC,	RSVD1,			RSVD2,		RSVD3,		0x1060,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
197325cac729SPrathamesh Shete 	PINGROUP(spi2_sck_pcc0,		SPI2_SCK,	RSVD1,			RSVD2,		RSVD3,		0x10b0,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
197425cac729SPrathamesh Shete 	PINGROUP(spi2_miso_pcc1,	SPI2_DIN,	RSVD1,			RSVD2,		RSVD3,		0x10b8,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
197525cac729SPrathamesh Shete 	PINGROUP(spi2_mosi_pcc2,	SPI2_DOUT,	RSVD1,			RSVD2,		RSVD3,		0x1090,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
197625cac729SPrathamesh Shete 	PINGROUP(spi2_cs0_pcc3,		SPI2_CS0,	RSVD1,			RSVD2,		RSVD3,		0x10a0,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
197725cac729SPrathamesh Shete 	PINGROUP(spi2_cs1_pcc4,		SPI2_CS1,	RSVD1,			RSVD2,		RSVD3,		0x11c8,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
197825cac729SPrathamesh Shete 	PINGROUP(uart3_tx_pcc5,		UARTC_TXD,	RSVD1,			RSVD2,		RSVD3,		0x1078,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
197925cac729SPrathamesh Shete 	PINGROUP(uart3_rx_pcc6,		UARTC_RXD,	RSVD1,			RSVD2,		RSVD3,		0x1070,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
198025cac729SPrathamesh Shete 	PINGROUP(gen2_i2c_scl_pcc7,	I2C2_CLK,	RSVD1,			RSVD2,		RSVD3,		0x1098,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
198125cac729SPrathamesh Shete 	PINGROUP(gen2_i2c_sda_pdd0,	I2C2_DAT,	RSVD1,			RSVD2,		RSVD3,		0x10a8,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
198225cac729SPrathamesh Shete 	PINGROUP(gen8_i2c_scl_pdd1,	I2C8_CLK,	RSVD1,			RSVD2,		RSVD3,		0x1088,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
198325cac729SPrathamesh Shete 	PINGROUP(gen8_i2c_sda_pdd2,	I2C8_DAT,	RSVD1,			RSVD2,		RSVD3,		0x1080,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
198425cac729SPrathamesh Shete 	PINGROUP(touch_clk_pdd3,	GP_PWM4,	TOUCH_CLK,		RSVD2,		RSVD3,		0x1068,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
198525cac729SPrathamesh Shete 	PINGROUP(dmic1_clk_pdd4,	DMIC1_CLK,	RSVD1,			DMIC5_CLK,	RSVD3,		0x11d0,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
198625cac729SPrathamesh Shete 	PINGROUP(dmic1_dat_pdd5,	DMIC1_DAT,	RSVD1,			DMIC5_DAT,	RSVD3,		0x11d8,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
198725cac729SPrathamesh Shete 	PINGROUP(soc_gpio19_pdd6,	RSVD0,		WDT_RESET_OUTB,		RSVD2,		RSVD3,		0x10f8,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
1988*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio49_pee2,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x10c0,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
1989*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio50_pee4,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x10c8,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
1990*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio82_pee3,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x10d0,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
1991*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio71_pff2,	PPC_MODE_1,	RSVD1,			RSVD2,		RSVD3,		0x10d8,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
1992*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio76_pff7,	RSVD0,		RSVD1,			TSC_EDGE_OUT0,	TSC_EDGE_OUT0A,	0x10e0,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
1993*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio74_pff5,	PPC_READY,	PPC_I2C_DAT,		RSVD2,		RSVD3,		0x10e8,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
1994*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio86_phh3,	RSVD0,		SPI5_CS1,		TSC_EDGE_OUT3,	TSC_EDGE_OUT0D,	0x1100,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
1995*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio72_pff3,	PPC_MODE_2,	RSVD1,			RSVD2,		RSVD3,		0x1108,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
1996*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio77_pgg0,	RSVD0,		RSVD1,			TSC_EDGE_OUT1,	TSC_EDGE_OUT0B,	0x1110,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
1997*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio80_pff6,	RSVD0,		PPC_RST_N,		RSVD2,		RSVD3,		0x1118,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
1998*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio84_pgg1,	RSVD0,		RSVD1,			TSC_EDGE_OUT2,	TSC_EDGE_OUT0C,	0x1120,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
1999*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio83_pee5,	RSVD0,		RSVD1,			RSVD2,		RSVD3,		0x1128,		1,	Y,	-1,	7,	6,	8,	-1,	10,	12),
2000*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio73_pff4,	PPC_CC,		PPC_I2C_CLK,		RSVD2,		RSVD3,		0x1130,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
2001*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio70_pff1,	PPC_MODE_0,	RSVD1,			RSVD2,		RSVD3,		0x1138,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
2002*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio85_pgg6,	RSVD0,		SPI4_CS1,		RSVD2,		RSVD3,		0x1148,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
2003*221bb096SPrathamesh Shete 	PINGROUP(soc_gpio69_pff0,	PPC_INT_N,	RSVD1,			RSVD2,		RSVD3,		0x1150,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
2004*221bb096SPrathamesh Shete 	PINGROUP(uart5_tx_pgg7,		UARTE_TXD,	SPI5_SCK,		RSVD2,		RSVD3,		0x1168,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
2005*221bb096SPrathamesh Shete 	PINGROUP(uart5_rx_phh0,		UARTE_RXD,	SPI5_MISO,		RSVD2,		RSVD3,		0x1170,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
2006*221bb096SPrathamesh Shete 	PINGROUP(uart2_tx_pgg2,		UARTB_TXD,	SPI4_SCK,		RSVD2,		RSVD3,		0x1178,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
2007*221bb096SPrathamesh Shete 	PINGROUP(uart2_rx_pgg3,		UARTB_RXD,	SPI4_MISO,		RSVD2,		RSVD3,		0x1180,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
2008*221bb096SPrathamesh Shete 	PINGROUP(uart2_cts_pgg5,	UARTB_CTS,	SPI4_CS0,		RSVD2,		RSVD3,		0x1188,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
2009*221bb096SPrathamesh Shete 	PINGROUP(uart2_rts_pgg4,	UARTB_RTS,	SPI4_MOSI,		RSVD2,		RSVD3,		0x1190,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
2010*221bb096SPrathamesh Shete 	PINGROUP(uart5_cts_phh2,	UARTE_CTS,	SPI5_CS0,		RSVD2,		RSVD3,		0x1198,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
2011*221bb096SPrathamesh Shete 	PINGROUP(uart5_rts_phh1,	UARTE_RTS,	SPI5_MOSI,		RSVD2,		RSVD3,		0x11a0,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
201225cac729SPrathamesh Shete 	PINGROUP(pwm2_pdd7,		GP_PWM2,	LED_BLINK,		RSVD2,		RSVD3,		0x11b0,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
201325cac729SPrathamesh Shete 	PINGROUP(pwm3_pee0,		GP_PWM3,	RSVD1,			RSVD2,		RSVD3,		0x11b8,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
201425cac729SPrathamesh Shete 	PINGROUP(pwm7_pee1,		GP_PWM7,	RSVD1,			RSVD2,		RSVD3,		0x11a8,		1,	Y,	5,	7,	6,	8,	-1,	10,	12),
201525cac729SPrathamesh Shete };
201625cac729SPrathamesh Shete 
201725cac729SPrathamesh Shete static const struct tegra_pinctrl_soc_data tegra238_pinctrl_aon = {
201825cac729SPrathamesh Shete 	.pins = tegra238_aon_pins,
201925cac729SPrathamesh Shete 	.npins = ARRAY_SIZE(tegra238_aon_pins),
202025cac729SPrathamesh Shete 	.functions = tegra238_functions,
202125cac729SPrathamesh Shete 	.nfunctions = ARRAY_SIZE(tegra238_functions),
202225cac729SPrathamesh Shete 	.groups = tegra238_aon_groups,
202325cac729SPrathamesh Shete 	.ngroups = ARRAY_SIZE(tegra238_aon_groups),
202425cac729SPrathamesh Shete 	.hsm_in_mux = false,
202525cac729SPrathamesh Shete 	.schmitt_in_mux = true,
202625cac729SPrathamesh Shete 	.drvtype_in_mux = true,
202725cac729SPrathamesh Shete 	.sfsel_in_mux = true,
202825cac729SPrathamesh Shete };
202925cac729SPrathamesh Shete 
203025cac729SPrathamesh Shete static const struct tegra_pinctrl_soc_data tegra238_pinctrl = {
203125cac729SPrathamesh Shete 	.pins = tegra238_pins,
203225cac729SPrathamesh Shete 	.npins = ARRAY_SIZE(tegra238_pins),
203325cac729SPrathamesh Shete 	.functions = tegra238_functions,
203425cac729SPrathamesh Shete 	.nfunctions = ARRAY_SIZE(tegra238_functions),
203525cac729SPrathamesh Shete 	.groups = tegra238_groups,
203625cac729SPrathamesh Shete 	.ngroups = ARRAY_SIZE(tegra238_groups),
203725cac729SPrathamesh Shete 	.hsm_in_mux = false,
203825cac729SPrathamesh Shete 	.schmitt_in_mux = true,
203925cac729SPrathamesh Shete 	.drvtype_in_mux = true,
204025cac729SPrathamesh Shete 	.sfsel_in_mux = true,
204125cac729SPrathamesh Shete };
204225cac729SPrathamesh Shete 
tegra238_pinctrl_probe(struct platform_device * pdev)204325cac729SPrathamesh Shete static int tegra238_pinctrl_probe(struct platform_device *pdev)
204425cac729SPrathamesh Shete {
204525cac729SPrathamesh Shete 	const struct tegra_pinctrl_soc_data *soc = device_get_match_data(&pdev->dev);
204625cac729SPrathamesh Shete 
204725cac729SPrathamesh Shete 	return tegra_pinctrl_probe(pdev, soc);
204825cac729SPrathamesh Shete }
204925cac729SPrathamesh Shete 
205025cac729SPrathamesh Shete static const struct of_device_id tegra238_pinctrl_of_match[] = {
205125cac729SPrathamesh Shete 	{ .compatible = "nvidia,tegra238-pinmux", .data = &tegra238_pinctrl },
205225cac729SPrathamesh Shete 	{ .compatible = "nvidia,tegra238-pinmux-aon", .data = &tegra238_pinctrl_aon },
205325cac729SPrathamesh Shete 	{ }
205425cac729SPrathamesh Shete };
205525cac729SPrathamesh Shete MODULE_DEVICE_TABLE(of, tegra238_pinctrl_of_match);
205625cac729SPrathamesh Shete 
205725cac729SPrathamesh Shete static struct platform_driver tegra238_pinctrl_driver = {
205825cac729SPrathamesh Shete 	.driver = {
205925cac729SPrathamesh Shete 		.name = "tegra238-pinctrl",
206025cac729SPrathamesh Shete 		.of_match_table = tegra238_pinctrl_of_match,
206125cac729SPrathamesh Shete 	},
206225cac729SPrathamesh Shete 	.probe = tegra238_pinctrl_probe,
206325cac729SPrathamesh Shete };
206425cac729SPrathamesh Shete 
tegra238_pinctrl_init(void)206525cac729SPrathamesh Shete static int __init tegra238_pinctrl_init(void)
206625cac729SPrathamesh Shete {
206725cac729SPrathamesh Shete 	return platform_driver_register(&tegra238_pinctrl_driver);
206825cac729SPrathamesh Shete }
206925cac729SPrathamesh Shete module_init(tegra238_pinctrl_init);
207025cac729SPrathamesh Shete 
tegra238_pinctrl_exit(void)207125cac729SPrathamesh Shete static void __exit tegra238_pinctrl_exit(void)
207225cac729SPrathamesh Shete {
207325cac729SPrathamesh Shete 	platform_driver_unregister(&tegra238_pinctrl_driver);
207425cac729SPrathamesh Shete }
207525cac729SPrathamesh Shete module_exit(tegra238_pinctrl_exit);
207625cac729SPrathamesh Shete 
207725cac729SPrathamesh Shete MODULE_LICENSE("GPL");
207825cac729SPrathamesh Shete MODULE_AUTHOR("NVIDIA Corporation");
207925cac729SPrathamesh Shete MODULE_DESCRIPTION("NVIDIA Tegra238 pinctrl driver");
2080