162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Pinctrl data for the NVIDIA Tegra114 pinmux
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Author: Pritesh Raithatha <praithatha@nvidia.com>
662306a36Sopenharmony_ci *
762306a36Sopenharmony_ci * Copyright (c) 2012-2013, NVIDIA CORPORATION.  All rights reserved.
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#include <linux/init.h>
1162306a36Sopenharmony_ci#include <linux/of.h>
1262306a36Sopenharmony_ci#include <linux/platform_device.h>
1362306a36Sopenharmony_ci#include <linux/pinctrl/pinctrl.h>
1462306a36Sopenharmony_ci#include <linux/pinctrl/pinmux.h>
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci#include "pinctrl-tegra.h"
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci/*
1962306a36Sopenharmony_ci * Most pins affected by the pinmux can also be GPIOs. Define these first.
2062306a36Sopenharmony_ci * These must match how the GPIO driver names/numbers its pins.
2162306a36Sopenharmony_ci */
2262306a36Sopenharmony_ci#define _GPIO(offset)				(offset)
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#define TEGRA_PIN_CLK_32K_OUT_PA0		_GPIO(0)
2562306a36Sopenharmony_ci#define TEGRA_PIN_UART3_CTS_N_PA1		_GPIO(1)
2662306a36Sopenharmony_ci#define TEGRA_PIN_DAP2_FS_PA2			_GPIO(2)
2762306a36Sopenharmony_ci#define TEGRA_PIN_DAP2_SCLK_PA3			_GPIO(3)
2862306a36Sopenharmony_ci#define TEGRA_PIN_DAP2_DIN_PA4			_GPIO(4)
2962306a36Sopenharmony_ci#define TEGRA_PIN_DAP2_DOUT_PA5			_GPIO(5)
3062306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CLK_PA6		_GPIO(6)
3162306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CMD_PA7		_GPIO(7)
3262306a36Sopenharmony_ci#define TEGRA_PIN_GMI_A17_PB0			_GPIO(8)
3362306a36Sopenharmony_ci#define TEGRA_PIN_GMI_A18_PB1			_GPIO(9)
3462306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT3_PB4		_GPIO(12)
3562306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT2_PB5		_GPIO(13)
3662306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT1_PB6		_GPIO(14)
3762306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT0_PB7		_GPIO(15)
3862306a36Sopenharmony_ci#define TEGRA_PIN_UART3_RTS_N_PC0		_GPIO(16)
3962306a36Sopenharmony_ci#define TEGRA_PIN_UART2_TXD_PC2			_GPIO(18)
4062306a36Sopenharmony_ci#define TEGRA_PIN_UART2_RXD_PC3			_GPIO(19)
4162306a36Sopenharmony_ci#define TEGRA_PIN_GEN1_I2C_SCL_PC4		_GPIO(20)
4262306a36Sopenharmony_ci#define TEGRA_PIN_GEN1_I2C_SDA_PC5		_GPIO(21)
4362306a36Sopenharmony_ci#define TEGRA_PIN_GMI_WP_N_PC7			_GPIO(23)
4462306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD0_PG0			_GPIO(48)
4562306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD1_PG1			_GPIO(49)
4662306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD2_PG2			_GPIO(50)
4762306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD3_PG3			_GPIO(51)
4862306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD4_PG4			_GPIO(52)
4962306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD5_PG5			_GPIO(53)
5062306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD6_PG6			_GPIO(54)
5162306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD7_PG7			_GPIO(55)
5262306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD8_PH0			_GPIO(56)
5362306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD9_PH1			_GPIO(57)
5462306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD10_PH2			_GPIO(58)
5562306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD11_PH3			_GPIO(59)
5662306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD12_PH4			_GPIO(60)
5762306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD13_PH5			_GPIO(61)
5862306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD14_PH6			_GPIO(62)
5962306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD15_PH7			_GPIO(63)
6062306a36Sopenharmony_ci#define TEGRA_PIN_GMI_WR_N_PI0			_GPIO(64)
6162306a36Sopenharmony_ci#define TEGRA_PIN_GMI_OE_N_PI1			_GPIO(65)
6262306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS6_N_PI3			_GPIO(67)
6362306a36Sopenharmony_ci#define TEGRA_PIN_GMI_RST_N_PI4			_GPIO(68)
6462306a36Sopenharmony_ci#define TEGRA_PIN_GMI_IORDY_PI5			_GPIO(69)
6562306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS7_N_PI6			_GPIO(70)
6662306a36Sopenharmony_ci#define TEGRA_PIN_GMI_WAIT_PI7			_GPIO(71)
6762306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS0_N_PJ0			_GPIO(72)
6862306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS1_N_PJ2			_GPIO(74)
6962306a36Sopenharmony_ci#define TEGRA_PIN_GMI_DQS_P_PJ3			_GPIO(75)
7062306a36Sopenharmony_ci#define TEGRA_PIN_UART2_CTS_N_PJ5		_GPIO(77)
7162306a36Sopenharmony_ci#define TEGRA_PIN_UART2_RTS_N_PJ6		_GPIO(78)
7262306a36Sopenharmony_ci#define TEGRA_PIN_GMI_A16_PJ7			_GPIO(79)
7362306a36Sopenharmony_ci#define TEGRA_PIN_GMI_ADV_N_PK0			_GPIO(80)
7462306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CLK_PK1			_GPIO(81)
7562306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS4_N_PK2			_GPIO(82)
7662306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS2_N_PK3			_GPIO(83)
7762306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS3_N_PK4			_GPIO(84)
7862306a36Sopenharmony_ci#define TEGRA_PIN_SPDIF_OUT_PK5			_GPIO(85)
7962306a36Sopenharmony_ci#define TEGRA_PIN_SPDIF_IN_PK6			_GPIO(86)
8062306a36Sopenharmony_ci#define TEGRA_PIN_GMI_A19_PK7			_GPIO(87)
8162306a36Sopenharmony_ci#define TEGRA_PIN_DAP1_FS_PN0			_GPIO(104)
8262306a36Sopenharmony_ci#define TEGRA_PIN_DAP1_DIN_PN1			_GPIO(105)
8362306a36Sopenharmony_ci#define TEGRA_PIN_DAP1_DOUT_PN2			_GPIO(106)
8462306a36Sopenharmony_ci#define TEGRA_PIN_DAP1_SCLK_PN3			_GPIO(107)
8562306a36Sopenharmony_ci#define TEGRA_PIN_USB_VBUS_EN0_PN4		_GPIO(108)
8662306a36Sopenharmony_ci#define TEGRA_PIN_USB_VBUS_EN1_PN5		_GPIO(109)
8762306a36Sopenharmony_ci#define TEGRA_PIN_HDMI_INT_PN7			_GPIO(111)
8862306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA7_PO0		_GPIO(112)
8962306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA0_PO1		_GPIO(113)
9062306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA1_PO2		_GPIO(114)
9162306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA2_PO3		_GPIO(115)
9262306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA3_PO4		_GPIO(116)
9362306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA4_PO5		_GPIO(117)
9462306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA5_PO6		_GPIO(118)
9562306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA6_PO7		_GPIO(119)
9662306a36Sopenharmony_ci#define TEGRA_PIN_DAP3_FS_PP0			_GPIO(120)
9762306a36Sopenharmony_ci#define TEGRA_PIN_DAP3_DIN_PP1			_GPIO(121)
9862306a36Sopenharmony_ci#define TEGRA_PIN_DAP3_DOUT_PP2			_GPIO(122)
9962306a36Sopenharmony_ci#define TEGRA_PIN_DAP3_SCLK_PP3			_GPIO(123)
10062306a36Sopenharmony_ci#define TEGRA_PIN_DAP4_FS_PP4			_GPIO(124)
10162306a36Sopenharmony_ci#define TEGRA_PIN_DAP4_DIN_PP5			_GPIO(125)
10262306a36Sopenharmony_ci#define TEGRA_PIN_DAP4_DOUT_PP6			_GPIO(126)
10362306a36Sopenharmony_ci#define TEGRA_PIN_DAP4_SCLK_PP7			_GPIO(127)
10462306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL0_PQ0			_GPIO(128)
10562306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL1_PQ1			_GPIO(129)
10662306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL2_PQ2			_GPIO(130)
10762306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL3_PQ3			_GPIO(131)
10862306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL4_PQ4			_GPIO(132)
10962306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL5_PQ5			_GPIO(133)
11062306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL6_PQ6			_GPIO(134)
11162306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL7_PQ7			_GPIO(135)
11262306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW0_PR0			_GPIO(136)
11362306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW1_PR1			_GPIO(137)
11462306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW2_PR2			_GPIO(138)
11562306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW3_PR3			_GPIO(139)
11662306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW4_PR4			_GPIO(140)
11762306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW5_PR5			_GPIO(141)
11862306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW6_PR6			_GPIO(142)
11962306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW7_PR7			_GPIO(143)
12062306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW8_PS0			_GPIO(144)
12162306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW9_PS1			_GPIO(145)
12262306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW10_PS2			_GPIO(146)
12362306a36Sopenharmony_ci#define TEGRA_PIN_GEN2_I2C_SCL_PT5		_GPIO(157)
12462306a36Sopenharmony_ci#define TEGRA_PIN_GEN2_I2C_SDA_PT6		_GPIO(158)
12562306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_CMD_PT7		_GPIO(159)
12662306a36Sopenharmony_ci#define TEGRA_PIN_PU0				_GPIO(160)
12762306a36Sopenharmony_ci#define TEGRA_PIN_PU1				_GPIO(161)
12862306a36Sopenharmony_ci#define TEGRA_PIN_PU2				_GPIO(162)
12962306a36Sopenharmony_ci#define TEGRA_PIN_PU3				_GPIO(163)
13062306a36Sopenharmony_ci#define TEGRA_PIN_PU4				_GPIO(164)
13162306a36Sopenharmony_ci#define TEGRA_PIN_PU5				_GPIO(165)
13262306a36Sopenharmony_ci#define TEGRA_PIN_PU6				_GPIO(166)
13362306a36Sopenharmony_ci#define TEGRA_PIN_PV0				_GPIO(168)
13462306a36Sopenharmony_ci#define TEGRA_PIN_PV1				_GPIO(169)
13562306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CD_N_PV2		_GPIO(170)
13662306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_WP_N_PV3		_GPIO(171)
13762306a36Sopenharmony_ci#define TEGRA_PIN_DDC_SCL_PV4			_GPIO(172)
13862306a36Sopenharmony_ci#define TEGRA_PIN_DDC_SDA_PV5			_GPIO(173)
13962306a36Sopenharmony_ci#define TEGRA_PIN_GPIO_W2_AUD_PW2		_GPIO(178)
14062306a36Sopenharmony_ci#define TEGRA_PIN_GPIO_W3_AUD_PW3		_GPIO(179)
14162306a36Sopenharmony_ci#define TEGRA_PIN_CLK1_OUT_PW4			_GPIO(180)
14262306a36Sopenharmony_ci#define TEGRA_PIN_CLK2_OUT_PW5			_GPIO(181)
14362306a36Sopenharmony_ci#define TEGRA_PIN_UART3_TXD_PW6			_GPIO(182)
14462306a36Sopenharmony_ci#define TEGRA_PIN_UART3_RXD_PW7			_GPIO(183)
14562306a36Sopenharmony_ci#define TEGRA_PIN_DVFS_PWM_PX0			_GPIO(184)
14662306a36Sopenharmony_ci#define TEGRA_PIN_GPIO_X1_AUD_PX1		_GPIO(185)
14762306a36Sopenharmony_ci#define TEGRA_PIN_DVFS_CLK_PX2			_GPIO(186)
14862306a36Sopenharmony_ci#define TEGRA_PIN_GPIO_X3_AUD_PX3		_GPIO(187)
14962306a36Sopenharmony_ci#define TEGRA_PIN_GPIO_X4_AUD_PX4		_GPIO(188)
15062306a36Sopenharmony_ci#define TEGRA_PIN_GPIO_X5_AUD_PX5		_GPIO(189)
15162306a36Sopenharmony_ci#define TEGRA_PIN_GPIO_X6_AUD_PX6		_GPIO(190)
15262306a36Sopenharmony_ci#define TEGRA_PIN_GPIO_X7_AUD_PX7		_GPIO(191)
15362306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_CLK_PY0			_GPIO(192)
15462306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DIR_PY1			_GPIO(193)
15562306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_NXT_PY2			_GPIO(194)
15662306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_STP_PY3			_GPIO(195)
15762306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT3_PY4		_GPIO(196)
15862306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT2_PY5		_GPIO(197)
15962306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT1_PY6		_GPIO(198)
16062306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT0_PY7		_GPIO(199)
16162306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_CLK_PZ0		_GPIO(200)
16262306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_CMD_PZ1		_GPIO(201)
16362306a36Sopenharmony_ci#define TEGRA_PIN_SYS_CLK_REQ_PZ5		_GPIO(205)
16462306a36Sopenharmony_ci#define TEGRA_PIN_PWR_I2C_SCL_PZ6		_GPIO(206)
16562306a36Sopenharmony_ci#define TEGRA_PIN_PWR_I2C_SDA_PZ7		_GPIO(207)
16662306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT0_PAA0		_GPIO(208)
16762306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT1_PAA1		_GPIO(209)
16862306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT2_PAA2		_GPIO(210)
16962306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT3_PAA3		_GPIO(211)
17062306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT4_PAA4		_GPIO(212)
17162306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT5_PAA5		_GPIO(213)
17262306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT6_PAA6		_GPIO(214)
17362306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT7_PAA7		_GPIO(215)
17462306a36Sopenharmony_ci#define TEGRA_PIN_PBB0				_GPIO(216)
17562306a36Sopenharmony_ci#define TEGRA_PIN_CAM_I2C_SCL_PBB1		_GPIO(217)
17662306a36Sopenharmony_ci#define TEGRA_PIN_CAM_I2C_SDA_PBB2		_GPIO(218)
17762306a36Sopenharmony_ci#define TEGRA_PIN_PBB3				_GPIO(219)
17862306a36Sopenharmony_ci#define TEGRA_PIN_PBB4				_GPIO(220)
17962306a36Sopenharmony_ci#define TEGRA_PIN_PBB5				_GPIO(221)
18062306a36Sopenharmony_ci#define TEGRA_PIN_PBB6				_GPIO(222)
18162306a36Sopenharmony_ci#define TEGRA_PIN_PBB7				_GPIO(223)
18262306a36Sopenharmony_ci#define TEGRA_PIN_CAM_MCLK_PCC0			_GPIO(224)
18362306a36Sopenharmony_ci#define TEGRA_PIN_PCC1				_GPIO(225)
18462306a36Sopenharmony_ci#define TEGRA_PIN_PCC2				_GPIO(226)
18562306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_CLK_PCC4		_GPIO(228)
18662306a36Sopenharmony_ci#define TEGRA_PIN_CLK2_REQ_PCC5			_GPIO(229)
18762306a36Sopenharmony_ci#define TEGRA_PIN_CLK3_OUT_PEE0			_GPIO(240)
18862306a36Sopenharmony_ci#define TEGRA_PIN_CLK3_REQ_PEE1			_GPIO(241)
18962306a36Sopenharmony_ci#define TEGRA_PIN_CLK1_REQ_PEE2			_GPIO(242)
19062306a36Sopenharmony_ci#define TEGRA_PIN_HDMI_CEC_PEE3			_GPIO(243)
19162306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CLK_LB_OUT_PEE4	_GPIO(244)
19262306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CLK_LB_IN_PEE5		_GPIO(245)
19362306a36Sopenharmony_ci
19462306a36Sopenharmony_ci/* All non-GPIO pins follow */
19562306a36Sopenharmony_ci#define NUM_GPIOS				(TEGRA_PIN_SDMMC3_CLK_LB_IN_PEE5 + 1)
19662306a36Sopenharmony_ci#define _PIN(offset)				(NUM_GPIOS + (offset))
19762306a36Sopenharmony_ci
19862306a36Sopenharmony_ci/* Non-GPIO pins */
19962306a36Sopenharmony_ci#define TEGRA_PIN_CORE_PWR_REQ			_PIN(0)
20062306a36Sopenharmony_ci#define TEGRA_PIN_CPU_PWR_REQ			_PIN(1)
20162306a36Sopenharmony_ci#define TEGRA_PIN_PWR_INT_N			_PIN(2)
20262306a36Sopenharmony_ci#define TEGRA_PIN_RESET_OUT_N			_PIN(3)
20362306a36Sopenharmony_ci#define TEGRA_PIN_OWR				_PIN(4)
20462306a36Sopenharmony_ci#define TEGRA_PIN_JTAG_RTCK			_PIN(5)
20562306a36Sopenharmony_ci#define TEGRA_PIN_CLK_32K_IN			_PIN(6)
20662306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CLK_LB			_PIN(7)
20762306a36Sopenharmony_ci
20862306a36Sopenharmony_cistatic const struct pinctrl_pin_desc tegra114_pins[] = {
20962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK_32K_OUT_PA0, "CLK_32K_OUT PA0"),
21062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_CTS_N_PA1, "UART3_CTS_N PA1"),
21162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_FS_PA2, "DAP2_FS PA2"),
21262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_SCLK_PA3, "DAP2_SCLK PA3"),
21362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_DIN_PA4, "DAP2_DIN PA4"),
21462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_DOUT_PA5, "DAP2_DOUT PA5"),
21562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CLK_PA6, "SDMMC3_CLK PA6"),
21662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CMD_PA7, "SDMMC3_CMD PA7"),
21762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_A17_PB0, "GMI_A17 PB0"),
21862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_A18_PB1, "GMI_A18 PB1"),
21962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT3_PB4, "SDMMC3_DAT3 PB4"),
22062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT2_PB5, "SDMMC3_DAT2 PB5"),
22162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT1_PB6, "SDMMC3_DAT1 PB6"),
22262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT0_PB7, "SDMMC3_DAT0 PB7"),
22362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_RTS_N_PC0, "UART3_RTS_N PC0"),
22462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_TXD_PC2, "UART2_TXD PC2"),
22562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_RXD_PC3, "UART2_RXD PC3"),
22662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SCL_PC4, "GEN1_I2C_SCL PC4"),
22762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SDA_PC5, "GEN1_I2C_SDA PC5"),
22862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_WP_N_PC7, "GMI_WP_N PC7"),
22962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD0_PG0, "GMI_AD0 PG0"),
23062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD1_PG1, "GMI_AD1 PG1"),
23162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD2_PG2, "GMI_AD2 PG2"),
23262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD3_PG3, "GMI_AD3 PG3"),
23362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD4_PG4, "GMI_AD4 PG4"),
23462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD5_PG5, "GMI_AD5 PG5"),
23562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD6_PG6, "GMI_AD6 PG6"),
23662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD7_PG7, "GMI_AD7 PG7"),
23762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD8_PH0, "GMI_AD8 PH0"),
23862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD9_PH1, "GMI_AD9 PH1"),
23962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD10_PH2, "GMI_AD10 PH2"),
24062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD11_PH3, "GMI_AD11 PH3"),
24162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD12_PH4, "GMI_AD12 PH4"),
24262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD13_PH5, "GMI_AD13 PH5"),
24362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD14_PH6, "GMI_AD14 PH6"),
24462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD15_PH7, "GMI_AD15 PH7"),
24562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_WR_N_PI0, "GMI_WR_N PI0"),
24662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_OE_N_PI1, "GMI_OE_N PI1"),
24762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS6_N_PI3, "GMI_CS6_N PI3"),
24862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_RST_N_PI4, "GMI_RST_N PI4"),
24962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_IORDY_PI5, "GMI_IORDY PI5"),
25062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS7_N_PI6, "GMI_CS7_N PI6"),
25162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_WAIT_PI7, "GMI_WAIT PI7"),
25262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS0_N_PJ0, "GMI_CS0_N PJ0"),
25362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS1_N_PJ2, "GMI_CS1_N PJ2"),
25462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_DQS_P_PJ3, "GMI_DQS_P PJ3"),
25562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_CTS_N_PJ5, "UART2_CTS_N PJ5"),
25662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_RTS_N_PJ6, "UART2_RTS_N PJ6"),
25762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_A16_PJ7, "GMI_A16 PJ7"),
25862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_ADV_N_PK0, "GMI_ADV_N PK0"),
25962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CLK_PK1, "GMI_CLK PK1"),
26062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS4_N_PK2, "GMI_CS4_N PK2"),
26162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS2_N_PK3, "GMI_CS2_N PK3"),
26262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS3_N_PK4, "GMI_CS3_N PK4"),
26362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPDIF_OUT_PK5, "SPDIF_OUT PK5"),
26462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPDIF_IN_PK6, "SPDIF_IN PK6"),
26562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_A19_PK7, "GMI_A19 PK7"),
26662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_FS_PN0, "DAP1_FS PN0"),
26762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_DIN_PN1, "DAP1_DIN PN1"),
26862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_DOUT_PN2, "DAP1_DOUT PN2"),
26962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_SCLK_PN3, "DAP1_SCLK PN3"),
27062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN0_PN4, "USB_VBUS_EN0 PN4"),
27162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN1_PN5, "USB_VBUS_EN1 PN5"),
27262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_HDMI_INT_PN7, "HDMI_INT PN7"),
27362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA7_PO0, "ULPI_DATA7 PO0"),
27462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA0_PO1, "ULPI_DATA0 PO1"),
27562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA1_PO2, "ULPI_DATA1 PO2"),
27662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA2_PO3, "ULPI_DATA2 PO3"),
27762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA3_PO4, "ULPI_DATA3 PO4"),
27862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA4_PO5, "ULPI_DATA4 PO5"),
27962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA5_PO6, "ULPI_DATA5 PO6"),
28062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA6_PO7, "ULPI_DATA6 PO7"),
28162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_FS_PP0, "DAP3_FS PP0"),
28262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_DIN_PP1, "DAP3_DIN PP1"),
28362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_DOUT_PP2, "DAP3_DOUT PP2"),
28462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_SCLK_PP3, "DAP3_SCLK PP3"),
28562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_FS_PP4, "DAP4_FS PP4"),
28662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_DIN_PP5, "DAP4_DIN PP5"),
28762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_DOUT_PP6, "DAP4_DOUT PP6"),
28862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_SCLK_PP7, "DAP4_SCLK PP7"),
28962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL0_PQ0, "KB_COL0 PQ0"),
29062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL1_PQ1, "KB_COL1 PQ1"),
29162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL2_PQ2, "KB_COL2 PQ2"),
29262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL3_PQ3, "KB_COL3 PQ3"),
29362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL4_PQ4, "KB_COL4 PQ4"),
29462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL5_PQ5, "KB_COL5 PQ5"),
29562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL6_PQ6, "KB_COL6 PQ6"),
29662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL7_PQ7, "KB_COL7 PQ7"),
29762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW0_PR0, "KB_ROW0 PR0"),
29862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW1_PR1, "KB_ROW1 PR1"),
29962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW2_PR2, "KB_ROW2 PR2"),
30062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW3_PR3, "KB_ROW3 PR3"),
30162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW4_PR4, "KB_ROW4 PR4"),
30262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW5_PR5, "KB_ROW5 PR5"),
30362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW6_PR6, "KB_ROW6 PR6"),
30462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW7_PR7, "KB_ROW7 PR7"),
30562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW8_PS0, "KB_ROW8 PS0"),
30662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW9_PS1, "KB_ROW9 PS1"),
30762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW10_PS2, "KB_ROW10 PS2"),
30862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SCL_PT5, "GEN2_I2C_SCL PT5"),
30962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SDA_PT6, "GEN2_I2C_SDA PT6"),
31062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_CMD_PT7, "SDMMC4_CMD PT7"),
31162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU0, "PU0"),
31262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU1, "PU1"),
31362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU2, "PU2"),
31462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU3, "PU3"),
31562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU4, "PU4"),
31662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU5, "PU5"),
31762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU6, "PU6"),
31862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PV0, "PV0"),
31962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PV1, "PV1"),
32062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CD_N_PV2, "SDMMC3_CD_N PV2"),
32162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_WP_N_PV3, "SDMMC1_WP_N PV3"),
32262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DDC_SCL_PV4, "DDC_SCL PV4"),
32362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DDC_SDA_PV5, "DDC_SDA PV5"),
32462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_W2_AUD_PW2, "GPIO_W2_AUD PW2"),
32562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_W3_AUD_PW3, "GPIO_W3_AUD PW3"),
32662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK1_OUT_PW4, "CLK1_OUT PW4"),
32762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK2_OUT_PW5, "CLK2_OUT PW5"),
32862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_TXD_PW6, "UART3_TXD PW6"),
32962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_RXD_PW7, "UART3_RXD PW7"),
33062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DVFS_PWM_PX0, "DVFS_PWM PX0"),
33162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X1_AUD_PX1, "GPIO_X1_AUD PX1"),
33262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DVFS_CLK_PX2, "DVFS_CLK PX2"),
33362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X3_AUD_PX3, "GPIO_X3_AUD PX3"),
33462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X4_AUD_PX4, "GPIO_X4_AUD PX4"),
33562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X5_AUD_PX5, "GPIO_X5_AUD PX5"),
33662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X6_AUD_PX6, "GPIO_X6_AUD PX6"),
33762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X7_AUD_PX7, "GPIO_X7_AUD PX7"),
33862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_CLK_PY0, "ULPI_CLK PY0"),
33962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DIR_PY1, "ULPI_DIR PY1"),
34062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_NXT_PY2, "ULPI_NXT PY2"),
34162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_STP_PY3, "ULPI_STP PY3"),
34262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT3_PY4, "SDMMC1_DAT3 PY4"),
34362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT2_PY5, "SDMMC1_DAT2 PY5"),
34462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT1_PY6, "SDMMC1_DAT1 PY6"),
34562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT0_PY7, "SDMMC1_DAT0 PY7"),
34662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CLK_PZ0, "SDMMC1_CLK PZ0"),
34762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CMD_PZ1, "SDMMC1_CMD PZ1"),
34862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SYS_CLK_REQ_PZ5, "SYS_CLK_REQ PZ5"),
34962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SCL_PZ6, "PWR_I2C_SCL PZ6"),
35062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SDA_PZ7, "PWR_I2C_SDA PZ7"),
35162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT0_PAA0, "SDMMC4_DAT0 PAA0"),
35262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT1_PAA1, "SDMMC4_DAT1 PAA1"),
35362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT2_PAA2, "SDMMC4_DAT2 PAA2"),
35462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT3_PAA3, "SDMMC4_DAT3 PAA3"),
35562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT4_PAA4, "SDMMC4_DAT4 PAA4"),
35662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT5_PAA5, "SDMMC4_DAT5 PAA5"),
35762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT6_PAA6, "SDMMC4_DAT6 PAA6"),
35862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT7_PAA7, "SDMMC4_DAT7 PAA7"),
35962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB0, "PBB0"),
36062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SCL_PBB1, "CAM_I2C_SCL PBB1"),
36162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SDA_PBB2, "CAM_I2C_SDA PBB2"),
36262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB3, "PBB3"),
36362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB4, "PBB4"),
36462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB5, "PBB5"),
36562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB6, "PBB6"),
36662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB7, "PBB7"),
36762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_MCLK_PCC0, "CAM_MCLK PCC0"),
36862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PCC1, "PCC1"),
36962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PCC2, "PCC2"),
37062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_CLK_PCC4, "SDMMC4_CLK PCC4"),
37162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK2_REQ_PCC5, "CLK2_REQ PCC5"),
37262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK3_OUT_PEE0, "CLK3_OUT PEE0"),
37362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK3_REQ_PEE1, "CLK3_REQ PEE1"),
37462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK1_REQ_PEE2, "CLK1_REQ PEE2"),
37562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_HDMI_CEC_PEE3, "HDMI_CEC PEE3"),
37662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CLK_LB_OUT_PEE4, "SDMMC3_CLK_LB_OUT PEE4"),
37762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CLK_LB_IN_PEE5, "SDMMC3_CLK_LB_IN PEE5"),
37862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CORE_PWR_REQ, "CORE_PWR_REQ"),
37962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CPU_PWR_REQ, "CPU_PWR_REQ"),
38062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_INT_N, "PWR_INT_N"),
38162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_RESET_OUT_N, "RESET_OUT_N"),
38262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_OWR, "OWR"),
38362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_RTCK, "JTAG_RTCK"),
38462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK_32K_IN, "CLK_32K_IN"),
38562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CLK_LB, "GMI_CLK_LB"),
38662306a36Sopenharmony_ci};
38762306a36Sopenharmony_ci
38862306a36Sopenharmony_cistatic const unsigned clk_32k_out_pa0_pins[] = {
38962306a36Sopenharmony_ci	TEGRA_PIN_CLK_32K_OUT_PA0,
39062306a36Sopenharmony_ci};
39162306a36Sopenharmony_ci
39262306a36Sopenharmony_cistatic const unsigned uart3_cts_n_pa1_pins[] = {
39362306a36Sopenharmony_ci	TEGRA_PIN_UART3_CTS_N_PA1,
39462306a36Sopenharmony_ci};
39562306a36Sopenharmony_ci
39662306a36Sopenharmony_cistatic const unsigned dap2_fs_pa2_pins[] = {
39762306a36Sopenharmony_ci	TEGRA_PIN_DAP2_FS_PA2,
39862306a36Sopenharmony_ci};
39962306a36Sopenharmony_ci
40062306a36Sopenharmony_cistatic const unsigned dap2_sclk_pa3_pins[] = {
40162306a36Sopenharmony_ci	TEGRA_PIN_DAP2_SCLK_PA3,
40262306a36Sopenharmony_ci};
40362306a36Sopenharmony_ci
40462306a36Sopenharmony_cistatic const unsigned dap2_din_pa4_pins[] = {
40562306a36Sopenharmony_ci	TEGRA_PIN_DAP2_DIN_PA4,
40662306a36Sopenharmony_ci};
40762306a36Sopenharmony_ci
40862306a36Sopenharmony_cistatic const unsigned dap2_dout_pa5_pins[] = {
40962306a36Sopenharmony_ci	TEGRA_PIN_DAP2_DOUT_PA5,
41062306a36Sopenharmony_ci};
41162306a36Sopenharmony_ci
41262306a36Sopenharmony_cistatic const unsigned sdmmc3_clk_pa6_pins[] = {
41362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_PA6,
41462306a36Sopenharmony_ci};
41562306a36Sopenharmony_ci
41662306a36Sopenharmony_cistatic const unsigned sdmmc3_cmd_pa7_pins[] = {
41762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CMD_PA7,
41862306a36Sopenharmony_ci};
41962306a36Sopenharmony_ci
42062306a36Sopenharmony_cistatic const unsigned gmi_a17_pb0_pins[] = {
42162306a36Sopenharmony_ci	TEGRA_PIN_GMI_A17_PB0,
42262306a36Sopenharmony_ci};
42362306a36Sopenharmony_ci
42462306a36Sopenharmony_cistatic const unsigned gmi_a18_pb1_pins[] = {
42562306a36Sopenharmony_ci	TEGRA_PIN_GMI_A18_PB1,
42662306a36Sopenharmony_ci};
42762306a36Sopenharmony_ci
42862306a36Sopenharmony_cistatic const unsigned sdmmc3_dat3_pb4_pins[] = {
42962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT3_PB4,
43062306a36Sopenharmony_ci};
43162306a36Sopenharmony_ci
43262306a36Sopenharmony_cistatic const unsigned sdmmc3_dat2_pb5_pins[] = {
43362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT2_PB5,
43462306a36Sopenharmony_ci};
43562306a36Sopenharmony_ci
43662306a36Sopenharmony_cistatic const unsigned sdmmc3_dat1_pb6_pins[] = {
43762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT1_PB6,
43862306a36Sopenharmony_ci};
43962306a36Sopenharmony_ci
44062306a36Sopenharmony_cistatic const unsigned sdmmc3_dat0_pb7_pins[] = {
44162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT0_PB7,
44262306a36Sopenharmony_ci};
44362306a36Sopenharmony_ci
44462306a36Sopenharmony_cistatic const unsigned uart3_rts_n_pc0_pins[] = {
44562306a36Sopenharmony_ci	TEGRA_PIN_UART3_RTS_N_PC0,
44662306a36Sopenharmony_ci};
44762306a36Sopenharmony_ci
44862306a36Sopenharmony_cistatic const unsigned uart2_txd_pc2_pins[] = {
44962306a36Sopenharmony_ci	TEGRA_PIN_UART2_TXD_PC2,
45062306a36Sopenharmony_ci};
45162306a36Sopenharmony_ci
45262306a36Sopenharmony_cistatic const unsigned uart2_rxd_pc3_pins[] = {
45362306a36Sopenharmony_ci	TEGRA_PIN_UART2_RXD_PC3,
45462306a36Sopenharmony_ci};
45562306a36Sopenharmony_ci
45662306a36Sopenharmony_cistatic const unsigned gen1_i2c_scl_pc4_pins[] = {
45762306a36Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SCL_PC4,
45862306a36Sopenharmony_ci};
45962306a36Sopenharmony_ci
46062306a36Sopenharmony_cistatic const unsigned gen1_i2c_sda_pc5_pins[] = {
46162306a36Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SDA_PC5,
46262306a36Sopenharmony_ci};
46362306a36Sopenharmony_ci
46462306a36Sopenharmony_cistatic const unsigned gmi_wp_n_pc7_pins[] = {
46562306a36Sopenharmony_ci	TEGRA_PIN_GMI_WP_N_PC7,
46662306a36Sopenharmony_ci};
46762306a36Sopenharmony_ci
46862306a36Sopenharmony_cistatic const unsigned gmi_ad0_pg0_pins[] = {
46962306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD0_PG0,
47062306a36Sopenharmony_ci};
47162306a36Sopenharmony_ci
47262306a36Sopenharmony_cistatic const unsigned gmi_ad1_pg1_pins[] = {
47362306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD1_PG1,
47462306a36Sopenharmony_ci};
47562306a36Sopenharmony_ci
47662306a36Sopenharmony_cistatic const unsigned gmi_ad2_pg2_pins[] = {
47762306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD2_PG2,
47862306a36Sopenharmony_ci};
47962306a36Sopenharmony_ci
48062306a36Sopenharmony_cistatic const unsigned gmi_ad3_pg3_pins[] = {
48162306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD3_PG3,
48262306a36Sopenharmony_ci};
48362306a36Sopenharmony_ci
48462306a36Sopenharmony_cistatic const unsigned gmi_ad4_pg4_pins[] = {
48562306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD4_PG4,
48662306a36Sopenharmony_ci};
48762306a36Sopenharmony_ci
48862306a36Sopenharmony_cistatic const unsigned gmi_ad5_pg5_pins[] = {
48962306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD5_PG5,
49062306a36Sopenharmony_ci};
49162306a36Sopenharmony_ci
49262306a36Sopenharmony_cistatic const unsigned gmi_ad6_pg6_pins[] = {
49362306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD6_PG6,
49462306a36Sopenharmony_ci};
49562306a36Sopenharmony_ci
49662306a36Sopenharmony_cistatic const unsigned gmi_ad7_pg7_pins[] = {
49762306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD7_PG7,
49862306a36Sopenharmony_ci};
49962306a36Sopenharmony_ci
50062306a36Sopenharmony_cistatic const unsigned gmi_ad8_ph0_pins[] = {
50162306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD8_PH0,
50262306a36Sopenharmony_ci};
50362306a36Sopenharmony_ci
50462306a36Sopenharmony_cistatic const unsigned gmi_ad9_ph1_pins[] = {
50562306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD9_PH1,
50662306a36Sopenharmony_ci};
50762306a36Sopenharmony_ci
50862306a36Sopenharmony_cistatic const unsigned gmi_ad10_ph2_pins[] = {
50962306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD10_PH2,
51062306a36Sopenharmony_ci};
51162306a36Sopenharmony_ci
51262306a36Sopenharmony_cistatic const unsigned gmi_ad11_ph3_pins[] = {
51362306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD11_PH3,
51462306a36Sopenharmony_ci};
51562306a36Sopenharmony_ci
51662306a36Sopenharmony_cistatic const unsigned gmi_ad12_ph4_pins[] = {
51762306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD12_PH4,
51862306a36Sopenharmony_ci};
51962306a36Sopenharmony_ci
52062306a36Sopenharmony_cistatic const unsigned gmi_ad13_ph5_pins[] = {
52162306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD13_PH5,
52262306a36Sopenharmony_ci};
52362306a36Sopenharmony_ci
52462306a36Sopenharmony_cistatic const unsigned gmi_ad14_ph6_pins[] = {
52562306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD14_PH6,
52662306a36Sopenharmony_ci};
52762306a36Sopenharmony_ci
52862306a36Sopenharmony_cistatic const unsigned gmi_ad15_ph7_pins[] = {
52962306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD15_PH7,
53062306a36Sopenharmony_ci};
53162306a36Sopenharmony_ci
53262306a36Sopenharmony_cistatic const unsigned gmi_wr_n_pi0_pins[] = {
53362306a36Sopenharmony_ci	TEGRA_PIN_GMI_WR_N_PI0,
53462306a36Sopenharmony_ci};
53562306a36Sopenharmony_ci
53662306a36Sopenharmony_cistatic const unsigned gmi_oe_n_pi1_pins[] = {
53762306a36Sopenharmony_ci	TEGRA_PIN_GMI_OE_N_PI1,
53862306a36Sopenharmony_ci};
53962306a36Sopenharmony_ci
54062306a36Sopenharmony_cistatic const unsigned gmi_cs6_n_pi3_pins[] = {
54162306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS6_N_PI3,
54262306a36Sopenharmony_ci};
54362306a36Sopenharmony_ci
54462306a36Sopenharmony_cistatic const unsigned gmi_rst_n_pi4_pins[] = {
54562306a36Sopenharmony_ci	TEGRA_PIN_GMI_RST_N_PI4,
54662306a36Sopenharmony_ci};
54762306a36Sopenharmony_ci
54862306a36Sopenharmony_cistatic const unsigned gmi_iordy_pi5_pins[] = {
54962306a36Sopenharmony_ci	TEGRA_PIN_GMI_IORDY_PI5,
55062306a36Sopenharmony_ci};
55162306a36Sopenharmony_ci
55262306a36Sopenharmony_cistatic const unsigned gmi_cs7_n_pi6_pins[] = {
55362306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS7_N_PI6,
55462306a36Sopenharmony_ci};
55562306a36Sopenharmony_ci
55662306a36Sopenharmony_cistatic const unsigned gmi_wait_pi7_pins[] = {
55762306a36Sopenharmony_ci	TEGRA_PIN_GMI_WAIT_PI7,
55862306a36Sopenharmony_ci};
55962306a36Sopenharmony_ci
56062306a36Sopenharmony_cistatic const unsigned gmi_cs0_n_pj0_pins[] = {
56162306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS0_N_PJ0,
56262306a36Sopenharmony_ci};
56362306a36Sopenharmony_ci
56462306a36Sopenharmony_cistatic const unsigned gmi_cs1_n_pj2_pins[] = {
56562306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS1_N_PJ2,
56662306a36Sopenharmony_ci};
56762306a36Sopenharmony_ci
56862306a36Sopenharmony_cistatic const unsigned gmi_dqs_p_pj3_pins[] = {
56962306a36Sopenharmony_ci	TEGRA_PIN_GMI_DQS_P_PJ3,
57062306a36Sopenharmony_ci};
57162306a36Sopenharmony_ci
57262306a36Sopenharmony_cistatic const unsigned uart2_cts_n_pj5_pins[] = {
57362306a36Sopenharmony_ci	TEGRA_PIN_UART2_CTS_N_PJ5,
57462306a36Sopenharmony_ci};
57562306a36Sopenharmony_ci
57662306a36Sopenharmony_cistatic const unsigned uart2_rts_n_pj6_pins[] = {
57762306a36Sopenharmony_ci	TEGRA_PIN_UART2_RTS_N_PJ6,
57862306a36Sopenharmony_ci};
57962306a36Sopenharmony_ci
58062306a36Sopenharmony_cistatic const unsigned gmi_a16_pj7_pins[] = {
58162306a36Sopenharmony_ci	TEGRA_PIN_GMI_A16_PJ7,
58262306a36Sopenharmony_ci};
58362306a36Sopenharmony_ci
58462306a36Sopenharmony_cistatic const unsigned gmi_adv_n_pk0_pins[] = {
58562306a36Sopenharmony_ci	TEGRA_PIN_GMI_ADV_N_PK0,
58662306a36Sopenharmony_ci};
58762306a36Sopenharmony_ci
58862306a36Sopenharmony_cistatic const unsigned gmi_clk_pk1_pins[] = {
58962306a36Sopenharmony_ci	TEGRA_PIN_GMI_CLK_PK1,
59062306a36Sopenharmony_ci};
59162306a36Sopenharmony_ci
59262306a36Sopenharmony_cistatic const unsigned gmi_cs4_n_pk2_pins[] = {
59362306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS4_N_PK2,
59462306a36Sopenharmony_ci};
59562306a36Sopenharmony_ci
59662306a36Sopenharmony_cistatic const unsigned gmi_cs2_n_pk3_pins[] = {
59762306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS2_N_PK3,
59862306a36Sopenharmony_ci};
59962306a36Sopenharmony_ci
60062306a36Sopenharmony_cistatic const unsigned gmi_cs3_n_pk4_pins[] = {
60162306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS3_N_PK4,
60262306a36Sopenharmony_ci};
60362306a36Sopenharmony_ci
60462306a36Sopenharmony_cistatic const unsigned spdif_out_pk5_pins[] = {
60562306a36Sopenharmony_ci	TEGRA_PIN_SPDIF_OUT_PK5,
60662306a36Sopenharmony_ci};
60762306a36Sopenharmony_ci
60862306a36Sopenharmony_cistatic const unsigned spdif_in_pk6_pins[] = {
60962306a36Sopenharmony_ci	TEGRA_PIN_SPDIF_IN_PK6,
61062306a36Sopenharmony_ci};
61162306a36Sopenharmony_ci
61262306a36Sopenharmony_cistatic const unsigned gmi_a19_pk7_pins[] = {
61362306a36Sopenharmony_ci	TEGRA_PIN_GMI_A19_PK7,
61462306a36Sopenharmony_ci};
61562306a36Sopenharmony_ci
61662306a36Sopenharmony_cistatic const unsigned dap1_fs_pn0_pins[] = {
61762306a36Sopenharmony_ci	TEGRA_PIN_DAP1_FS_PN0,
61862306a36Sopenharmony_ci};
61962306a36Sopenharmony_ci
62062306a36Sopenharmony_cistatic const unsigned dap1_din_pn1_pins[] = {
62162306a36Sopenharmony_ci	TEGRA_PIN_DAP1_DIN_PN1,
62262306a36Sopenharmony_ci};
62362306a36Sopenharmony_ci
62462306a36Sopenharmony_cistatic const unsigned dap1_dout_pn2_pins[] = {
62562306a36Sopenharmony_ci	TEGRA_PIN_DAP1_DOUT_PN2,
62662306a36Sopenharmony_ci};
62762306a36Sopenharmony_ci
62862306a36Sopenharmony_cistatic const unsigned dap1_sclk_pn3_pins[] = {
62962306a36Sopenharmony_ci	TEGRA_PIN_DAP1_SCLK_PN3,
63062306a36Sopenharmony_ci};
63162306a36Sopenharmony_ci
63262306a36Sopenharmony_cistatic const unsigned usb_vbus_en0_pn4_pins[] = {
63362306a36Sopenharmony_ci	TEGRA_PIN_USB_VBUS_EN0_PN4,
63462306a36Sopenharmony_ci};
63562306a36Sopenharmony_ci
63662306a36Sopenharmony_cistatic const unsigned usb_vbus_en1_pn5_pins[] = {
63762306a36Sopenharmony_ci	TEGRA_PIN_USB_VBUS_EN1_PN5,
63862306a36Sopenharmony_ci};
63962306a36Sopenharmony_ci
64062306a36Sopenharmony_cistatic const unsigned hdmi_int_pn7_pins[] = {
64162306a36Sopenharmony_ci	TEGRA_PIN_HDMI_INT_PN7,
64262306a36Sopenharmony_ci};
64362306a36Sopenharmony_ci
64462306a36Sopenharmony_cistatic const unsigned ulpi_data7_po0_pins[] = {
64562306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA7_PO0,
64662306a36Sopenharmony_ci};
64762306a36Sopenharmony_ci
64862306a36Sopenharmony_cistatic const unsigned ulpi_data0_po1_pins[] = {
64962306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA0_PO1,
65062306a36Sopenharmony_ci};
65162306a36Sopenharmony_ci
65262306a36Sopenharmony_cistatic const unsigned ulpi_data1_po2_pins[] = {
65362306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA1_PO2,
65462306a36Sopenharmony_ci};
65562306a36Sopenharmony_ci
65662306a36Sopenharmony_cistatic const unsigned ulpi_data2_po3_pins[] = {
65762306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA2_PO3,
65862306a36Sopenharmony_ci};
65962306a36Sopenharmony_ci
66062306a36Sopenharmony_cistatic const unsigned ulpi_data3_po4_pins[] = {
66162306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA3_PO4,
66262306a36Sopenharmony_ci};
66362306a36Sopenharmony_ci
66462306a36Sopenharmony_cistatic const unsigned ulpi_data4_po5_pins[] = {
66562306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA4_PO5,
66662306a36Sopenharmony_ci};
66762306a36Sopenharmony_ci
66862306a36Sopenharmony_cistatic const unsigned ulpi_data5_po6_pins[] = {
66962306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA5_PO6,
67062306a36Sopenharmony_ci};
67162306a36Sopenharmony_ci
67262306a36Sopenharmony_cistatic const unsigned ulpi_data6_po7_pins[] = {
67362306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA6_PO7,
67462306a36Sopenharmony_ci};
67562306a36Sopenharmony_ci
67662306a36Sopenharmony_cistatic const unsigned dap3_fs_pp0_pins[] = {
67762306a36Sopenharmony_ci	TEGRA_PIN_DAP3_FS_PP0,
67862306a36Sopenharmony_ci};
67962306a36Sopenharmony_ci
68062306a36Sopenharmony_cistatic const unsigned dap3_din_pp1_pins[] = {
68162306a36Sopenharmony_ci	TEGRA_PIN_DAP3_DIN_PP1,
68262306a36Sopenharmony_ci};
68362306a36Sopenharmony_ci
68462306a36Sopenharmony_cistatic const unsigned dap3_dout_pp2_pins[] = {
68562306a36Sopenharmony_ci	TEGRA_PIN_DAP3_DOUT_PP2,
68662306a36Sopenharmony_ci};
68762306a36Sopenharmony_ci
68862306a36Sopenharmony_cistatic const unsigned dap3_sclk_pp3_pins[] = {
68962306a36Sopenharmony_ci	TEGRA_PIN_DAP3_SCLK_PP3,
69062306a36Sopenharmony_ci};
69162306a36Sopenharmony_ci
69262306a36Sopenharmony_cistatic const unsigned dap4_fs_pp4_pins[] = {
69362306a36Sopenharmony_ci	TEGRA_PIN_DAP4_FS_PP4,
69462306a36Sopenharmony_ci};
69562306a36Sopenharmony_ci
69662306a36Sopenharmony_cistatic const unsigned dap4_din_pp5_pins[] = {
69762306a36Sopenharmony_ci	TEGRA_PIN_DAP4_DIN_PP5,
69862306a36Sopenharmony_ci};
69962306a36Sopenharmony_ci
70062306a36Sopenharmony_cistatic const unsigned dap4_dout_pp6_pins[] = {
70162306a36Sopenharmony_ci	TEGRA_PIN_DAP4_DOUT_PP6,
70262306a36Sopenharmony_ci};
70362306a36Sopenharmony_ci
70462306a36Sopenharmony_cistatic const unsigned dap4_sclk_pp7_pins[] = {
70562306a36Sopenharmony_ci	TEGRA_PIN_DAP4_SCLK_PP7,
70662306a36Sopenharmony_ci};
70762306a36Sopenharmony_ci
70862306a36Sopenharmony_cistatic const unsigned kb_col0_pq0_pins[] = {
70962306a36Sopenharmony_ci	TEGRA_PIN_KB_COL0_PQ0,
71062306a36Sopenharmony_ci};
71162306a36Sopenharmony_ci
71262306a36Sopenharmony_cistatic const unsigned kb_col1_pq1_pins[] = {
71362306a36Sopenharmony_ci	TEGRA_PIN_KB_COL1_PQ1,
71462306a36Sopenharmony_ci};
71562306a36Sopenharmony_ci
71662306a36Sopenharmony_cistatic const unsigned kb_col2_pq2_pins[] = {
71762306a36Sopenharmony_ci	TEGRA_PIN_KB_COL2_PQ2,
71862306a36Sopenharmony_ci};
71962306a36Sopenharmony_ci
72062306a36Sopenharmony_cistatic const unsigned kb_col3_pq3_pins[] = {
72162306a36Sopenharmony_ci	TEGRA_PIN_KB_COL3_PQ3,
72262306a36Sopenharmony_ci};
72362306a36Sopenharmony_ci
72462306a36Sopenharmony_cistatic const unsigned kb_col4_pq4_pins[] = {
72562306a36Sopenharmony_ci	TEGRA_PIN_KB_COL4_PQ4,
72662306a36Sopenharmony_ci};
72762306a36Sopenharmony_ci
72862306a36Sopenharmony_cistatic const unsigned kb_col5_pq5_pins[] = {
72962306a36Sopenharmony_ci	TEGRA_PIN_KB_COL5_PQ5,
73062306a36Sopenharmony_ci};
73162306a36Sopenharmony_ci
73262306a36Sopenharmony_cistatic const unsigned kb_col6_pq6_pins[] = {
73362306a36Sopenharmony_ci	TEGRA_PIN_KB_COL6_PQ6,
73462306a36Sopenharmony_ci};
73562306a36Sopenharmony_ci
73662306a36Sopenharmony_cistatic const unsigned kb_col7_pq7_pins[] = {
73762306a36Sopenharmony_ci	TEGRA_PIN_KB_COL7_PQ7,
73862306a36Sopenharmony_ci};
73962306a36Sopenharmony_ci
74062306a36Sopenharmony_cistatic const unsigned kb_row0_pr0_pins[] = {
74162306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW0_PR0,
74262306a36Sopenharmony_ci};
74362306a36Sopenharmony_ci
74462306a36Sopenharmony_cistatic const unsigned kb_row1_pr1_pins[] = {
74562306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW1_PR1,
74662306a36Sopenharmony_ci};
74762306a36Sopenharmony_ci
74862306a36Sopenharmony_cistatic const unsigned kb_row2_pr2_pins[] = {
74962306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW2_PR2,
75062306a36Sopenharmony_ci};
75162306a36Sopenharmony_ci
75262306a36Sopenharmony_cistatic const unsigned kb_row3_pr3_pins[] = {
75362306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW3_PR3,
75462306a36Sopenharmony_ci};
75562306a36Sopenharmony_ci
75662306a36Sopenharmony_cistatic const unsigned kb_row4_pr4_pins[] = {
75762306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW4_PR4,
75862306a36Sopenharmony_ci};
75962306a36Sopenharmony_ci
76062306a36Sopenharmony_cistatic const unsigned kb_row5_pr5_pins[] = {
76162306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW5_PR5,
76262306a36Sopenharmony_ci};
76362306a36Sopenharmony_ci
76462306a36Sopenharmony_cistatic const unsigned kb_row6_pr6_pins[] = {
76562306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW6_PR6,
76662306a36Sopenharmony_ci};
76762306a36Sopenharmony_ci
76862306a36Sopenharmony_cistatic const unsigned kb_row7_pr7_pins[] = {
76962306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW7_PR7,
77062306a36Sopenharmony_ci};
77162306a36Sopenharmony_ci
77262306a36Sopenharmony_cistatic const unsigned kb_row8_ps0_pins[] = {
77362306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW8_PS0,
77462306a36Sopenharmony_ci};
77562306a36Sopenharmony_ci
77662306a36Sopenharmony_cistatic const unsigned kb_row9_ps1_pins[] = {
77762306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW9_PS1,
77862306a36Sopenharmony_ci};
77962306a36Sopenharmony_ci
78062306a36Sopenharmony_cistatic const unsigned kb_row10_ps2_pins[] = {
78162306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW10_PS2,
78262306a36Sopenharmony_ci};
78362306a36Sopenharmony_ci
78462306a36Sopenharmony_cistatic const unsigned gen2_i2c_scl_pt5_pins[] = {
78562306a36Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SCL_PT5,
78662306a36Sopenharmony_ci};
78762306a36Sopenharmony_ci
78862306a36Sopenharmony_cistatic const unsigned gen2_i2c_sda_pt6_pins[] = {
78962306a36Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SDA_PT6,
79062306a36Sopenharmony_ci};
79162306a36Sopenharmony_ci
79262306a36Sopenharmony_cistatic const unsigned sdmmc4_cmd_pt7_pins[] = {
79362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_CMD_PT7,
79462306a36Sopenharmony_ci};
79562306a36Sopenharmony_ci
79662306a36Sopenharmony_cistatic const unsigned pu0_pins[] = {
79762306a36Sopenharmony_ci	TEGRA_PIN_PU0,
79862306a36Sopenharmony_ci};
79962306a36Sopenharmony_ci
80062306a36Sopenharmony_cistatic const unsigned pu1_pins[] = {
80162306a36Sopenharmony_ci	TEGRA_PIN_PU1,
80262306a36Sopenharmony_ci};
80362306a36Sopenharmony_ci
80462306a36Sopenharmony_cistatic const unsigned pu2_pins[] = {
80562306a36Sopenharmony_ci	TEGRA_PIN_PU2,
80662306a36Sopenharmony_ci};
80762306a36Sopenharmony_ci
80862306a36Sopenharmony_cistatic const unsigned pu3_pins[] = {
80962306a36Sopenharmony_ci	TEGRA_PIN_PU3,
81062306a36Sopenharmony_ci};
81162306a36Sopenharmony_ci
81262306a36Sopenharmony_cistatic const unsigned pu4_pins[] = {
81362306a36Sopenharmony_ci	TEGRA_PIN_PU4,
81462306a36Sopenharmony_ci};
81562306a36Sopenharmony_ci
81662306a36Sopenharmony_cistatic const unsigned pu5_pins[] = {
81762306a36Sopenharmony_ci	TEGRA_PIN_PU5,
81862306a36Sopenharmony_ci};
81962306a36Sopenharmony_ci
82062306a36Sopenharmony_cistatic const unsigned pu6_pins[] = {
82162306a36Sopenharmony_ci	TEGRA_PIN_PU6,
82262306a36Sopenharmony_ci};
82362306a36Sopenharmony_ci
82462306a36Sopenharmony_cistatic const unsigned pv0_pins[] = {
82562306a36Sopenharmony_ci	TEGRA_PIN_PV0,
82662306a36Sopenharmony_ci};
82762306a36Sopenharmony_ci
82862306a36Sopenharmony_cistatic const unsigned pv1_pins[] = {
82962306a36Sopenharmony_ci	TEGRA_PIN_PV1,
83062306a36Sopenharmony_ci};
83162306a36Sopenharmony_ci
83262306a36Sopenharmony_cistatic const unsigned sdmmc3_cd_n_pv2_pins[] = {
83362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CD_N_PV2,
83462306a36Sopenharmony_ci};
83562306a36Sopenharmony_ci
83662306a36Sopenharmony_cistatic const unsigned sdmmc1_wp_n_pv3_pins[] = {
83762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_WP_N_PV3,
83862306a36Sopenharmony_ci};
83962306a36Sopenharmony_ci
84062306a36Sopenharmony_cistatic const unsigned ddc_scl_pv4_pins[] = {
84162306a36Sopenharmony_ci	TEGRA_PIN_DDC_SCL_PV4,
84262306a36Sopenharmony_ci};
84362306a36Sopenharmony_ci
84462306a36Sopenharmony_cistatic const unsigned ddc_sda_pv5_pins[] = {
84562306a36Sopenharmony_ci	TEGRA_PIN_DDC_SDA_PV5,
84662306a36Sopenharmony_ci};
84762306a36Sopenharmony_ci
84862306a36Sopenharmony_cistatic const unsigned gpio_w2_aud_pw2_pins[] = {
84962306a36Sopenharmony_ci	TEGRA_PIN_GPIO_W2_AUD_PW2,
85062306a36Sopenharmony_ci};
85162306a36Sopenharmony_ci
85262306a36Sopenharmony_cistatic const unsigned gpio_w3_aud_pw3_pins[] = {
85362306a36Sopenharmony_ci	TEGRA_PIN_GPIO_W3_AUD_PW3,
85462306a36Sopenharmony_ci};
85562306a36Sopenharmony_ci
85662306a36Sopenharmony_cistatic const unsigned clk1_out_pw4_pins[] = {
85762306a36Sopenharmony_ci	TEGRA_PIN_CLK1_OUT_PW4,
85862306a36Sopenharmony_ci};
85962306a36Sopenharmony_ci
86062306a36Sopenharmony_cistatic const unsigned clk2_out_pw5_pins[] = {
86162306a36Sopenharmony_ci	TEGRA_PIN_CLK2_OUT_PW5,
86262306a36Sopenharmony_ci};
86362306a36Sopenharmony_ci
86462306a36Sopenharmony_cistatic const unsigned uart3_txd_pw6_pins[] = {
86562306a36Sopenharmony_ci	TEGRA_PIN_UART3_TXD_PW6,
86662306a36Sopenharmony_ci};
86762306a36Sopenharmony_ci
86862306a36Sopenharmony_cistatic const unsigned uart3_rxd_pw7_pins[] = {
86962306a36Sopenharmony_ci	TEGRA_PIN_UART3_RXD_PW7,
87062306a36Sopenharmony_ci};
87162306a36Sopenharmony_ci
87262306a36Sopenharmony_cistatic const unsigned dvfs_pwm_px0_pins[] = {
87362306a36Sopenharmony_ci	TEGRA_PIN_DVFS_PWM_PX0,
87462306a36Sopenharmony_ci};
87562306a36Sopenharmony_ci
87662306a36Sopenharmony_cistatic const unsigned gpio_x1_aud_px1_pins[] = {
87762306a36Sopenharmony_ci	TEGRA_PIN_GPIO_X1_AUD_PX1,
87862306a36Sopenharmony_ci};
87962306a36Sopenharmony_ci
88062306a36Sopenharmony_cistatic const unsigned dvfs_clk_px2_pins[] = {
88162306a36Sopenharmony_ci	TEGRA_PIN_DVFS_CLK_PX2,
88262306a36Sopenharmony_ci};
88362306a36Sopenharmony_ci
88462306a36Sopenharmony_cistatic const unsigned gpio_x3_aud_px3_pins[] = {
88562306a36Sopenharmony_ci	TEGRA_PIN_GPIO_X3_AUD_PX3,
88662306a36Sopenharmony_ci};
88762306a36Sopenharmony_ci
88862306a36Sopenharmony_cistatic const unsigned gpio_x4_aud_px4_pins[] = {
88962306a36Sopenharmony_ci	TEGRA_PIN_GPIO_X4_AUD_PX4,
89062306a36Sopenharmony_ci};
89162306a36Sopenharmony_ci
89262306a36Sopenharmony_cistatic const unsigned gpio_x5_aud_px5_pins[] = {
89362306a36Sopenharmony_ci	TEGRA_PIN_GPIO_X5_AUD_PX5,
89462306a36Sopenharmony_ci};
89562306a36Sopenharmony_ci
89662306a36Sopenharmony_cistatic const unsigned gpio_x6_aud_px6_pins[] = {
89762306a36Sopenharmony_ci	TEGRA_PIN_GPIO_X6_AUD_PX6,
89862306a36Sopenharmony_ci};
89962306a36Sopenharmony_ci
90062306a36Sopenharmony_cistatic const unsigned gpio_x7_aud_px7_pins[] = {
90162306a36Sopenharmony_ci	TEGRA_PIN_GPIO_X7_AUD_PX7,
90262306a36Sopenharmony_ci};
90362306a36Sopenharmony_ci
90462306a36Sopenharmony_cistatic const unsigned ulpi_clk_py0_pins[] = {
90562306a36Sopenharmony_ci	TEGRA_PIN_ULPI_CLK_PY0,
90662306a36Sopenharmony_ci};
90762306a36Sopenharmony_ci
90862306a36Sopenharmony_cistatic const unsigned ulpi_dir_py1_pins[] = {
90962306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DIR_PY1,
91062306a36Sopenharmony_ci};
91162306a36Sopenharmony_ci
91262306a36Sopenharmony_cistatic const unsigned ulpi_nxt_py2_pins[] = {
91362306a36Sopenharmony_ci	TEGRA_PIN_ULPI_NXT_PY2,
91462306a36Sopenharmony_ci};
91562306a36Sopenharmony_ci
91662306a36Sopenharmony_cistatic const unsigned ulpi_stp_py3_pins[] = {
91762306a36Sopenharmony_ci	TEGRA_PIN_ULPI_STP_PY3,
91862306a36Sopenharmony_ci};
91962306a36Sopenharmony_ci
92062306a36Sopenharmony_cistatic const unsigned sdmmc1_dat3_py4_pins[] = {
92162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT3_PY4,
92262306a36Sopenharmony_ci};
92362306a36Sopenharmony_ci
92462306a36Sopenharmony_cistatic const unsigned sdmmc1_dat2_py5_pins[] = {
92562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT2_PY5,
92662306a36Sopenharmony_ci};
92762306a36Sopenharmony_ci
92862306a36Sopenharmony_cistatic const unsigned sdmmc1_dat1_py6_pins[] = {
92962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT1_PY6,
93062306a36Sopenharmony_ci};
93162306a36Sopenharmony_ci
93262306a36Sopenharmony_cistatic const unsigned sdmmc1_dat0_py7_pins[] = {
93362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT0_PY7,
93462306a36Sopenharmony_ci};
93562306a36Sopenharmony_ci
93662306a36Sopenharmony_cistatic const unsigned sdmmc1_clk_pz0_pins[] = {
93762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_CLK_PZ0,
93862306a36Sopenharmony_ci};
93962306a36Sopenharmony_ci
94062306a36Sopenharmony_cistatic const unsigned sdmmc1_cmd_pz1_pins[] = {
94162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_CMD_PZ1,
94262306a36Sopenharmony_ci};
94362306a36Sopenharmony_ci
94462306a36Sopenharmony_cistatic const unsigned sys_clk_req_pz5_pins[] = {
94562306a36Sopenharmony_ci	TEGRA_PIN_SYS_CLK_REQ_PZ5,
94662306a36Sopenharmony_ci};
94762306a36Sopenharmony_ci
94862306a36Sopenharmony_cistatic const unsigned pwr_i2c_scl_pz6_pins[] = {
94962306a36Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SCL_PZ6,
95062306a36Sopenharmony_ci};
95162306a36Sopenharmony_ci
95262306a36Sopenharmony_cistatic const unsigned pwr_i2c_sda_pz7_pins[] = {
95362306a36Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SDA_PZ7,
95462306a36Sopenharmony_ci};
95562306a36Sopenharmony_ci
95662306a36Sopenharmony_cistatic const unsigned sdmmc4_dat0_paa0_pins[] = {
95762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT0_PAA0,
95862306a36Sopenharmony_ci};
95962306a36Sopenharmony_ci
96062306a36Sopenharmony_cistatic const unsigned sdmmc4_dat1_paa1_pins[] = {
96162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT1_PAA1,
96262306a36Sopenharmony_ci};
96362306a36Sopenharmony_ci
96462306a36Sopenharmony_cistatic const unsigned sdmmc4_dat2_paa2_pins[] = {
96562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT2_PAA2,
96662306a36Sopenharmony_ci};
96762306a36Sopenharmony_ci
96862306a36Sopenharmony_cistatic const unsigned sdmmc4_dat3_paa3_pins[] = {
96962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT3_PAA3,
97062306a36Sopenharmony_ci};
97162306a36Sopenharmony_ci
97262306a36Sopenharmony_cistatic const unsigned sdmmc4_dat4_paa4_pins[] = {
97362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT4_PAA4,
97462306a36Sopenharmony_ci};
97562306a36Sopenharmony_ci
97662306a36Sopenharmony_cistatic const unsigned sdmmc4_dat5_paa5_pins[] = {
97762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT5_PAA5,
97862306a36Sopenharmony_ci};
97962306a36Sopenharmony_ci
98062306a36Sopenharmony_cistatic const unsigned sdmmc4_dat6_paa6_pins[] = {
98162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT6_PAA6,
98262306a36Sopenharmony_ci};
98362306a36Sopenharmony_ci
98462306a36Sopenharmony_cistatic const unsigned sdmmc4_dat7_paa7_pins[] = {
98562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT7_PAA7,
98662306a36Sopenharmony_ci};
98762306a36Sopenharmony_ci
98862306a36Sopenharmony_cistatic const unsigned pbb0_pins[] = {
98962306a36Sopenharmony_ci	TEGRA_PIN_PBB0,
99062306a36Sopenharmony_ci};
99162306a36Sopenharmony_ci
99262306a36Sopenharmony_cistatic const unsigned cam_i2c_scl_pbb1_pins[] = {
99362306a36Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SCL_PBB1,
99462306a36Sopenharmony_ci};
99562306a36Sopenharmony_ci
99662306a36Sopenharmony_cistatic const unsigned cam_i2c_sda_pbb2_pins[] = {
99762306a36Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SDA_PBB2,
99862306a36Sopenharmony_ci};
99962306a36Sopenharmony_ci
100062306a36Sopenharmony_cistatic const unsigned pbb3_pins[] = {
100162306a36Sopenharmony_ci	TEGRA_PIN_PBB3,
100262306a36Sopenharmony_ci};
100362306a36Sopenharmony_ci
100462306a36Sopenharmony_cistatic const unsigned pbb4_pins[] = {
100562306a36Sopenharmony_ci	TEGRA_PIN_PBB4,
100662306a36Sopenharmony_ci};
100762306a36Sopenharmony_ci
100862306a36Sopenharmony_cistatic const unsigned pbb5_pins[] = {
100962306a36Sopenharmony_ci	TEGRA_PIN_PBB5,
101062306a36Sopenharmony_ci};
101162306a36Sopenharmony_ci
101262306a36Sopenharmony_cistatic const unsigned pbb6_pins[] = {
101362306a36Sopenharmony_ci	TEGRA_PIN_PBB6,
101462306a36Sopenharmony_ci};
101562306a36Sopenharmony_ci
101662306a36Sopenharmony_cistatic const unsigned pbb7_pins[] = {
101762306a36Sopenharmony_ci	TEGRA_PIN_PBB7,
101862306a36Sopenharmony_ci};
101962306a36Sopenharmony_ci
102062306a36Sopenharmony_cistatic const unsigned cam_mclk_pcc0_pins[] = {
102162306a36Sopenharmony_ci	TEGRA_PIN_CAM_MCLK_PCC0,
102262306a36Sopenharmony_ci};
102362306a36Sopenharmony_ci
102462306a36Sopenharmony_cistatic const unsigned pcc1_pins[] = {
102562306a36Sopenharmony_ci	TEGRA_PIN_PCC1,
102662306a36Sopenharmony_ci};
102762306a36Sopenharmony_ci
102862306a36Sopenharmony_cistatic const unsigned pcc2_pins[] = {
102962306a36Sopenharmony_ci	TEGRA_PIN_PCC2,
103062306a36Sopenharmony_ci};
103162306a36Sopenharmony_ci
103262306a36Sopenharmony_cistatic const unsigned sdmmc4_clk_pcc4_pins[] = {
103362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_CLK_PCC4,
103462306a36Sopenharmony_ci};
103562306a36Sopenharmony_ci
103662306a36Sopenharmony_cistatic const unsigned clk2_req_pcc5_pins[] = {
103762306a36Sopenharmony_ci	TEGRA_PIN_CLK2_REQ_PCC5,
103862306a36Sopenharmony_ci};
103962306a36Sopenharmony_ci
104062306a36Sopenharmony_cistatic const unsigned clk3_out_pee0_pins[] = {
104162306a36Sopenharmony_ci	TEGRA_PIN_CLK3_OUT_PEE0,
104262306a36Sopenharmony_ci};
104362306a36Sopenharmony_ci
104462306a36Sopenharmony_cistatic const unsigned clk3_req_pee1_pins[] = {
104562306a36Sopenharmony_ci	TEGRA_PIN_CLK3_REQ_PEE1,
104662306a36Sopenharmony_ci};
104762306a36Sopenharmony_ci
104862306a36Sopenharmony_cistatic const unsigned clk1_req_pee2_pins[] = {
104962306a36Sopenharmony_ci	TEGRA_PIN_CLK1_REQ_PEE2,
105062306a36Sopenharmony_ci};
105162306a36Sopenharmony_ci
105262306a36Sopenharmony_cistatic const unsigned hdmi_cec_pee3_pins[] = {
105362306a36Sopenharmony_ci	TEGRA_PIN_HDMI_CEC_PEE3,
105462306a36Sopenharmony_ci};
105562306a36Sopenharmony_ci
105662306a36Sopenharmony_cistatic const unsigned sdmmc3_clk_lb_out_pee4_pins[] = {
105762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_LB_OUT_PEE4,
105862306a36Sopenharmony_ci};
105962306a36Sopenharmony_ci
106062306a36Sopenharmony_cistatic const unsigned sdmmc3_clk_lb_in_pee5_pins[] = {
106162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_LB_IN_PEE5,
106262306a36Sopenharmony_ci};
106362306a36Sopenharmony_ci
106462306a36Sopenharmony_cistatic const unsigned core_pwr_req_pins[] = {
106562306a36Sopenharmony_ci	TEGRA_PIN_CORE_PWR_REQ,
106662306a36Sopenharmony_ci};
106762306a36Sopenharmony_ci
106862306a36Sopenharmony_cistatic const unsigned cpu_pwr_req_pins[] = {
106962306a36Sopenharmony_ci	TEGRA_PIN_CPU_PWR_REQ,
107062306a36Sopenharmony_ci};
107162306a36Sopenharmony_ci
107262306a36Sopenharmony_cistatic const unsigned pwr_int_n_pins[] = {
107362306a36Sopenharmony_ci	TEGRA_PIN_PWR_INT_N,
107462306a36Sopenharmony_ci};
107562306a36Sopenharmony_ci
107662306a36Sopenharmony_cistatic const unsigned reset_out_n_pins[] = {
107762306a36Sopenharmony_ci	TEGRA_PIN_RESET_OUT_N,
107862306a36Sopenharmony_ci};
107962306a36Sopenharmony_ci
108062306a36Sopenharmony_cistatic const unsigned owr_pins[] = {
108162306a36Sopenharmony_ci	TEGRA_PIN_OWR,
108262306a36Sopenharmony_ci};
108362306a36Sopenharmony_ci
108462306a36Sopenharmony_cistatic const unsigned jtag_rtck_pins[] = {
108562306a36Sopenharmony_ci	TEGRA_PIN_JTAG_RTCK,
108662306a36Sopenharmony_ci};
108762306a36Sopenharmony_ci
108862306a36Sopenharmony_cistatic const unsigned clk_32k_in_pins[] = {
108962306a36Sopenharmony_ci	TEGRA_PIN_CLK_32K_IN,
109062306a36Sopenharmony_ci};
109162306a36Sopenharmony_ci
109262306a36Sopenharmony_cistatic const unsigned gmi_clk_lb_pins[] = {
109362306a36Sopenharmony_ci	TEGRA_PIN_GMI_CLK_LB,
109462306a36Sopenharmony_ci};
109562306a36Sopenharmony_ci
109662306a36Sopenharmony_cistatic const unsigned drive_ao1_pins[] = {
109762306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW0_PR0,
109862306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW1_PR1,
109962306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW2_PR2,
110062306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW3_PR3,
110162306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW4_PR4,
110262306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW5_PR5,
110362306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW6_PR6,
110462306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW7_PR7,
110562306a36Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SCL_PZ6,
110662306a36Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SDA_PZ7,
110762306a36Sopenharmony_ci};
110862306a36Sopenharmony_ci
110962306a36Sopenharmony_cistatic const unsigned drive_ao2_pins[] = {
111062306a36Sopenharmony_ci	TEGRA_PIN_CLK_32K_OUT_PA0,
111162306a36Sopenharmony_ci	TEGRA_PIN_KB_COL0_PQ0,
111262306a36Sopenharmony_ci	TEGRA_PIN_KB_COL1_PQ1,
111362306a36Sopenharmony_ci	TEGRA_PIN_KB_COL2_PQ2,
111462306a36Sopenharmony_ci	TEGRA_PIN_KB_COL3_PQ3,
111562306a36Sopenharmony_ci	TEGRA_PIN_KB_COL4_PQ4,
111662306a36Sopenharmony_ci	TEGRA_PIN_KB_COL5_PQ5,
111762306a36Sopenharmony_ci	TEGRA_PIN_KB_COL6_PQ6,
111862306a36Sopenharmony_ci	TEGRA_PIN_KB_COL7_PQ7,
111962306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW8_PS0,
112062306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW9_PS1,
112162306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW10_PS2,
112262306a36Sopenharmony_ci	TEGRA_PIN_SYS_CLK_REQ_PZ5,
112362306a36Sopenharmony_ci	TEGRA_PIN_CORE_PWR_REQ,
112462306a36Sopenharmony_ci	TEGRA_PIN_CPU_PWR_REQ,
112562306a36Sopenharmony_ci	TEGRA_PIN_RESET_OUT_N,
112662306a36Sopenharmony_ci};
112762306a36Sopenharmony_ci
112862306a36Sopenharmony_cistatic const unsigned drive_at1_pins[] = {
112962306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD8_PH0,
113062306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD9_PH1,
113162306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD10_PH2,
113262306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD11_PH3,
113362306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD12_PH4,
113462306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD13_PH5,
113562306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD14_PH6,
113662306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD15_PH7,
113762306a36Sopenharmony_ci	TEGRA_PIN_GMI_IORDY_PI5,
113862306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS7_N_PI6,
113962306a36Sopenharmony_ci};
114062306a36Sopenharmony_ci
114162306a36Sopenharmony_cistatic const unsigned drive_at2_pins[] = {
114262306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD0_PG0,
114362306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD1_PG1,
114462306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD2_PG2,
114562306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD3_PG3,
114662306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD4_PG4,
114762306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD5_PG5,
114862306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD6_PG6,
114962306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD7_PG7,
115062306a36Sopenharmony_ci	TEGRA_PIN_GMI_WR_N_PI0,
115162306a36Sopenharmony_ci	TEGRA_PIN_GMI_OE_N_PI1,
115262306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS6_N_PI3,
115362306a36Sopenharmony_ci	TEGRA_PIN_GMI_RST_N_PI4,
115462306a36Sopenharmony_ci	TEGRA_PIN_GMI_WAIT_PI7,
115562306a36Sopenharmony_ci	TEGRA_PIN_GMI_DQS_P_PJ3,
115662306a36Sopenharmony_ci	TEGRA_PIN_GMI_ADV_N_PK0,
115762306a36Sopenharmony_ci	TEGRA_PIN_GMI_CLK_PK1,
115862306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS4_N_PK2,
115962306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS2_N_PK3,
116062306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS3_N_PK4,
116162306a36Sopenharmony_ci};
116262306a36Sopenharmony_ci
116362306a36Sopenharmony_cistatic const unsigned drive_at3_pins[] = {
116462306a36Sopenharmony_ci	TEGRA_PIN_GMI_WP_N_PC7,
116562306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS0_N_PJ0,
116662306a36Sopenharmony_ci};
116762306a36Sopenharmony_ci
116862306a36Sopenharmony_cistatic const unsigned drive_at4_pins[] = {
116962306a36Sopenharmony_ci	TEGRA_PIN_GMI_A17_PB0,
117062306a36Sopenharmony_ci	TEGRA_PIN_GMI_A18_PB1,
117162306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS1_N_PJ2,
117262306a36Sopenharmony_ci	TEGRA_PIN_GMI_A16_PJ7,
117362306a36Sopenharmony_ci	TEGRA_PIN_GMI_A19_PK7,
117462306a36Sopenharmony_ci};
117562306a36Sopenharmony_ci
117662306a36Sopenharmony_cistatic const unsigned drive_at5_pins[] = {
117762306a36Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SCL_PT5,
117862306a36Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SDA_PT6,
117962306a36Sopenharmony_ci};
118062306a36Sopenharmony_ci
118162306a36Sopenharmony_cistatic const unsigned drive_cdev1_pins[] = {
118262306a36Sopenharmony_ci	TEGRA_PIN_CLK1_OUT_PW4,
118362306a36Sopenharmony_ci	TEGRA_PIN_CLK1_REQ_PEE2,
118462306a36Sopenharmony_ci};
118562306a36Sopenharmony_ci
118662306a36Sopenharmony_cistatic const unsigned drive_cdev2_pins[] = {
118762306a36Sopenharmony_ci	TEGRA_PIN_CLK2_OUT_PW5,
118862306a36Sopenharmony_ci	TEGRA_PIN_CLK2_REQ_PCC5,
118962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_WP_N_PV3,
119062306a36Sopenharmony_ci};
119162306a36Sopenharmony_ci
119262306a36Sopenharmony_cistatic const unsigned drive_dap1_pins[] = {
119362306a36Sopenharmony_ci	TEGRA_PIN_DAP1_FS_PN0,
119462306a36Sopenharmony_ci	TEGRA_PIN_DAP1_DIN_PN1,
119562306a36Sopenharmony_ci	TEGRA_PIN_DAP1_DOUT_PN2,
119662306a36Sopenharmony_ci	TEGRA_PIN_DAP1_SCLK_PN3,
119762306a36Sopenharmony_ci};
119862306a36Sopenharmony_ci
119962306a36Sopenharmony_cistatic const unsigned drive_dap2_pins[] = {
120062306a36Sopenharmony_ci	TEGRA_PIN_DAP2_FS_PA2,
120162306a36Sopenharmony_ci	TEGRA_PIN_DAP2_SCLK_PA3,
120262306a36Sopenharmony_ci	TEGRA_PIN_DAP2_DIN_PA4,
120362306a36Sopenharmony_ci	TEGRA_PIN_DAP2_DOUT_PA5,
120462306a36Sopenharmony_ci};
120562306a36Sopenharmony_ci
120662306a36Sopenharmony_cistatic const unsigned drive_dap3_pins[] = {
120762306a36Sopenharmony_ci	TEGRA_PIN_DAP3_FS_PP0,
120862306a36Sopenharmony_ci	TEGRA_PIN_DAP3_DIN_PP1,
120962306a36Sopenharmony_ci	TEGRA_PIN_DAP3_DOUT_PP2,
121062306a36Sopenharmony_ci	TEGRA_PIN_DAP3_SCLK_PP3,
121162306a36Sopenharmony_ci};
121262306a36Sopenharmony_ci
121362306a36Sopenharmony_cistatic const unsigned drive_dap4_pins[] = {
121462306a36Sopenharmony_ci	TEGRA_PIN_DAP4_FS_PP4,
121562306a36Sopenharmony_ci	TEGRA_PIN_DAP4_DIN_PP5,
121662306a36Sopenharmony_ci	TEGRA_PIN_DAP4_DOUT_PP6,
121762306a36Sopenharmony_ci	TEGRA_PIN_DAP4_SCLK_PP7,
121862306a36Sopenharmony_ci};
121962306a36Sopenharmony_ci
122062306a36Sopenharmony_cistatic const unsigned drive_dbg_pins[] = {
122162306a36Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SCL_PC4,
122262306a36Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SDA_PC5,
122362306a36Sopenharmony_ci	TEGRA_PIN_PU0,
122462306a36Sopenharmony_ci	TEGRA_PIN_PU1,
122562306a36Sopenharmony_ci	TEGRA_PIN_PU2,
122662306a36Sopenharmony_ci	TEGRA_PIN_PU3,
122762306a36Sopenharmony_ci	TEGRA_PIN_PU4,
122862306a36Sopenharmony_ci	TEGRA_PIN_PU5,
122962306a36Sopenharmony_ci	TEGRA_PIN_PU6,
123062306a36Sopenharmony_ci};
123162306a36Sopenharmony_ci
123262306a36Sopenharmony_cistatic const unsigned drive_sdio3_pins[] = {
123362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_PA6,
123462306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CMD_PA7,
123562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT3_PB4,
123662306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT2_PB5,
123762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT1_PB6,
123862306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT0_PB7,
123962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_LB_OUT_PEE4,
124062306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_LB_IN_PEE5,
124162306a36Sopenharmony_ci};
124262306a36Sopenharmony_ci
124362306a36Sopenharmony_cistatic const unsigned drive_spi_pins[] = {
124462306a36Sopenharmony_ci	TEGRA_PIN_DVFS_PWM_PX0,
124562306a36Sopenharmony_ci	TEGRA_PIN_GPIO_X1_AUD_PX1,
124662306a36Sopenharmony_ci	TEGRA_PIN_DVFS_CLK_PX2,
124762306a36Sopenharmony_ci	TEGRA_PIN_GPIO_X3_AUD_PX3,
124862306a36Sopenharmony_ci	TEGRA_PIN_GPIO_X4_AUD_PX4,
124962306a36Sopenharmony_ci	TEGRA_PIN_GPIO_X5_AUD_PX5,
125062306a36Sopenharmony_ci	TEGRA_PIN_GPIO_X6_AUD_PX6,
125162306a36Sopenharmony_ci	TEGRA_PIN_GPIO_X7_AUD_PX7,
125262306a36Sopenharmony_ci	TEGRA_PIN_GPIO_W2_AUD_PW2,
125362306a36Sopenharmony_ci	TEGRA_PIN_GPIO_W3_AUD_PW3,
125462306a36Sopenharmony_ci};
125562306a36Sopenharmony_ci
125662306a36Sopenharmony_cistatic const unsigned drive_uaa_pins[] = {
125762306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA0_PO1,
125862306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA1_PO2,
125962306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA2_PO3,
126062306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA3_PO4,
126162306a36Sopenharmony_ci};
126262306a36Sopenharmony_ci
126362306a36Sopenharmony_cistatic const unsigned drive_uab_pins[] = {
126462306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA7_PO0,
126562306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA4_PO5,
126662306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA5_PO6,
126762306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA6_PO7,
126862306a36Sopenharmony_ci	TEGRA_PIN_PV0,
126962306a36Sopenharmony_ci	TEGRA_PIN_PV1,
127062306a36Sopenharmony_ci};
127162306a36Sopenharmony_ci
127262306a36Sopenharmony_cistatic const unsigned drive_uart2_pins[] = {
127362306a36Sopenharmony_ci	TEGRA_PIN_UART2_TXD_PC2,
127462306a36Sopenharmony_ci	TEGRA_PIN_UART2_RXD_PC3,
127562306a36Sopenharmony_ci	TEGRA_PIN_UART2_CTS_N_PJ5,
127662306a36Sopenharmony_ci	TEGRA_PIN_UART2_RTS_N_PJ6,
127762306a36Sopenharmony_ci};
127862306a36Sopenharmony_ci
127962306a36Sopenharmony_cistatic const unsigned drive_uart3_pins[] = {
128062306a36Sopenharmony_ci	TEGRA_PIN_UART3_CTS_N_PA1,
128162306a36Sopenharmony_ci	TEGRA_PIN_UART3_RTS_N_PC0,
128262306a36Sopenharmony_ci	TEGRA_PIN_UART3_TXD_PW6,
128362306a36Sopenharmony_ci	TEGRA_PIN_UART3_RXD_PW7,
128462306a36Sopenharmony_ci};
128562306a36Sopenharmony_ci
128662306a36Sopenharmony_cistatic const unsigned drive_sdio1_pins[] = {
128762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT3_PY4,
128862306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT2_PY5,
128962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT1_PY6,
129062306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT0_PY7,
129162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_CLK_PZ0,
129262306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_CMD_PZ1,
129362306a36Sopenharmony_ci};
129462306a36Sopenharmony_ci
129562306a36Sopenharmony_cistatic const unsigned drive_ddc_pins[] = {
129662306a36Sopenharmony_ci	TEGRA_PIN_DDC_SCL_PV4,
129762306a36Sopenharmony_ci	TEGRA_PIN_DDC_SDA_PV5,
129862306a36Sopenharmony_ci};
129962306a36Sopenharmony_ci
130062306a36Sopenharmony_cistatic const unsigned drive_gma_pins[] = {
130162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_CLK_PCC4,
130262306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_CMD_PT7,
130362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT0_PAA0,
130462306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT1_PAA1,
130562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT2_PAA2,
130662306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT3_PAA3,
130762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT4_PAA4,
130862306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT5_PAA5,
130962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT6_PAA6,
131062306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT7_PAA7,
131162306a36Sopenharmony_ci};
131262306a36Sopenharmony_ci
131362306a36Sopenharmony_cistatic const unsigned drive_gme_pins[] = {
131462306a36Sopenharmony_ci	TEGRA_PIN_PBB0,
131562306a36Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SCL_PBB1,
131662306a36Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SDA_PBB2,
131762306a36Sopenharmony_ci	TEGRA_PIN_PBB3,
131862306a36Sopenharmony_ci	TEGRA_PIN_PCC2,
131962306a36Sopenharmony_ci};
132062306a36Sopenharmony_ci
132162306a36Sopenharmony_cistatic const unsigned drive_gmf_pins[] = {
132262306a36Sopenharmony_ci	TEGRA_PIN_PBB4,
132362306a36Sopenharmony_ci	TEGRA_PIN_PBB5,
132462306a36Sopenharmony_ci	TEGRA_PIN_PBB6,
132562306a36Sopenharmony_ci	TEGRA_PIN_PBB7,
132662306a36Sopenharmony_ci};
132762306a36Sopenharmony_ci
132862306a36Sopenharmony_cistatic const unsigned drive_gmg_pins[] = {
132962306a36Sopenharmony_ci	TEGRA_PIN_CAM_MCLK_PCC0,
133062306a36Sopenharmony_ci};
133162306a36Sopenharmony_ci
133262306a36Sopenharmony_cistatic const unsigned drive_gmh_pins[] = {
133362306a36Sopenharmony_ci	TEGRA_PIN_PCC1,
133462306a36Sopenharmony_ci};
133562306a36Sopenharmony_ci
133662306a36Sopenharmony_cistatic const unsigned drive_owr_pins[] = {
133762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CD_N_PV2,
133862306a36Sopenharmony_ci};
133962306a36Sopenharmony_ci
134062306a36Sopenharmony_cistatic const unsigned drive_uda_pins[] = {
134162306a36Sopenharmony_ci	TEGRA_PIN_ULPI_CLK_PY0,
134262306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DIR_PY1,
134362306a36Sopenharmony_ci	TEGRA_PIN_ULPI_NXT_PY2,
134462306a36Sopenharmony_ci	TEGRA_PIN_ULPI_STP_PY3,
134562306a36Sopenharmony_ci};
134662306a36Sopenharmony_ci
134762306a36Sopenharmony_cistatic const unsigned drive_dev3_pins[] = {
134862306a36Sopenharmony_ci};
134962306a36Sopenharmony_ci
135062306a36Sopenharmony_cistatic const unsigned drive_cec_pins[] = {
135162306a36Sopenharmony_ci};
135262306a36Sopenharmony_ci
135362306a36Sopenharmony_cistatic const unsigned drive_at6_pins[] = {
135462306a36Sopenharmony_ci};
135562306a36Sopenharmony_ci
135662306a36Sopenharmony_cistatic const unsigned drive_dap5_pins[] = {
135762306a36Sopenharmony_ci};
135862306a36Sopenharmony_ci
135962306a36Sopenharmony_cistatic const unsigned drive_usb_vbus_en_pins[] = {
136062306a36Sopenharmony_ci};
136162306a36Sopenharmony_ci
136262306a36Sopenharmony_cistatic const unsigned drive_ao3_pins[] = {
136362306a36Sopenharmony_ci};
136462306a36Sopenharmony_ci
136562306a36Sopenharmony_cistatic const unsigned drive_hv0_pins[] = {
136662306a36Sopenharmony_ci};
136762306a36Sopenharmony_ci
136862306a36Sopenharmony_cistatic const unsigned drive_sdio4_pins[] = {
136962306a36Sopenharmony_ci};
137062306a36Sopenharmony_ci
137162306a36Sopenharmony_cistatic const unsigned drive_ao0_pins[] = {
137262306a36Sopenharmony_ci};
137362306a36Sopenharmony_ci
137462306a36Sopenharmony_cienum tegra_mux {
137562306a36Sopenharmony_ci	TEGRA_MUX_BLINK,
137662306a36Sopenharmony_ci	TEGRA_MUX_CEC,
137762306a36Sopenharmony_ci	TEGRA_MUX_CLDVFS,
137862306a36Sopenharmony_ci	TEGRA_MUX_CLK,
137962306a36Sopenharmony_ci	TEGRA_MUX_CLK12,
138062306a36Sopenharmony_ci	TEGRA_MUX_CPU,
138162306a36Sopenharmony_ci	TEGRA_MUX_DAP,
138262306a36Sopenharmony_ci	TEGRA_MUX_DAP1,
138362306a36Sopenharmony_ci	TEGRA_MUX_DAP2,
138462306a36Sopenharmony_ci	TEGRA_MUX_DEV3,
138562306a36Sopenharmony_ci	TEGRA_MUX_DISPLAYA,
138662306a36Sopenharmony_ci	TEGRA_MUX_DISPLAYA_ALT,
138762306a36Sopenharmony_ci	TEGRA_MUX_DISPLAYB,
138862306a36Sopenharmony_ci	TEGRA_MUX_DTV,
138962306a36Sopenharmony_ci	TEGRA_MUX_EMC_DLL,
139062306a36Sopenharmony_ci	TEGRA_MUX_EXTPERIPH1,
139162306a36Sopenharmony_ci	TEGRA_MUX_EXTPERIPH2,
139262306a36Sopenharmony_ci	TEGRA_MUX_EXTPERIPH3,
139362306a36Sopenharmony_ci	TEGRA_MUX_GMI,
139462306a36Sopenharmony_ci	TEGRA_MUX_GMI_ALT,
139562306a36Sopenharmony_ci	TEGRA_MUX_HDA,
139662306a36Sopenharmony_ci	TEGRA_MUX_HSI,
139762306a36Sopenharmony_ci	TEGRA_MUX_I2C1,
139862306a36Sopenharmony_ci	TEGRA_MUX_I2C2,
139962306a36Sopenharmony_ci	TEGRA_MUX_I2C3,
140062306a36Sopenharmony_ci	TEGRA_MUX_I2C4,
140162306a36Sopenharmony_ci	TEGRA_MUX_I2CPWR,
140262306a36Sopenharmony_ci	TEGRA_MUX_I2S0,
140362306a36Sopenharmony_ci	TEGRA_MUX_I2S1,
140462306a36Sopenharmony_ci	TEGRA_MUX_I2S2,
140562306a36Sopenharmony_ci	TEGRA_MUX_I2S3,
140662306a36Sopenharmony_ci	TEGRA_MUX_I2S4,
140762306a36Sopenharmony_ci	TEGRA_MUX_IRDA,
140862306a36Sopenharmony_ci	TEGRA_MUX_KBC,
140962306a36Sopenharmony_ci	TEGRA_MUX_NAND,
141062306a36Sopenharmony_ci	TEGRA_MUX_NAND_ALT,
141162306a36Sopenharmony_ci	TEGRA_MUX_OWR,
141262306a36Sopenharmony_ci	TEGRA_MUX_PMI,
141362306a36Sopenharmony_ci	TEGRA_MUX_PWM0,
141462306a36Sopenharmony_ci	TEGRA_MUX_PWM1,
141562306a36Sopenharmony_ci	TEGRA_MUX_PWM2,
141662306a36Sopenharmony_ci	TEGRA_MUX_PWM3,
141762306a36Sopenharmony_ci	TEGRA_MUX_PWRON,
141862306a36Sopenharmony_ci	TEGRA_MUX_RESET_OUT_N,
141962306a36Sopenharmony_ci	TEGRA_MUX_RSVD1,
142062306a36Sopenharmony_ci	TEGRA_MUX_RSVD2,
142162306a36Sopenharmony_ci	TEGRA_MUX_RSVD3,
142262306a36Sopenharmony_ci	TEGRA_MUX_RSVD4,
142362306a36Sopenharmony_ci	TEGRA_MUX_RTCK,
142462306a36Sopenharmony_ci	TEGRA_MUX_SDMMC1,
142562306a36Sopenharmony_ci	TEGRA_MUX_SDMMC2,
142662306a36Sopenharmony_ci	TEGRA_MUX_SDMMC3,
142762306a36Sopenharmony_ci	TEGRA_MUX_SDMMC4,
142862306a36Sopenharmony_ci	TEGRA_MUX_SOC,
142962306a36Sopenharmony_ci	TEGRA_MUX_SPDIF,
143062306a36Sopenharmony_ci	TEGRA_MUX_SPI1,
143162306a36Sopenharmony_ci	TEGRA_MUX_SPI2,
143262306a36Sopenharmony_ci	TEGRA_MUX_SPI3,
143362306a36Sopenharmony_ci	TEGRA_MUX_SPI4,
143462306a36Sopenharmony_ci	TEGRA_MUX_SPI5,
143562306a36Sopenharmony_ci	TEGRA_MUX_SPI6,
143662306a36Sopenharmony_ci	TEGRA_MUX_SYSCLK,
143762306a36Sopenharmony_ci	TEGRA_MUX_TRACE,
143862306a36Sopenharmony_ci	TEGRA_MUX_UARTA,
143962306a36Sopenharmony_ci	TEGRA_MUX_UARTB,
144062306a36Sopenharmony_ci	TEGRA_MUX_UARTC,
144162306a36Sopenharmony_ci	TEGRA_MUX_UARTD,
144262306a36Sopenharmony_ci	TEGRA_MUX_ULPI,
144362306a36Sopenharmony_ci	TEGRA_MUX_USB,
144462306a36Sopenharmony_ci	TEGRA_MUX_VGP1,
144562306a36Sopenharmony_ci	TEGRA_MUX_VGP2,
144662306a36Sopenharmony_ci	TEGRA_MUX_VGP3,
144762306a36Sopenharmony_ci	TEGRA_MUX_VGP4,
144862306a36Sopenharmony_ci	TEGRA_MUX_VGP5,
144962306a36Sopenharmony_ci	TEGRA_MUX_VGP6,
145062306a36Sopenharmony_ci	TEGRA_MUX_VI,
145162306a36Sopenharmony_ci	TEGRA_MUX_VI_ALT1,
145262306a36Sopenharmony_ci	TEGRA_MUX_VI_ALT3,
145362306a36Sopenharmony_ci};
145462306a36Sopenharmony_ci
145562306a36Sopenharmony_ci#define FUNCTION(fname) #fname
145662306a36Sopenharmony_ci
145762306a36Sopenharmony_cistatic const char * const tegra114_functions[] = {
145862306a36Sopenharmony_ci	FUNCTION(blink),
145962306a36Sopenharmony_ci	FUNCTION(cec),
146062306a36Sopenharmony_ci	FUNCTION(cldvfs),
146162306a36Sopenharmony_ci	FUNCTION(clk),
146262306a36Sopenharmony_ci	FUNCTION(clk12),
146362306a36Sopenharmony_ci	FUNCTION(cpu),
146462306a36Sopenharmony_ci	FUNCTION(dap),
146562306a36Sopenharmony_ci	FUNCTION(dap1),
146662306a36Sopenharmony_ci	FUNCTION(dap2),
146762306a36Sopenharmony_ci	FUNCTION(dev3),
146862306a36Sopenharmony_ci	FUNCTION(displaya),
146962306a36Sopenharmony_ci	FUNCTION(displaya_alt),
147062306a36Sopenharmony_ci	FUNCTION(displayb),
147162306a36Sopenharmony_ci	FUNCTION(dtv),
147262306a36Sopenharmony_ci	FUNCTION(emc_dll),
147362306a36Sopenharmony_ci	FUNCTION(extperiph1),
147462306a36Sopenharmony_ci	FUNCTION(extperiph2),
147562306a36Sopenharmony_ci	FUNCTION(extperiph3),
147662306a36Sopenharmony_ci	FUNCTION(gmi),
147762306a36Sopenharmony_ci	FUNCTION(gmi_alt),
147862306a36Sopenharmony_ci	FUNCTION(hda),
147962306a36Sopenharmony_ci	FUNCTION(hsi),
148062306a36Sopenharmony_ci	FUNCTION(i2c1),
148162306a36Sopenharmony_ci	FUNCTION(i2c2),
148262306a36Sopenharmony_ci	FUNCTION(i2c3),
148362306a36Sopenharmony_ci	FUNCTION(i2c4),
148462306a36Sopenharmony_ci	FUNCTION(i2cpwr),
148562306a36Sopenharmony_ci	FUNCTION(i2s0),
148662306a36Sopenharmony_ci	FUNCTION(i2s1),
148762306a36Sopenharmony_ci	FUNCTION(i2s2),
148862306a36Sopenharmony_ci	FUNCTION(i2s3),
148962306a36Sopenharmony_ci	FUNCTION(i2s4),
149062306a36Sopenharmony_ci	FUNCTION(irda),
149162306a36Sopenharmony_ci	FUNCTION(kbc),
149262306a36Sopenharmony_ci	FUNCTION(nand),
149362306a36Sopenharmony_ci	FUNCTION(nand_alt),
149462306a36Sopenharmony_ci	FUNCTION(owr),
149562306a36Sopenharmony_ci	FUNCTION(pmi),
149662306a36Sopenharmony_ci	FUNCTION(pwm0),
149762306a36Sopenharmony_ci	FUNCTION(pwm1),
149862306a36Sopenharmony_ci	FUNCTION(pwm2),
149962306a36Sopenharmony_ci	FUNCTION(pwm3),
150062306a36Sopenharmony_ci	FUNCTION(pwron),
150162306a36Sopenharmony_ci	FUNCTION(reset_out_n),
150262306a36Sopenharmony_ci	FUNCTION(rsvd1),
150362306a36Sopenharmony_ci	FUNCTION(rsvd2),
150462306a36Sopenharmony_ci	FUNCTION(rsvd3),
150562306a36Sopenharmony_ci	FUNCTION(rsvd4),
150662306a36Sopenharmony_ci	FUNCTION(rtck),
150762306a36Sopenharmony_ci	FUNCTION(sdmmc1),
150862306a36Sopenharmony_ci	FUNCTION(sdmmc2),
150962306a36Sopenharmony_ci	FUNCTION(sdmmc3),
151062306a36Sopenharmony_ci	FUNCTION(sdmmc4),
151162306a36Sopenharmony_ci	FUNCTION(soc),
151262306a36Sopenharmony_ci	FUNCTION(spdif),
151362306a36Sopenharmony_ci	FUNCTION(spi1),
151462306a36Sopenharmony_ci	FUNCTION(spi2),
151562306a36Sopenharmony_ci	FUNCTION(spi3),
151662306a36Sopenharmony_ci	FUNCTION(spi4),
151762306a36Sopenharmony_ci	FUNCTION(spi5),
151862306a36Sopenharmony_ci	FUNCTION(spi6),
151962306a36Sopenharmony_ci	FUNCTION(sysclk),
152062306a36Sopenharmony_ci	FUNCTION(trace),
152162306a36Sopenharmony_ci	FUNCTION(uarta),
152262306a36Sopenharmony_ci	FUNCTION(uartb),
152362306a36Sopenharmony_ci	FUNCTION(uartc),
152462306a36Sopenharmony_ci	FUNCTION(uartd),
152562306a36Sopenharmony_ci	FUNCTION(ulpi),
152662306a36Sopenharmony_ci	FUNCTION(usb),
152762306a36Sopenharmony_ci	FUNCTION(vgp1),
152862306a36Sopenharmony_ci	FUNCTION(vgp2),
152962306a36Sopenharmony_ci	FUNCTION(vgp3),
153062306a36Sopenharmony_ci	FUNCTION(vgp4),
153162306a36Sopenharmony_ci	FUNCTION(vgp5),
153262306a36Sopenharmony_ci	FUNCTION(vgp6),
153362306a36Sopenharmony_ci	FUNCTION(vi),
153462306a36Sopenharmony_ci	FUNCTION(vi_alt1),
153562306a36Sopenharmony_ci	FUNCTION(vi_alt3),
153662306a36Sopenharmony_ci};
153762306a36Sopenharmony_ci
153862306a36Sopenharmony_ci#define DRV_PINGROUP_REG_A		0x868	/* bank 0 */
153962306a36Sopenharmony_ci#define PINGROUP_REG_A			0x3000	/* bank 1 */
154062306a36Sopenharmony_ci
154162306a36Sopenharmony_ci#define DRV_PINGROUP_REG(r)		((r) - DRV_PINGROUP_REG_A)
154262306a36Sopenharmony_ci#define PINGROUP_REG(r)			((r) - PINGROUP_REG_A)
154362306a36Sopenharmony_ci
154462306a36Sopenharmony_ci#define PINGROUP_BIT_Y(b)		(b)
154562306a36Sopenharmony_ci#define PINGROUP_BIT_N(b)		(-1)
154662306a36Sopenharmony_ci
154762306a36Sopenharmony_ci#define PINGROUP(pg_name, f0, f1, f2, f3, r, od, ior, rcv_sel)		\
154862306a36Sopenharmony_ci	{								\
154962306a36Sopenharmony_ci		.name = #pg_name,					\
155062306a36Sopenharmony_ci		.pins = pg_name##_pins,					\
155162306a36Sopenharmony_ci		.npins = ARRAY_SIZE(pg_name##_pins),			\
155262306a36Sopenharmony_ci		.funcs = {						\
155362306a36Sopenharmony_ci			TEGRA_MUX_##f0,					\
155462306a36Sopenharmony_ci			TEGRA_MUX_##f1,					\
155562306a36Sopenharmony_ci			TEGRA_MUX_##f2,					\
155662306a36Sopenharmony_ci			TEGRA_MUX_##f3,					\
155762306a36Sopenharmony_ci		},							\
155862306a36Sopenharmony_ci		.mux_reg = PINGROUP_REG(r),				\
155962306a36Sopenharmony_ci		.mux_bank = 1,						\
156062306a36Sopenharmony_ci		.mux_bit = 0,						\
156162306a36Sopenharmony_ci		.pupd_reg = PINGROUP_REG(r),				\
156262306a36Sopenharmony_ci		.pupd_bank = 1,						\
156362306a36Sopenharmony_ci		.pupd_bit = 2,						\
156462306a36Sopenharmony_ci		.tri_reg = PINGROUP_REG(r),				\
156562306a36Sopenharmony_ci		.tri_bank = 1,						\
156662306a36Sopenharmony_ci		.tri_bit = 4,						\
156762306a36Sopenharmony_ci		.einput_bit = 5,					\
156862306a36Sopenharmony_ci		.odrain_bit = PINGROUP_BIT_##od(6),			\
156962306a36Sopenharmony_ci		.lock_bit = 7,						\
157062306a36Sopenharmony_ci		.ioreset_bit = PINGROUP_BIT_##ior(8),			\
157162306a36Sopenharmony_ci		.rcv_sel_bit = PINGROUP_BIT_##rcv_sel(9),		\
157262306a36Sopenharmony_ci		.drv_reg = -1,						\
157362306a36Sopenharmony_ci		.parked_bitmask = 0,					\
157462306a36Sopenharmony_ci	}
157562306a36Sopenharmony_ci
157662306a36Sopenharmony_ci#define DRV_PINGROUP(pg_name, r, hsm_b, schmitt_b, lpmd_b, drvdn_b,	\
157762306a36Sopenharmony_ci		     drvdn_w, drvup_b, drvup_w, slwr_b, slwr_w,		\
157862306a36Sopenharmony_ci		     slwf_b, slwf_w, drvtype)				\
157962306a36Sopenharmony_ci	{								\
158062306a36Sopenharmony_ci		.name = "drive_" #pg_name,				\
158162306a36Sopenharmony_ci		.pins = drive_##pg_name##_pins,				\
158262306a36Sopenharmony_ci		.npins = ARRAY_SIZE(drive_##pg_name##_pins),		\
158362306a36Sopenharmony_ci		.mux_reg = -1,						\
158462306a36Sopenharmony_ci		.pupd_reg = -1,						\
158562306a36Sopenharmony_ci		.tri_reg = -1,						\
158662306a36Sopenharmony_ci		.einput_bit = -1,					\
158762306a36Sopenharmony_ci		.odrain_bit = -1,					\
158862306a36Sopenharmony_ci		.lock_bit = -1,						\
158962306a36Sopenharmony_ci		.ioreset_bit = -1,					\
159062306a36Sopenharmony_ci		.rcv_sel_bit = -1,					\
159162306a36Sopenharmony_ci		.drv_reg = DRV_PINGROUP_REG(r),				\
159262306a36Sopenharmony_ci		.drv_bank = 0,						\
159362306a36Sopenharmony_ci		.hsm_bit = hsm_b,					\
159462306a36Sopenharmony_ci		.schmitt_bit = schmitt_b,				\
159562306a36Sopenharmony_ci		.lpmd_bit = lpmd_b,					\
159662306a36Sopenharmony_ci		.drvdn_bit = drvdn_b,					\
159762306a36Sopenharmony_ci		.drvdn_width = drvdn_w,					\
159862306a36Sopenharmony_ci		.drvup_bit = drvup_b,					\
159962306a36Sopenharmony_ci		.drvup_width = drvup_w,					\
160062306a36Sopenharmony_ci		.slwr_bit = slwr_b,					\
160162306a36Sopenharmony_ci		.slwr_width = slwr_w,					\
160262306a36Sopenharmony_ci		.slwf_bit = slwf_b,					\
160362306a36Sopenharmony_ci		.slwf_width = slwf_w,					\
160462306a36Sopenharmony_ci		.drvtype_bit = PINGROUP_BIT_##drvtype(6),		\
160562306a36Sopenharmony_ci		.parked_bitmask = 0,					\
160662306a36Sopenharmony_ci	}
160762306a36Sopenharmony_ci
160862306a36Sopenharmony_cistatic const struct tegra_pingroup tegra114_groups[] = {
160962306a36Sopenharmony_ci	/*       pg_name,                f0,         f1,         f2,           f3,          r,      od, ior, rcv_sel */
161062306a36Sopenharmony_ci	PINGROUP(ulpi_data0_po1,         SPI3,       HSI,        UARTA,        ULPI,        0x3000, N,   N,  N),
161162306a36Sopenharmony_ci	PINGROUP(ulpi_data1_po2,         SPI3,       HSI,        UARTA,        ULPI,        0x3004, N,   N,  N),
161262306a36Sopenharmony_ci	PINGROUP(ulpi_data2_po3,         SPI3,       HSI,        UARTA,        ULPI,        0x3008, N,   N,  N),
161362306a36Sopenharmony_ci	PINGROUP(ulpi_data3_po4,         SPI3,       HSI,        UARTA,        ULPI,        0x300c, N,   N,  N),
161462306a36Sopenharmony_ci	PINGROUP(ulpi_data4_po5,         SPI2,       HSI,        UARTA,        ULPI,        0x3010, N,   N,  N),
161562306a36Sopenharmony_ci	PINGROUP(ulpi_data5_po6,         SPI2,       HSI,        UARTA,        ULPI,        0x3014, N,   N,  N),
161662306a36Sopenharmony_ci	PINGROUP(ulpi_data6_po7,         SPI2,       HSI,        UARTA,        ULPI,        0x3018, N,   N,  N),
161762306a36Sopenharmony_ci	PINGROUP(ulpi_data7_po0,         SPI2,       HSI,        UARTA,        ULPI,        0x301c, N,   N,  N),
161862306a36Sopenharmony_ci	PINGROUP(ulpi_clk_py0,           SPI1,       SPI5,       UARTD,        ULPI,        0x3020, N,   N,  N),
161962306a36Sopenharmony_ci	PINGROUP(ulpi_dir_py1,           SPI1,       SPI5,       UARTD,        ULPI,        0x3024, N,   N,  N),
162062306a36Sopenharmony_ci	PINGROUP(ulpi_nxt_py2,           SPI1,       SPI5,       UARTD,        ULPI,        0x3028, N,   N,  N),
162162306a36Sopenharmony_ci	PINGROUP(ulpi_stp_py3,           SPI1,       SPI5,       UARTD,        ULPI,        0x302c, N,   N,  N),
162262306a36Sopenharmony_ci	PINGROUP(dap3_fs_pp0,            I2S2,       SPI5,       DISPLAYA,     DISPLAYB,    0x3030, N,   N,  N),
162362306a36Sopenharmony_ci	PINGROUP(dap3_din_pp1,           I2S2,       SPI5,       DISPLAYA,     DISPLAYB,    0x3034, N,   N,  N),
162462306a36Sopenharmony_ci	PINGROUP(dap3_dout_pp2,          I2S2,       SPI5,       DISPLAYA,     DISPLAYB,    0x3038, N,   N,  N),
162562306a36Sopenharmony_ci	PINGROUP(dap3_sclk_pp3,          I2S2,       SPI5,       DISPLAYA,     DISPLAYB,    0x303c, N,   N,  N),
162662306a36Sopenharmony_ci	PINGROUP(pv0,                    USB,        RSVD2,      RSVD3,        RSVD4,       0x3040, N,   N,  N),
162762306a36Sopenharmony_ci	PINGROUP(pv1,                    RSVD1,      RSVD2,      RSVD3,        RSVD4,       0x3044, N,   N,  N),
162862306a36Sopenharmony_ci	PINGROUP(sdmmc1_clk_pz0,         SDMMC1,     CLK12,      RSVD3,        RSVD4,       0x3048, N,   N,  N),
162962306a36Sopenharmony_ci	PINGROUP(sdmmc1_cmd_pz1,         SDMMC1,     SPDIF,      SPI4,         UARTA,       0x304c, N,   N,  N),
163062306a36Sopenharmony_ci	PINGROUP(sdmmc1_dat3_py4,        SDMMC1,     SPDIF,      SPI4,         UARTA,       0x3050, N,   N,  N),
163162306a36Sopenharmony_ci	PINGROUP(sdmmc1_dat2_py5,        SDMMC1,     PWM0,       SPI4,         UARTA,       0x3054, N,   N,  N),
163262306a36Sopenharmony_ci	PINGROUP(sdmmc1_dat1_py6,        SDMMC1,     PWM1,       SPI4,         UARTA,       0x3058, N,   N,  N),
163362306a36Sopenharmony_ci	PINGROUP(sdmmc1_dat0_py7,        SDMMC1,     RSVD2,      SPI4,         UARTA,       0x305c, N,   N,  N),
163462306a36Sopenharmony_ci	PINGROUP(clk2_out_pw5,           EXTPERIPH2, RSVD2,      RSVD3,        RSVD4,       0x3068, N,   N,  N),
163562306a36Sopenharmony_ci	PINGROUP(clk2_req_pcc5,          DAP,        RSVD2,      RSVD3,        RSVD4,       0x306c, N,   N,  N),
163662306a36Sopenharmony_ci	PINGROUP(hdmi_int_pn7,           RSVD1,      RSVD2,      RSVD3,        RSVD4,       0x3110, N,   N,  Y),
163762306a36Sopenharmony_ci	PINGROUP(ddc_scl_pv4,            I2C4,       RSVD2,      RSVD3,        RSVD4,       0x3114, N,   N,  Y),
163862306a36Sopenharmony_ci	PINGROUP(ddc_sda_pv5,            I2C4,       RSVD2,      RSVD3,        RSVD4,       0x3118, N,   N,  Y),
163962306a36Sopenharmony_ci	PINGROUP(uart2_rxd_pc3,          IRDA,       SPDIF,      UARTA,        SPI4,        0x3164, N,   N,  N),
164062306a36Sopenharmony_ci	PINGROUP(uart2_txd_pc2,          IRDA,       SPDIF,      UARTA,        SPI4,        0x3168, N,   N,  N),
164162306a36Sopenharmony_ci	PINGROUP(uart2_rts_n_pj6,        UARTA,      UARTB,      RSVD3,        SPI4,        0x316c, N,   N,  N),
164262306a36Sopenharmony_ci	PINGROUP(uart2_cts_n_pj5,        UARTA,      UARTB,      RSVD3,        SPI4,        0x3170, N,   N,  N),
164362306a36Sopenharmony_ci	PINGROUP(uart3_txd_pw6,          UARTC,      RSVD2,      RSVD3,        SPI4,        0x3174, N,   N,  N),
164462306a36Sopenharmony_ci	PINGROUP(uart3_rxd_pw7,          UARTC,      RSVD2,      RSVD3,        SPI4,        0x3178, N,   N,  N),
164562306a36Sopenharmony_ci	PINGROUP(uart3_cts_n_pa1,        UARTC,      SDMMC1,     DTV,          SPI4,        0x317c, N,   N,  N),
164662306a36Sopenharmony_ci	PINGROUP(uart3_rts_n_pc0,        UARTC,      PWM0,       DTV,          DISPLAYA,    0x3180, N,   N,  N),
164762306a36Sopenharmony_ci	PINGROUP(pu0,                    OWR,        UARTA,      RSVD3,        RSVD4,       0x3184, N,   N,  N),
164862306a36Sopenharmony_ci	PINGROUP(pu1,                    RSVD1,      UARTA,      RSVD3,        RSVD4,       0x3188, N,   N,  N),
164962306a36Sopenharmony_ci	PINGROUP(pu2,                    RSVD1,      UARTA,      RSVD3,        RSVD4,       0x318c, N,   N,  N),
165062306a36Sopenharmony_ci	PINGROUP(pu3,                    PWM0,       UARTA,      DISPLAYA,     DISPLAYB,    0x3190, N,   N,  N),
165162306a36Sopenharmony_ci	PINGROUP(pu4,                    PWM1,       UARTA,      DISPLAYA,     DISPLAYB,    0x3194, N,   N,  N),
165262306a36Sopenharmony_ci	PINGROUP(pu5,                    PWM2,       UARTA,      DISPLAYA,     DISPLAYB,    0x3198, N,   N,  N),
165362306a36Sopenharmony_ci	PINGROUP(pu6,                    PWM3,       UARTA,      USB,          DISPLAYB,    0x319c, N,   N,  N),
165462306a36Sopenharmony_ci	PINGROUP(gen1_i2c_sda_pc5,       I2C1,       RSVD2,      RSVD3,        RSVD4,       0x31a0, Y,   N,  N),
165562306a36Sopenharmony_ci	PINGROUP(gen1_i2c_scl_pc4,       I2C1,       RSVD2,      RSVD3,        RSVD4,       0x31a4, Y,   N,  N),
165662306a36Sopenharmony_ci	PINGROUP(dap4_fs_pp4,            I2S3,       RSVD2,      DTV,          RSVD4,       0x31a8, N,   N,  N),
165762306a36Sopenharmony_ci	PINGROUP(dap4_din_pp5,           I2S3,       RSVD2,      RSVD3,        RSVD4,       0x31ac, N,   N,  N),
165862306a36Sopenharmony_ci	PINGROUP(dap4_dout_pp6,          I2S3,       RSVD2,      DTV,          RSVD4,       0x31b0, N,   N,  N),
165962306a36Sopenharmony_ci	PINGROUP(dap4_sclk_pp7,          I2S3,       RSVD2,      RSVD3,        RSVD4,       0x31b4, N,   N,  N),
166062306a36Sopenharmony_ci	PINGROUP(clk3_out_pee0,          EXTPERIPH3, RSVD2,      RSVD3,        RSVD4,       0x31b8, N,   N,  N),
166162306a36Sopenharmony_ci	PINGROUP(clk3_req_pee1,          DEV3,       RSVD2,      RSVD3,        RSVD4,       0x31bc, N,   N,  N),
166262306a36Sopenharmony_ci	PINGROUP(gmi_wp_n_pc7,           RSVD1,      NAND,       GMI,          GMI_ALT,     0x31c0, N,   N,  N),
166362306a36Sopenharmony_ci	PINGROUP(gmi_iordy_pi5,          SDMMC2,     RSVD2,      GMI,          TRACE,       0x31c4, N,   N,  N),
166462306a36Sopenharmony_ci	PINGROUP(gmi_wait_pi7,           SPI4,       NAND,       GMI,          DTV,         0x31c8, N,   N,  N),
166562306a36Sopenharmony_ci	PINGROUP(gmi_adv_n_pk0,          RSVD1,      NAND,       GMI,          TRACE,       0x31cc, N,   N,  N),
166662306a36Sopenharmony_ci	PINGROUP(gmi_clk_pk1,            SDMMC2,     NAND,       GMI,          TRACE,       0x31d0, N,   N,  N),
166762306a36Sopenharmony_ci	PINGROUP(gmi_cs0_n_pj0,          RSVD1,      NAND,       GMI,          USB,         0x31d4, N,   N,  N),
166862306a36Sopenharmony_ci	PINGROUP(gmi_cs1_n_pj2,          RSVD1,      NAND,       GMI,          SOC,         0x31d8, N,   N,  N),
166962306a36Sopenharmony_ci	PINGROUP(gmi_cs2_n_pk3,          SDMMC2,     NAND,       GMI,          TRACE,       0x31dc, N,   N,  N),
167062306a36Sopenharmony_ci	PINGROUP(gmi_cs3_n_pk4,          SDMMC2,     NAND,       GMI,          GMI_ALT,     0x31e0, N,   N,  N),
167162306a36Sopenharmony_ci	PINGROUP(gmi_cs4_n_pk2,          USB,        NAND,       GMI,          TRACE,       0x31e4, N,   N,  N),
167262306a36Sopenharmony_ci	PINGROUP(gmi_cs6_n_pi3,          NAND,       NAND_ALT,   GMI,          SPI4,        0x31e8, N,   N,  N),
167362306a36Sopenharmony_ci	PINGROUP(gmi_cs7_n_pi6,          NAND,       NAND_ALT,   GMI,          SDMMC2,      0x31ec, N,   N,  N),
167462306a36Sopenharmony_ci	PINGROUP(gmi_ad0_pg0,            RSVD1,      NAND,       GMI,          RSVD4,       0x31f0, N,   N,  N),
167562306a36Sopenharmony_ci	PINGROUP(gmi_ad1_pg1,            RSVD1,      NAND,       GMI,          RSVD4,       0x31f4, N,   N,  N),
167662306a36Sopenharmony_ci	PINGROUP(gmi_ad2_pg2,            RSVD1,      NAND,       GMI,          RSVD4,       0x31f8, N,   N,  N),
167762306a36Sopenharmony_ci	PINGROUP(gmi_ad3_pg3,            RSVD1,      NAND,       GMI,          RSVD4,       0x31fc, N,   N,  N),
167862306a36Sopenharmony_ci	PINGROUP(gmi_ad4_pg4,            RSVD1,      NAND,       GMI,          RSVD4,       0x3200, N,   N,  N),
167962306a36Sopenharmony_ci	PINGROUP(gmi_ad5_pg5,            RSVD1,      NAND,       GMI,          SPI4,        0x3204, N,   N,  N),
168062306a36Sopenharmony_ci	PINGROUP(gmi_ad6_pg6,            RSVD1,      NAND,       GMI,          SPI4,        0x3208, N,   N,  N),
168162306a36Sopenharmony_ci	PINGROUP(gmi_ad7_pg7,            RSVD1,      NAND,       GMI,          SPI4,        0x320c, N,   N,  N),
168262306a36Sopenharmony_ci	PINGROUP(gmi_ad8_ph0,            PWM0,       NAND,       GMI,          DTV,         0x3210, N,   N,  N),
168362306a36Sopenharmony_ci	PINGROUP(gmi_ad9_ph1,            PWM1,       NAND,       GMI,          CLDVFS,      0x3214, N,   N,  N),
168462306a36Sopenharmony_ci	PINGROUP(gmi_ad10_ph2,           PWM2,       NAND,       GMI,          CLDVFS,      0x3218, N,   N,  N),
168562306a36Sopenharmony_ci	PINGROUP(gmi_ad11_ph3,           PWM3,       NAND,       GMI,          USB,         0x321c, N,   N,  N),
168662306a36Sopenharmony_ci	PINGROUP(gmi_ad12_ph4,           SDMMC2,     NAND,       GMI,          RSVD4,       0x3220, N,   N,  N),
168762306a36Sopenharmony_ci	PINGROUP(gmi_ad13_ph5,           SDMMC2,     NAND,       GMI,          RSVD4,       0x3224, N,   N,  N),
168862306a36Sopenharmony_ci	PINGROUP(gmi_ad14_ph6,           SDMMC2,     NAND,       GMI,          DTV,         0x3228, N,   N,  N),
168962306a36Sopenharmony_ci	PINGROUP(gmi_ad15_ph7,           SDMMC2,     NAND,       GMI,          DTV,         0x322c, N,   N,  N),
169062306a36Sopenharmony_ci	PINGROUP(gmi_a16_pj7,            UARTD,      TRACE,      GMI,          GMI_ALT,     0x3230, N,   N,  N),
169162306a36Sopenharmony_ci	PINGROUP(gmi_a17_pb0,            UARTD,      RSVD2,      GMI,          TRACE,       0x3234, N,   N,  N),
169262306a36Sopenharmony_ci	PINGROUP(gmi_a18_pb1,            UARTD,      RSVD2,      GMI,          TRACE,       0x3238, N,   N,  N),
169362306a36Sopenharmony_ci	PINGROUP(gmi_a19_pk7,            UARTD,      SPI4,       GMI,          TRACE,       0x323c, N,   N,  N),
169462306a36Sopenharmony_ci	PINGROUP(gmi_wr_n_pi0,           RSVD1,      NAND,       GMI,          SPI4,        0x3240, N,   N,  N),
169562306a36Sopenharmony_ci	PINGROUP(gmi_oe_n_pi1,           RSVD1,      NAND,       GMI,          SOC,         0x3244, N,   N,  N),
169662306a36Sopenharmony_ci	PINGROUP(gmi_dqs_p_pj3,          SDMMC2,     NAND,       GMI,          TRACE,       0x3248, N,   N,  N),
169762306a36Sopenharmony_ci	PINGROUP(gmi_rst_n_pi4,          NAND,       NAND_ALT,   GMI,          RSVD4,       0x324c, N,   N,  N),
169862306a36Sopenharmony_ci	PINGROUP(gen2_i2c_scl_pt5,       I2C2,       RSVD2,      GMI,          RSVD4,       0x3250, Y,   N,  N),
169962306a36Sopenharmony_ci	PINGROUP(gen2_i2c_sda_pt6,       I2C2,       RSVD2,      GMI,          RSVD4,       0x3254, Y,   N,  N),
170062306a36Sopenharmony_ci	PINGROUP(sdmmc4_clk_pcc4,        SDMMC4,     RSVD2,      GMI,          RSVD4,       0x3258, N,   Y,  N),
170162306a36Sopenharmony_ci	PINGROUP(sdmmc4_cmd_pt7,         SDMMC4,     RSVD2,      GMI,          RSVD4,       0x325c, N,   Y,  N),
170262306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat0_paa0,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x3260, N,   Y,  N),
170362306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat1_paa1,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x3264, N,   Y,  N),
170462306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat2_paa2,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x3268, N,   Y,  N),
170562306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat3_paa3,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x326c, N,   Y,  N),
170662306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat4_paa4,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x3270, N,   Y,  N),
170762306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat5_paa5,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x3274, N,   Y,  N),
170862306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat6_paa6,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x3278, N,   Y,  N),
170962306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat7_paa7,       SDMMC4,     RSVD2,      GMI,          RSVD4,       0x327c, N,   Y,  N),
171062306a36Sopenharmony_ci	PINGROUP(cam_mclk_pcc0,          VI,         VI_ALT1,    VI_ALT3,      RSVD4,       0x3284, N,   N,  N),
171162306a36Sopenharmony_ci	PINGROUP(pcc1,                   I2S4,       RSVD2,      RSVD3,        RSVD4,       0x3288, N,   N,  N),
171262306a36Sopenharmony_ci	PINGROUP(pbb0,                   I2S4,       VI,         VI_ALT1,      VI_ALT3,     0x328c, N,   N,  N),
171362306a36Sopenharmony_ci	PINGROUP(cam_i2c_scl_pbb1,       VGP1,       I2C3,       RSVD3,        RSVD4,       0x3290, Y,   N,  N),
171462306a36Sopenharmony_ci	PINGROUP(cam_i2c_sda_pbb2,       VGP2,       I2C3,       RSVD3,        RSVD4,       0x3294, Y,   N,  N),
171562306a36Sopenharmony_ci	PINGROUP(pbb3,                   VGP3,       DISPLAYA,   DISPLAYB,     RSVD4,       0x3298, N,   N,  N),
171662306a36Sopenharmony_ci	PINGROUP(pbb4,                   VGP4,       DISPLAYA,   DISPLAYB,     RSVD4,       0x329c, N,   N,  N),
171762306a36Sopenharmony_ci	PINGROUP(pbb5,                   VGP5,       DISPLAYA,   DISPLAYB,     RSVD4,       0x32a0, N,   N,  N),
171862306a36Sopenharmony_ci	PINGROUP(pbb6,                   VGP6,       DISPLAYA,   DISPLAYB,     RSVD4,       0x32a4, N,   N,  N),
171962306a36Sopenharmony_ci	PINGROUP(pbb7,                   I2S4,       RSVD2,      RSVD3,        RSVD4,       0x32a8, N,   N,  N),
172062306a36Sopenharmony_ci	PINGROUP(pcc2,                   I2S4,       RSVD2,      RSVD3,        RSVD4,       0x32ac, N,   N,  N),
172162306a36Sopenharmony_ci	PINGROUP(jtag_rtck,              RTCK,       RSVD2,      RSVD3,        RSVD4,       0x32b0, N,   N,  N),
172262306a36Sopenharmony_ci	PINGROUP(pwr_i2c_scl_pz6,        I2CPWR,     RSVD2,      RSVD3,        RSVD4,       0x32b4, Y,   N,  N),
172362306a36Sopenharmony_ci	PINGROUP(pwr_i2c_sda_pz7,        I2CPWR,     RSVD2,      RSVD3,        RSVD4,       0x32b8, Y,   N,  N),
172462306a36Sopenharmony_ci	PINGROUP(kb_row0_pr0,            KBC,        RSVD2,      RSVD3,        RSVD4,       0x32bc, N,   N,  N),
172562306a36Sopenharmony_ci	PINGROUP(kb_row1_pr1,            KBC,        RSVD2,      RSVD3,        RSVD4,       0x32c0, N,   N,  N),
172662306a36Sopenharmony_ci	PINGROUP(kb_row2_pr2,            KBC,        RSVD2,      RSVD3,        RSVD4,       0x32c4, N,   N,  N),
172762306a36Sopenharmony_ci	PINGROUP(kb_row3_pr3,            KBC,        DISPLAYA,   RSVD3,        DISPLAYB,    0x32c8, N,   N,  N),
172862306a36Sopenharmony_ci	PINGROUP(kb_row4_pr4,            KBC,        DISPLAYA,   SPI2,         DISPLAYB,    0x32cc, N,   N,  N),
172962306a36Sopenharmony_ci	PINGROUP(kb_row5_pr5,            KBC,        DISPLAYA,   SPI2,         DISPLAYB,    0x32d0, N,   N,  N),
173062306a36Sopenharmony_ci	PINGROUP(kb_row6_pr6,            KBC,        DISPLAYA,   DISPLAYA_ALT, DISPLAYB,    0x32d4, N,   N,  N),
173162306a36Sopenharmony_ci	PINGROUP(kb_row7_pr7,            KBC,        RSVD2,      CLDVFS,       UARTA,       0x32d8, N,   N,  N),
173262306a36Sopenharmony_ci	PINGROUP(kb_row8_ps0,            KBC,        RSVD2,      CLDVFS,       UARTA,       0x32dc, N,   N,  N),
173362306a36Sopenharmony_ci	PINGROUP(kb_row9_ps1,            KBC,        RSVD2,      RSVD3,        UARTA,       0x32e0, N,   N,  N),
173462306a36Sopenharmony_ci	PINGROUP(kb_row10_ps2,           KBC,        RSVD2,      RSVD3,        UARTA,       0x32e4, N,   N,  N),
173562306a36Sopenharmony_ci	PINGROUP(kb_col0_pq0,            KBC,        USB,        SPI2,         EMC_DLL,     0x32fc, N,   N,  N),
173662306a36Sopenharmony_ci	PINGROUP(kb_col1_pq1,            KBC,        RSVD2,      SPI2,         EMC_DLL,     0x3300, N,   N,  N),
173762306a36Sopenharmony_ci	PINGROUP(kb_col2_pq2,            KBC,        RSVD2,      SPI2,         RSVD4,       0x3304, N,   N,  N),
173862306a36Sopenharmony_ci	PINGROUP(kb_col3_pq3,            KBC,        DISPLAYA,   PWM2,         UARTA,       0x3308, N,   N,  N),
173962306a36Sopenharmony_ci	PINGROUP(kb_col4_pq4,            KBC,        OWR,        SDMMC3,       UARTA,       0x330c, N,   N,  N),
174062306a36Sopenharmony_ci	PINGROUP(kb_col5_pq5,            KBC,        RSVD2,      SDMMC1,       RSVD4,       0x3310, N,   N,  N),
174162306a36Sopenharmony_ci	PINGROUP(kb_col6_pq6,            KBC,        RSVD2,      SPI2,         RSVD4,       0x3314, N,   N,  N),
174262306a36Sopenharmony_ci	PINGROUP(kb_col7_pq7,            KBC,        RSVD2,      SPI2,         RSVD4,       0x3318, N,   N,  N),
174362306a36Sopenharmony_ci	PINGROUP(clk_32k_out_pa0,        BLINK,      SOC,        RSVD3,        RSVD4,       0x331c, N,   N,  N),
174462306a36Sopenharmony_ci	PINGROUP(sys_clk_req_pz5,        SYSCLK,     RSVD2,      RSVD3,        RSVD4,       0x3320, N,   N,  N),
174562306a36Sopenharmony_ci	PINGROUP(core_pwr_req,           PWRON,      RSVD2,      RSVD3,        RSVD4,       0x3324, N,   N,  N),
174662306a36Sopenharmony_ci	PINGROUP(cpu_pwr_req,            CPU,        RSVD2,      RSVD3,        RSVD4,       0x3328, N,   N,  N),
174762306a36Sopenharmony_ci	PINGROUP(pwr_int_n,              PMI,        RSVD2,      RSVD3,        RSVD4,       0x332c, N,   N,  N),
174862306a36Sopenharmony_ci	PINGROUP(clk_32k_in,             CLK,        RSVD2,      RSVD3,        RSVD4,       0x3330, N,   N,  N),
174962306a36Sopenharmony_ci	PINGROUP(owr,                    OWR,        RSVD2,      RSVD3,        RSVD4,       0x3334, N,   N,  Y),
175062306a36Sopenharmony_ci	PINGROUP(dap1_fs_pn0,            I2S0,       HDA,        GMI,          RSVD4,       0x3338, N,   N,  N),
175162306a36Sopenharmony_ci	PINGROUP(dap1_din_pn1,           I2S0,       HDA,        GMI,          RSVD4,       0x333c, N,   N,  N),
175262306a36Sopenharmony_ci	PINGROUP(dap1_dout_pn2,          I2S0,       HDA,        GMI,          RSVD4,       0x3340, N,   N,  N),
175362306a36Sopenharmony_ci	PINGROUP(dap1_sclk_pn3,          I2S0,       HDA,        GMI,          RSVD4,       0x3344, N,   N,  N),
175462306a36Sopenharmony_ci	PINGROUP(clk1_req_pee2,          DAP,        DAP1,       RSVD3,        RSVD4,       0x3348, N,   N,  N),
175562306a36Sopenharmony_ci	PINGROUP(clk1_out_pw4,           EXTPERIPH1, DAP2,       RSVD3,        RSVD4,       0x334c, N,   N,  N),
175662306a36Sopenharmony_ci	PINGROUP(spdif_in_pk6,           SPDIF,      USB,        RSVD3,        RSVD4,       0x3350, N,   N,  N),
175762306a36Sopenharmony_ci	PINGROUP(spdif_out_pk5,          SPDIF,      RSVD2,      RSVD3,        RSVD4,       0x3354, N,   N,  N),
175862306a36Sopenharmony_ci	PINGROUP(dap2_fs_pa2,            I2S1,       HDA,        RSVD3,        RSVD4,       0x3358, N,   N,  N),
175962306a36Sopenharmony_ci	PINGROUP(dap2_din_pa4,           I2S1,       HDA,        RSVD3,        RSVD4,       0x335c, N,   N,  N),
176062306a36Sopenharmony_ci	PINGROUP(dap2_dout_pa5,          I2S1,       HDA,        RSVD3,        RSVD4,       0x3360, N,   N,  N),
176162306a36Sopenharmony_ci	PINGROUP(dap2_sclk_pa3,          I2S1,       HDA,        RSVD3,        RSVD4,       0x3364, N,   N,  N),
176262306a36Sopenharmony_ci	PINGROUP(dvfs_pwm_px0,           SPI6,       CLDVFS,     RSVD3,        RSVD4,       0x3368, N,   N,  N),
176362306a36Sopenharmony_ci	PINGROUP(gpio_x1_aud_px1,        SPI6,       RSVD2,      RSVD3,        RSVD4,       0x336c, N,   N,  N),
176462306a36Sopenharmony_ci	PINGROUP(gpio_x3_aud_px3,        SPI6,       SPI1,       RSVD3,        RSVD4,       0x3370, N,   N,  N),
176562306a36Sopenharmony_ci	PINGROUP(dvfs_clk_px2,           SPI6,       CLDVFS,     RSVD3,        RSVD4,       0x3374, N,   N,  N),
176662306a36Sopenharmony_ci	PINGROUP(gpio_x4_aud_px4,        RSVD1,      SPI1,       SPI2,         DAP2,        0x3378, N,   N,  N),
176762306a36Sopenharmony_ci	PINGROUP(gpio_x5_aud_px5,        RSVD1,      SPI1,       SPI2,         RSVD4,       0x337c, N,   N,  N),
176862306a36Sopenharmony_ci	PINGROUP(gpio_x6_aud_px6,        SPI6,       SPI1,       SPI2,         RSVD4,       0x3380, N,   N,  N),
176962306a36Sopenharmony_ci	PINGROUP(gpio_x7_aud_px7,        RSVD1,      SPI1,       SPI2,         RSVD4,       0x3384, N,   N,  N),
177062306a36Sopenharmony_ci	PINGROUP(sdmmc3_clk_pa6,         SDMMC3,     RSVD2,      RSVD3,        SPI3,        0x3390, N,   N,  N),
177162306a36Sopenharmony_ci	PINGROUP(sdmmc3_cmd_pa7,         SDMMC3,     PWM3,       UARTA,        SPI3,        0x3394, N,   N,  N),
177262306a36Sopenharmony_ci	PINGROUP(sdmmc3_dat0_pb7,        SDMMC3,     RSVD2,      RSVD3,        SPI3,        0x3398, N,   N,  N),
177362306a36Sopenharmony_ci	PINGROUP(sdmmc3_dat1_pb6,        SDMMC3,     PWM2,       UARTA,        SPI3,        0x339c, N,   N,  N),
177462306a36Sopenharmony_ci	PINGROUP(sdmmc3_dat2_pb5,        SDMMC3,     PWM1,       DISPLAYA,     SPI3,        0x33a0, N,   N,  N),
177562306a36Sopenharmony_ci	PINGROUP(sdmmc3_dat3_pb4,        SDMMC3,     PWM0,       DISPLAYB,     SPI3,        0x33a4, N,   N,  N),
177662306a36Sopenharmony_ci	PINGROUP(hdmi_cec_pee3,          CEC,        SDMMC3,     RSVD3,        SOC,         0x33e0, Y,   N,  N),
177762306a36Sopenharmony_ci	PINGROUP(sdmmc1_wp_n_pv3,        SDMMC1,     CLK12,      SPI4,         UARTA,       0x33e4, N,   N,  N),
177862306a36Sopenharmony_ci	PINGROUP(sdmmc3_cd_n_pv2,        SDMMC3,     OWR,        RSVD3,        RSVD4,       0x33e8, N,   N,  N),
177962306a36Sopenharmony_ci	PINGROUP(gpio_w2_aud_pw2,        SPI6,       RSVD2,      SPI2,         I2C1,        0x33ec, N,   N,  N),
178062306a36Sopenharmony_ci	PINGROUP(gpio_w3_aud_pw3,        SPI6,       SPI1,       SPI2,         I2C1,        0x33f0, N,   N,  N),
178162306a36Sopenharmony_ci	PINGROUP(usb_vbus_en0_pn4,       USB,        RSVD2,      RSVD3,        RSVD4,       0x33f4, Y,   N,  N),
178262306a36Sopenharmony_ci	PINGROUP(usb_vbus_en1_pn5,       USB,        RSVD2,      RSVD3,        RSVD4,       0x33f8, Y,   N,  N),
178362306a36Sopenharmony_ci	PINGROUP(sdmmc3_clk_lb_in_pee5,  SDMMC3,     RSVD2,      RSVD3,        RSVD4,       0x33fc, N,   N,  N),
178462306a36Sopenharmony_ci	PINGROUP(sdmmc3_clk_lb_out_pee4, SDMMC3,     RSVD2,      RSVD3,        RSVD4,       0x3400, N,   N,  N),
178562306a36Sopenharmony_ci	PINGROUP(gmi_clk_lb,             SDMMC2,     NAND,       GMI,          RSVD4,       0x3404, N,   N,  N),
178662306a36Sopenharmony_ci	PINGROUP(reset_out_n,            RSVD1,      RSVD2,      RSVD3,        RESET_OUT_N, 0x3408, N,   N,  N),
178762306a36Sopenharmony_ci
178862306a36Sopenharmony_ci	/* pg_name, r, hsm_b, schmitt_b, lpmd_b, drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b, slwr_w, slwf_b, slwf_w, drvtype */
178962306a36Sopenharmony_ci	DRV_PINGROUP(ao1,         0x868,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
179062306a36Sopenharmony_ci	DRV_PINGROUP(ao2,         0x86c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
179162306a36Sopenharmony_ci	DRV_PINGROUP(at1,         0x870,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2,  Y),
179262306a36Sopenharmony_ci	DRV_PINGROUP(at2,         0x874,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2,  Y),
179362306a36Sopenharmony_ci	DRV_PINGROUP(at3,         0x878,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2,  Y),
179462306a36Sopenharmony_ci	DRV_PINGROUP(at4,         0x87c,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2,  Y),
179562306a36Sopenharmony_ci	DRV_PINGROUP(at5,         0x880,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2,  N),
179662306a36Sopenharmony_ci	DRV_PINGROUP(cdev1,       0x884,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
179762306a36Sopenharmony_ci	DRV_PINGROUP(cdev2,       0x888,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
179862306a36Sopenharmony_ci	DRV_PINGROUP(dap1,        0x890,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
179962306a36Sopenharmony_ci	DRV_PINGROUP(dap2,        0x894,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
180062306a36Sopenharmony_ci	DRV_PINGROUP(dap3,        0x898,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
180162306a36Sopenharmony_ci	DRV_PINGROUP(dap4,        0x89c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
180262306a36Sopenharmony_ci	DRV_PINGROUP(dbg,         0x8a0,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
180362306a36Sopenharmony_ci	DRV_PINGROUP(sdio3,       0x8b0,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2,  N),
180462306a36Sopenharmony_ci	DRV_PINGROUP(spi,         0x8b4,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
180562306a36Sopenharmony_ci	DRV_PINGROUP(uaa,         0x8b8,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
180662306a36Sopenharmony_ci	DRV_PINGROUP(uab,         0x8bc,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
180762306a36Sopenharmony_ci	DRV_PINGROUP(uart2,       0x8c0,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
180862306a36Sopenharmony_ci	DRV_PINGROUP(uart3,       0x8c4,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
180962306a36Sopenharmony_ci	DRV_PINGROUP(sdio1,       0x8ec,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2,  N),
181062306a36Sopenharmony_ci	DRV_PINGROUP(ddc,         0x8fc,  2,  3, -1,  12,  5,  20,  5,  28,  2,  30,  2,  N),
181162306a36Sopenharmony_ci	DRV_PINGROUP(gma,         0x900,  2,  3, -1,  14,  5,  20,  5,  28,  2,  30,  2,  N),
181262306a36Sopenharmony_ci	DRV_PINGROUP(gme,         0x910,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2,  N),
181362306a36Sopenharmony_ci	DRV_PINGROUP(gmf,         0x914,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2,  N),
181462306a36Sopenharmony_ci	DRV_PINGROUP(gmg,         0x918,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2,  N),
181562306a36Sopenharmony_ci	DRV_PINGROUP(gmh,         0x91c,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2,  N),
181662306a36Sopenharmony_ci	DRV_PINGROUP(owr,         0x920,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
181762306a36Sopenharmony_ci	DRV_PINGROUP(uda,         0x924,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
181862306a36Sopenharmony_ci	DRV_PINGROUP(dev3,        0x92c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
181962306a36Sopenharmony_ci	DRV_PINGROUP(cec,         0x938,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
182062306a36Sopenharmony_ci	DRV_PINGROUP(at6,         0x994,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  Y),
182162306a36Sopenharmony_ci	DRV_PINGROUP(dap5,        0x998,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
182262306a36Sopenharmony_ci	DRV_PINGROUP(usb_vbus_en, 0x99c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
182362306a36Sopenharmony_ci	DRV_PINGROUP(ao3,         0x9a0,  2,  3,  4,  12,  5,  -1, -1,  28,  2,  -1, -1,  N),
182462306a36Sopenharmony_ci	DRV_PINGROUP(hv0,         0x9a4,  2,  3,  4,  12,  5,  -1, -1,  28,  2,  -1, -1,  N),
182562306a36Sopenharmony_ci	DRV_PINGROUP(sdio4,       0x9a8,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
182662306a36Sopenharmony_ci	DRV_PINGROUP(ao0,         0x9ac,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
182762306a36Sopenharmony_ci};
182862306a36Sopenharmony_ci
182962306a36Sopenharmony_cistatic const struct tegra_pinctrl_soc_data tegra114_pinctrl = {
183062306a36Sopenharmony_ci	.ngpios = NUM_GPIOS,
183162306a36Sopenharmony_ci	.gpio_compatible = "nvidia,tegra114-gpio",
183262306a36Sopenharmony_ci	.pins = tegra114_pins,
183362306a36Sopenharmony_ci	.npins = ARRAY_SIZE(tegra114_pins),
183462306a36Sopenharmony_ci	.functions = tegra114_functions,
183562306a36Sopenharmony_ci	.nfunctions = ARRAY_SIZE(tegra114_functions),
183662306a36Sopenharmony_ci	.groups = tegra114_groups,
183762306a36Sopenharmony_ci	.ngroups = ARRAY_SIZE(tegra114_groups),
183862306a36Sopenharmony_ci	.hsm_in_mux = false,
183962306a36Sopenharmony_ci	.schmitt_in_mux = false,
184062306a36Sopenharmony_ci	.drvtype_in_mux = false,
184162306a36Sopenharmony_ci};
184262306a36Sopenharmony_ci
184362306a36Sopenharmony_cistatic int tegra114_pinctrl_probe(struct platform_device *pdev)
184462306a36Sopenharmony_ci{
184562306a36Sopenharmony_ci	return tegra_pinctrl_probe(pdev, &tegra114_pinctrl);
184662306a36Sopenharmony_ci}
184762306a36Sopenharmony_ci
184862306a36Sopenharmony_cistatic const struct of_device_id tegra114_pinctrl_of_match[] = {
184962306a36Sopenharmony_ci	{ .compatible = "nvidia,tegra114-pinmux", },
185062306a36Sopenharmony_ci	{ },
185162306a36Sopenharmony_ci};
185262306a36Sopenharmony_ci
185362306a36Sopenharmony_cistatic struct platform_driver tegra114_pinctrl_driver = {
185462306a36Sopenharmony_ci	.driver = {
185562306a36Sopenharmony_ci		.name = "tegra114-pinctrl",
185662306a36Sopenharmony_ci		.of_match_table = tegra114_pinctrl_of_match,
185762306a36Sopenharmony_ci	},
185862306a36Sopenharmony_ci	.probe = tegra114_pinctrl_probe,
185962306a36Sopenharmony_ci};
186062306a36Sopenharmony_ci
186162306a36Sopenharmony_cistatic int __init tegra114_pinctrl_init(void)
186262306a36Sopenharmony_ci{
186362306a36Sopenharmony_ci	return platform_driver_register(&tegra114_pinctrl_driver);
186462306a36Sopenharmony_ci}
186562306a36Sopenharmony_ciarch_initcall(tegra114_pinctrl_init);
1866