18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Pinctrl data for the NVIDIA Tegra124 pinmux
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Author: Ashwini Ghuge <aghuge@nvidia.com>
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Copyright (c) 2013-2014, NVIDIA CORPORATION.  All rights reserved.
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#include <linux/init.h>
118c2ecf20Sopenharmony_ci#include <linux/of.h>
128c2ecf20Sopenharmony_ci#include <linux/platform_device.h>
138c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinctrl.h>
148c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinmux.h>
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci#include "pinctrl-tegra.h"
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci/*
198c2ecf20Sopenharmony_ci * Most pins affected by the pinmux can also be GPIOs. Define these first.
208c2ecf20Sopenharmony_ci * These must match how the GPIO driver names/numbers its pins.
218c2ecf20Sopenharmony_ci */
228c2ecf20Sopenharmony_ci#define _GPIO(offset)				(offset)
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK_32K_OUT_PA0		_GPIO(0)
258c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART3_CTS_N_PA1		_GPIO(1)
268c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP2_FS_PA2			_GPIO(2)
278c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP2_SCLK_PA3			_GPIO(3)
288c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP2_DIN_PA4			_GPIO(4)
298c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP2_DOUT_PA5			_GPIO(5)
308c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CLK_PA6		_GPIO(6)
318c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CMD_PA7		_GPIO(7)
328c2ecf20Sopenharmony_ci#define TEGRA_PIN_PB0				_GPIO(8)
338c2ecf20Sopenharmony_ci#define TEGRA_PIN_PB1				_GPIO(9)
348c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT3_PB4		_GPIO(12)
358c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT2_PB5		_GPIO(13)
368c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT1_PB6		_GPIO(14)
378c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT0_PB7		_GPIO(15)
388c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART3_RTS_N_PC0		_GPIO(16)
398c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART2_TXD_PC2			_GPIO(18)
408c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART2_RXD_PC3			_GPIO(19)
418c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN1_I2C_SCL_PC4		_GPIO(20)
428c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN1_I2C_SDA_PC5		_GPIO(21)
438c2ecf20Sopenharmony_ci#define TEGRA_PIN_PC7				_GPIO(23)
448c2ecf20Sopenharmony_ci#define TEGRA_PIN_PG0				_GPIO(48)
458c2ecf20Sopenharmony_ci#define TEGRA_PIN_PG1				_GPIO(49)
468c2ecf20Sopenharmony_ci#define TEGRA_PIN_PG2				_GPIO(50)
478c2ecf20Sopenharmony_ci#define TEGRA_PIN_PG3				_GPIO(51)
488c2ecf20Sopenharmony_ci#define TEGRA_PIN_PG4				_GPIO(52)
498c2ecf20Sopenharmony_ci#define TEGRA_PIN_PG5				_GPIO(53)
508c2ecf20Sopenharmony_ci#define TEGRA_PIN_PG6				_GPIO(54)
518c2ecf20Sopenharmony_ci#define TEGRA_PIN_PG7				_GPIO(55)
528c2ecf20Sopenharmony_ci#define TEGRA_PIN_PH0				_GPIO(56)
538c2ecf20Sopenharmony_ci#define TEGRA_PIN_PH1				_GPIO(57)
548c2ecf20Sopenharmony_ci#define TEGRA_PIN_PH2				_GPIO(58)
558c2ecf20Sopenharmony_ci#define TEGRA_PIN_PH3				_GPIO(59)
568c2ecf20Sopenharmony_ci#define TEGRA_PIN_PH4				_GPIO(60)
578c2ecf20Sopenharmony_ci#define TEGRA_PIN_PH5				_GPIO(61)
588c2ecf20Sopenharmony_ci#define TEGRA_PIN_PH6				_GPIO(62)
598c2ecf20Sopenharmony_ci#define TEGRA_PIN_PH7				_GPIO(63)
608c2ecf20Sopenharmony_ci#define TEGRA_PIN_PI0				_GPIO(64)
618c2ecf20Sopenharmony_ci#define TEGRA_PIN_PI1				_GPIO(65)
628c2ecf20Sopenharmony_ci#define TEGRA_PIN_PI2				_GPIO(66)
638c2ecf20Sopenharmony_ci#define TEGRA_PIN_PI3				_GPIO(67)
648c2ecf20Sopenharmony_ci#define TEGRA_PIN_PI4				_GPIO(68)
658c2ecf20Sopenharmony_ci#define TEGRA_PIN_PI5				_GPIO(69)
668c2ecf20Sopenharmony_ci#define TEGRA_PIN_PI6				_GPIO(70)
678c2ecf20Sopenharmony_ci#define TEGRA_PIN_PI7				_GPIO(71)
688c2ecf20Sopenharmony_ci#define TEGRA_PIN_PJ0				_GPIO(72)
698c2ecf20Sopenharmony_ci#define TEGRA_PIN_PJ2				_GPIO(74)
708c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART2_CTS_N_PJ5		_GPIO(77)
718c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART2_RTS_N_PJ6		_GPIO(78)
728c2ecf20Sopenharmony_ci#define TEGRA_PIN_PJ7				_GPIO(79)
738c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK0				_GPIO(80)
748c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK1				_GPIO(81)
758c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK2				_GPIO(82)
768c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK3				_GPIO(83)
778c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK4				_GPIO(84)
788c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPDIF_OUT_PK5			_GPIO(85)
798c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPDIF_IN_PK6			_GPIO(86)
808c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK7				_GPIO(87)
818c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP1_FS_PN0			_GPIO(104)
828c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP1_DIN_PN1			_GPIO(105)
838c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP1_DOUT_PN2			_GPIO(106)
848c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP1_SCLK_PN3			_GPIO(107)
858c2ecf20Sopenharmony_ci#define TEGRA_PIN_USB_VBUS_EN0_PN4		_GPIO(108)
868c2ecf20Sopenharmony_ci#define TEGRA_PIN_USB_VBUS_EN1_PN5		_GPIO(109)
878c2ecf20Sopenharmony_ci#define TEGRA_PIN_HDMI_INT_PN7			_GPIO(111)
888c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA7_PO0		_GPIO(112)
898c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA0_PO1		_GPIO(113)
908c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA1_PO2		_GPIO(114)
918c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA2_PO3		_GPIO(115)
928c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA3_PO4		_GPIO(116)
938c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA4_PO5		_GPIO(117)
948c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA5_PO6		_GPIO(118)
958c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA6_PO7		_GPIO(119)
968c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP3_FS_PP0			_GPIO(120)
978c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP3_DIN_PP1			_GPIO(121)
988c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP3_DOUT_PP2			_GPIO(122)
998c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP3_SCLK_PP3			_GPIO(123)
1008c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP4_FS_PP4			_GPIO(124)
1018c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP4_DIN_PP5			_GPIO(125)
1028c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP4_DOUT_PP6			_GPIO(126)
1038c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP4_SCLK_PP7			_GPIO(127)
1048c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL0_PQ0			_GPIO(128)
1058c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL1_PQ1			_GPIO(129)
1068c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL2_PQ2			_GPIO(130)
1078c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL3_PQ3			_GPIO(131)
1088c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL4_PQ4			_GPIO(132)
1098c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL5_PQ5			_GPIO(133)
1108c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL6_PQ6			_GPIO(134)
1118c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL7_PQ7			_GPIO(135)
1128c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW0_PR0			_GPIO(136)
1138c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW1_PR1			_GPIO(137)
1148c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW2_PR2			_GPIO(138)
1158c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW3_PR3			_GPIO(139)
1168c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW4_PR4			_GPIO(140)
1178c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW5_PR5			_GPIO(141)
1188c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW6_PR6			_GPIO(142)
1198c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW7_PR7			_GPIO(143)
1208c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW8_PS0			_GPIO(144)
1218c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW9_PS1			_GPIO(145)
1228c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW10_PS2			_GPIO(146)
1238c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW11_PS3			_GPIO(147)
1248c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW12_PS4			_GPIO(148)
1258c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW13_PS5			_GPIO(149)
1268c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW14_PS6			_GPIO(150)
1278c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW15_PS7			_GPIO(151)
1288c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW16_PT0			_GPIO(152)
1298c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW17_PT1			_GPIO(153)
1308c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN2_I2C_SCL_PT5		_GPIO(157)
1318c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN2_I2C_SDA_PT6		_GPIO(158)
1328c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_CMD_PT7		_GPIO(159)
1338c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU0				_GPIO(160)
1348c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU1				_GPIO(161)
1358c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU2				_GPIO(162)
1368c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU3				_GPIO(163)
1378c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU4				_GPIO(164)
1388c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU5				_GPIO(165)
1398c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU6				_GPIO(166)
1408c2ecf20Sopenharmony_ci#define TEGRA_PIN_PV0				_GPIO(168)
1418c2ecf20Sopenharmony_ci#define TEGRA_PIN_PV1				_GPIO(169)
1428c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CD_N_PV2		_GPIO(170)
1438c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_WP_N_PV3		_GPIO(171)
1448c2ecf20Sopenharmony_ci#define TEGRA_PIN_DDC_SCL_PV4			_GPIO(172)
1458c2ecf20Sopenharmony_ci#define TEGRA_PIN_DDC_SDA_PV5			_GPIO(173)
1468c2ecf20Sopenharmony_ci#define TEGRA_PIN_GPIO_W2_AUD_PW2		_GPIO(178)
1478c2ecf20Sopenharmony_ci#define TEGRA_PIN_GPIO_W3_AUD_PW3		_GPIO(179)
1488c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP_MCLK1_PW4			_GPIO(180)
1498c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK2_OUT_PW5			_GPIO(181)
1508c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART3_TXD_PW6			_GPIO(182)
1518c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART3_RXD_PW7			_GPIO(183)
1528c2ecf20Sopenharmony_ci#define TEGRA_PIN_DVFS_PWM_PX0			_GPIO(184)
1538c2ecf20Sopenharmony_ci#define TEGRA_PIN_GPIO_X1_AUD_PX1		_GPIO(185)
1548c2ecf20Sopenharmony_ci#define TEGRA_PIN_DVFS_CLK_PX2			_GPIO(186)
1558c2ecf20Sopenharmony_ci#define TEGRA_PIN_GPIO_X3_AUD_PX3		_GPIO(187)
1568c2ecf20Sopenharmony_ci#define TEGRA_PIN_GPIO_X4_AUD_PX4		_GPIO(188)
1578c2ecf20Sopenharmony_ci#define TEGRA_PIN_GPIO_X5_AUD_PX5		_GPIO(189)
1588c2ecf20Sopenharmony_ci#define TEGRA_PIN_GPIO_X6_AUD_PX6		_GPIO(190)
1598c2ecf20Sopenharmony_ci#define TEGRA_PIN_GPIO_X7_AUD_PX7		_GPIO(191)
1608c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_CLK_PY0			_GPIO(192)
1618c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DIR_PY1			_GPIO(193)
1628c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_NXT_PY2			_GPIO(194)
1638c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_STP_PY3			_GPIO(195)
1648c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT3_PY4		_GPIO(196)
1658c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT2_PY5		_GPIO(197)
1668c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT1_PY6		_GPIO(198)
1678c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT0_PY7		_GPIO(199)
1688c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_CLK_PZ0		_GPIO(200)
1698c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_CMD_PZ1		_GPIO(201)
1708c2ecf20Sopenharmony_ci#define TEGRA_PIN_PWR_I2C_SCL_PZ6		_GPIO(206)
1718c2ecf20Sopenharmony_ci#define TEGRA_PIN_PWR_I2C_SDA_PZ7		_GPIO(207)
1728c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT0_PAA0		_GPIO(208)
1738c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT1_PAA1		_GPIO(209)
1748c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT2_PAA2		_GPIO(210)
1758c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT3_PAA3		_GPIO(211)
1768c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT4_PAA4		_GPIO(212)
1778c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT5_PAA5		_GPIO(213)
1788c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT6_PAA6		_GPIO(214)
1798c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT7_PAA7		_GPIO(215)
1808c2ecf20Sopenharmony_ci#define TEGRA_PIN_PBB0				_GPIO(216)
1818c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM_I2C_SCL_PBB1		_GPIO(217)
1828c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM_I2C_SDA_PBB2		_GPIO(218)
1838c2ecf20Sopenharmony_ci#define TEGRA_PIN_PBB3				_GPIO(219)
1848c2ecf20Sopenharmony_ci#define TEGRA_PIN_PBB4				_GPIO(220)
1858c2ecf20Sopenharmony_ci#define TEGRA_PIN_PBB5				_GPIO(221)
1868c2ecf20Sopenharmony_ci#define TEGRA_PIN_PBB6				_GPIO(222)
1878c2ecf20Sopenharmony_ci#define TEGRA_PIN_PBB7				_GPIO(223)
1888c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM_MCLK_PCC0			_GPIO(224)
1898c2ecf20Sopenharmony_ci#define TEGRA_PIN_PCC1				_GPIO(225)
1908c2ecf20Sopenharmony_ci#define TEGRA_PIN_PCC2				_GPIO(226)
1918c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_CLK_PCC4		_GPIO(228)
1928c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK2_REQ_PCC5			_GPIO(229)
1938c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L0_RST_N_PDD1		_GPIO(233)
1948c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L0_CLKREQ_N_PDD2		_GPIO(234)
1958c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_WAKE_N_PDD3		_GPIO(235)
1968c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L1_RST_N_PDD5		_GPIO(237)
1978c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L1_CLKREQ_N_PDD6		_GPIO(238)
1988c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK3_OUT_PEE0			_GPIO(240)
1998c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK3_REQ_PEE1			_GPIO(241)
2008c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP_MCLK1_REQ_PEE2		_GPIO(242)
2018c2ecf20Sopenharmony_ci#define TEGRA_PIN_HDMI_CEC_PEE3			_GPIO(243)
2028c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CLK_LB_OUT_PEE4	_GPIO(244)
2038c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CLK_LB_IN_PEE5		_GPIO(245)
2048c2ecf20Sopenharmony_ci#define TEGRA_PIN_DP_HPD_PFF0			_GPIO(248)
2058c2ecf20Sopenharmony_ci#define TEGRA_PIN_USB_VBUS_EN2_PFF1		_GPIO(249)
2068c2ecf20Sopenharmony_ci#define TEGRA_PIN_PFF2				_GPIO(250)
2078c2ecf20Sopenharmony_ci
2088c2ecf20Sopenharmony_ci/* All non-GPIO pins follow */
2098c2ecf20Sopenharmony_ci#define NUM_GPIOS				(TEGRA_PIN_PFF2 + 1)
2108c2ecf20Sopenharmony_ci#define _PIN(offset)				(NUM_GPIOS + (offset))
2118c2ecf20Sopenharmony_ci
2128c2ecf20Sopenharmony_ci/* Non-GPIO pins */
2138c2ecf20Sopenharmony_ci#define TEGRA_PIN_CORE_PWR_REQ			_PIN(0)
2148c2ecf20Sopenharmony_ci#define TEGRA_PIN_CPU_PWR_REQ			_PIN(1)
2158c2ecf20Sopenharmony_ci#define TEGRA_PIN_PWR_INT_N			_PIN(2)
2168c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_CLK_LB			_PIN(3)
2178c2ecf20Sopenharmony_ci#define TEGRA_PIN_RESET_OUT_N			_PIN(4)
2188c2ecf20Sopenharmony_ci#define TEGRA_PIN_OWR				_PIN(5)
2198c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK_32K_IN			_PIN(6)
2208c2ecf20Sopenharmony_ci#define TEGRA_PIN_JTAG_RTCK			_PIN(7)
2218c2ecf20Sopenharmony_ci#define TEGRA_PIN_DSI_B_CLK_P			_PIN(8)
2228c2ecf20Sopenharmony_ci#define TEGRA_PIN_DSI_B_CLK_N			_PIN(9)
2238c2ecf20Sopenharmony_ci#define TEGRA_PIN_DSI_B_D0_P			_PIN(10)
2248c2ecf20Sopenharmony_ci#define TEGRA_PIN_DSI_B_D0_N			_PIN(11)
2258c2ecf20Sopenharmony_ci#define TEGRA_PIN_DSI_B_D1_P			_PIN(12)
2268c2ecf20Sopenharmony_ci#define TEGRA_PIN_DSI_B_D1_N			_PIN(13)
2278c2ecf20Sopenharmony_ci#define TEGRA_PIN_DSI_B_D2_P			_PIN(14)
2288c2ecf20Sopenharmony_ci#define TEGRA_PIN_DSI_B_D2_N			_PIN(15)
2298c2ecf20Sopenharmony_ci#define TEGRA_PIN_DSI_B_D3_P			_PIN(16)
2308c2ecf20Sopenharmony_ci#define TEGRA_PIN_DSI_B_D3_N			_PIN(17)
2318c2ecf20Sopenharmony_ci
2328c2ecf20Sopenharmony_cistatic const struct pinctrl_pin_desc tegra124_pins[] = {
2338c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK_32K_OUT_PA0, "CLK_32K_OUT PA0"),
2348c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_CTS_N_PA1, "UART3_CTS_N PA1"),
2358c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_FS_PA2, "DAP2_FS PA2"),
2368c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_SCLK_PA3, "DAP2_SCLK PA3"),
2378c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_DIN_PA4, "DAP2_DIN PA4"),
2388c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_DOUT_PA5, "DAP2_DOUT PA5"),
2398c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CLK_PA6, "SDMMC3_CLK PA6"),
2408c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CMD_PA7, "SDMMC3_CMD PA7"),
2418c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PB0, "PB0"),
2428c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PB1, "PB1"),
2438c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT3_PB4, "SDMMC3_DAT3 PB4"),
2448c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT2_PB5, "SDMMC3_DAT2 PB5"),
2458c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT1_PB6, "SDMMC3_DAT1 PB6"),
2468c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT0_PB7, "SDMMC3_DAT0 PB7"),
2478c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_RTS_N_PC0, "UART3_RTS_N PC0"),
2488c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_TXD_PC2, "UART2_TXD PC2"),
2498c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_RXD_PC3, "UART2_RXD PC3"),
2508c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SCL_PC4, "GEN1_I2C_SCL PC4"),
2518c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SDA_PC5, "GEN1_I2C_SDA PC5"),
2528c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PC7, "PC7"),
2538c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PG0, "PG0"),
2548c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PG1, "PG1"),
2558c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PG2, "PG2"),
2568c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PG3, "PG3"),
2578c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PG4, "PG4"),
2588c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PG5, "PG5"),
2598c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PG6, "PG6"),
2608c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PG7, "PG7"),
2618c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PH0, "PH0"),
2628c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PH1, "PH1"),
2638c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PH2, "PH2"),
2648c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PH3, "PH3"),
2658c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PH4, "PH4"),
2668c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PH5, "PH5"),
2678c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PH6, "PH6"),
2688c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PH7, "PH7"),
2698c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PI0, "PI0"),
2708c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PI1, "PI1"),
2718c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PI2, "PI2"),
2728c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PI3, "PI3"),
2738c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PI4, "PI4"),
2748c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PI5, "PI5"),
2758c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PI6, "PI6"),
2768c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PI7, "PI7"),
2778c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PJ0, "PJ0"),
2788c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PJ2, "PJ2"),
2798c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_CTS_N_PJ5, "UART2_CTS_N PJ5"),
2808c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_RTS_N_PJ6, "UART2_RTS_N PJ6"),
2818c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PJ7, "PJ7"),
2828c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK0, "PK0"),
2838c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK1, "PK1"),
2848c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK2, "PK2"),
2858c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK3, "PK3"),
2868c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK4, "PK4"),
2878c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPDIF_OUT_PK5, "SPDIF_OUT PK5"),
2888c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPDIF_IN_PK6, "SPDIF_IN PK6"),
2898c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK7, "PK7"),
2908c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_FS_PN0, "DAP1_FS PN0"),
2918c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_DIN_PN1, "DAP1_DIN PN1"),
2928c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_DOUT_PN2, "DAP1_DOUT PN2"),
2938c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_SCLK_PN3, "DAP1_SCLK PN3"),
2948c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN0_PN4, "USB_VBUS_EN0 PN4"),
2958c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN1_PN5, "USB_VBUS_EN1 PN5"),
2968c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_HDMI_INT_PN7, "HDMI_INT PN7"),
2978c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA7_PO0, "ULPI_DATA7 PO0"),
2988c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA0_PO1, "ULPI_DATA0 PO1"),
2998c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA1_PO2, "ULPI_DATA1 PO2"),
3008c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA2_PO3, "ULPI_DATA2 PO3"),
3018c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA3_PO4, "ULPI_DATA3 PO4"),
3028c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA4_PO5, "ULPI_DATA4 PO5"),
3038c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA5_PO6, "ULPI_DATA5 PO6"),
3048c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA6_PO7, "ULPI_DATA6 PO7"),
3058c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_FS_PP0, "DAP3_FS PP0"),
3068c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_DIN_PP1, "DAP3_DIN PP1"),
3078c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_DOUT_PP2, "DAP3_DOUT PP2"),
3088c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_SCLK_PP3, "DAP3_SCLK PP3"),
3098c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_FS_PP4, "DAP4_FS PP4"),
3108c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_DIN_PP5, "DAP4_DIN PP5"),
3118c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_DOUT_PP6, "DAP4_DOUT PP6"),
3128c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_SCLK_PP7, "DAP4_SCLK PP7"),
3138c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL0_PQ0, "KB_COL0 PQ0"),
3148c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL1_PQ1, "KB_COL1 PQ1"),
3158c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL2_PQ2, "KB_COL2 PQ2"),
3168c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL3_PQ3, "KB_COL3 PQ3"),
3178c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL4_PQ4, "KB_COL4 PQ4"),
3188c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL5_PQ5, "KB_COL5 PQ5"),
3198c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL6_PQ6, "KB_COL6 PQ6"),
3208c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL7_PQ7, "KB_COL7 PQ7"),
3218c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW0_PR0, "KB_ROW0 PR0"),
3228c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW1_PR1, "KB_ROW1 PR1"),
3238c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW2_PR2, "KB_ROW2 PR2"),
3248c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW3_PR3, "KB_ROW3 PR3"),
3258c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW4_PR4, "KB_ROW4 PR4"),
3268c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW5_PR5, "KB_ROW5 PR5"),
3278c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW6_PR6, "KB_ROW6 PR6"),
3288c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW7_PR7, "KB_ROW7 PR7"),
3298c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW8_PS0, "KB_ROW8 PS0"),
3308c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW9_PS1, "KB_ROW9 PS1"),
3318c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW10_PS2, "KB_ROW10 PS2"),
3328c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW11_PS3, "KB_ROW11 PS3"),
3338c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW12_PS4, "KB_ROW12 PS4"),
3348c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW13_PS5, "KB_ROW13 PS5"),
3358c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW14_PS6, "KB_ROW14 PS6"),
3368c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW15_PS7, "KB_ROW15 PS7"),
3378c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW16_PT0, "KB_ROW16 PT0"),
3388c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW17_PT1, "KB_ROW17 PT1"),
3398c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SCL_PT5, "GEN2_I2C_SCL PT5"),
3408c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SDA_PT6, "GEN2_I2C_SDA PT6"),
3418c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_CMD_PT7, "SDMMC4_CMD PT7"),
3428c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU0, "PU0"),
3438c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU1, "PU1"),
3448c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU2, "PU2"),
3458c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU3, "PU3"),
3468c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU4, "PU4"),
3478c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU5, "PU5"),
3488c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU6, "PU6"),
3498c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PV0, "PV0"),
3508c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PV1, "PV1"),
3518c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CD_N_PV2, "SDMMC3_CD_N PV2"),
3528c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_WP_N_PV3, "SDMMC1_WP_N PV3"),
3538c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DDC_SCL_PV4, "DDC_SCL PV4"),
3548c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DDC_SDA_PV5, "DDC_SDA PV5"),
3558c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_W2_AUD_PW2, "GPIO_W2_AUD PW2"),
3568c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_W3_AUD_PW3, "GPIO_W3_AUD PW3"),
3578c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP_MCLK1_PW4, "DAP_MCLK1 PW4"),
3588c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK2_OUT_PW5, "CLK2_OUT PW5"),
3598c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_TXD_PW6, "UART3_TXD PW6"),
3608c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_RXD_PW7, "UART3_RXD PW7"),
3618c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DVFS_PWM_PX0, "DVFS_PWM PX0"),
3628c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X1_AUD_PX1, "GPIO_X1_AUD PX1"),
3638c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DVFS_CLK_PX2, "DVFS_CLK PX2"),
3648c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X3_AUD_PX3, "GPIO_X3_AUD PX3"),
3658c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X4_AUD_PX4, "GPIO_X4_AUD PX4"),
3668c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X5_AUD_PX5, "GPIO_X5_AUD PX5"),
3678c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X6_AUD_PX6, "GPIO_X6_AUD PX6"),
3688c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X7_AUD_PX7, "GPIO_X7_AUD PX7"),
3698c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_CLK_PY0, "ULPI_CLK PY0"),
3708c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DIR_PY1, "ULPI_DIR PY1"),
3718c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_NXT_PY2, "ULPI_NXT PY2"),
3728c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_STP_PY3, "ULPI_STP PY3"),
3738c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT3_PY4, "SDMMC1_DAT3 PY4"),
3748c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT2_PY5, "SDMMC1_DAT2 PY5"),
3758c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT1_PY6, "SDMMC1_DAT1 PY6"),
3768c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT0_PY7, "SDMMC1_DAT0 PY7"),
3778c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CLK_PZ0, "SDMMC1_CLK PZ0"),
3788c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CMD_PZ1, "SDMMC1_CMD PZ1"),
3798c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SCL_PZ6, "PWR_I2C_SCL PZ6"),
3808c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SDA_PZ7, "PWR_I2C_SDA PZ7"),
3818c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT0_PAA0, "SDMMC4_DAT0 PAA0"),
3828c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT1_PAA1, "SDMMC4_DAT1 PAA1"),
3838c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT2_PAA2, "SDMMC4_DAT2 PAA2"),
3848c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT3_PAA3, "SDMMC4_DAT3 PAA3"),
3858c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT4_PAA4, "SDMMC4_DAT4 PAA4"),
3868c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT5_PAA5, "SDMMC4_DAT5 PAA5"),
3878c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT6_PAA6, "SDMMC4_DAT6 PAA6"),
3888c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT7_PAA7, "SDMMC4_DAT7 PAA7"),
3898c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB0, "PBB0"),
3908c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SCL_PBB1, "CAM_I2C_SCL PBB1"),
3918c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SDA_PBB2, "CAM_I2C_SDA PBB2"),
3928c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB3, "PBB3"),
3938c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB4, "PBB4"),
3948c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB5, "PBB5"),
3958c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB6, "PBB6"),
3968c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB7, "PBB7"),
3978c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_MCLK_PCC0, "CAM_MCLK PCC0"),
3988c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PCC1, "PCC1"),
3998c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PCC2, "PCC2"),
4008c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_CLK_PCC4, "SDMMC4_CLK PCC4"),
4018c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK2_REQ_PCC5, "CLK2_REQ PCC5"),
4028c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L0_RST_N_PDD1, "PEX_L0_RST_N PDD1"),
4038c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L0_CLKREQ_N_PDD2, "PEX_L0_CLKREQ_N PDD2"),
4048c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_WAKE_N_PDD3, "PEX_WAKE_N PDD3"),
4058c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L1_RST_N_PDD5, "PEX_L1_RST_N PDD5"),
4068c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L1_CLKREQ_N_PDD6, "PEX_L1_CLKREQ_N PDD6"),
4078c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK3_OUT_PEE0, "CLK3_OUT PEE0"),
4088c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK3_REQ_PEE1, "CLK3_REQ PEE1"),
4098c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP_MCLK1_REQ_PEE2, "DAP_MCLK1_REQ PEE2"),
4108c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_HDMI_CEC_PEE3, "HDMI_CEC PEE3"),
4118c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CLK_LB_OUT_PEE4, "SDMMC3_CLK_LB_OUT PEE4"),
4128c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CLK_LB_IN_PEE5, "SDMMC3_CLK_LB_IN PEE5"),
4138c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DP_HPD_PFF0, "DP_HPD PFF0"),
4148c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN2_PFF1, "USB_VBUS_EN2 PFF1"),
4158c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PFF2, "PFF2"),
4168c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CORE_PWR_REQ, "CORE_PWR_REQ"),
4178c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CPU_PWR_REQ, "CPU_PWR_REQ"),
4188c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_INT_N, "PWR_INT_N"),
4198c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CLK_LB, "GMI_CLK_LB"),
4208c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_RESET_OUT_N, "RESET_OUT_N"),
4218c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_OWR, "OWR"),
4228c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK_32K_IN, "CLK_32K_IN"),
4238c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_RTCK, "JTAG_RTCK"),
4248c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DSI_B_CLK_P, "DSI_B_CLK_P"),
4258c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DSI_B_CLK_N, "DSI_B_CLK_N"),
4268c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DSI_B_D0_P, "DSI_B_D0_P"),
4278c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DSI_B_D0_N, "DSI_B_D0_N"),
4288c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DSI_B_D1_P, "DSI_B_D1_P"),
4298c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DSI_B_D1_N, "DSI_B_D1_N"),
4308c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DSI_B_D2_P, "DSI_B_D2_P"),
4318c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DSI_B_D2_N, "DSI_B_D2_N"),
4328c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DSI_B_D3_P, "DSI_B_D3_P"),
4338c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DSI_B_D3_N, "DSI_B_D3_N"),
4348c2ecf20Sopenharmony_ci};
4358c2ecf20Sopenharmony_ci
4368c2ecf20Sopenharmony_cistatic const unsigned clk_32k_out_pa0_pins[] = {
4378c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK_32K_OUT_PA0,
4388c2ecf20Sopenharmony_ci};
4398c2ecf20Sopenharmony_ci
4408c2ecf20Sopenharmony_cistatic const unsigned uart3_cts_n_pa1_pins[] = {
4418c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_CTS_N_PA1,
4428c2ecf20Sopenharmony_ci};
4438c2ecf20Sopenharmony_ci
4448c2ecf20Sopenharmony_cistatic const unsigned dap2_fs_pa2_pins[] = {
4458c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_FS_PA2,
4468c2ecf20Sopenharmony_ci};
4478c2ecf20Sopenharmony_ci
4488c2ecf20Sopenharmony_cistatic const unsigned dap2_sclk_pa3_pins[] = {
4498c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_SCLK_PA3,
4508c2ecf20Sopenharmony_ci};
4518c2ecf20Sopenharmony_ci
4528c2ecf20Sopenharmony_cistatic const unsigned dap2_din_pa4_pins[] = {
4538c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_DIN_PA4,
4548c2ecf20Sopenharmony_ci};
4558c2ecf20Sopenharmony_ci
4568c2ecf20Sopenharmony_cistatic const unsigned dap2_dout_pa5_pins[] = {
4578c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_DOUT_PA5,
4588c2ecf20Sopenharmony_ci};
4598c2ecf20Sopenharmony_ci
4608c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_clk_pa6_pins[] = {
4618c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_PA6,
4628c2ecf20Sopenharmony_ci};
4638c2ecf20Sopenharmony_ci
4648c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_cmd_pa7_pins[] = {
4658c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CMD_PA7,
4668c2ecf20Sopenharmony_ci};
4678c2ecf20Sopenharmony_ci
4688c2ecf20Sopenharmony_cistatic const unsigned pb0_pins[] = {
4698c2ecf20Sopenharmony_ci	TEGRA_PIN_PB0,
4708c2ecf20Sopenharmony_ci};
4718c2ecf20Sopenharmony_ci
4728c2ecf20Sopenharmony_cistatic const unsigned pb1_pins[] = {
4738c2ecf20Sopenharmony_ci	TEGRA_PIN_PB1,
4748c2ecf20Sopenharmony_ci};
4758c2ecf20Sopenharmony_ci
4768c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat3_pb4_pins[] = {
4778c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT3_PB4,
4788c2ecf20Sopenharmony_ci};
4798c2ecf20Sopenharmony_ci
4808c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat2_pb5_pins[] = {
4818c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT2_PB5,
4828c2ecf20Sopenharmony_ci};
4838c2ecf20Sopenharmony_ci
4848c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat1_pb6_pins[] = {
4858c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT1_PB6,
4868c2ecf20Sopenharmony_ci};
4878c2ecf20Sopenharmony_ci
4888c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat0_pb7_pins[] = {
4898c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT0_PB7,
4908c2ecf20Sopenharmony_ci};
4918c2ecf20Sopenharmony_ci
4928c2ecf20Sopenharmony_cistatic const unsigned uart3_rts_n_pc0_pins[] = {
4938c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_RTS_N_PC0,
4948c2ecf20Sopenharmony_ci};
4958c2ecf20Sopenharmony_ci
4968c2ecf20Sopenharmony_cistatic const unsigned uart2_txd_pc2_pins[] = {
4978c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_TXD_PC2,
4988c2ecf20Sopenharmony_ci};
4998c2ecf20Sopenharmony_ci
5008c2ecf20Sopenharmony_cistatic const unsigned uart2_rxd_pc3_pins[] = {
5018c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_RXD_PC3,
5028c2ecf20Sopenharmony_ci};
5038c2ecf20Sopenharmony_ci
5048c2ecf20Sopenharmony_cistatic const unsigned gen1_i2c_scl_pc4_pins[] = {
5058c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SCL_PC4,
5068c2ecf20Sopenharmony_ci};
5078c2ecf20Sopenharmony_ci
5088c2ecf20Sopenharmony_cistatic const unsigned gen1_i2c_sda_pc5_pins[] = {
5098c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SDA_PC5,
5108c2ecf20Sopenharmony_ci};
5118c2ecf20Sopenharmony_ci
5128c2ecf20Sopenharmony_cistatic const unsigned pc7_pins[] = {
5138c2ecf20Sopenharmony_ci	TEGRA_PIN_PC7,
5148c2ecf20Sopenharmony_ci};
5158c2ecf20Sopenharmony_ci
5168c2ecf20Sopenharmony_cistatic const unsigned pg0_pins[] = {
5178c2ecf20Sopenharmony_ci	TEGRA_PIN_PG0,
5188c2ecf20Sopenharmony_ci};
5198c2ecf20Sopenharmony_ci
5208c2ecf20Sopenharmony_cistatic const unsigned pg1_pins[] = {
5218c2ecf20Sopenharmony_ci	TEGRA_PIN_PG1,
5228c2ecf20Sopenharmony_ci};
5238c2ecf20Sopenharmony_ci
5248c2ecf20Sopenharmony_cistatic const unsigned pg2_pins[] = {
5258c2ecf20Sopenharmony_ci	TEGRA_PIN_PG2,
5268c2ecf20Sopenharmony_ci};
5278c2ecf20Sopenharmony_ci
5288c2ecf20Sopenharmony_cistatic const unsigned pg3_pins[] = {
5298c2ecf20Sopenharmony_ci	TEGRA_PIN_PG3,
5308c2ecf20Sopenharmony_ci};
5318c2ecf20Sopenharmony_ci
5328c2ecf20Sopenharmony_cistatic const unsigned pg4_pins[] = {
5338c2ecf20Sopenharmony_ci	TEGRA_PIN_PG4,
5348c2ecf20Sopenharmony_ci};
5358c2ecf20Sopenharmony_ci
5368c2ecf20Sopenharmony_cistatic const unsigned pg5_pins[] = {
5378c2ecf20Sopenharmony_ci	TEGRA_PIN_PG5,
5388c2ecf20Sopenharmony_ci};
5398c2ecf20Sopenharmony_ci
5408c2ecf20Sopenharmony_cistatic const unsigned pg6_pins[] = {
5418c2ecf20Sopenharmony_ci	TEGRA_PIN_PG6,
5428c2ecf20Sopenharmony_ci};
5438c2ecf20Sopenharmony_ci
5448c2ecf20Sopenharmony_cistatic const unsigned pg7_pins[] = {
5458c2ecf20Sopenharmony_ci	TEGRA_PIN_PG7,
5468c2ecf20Sopenharmony_ci};
5478c2ecf20Sopenharmony_ci
5488c2ecf20Sopenharmony_cistatic const unsigned ph0_pins[] = {
5498c2ecf20Sopenharmony_ci	TEGRA_PIN_PH0,
5508c2ecf20Sopenharmony_ci};
5518c2ecf20Sopenharmony_ci
5528c2ecf20Sopenharmony_cistatic const unsigned ph1_pins[] = {
5538c2ecf20Sopenharmony_ci	TEGRA_PIN_PH1,
5548c2ecf20Sopenharmony_ci};
5558c2ecf20Sopenharmony_ci
5568c2ecf20Sopenharmony_cistatic const unsigned ph2_pins[] = {
5578c2ecf20Sopenharmony_ci	TEGRA_PIN_PH2,
5588c2ecf20Sopenharmony_ci};
5598c2ecf20Sopenharmony_ci
5608c2ecf20Sopenharmony_cistatic const unsigned ph3_pins[] = {
5618c2ecf20Sopenharmony_ci	TEGRA_PIN_PH3,
5628c2ecf20Sopenharmony_ci};
5638c2ecf20Sopenharmony_ci
5648c2ecf20Sopenharmony_cistatic const unsigned ph4_pins[] = {
5658c2ecf20Sopenharmony_ci	TEGRA_PIN_PH4,
5668c2ecf20Sopenharmony_ci};
5678c2ecf20Sopenharmony_ci
5688c2ecf20Sopenharmony_cistatic const unsigned ph5_pins[] = {
5698c2ecf20Sopenharmony_ci	TEGRA_PIN_PH5,
5708c2ecf20Sopenharmony_ci};
5718c2ecf20Sopenharmony_ci
5728c2ecf20Sopenharmony_cistatic const unsigned ph6_pins[] = {
5738c2ecf20Sopenharmony_ci	TEGRA_PIN_PH6,
5748c2ecf20Sopenharmony_ci};
5758c2ecf20Sopenharmony_ci
5768c2ecf20Sopenharmony_cistatic const unsigned ph7_pins[] = {
5778c2ecf20Sopenharmony_ci	TEGRA_PIN_PH7,
5788c2ecf20Sopenharmony_ci};
5798c2ecf20Sopenharmony_ci
5808c2ecf20Sopenharmony_cistatic const unsigned pi0_pins[] = {
5818c2ecf20Sopenharmony_ci	TEGRA_PIN_PI0,
5828c2ecf20Sopenharmony_ci};
5838c2ecf20Sopenharmony_ci
5848c2ecf20Sopenharmony_cistatic const unsigned pi1_pins[] = {
5858c2ecf20Sopenharmony_ci	TEGRA_PIN_PI1,
5868c2ecf20Sopenharmony_ci};
5878c2ecf20Sopenharmony_ci
5888c2ecf20Sopenharmony_cistatic const unsigned pi2_pins[] = {
5898c2ecf20Sopenharmony_ci	TEGRA_PIN_PI2,
5908c2ecf20Sopenharmony_ci};
5918c2ecf20Sopenharmony_ci
5928c2ecf20Sopenharmony_cistatic const unsigned pi3_pins[] = {
5938c2ecf20Sopenharmony_ci	TEGRA_PIN_PI3,
5948c2ecf20Sopenharmony_ci};
5958c2ecf20Sopenharmony_ci
5968c2ecf20Sopenharmony_cistatic const unsigned pi4_pins[] = {
5978c2ecf20Sopenharmony_ci	TEGRA_PIN_PI4,
5988c2ecf20Sopenharmony_ci};
5998c2ecf20Sopenharmony_ci
6008c2ecf20Sopenharmony_cistatic const unsigned pi5_pins[] = {
6018c2ecf20Sopenharmony_ci	TEGRA_PIN_PI5,
6028c2ecf20Sopenharmony_ci};
6038c2ecf20Sopenharmony_ci
6048c2ecf20Sopenharmony_cistatic const unsigned pi6_pins[] = {
6058c2ecf20Sopenharmony_ci	TEGRA_PIN_PI6,
6068c2ecf20Sopenharmony_ci};
6078c2ecf20Sopenharmony_ci
6088c2ecf20Sopenharmony_cistatic const unsigned pi7_pins[] = {
6098c2ecf20Sopenharmony_ci	TEGRA_PIN_PI7,
6108c2ecf20Sopenharmony_ci};
6118c2ecf20Sopenharmony_ci
6128c2ecf20Sopenharmony_cistatic const unsigned pj0_pins[] = {
6138c2ecf20Sopenharmony_ci	TEGRA_PIN_PJ0,
6148c2ecf20Sopenharmony_ci};
6158c2ecf20Sopenharmony_ci
6168c2ecf20Sopenharmony_cistatic const unsigned pj2_pins[] = {
6178c2ecf20Sopenharmony_ci	TEGRA_PIN_PJ2,
6188c2ecf20Sopenharmony_ci};
6198c2ecf20Sopenharmony_ci
6208c2ecf20Sopenharmony_cistatic const unsigned uart2_cts_n_pj5_pins[] = {
6218c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_CTS_N_PJ5,
6228c2ecf20Sopenharmony_ci};
6238c2ecf20Sopenharmony_ci
6248c2ecf20Sopenharmony_cistatic const unsigned uart2_rts_n_pj6_pins[] = {
6258c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_RTS_N_PJ6,
6268c2ecf20Sopenharmony_ci};
6278c2ecf20Sopenharmony_ci
6288c2ecf20Sopenharmony_cistatic const unsigned pj7_pins[] = {
6298c2ecf20Sopenharmony_ci	TEGRA_PIN_PJ7,
6308c2ecf20Sopenharmony_ci};
6318c2ecf20Sopenharmony_ci
6328c2ecf20Sopenharmony_cistatic const unsigned pk0_pins[] = {
6338c2ecf20Sopenharmony_ci	TEGRA_PIN_PK0,
6348c2ecf20Sopenharmony_ci};
6358c2ecf20Sopenharmony_ci
6368c2ecf20Sopenharmony_cistatic const unsigned pk1_pins[] = {
6378c2ecf20Sopenharmony_ci	TEGRA_PIN_PK1,
6388c2ecf20Sopenharmony_ci};
6398c2ecf20Sopenharmony_ci
6408c2ecf20Sopenharmony_cistatic const unsigned pk2_pins[] = {
6418c2ecf20Sopenharmony_ci	TEGRA_PIN_PK2,
6428c2ecf20Sopenharmony_ci};
6438c2ecf20Sopenharmony_ci
6448c2ecf20Sopenharmony_cistatic const unsigned pk3_pins[] = {
6458c2ecf20Sopenharmony_ci	TEGRA_PIN_PK3,
6468c2ecf20Sopenharmony_ci};
6478c2ecf20Sopenharmony_ci
6488c2ecf20Sopenharmony_cistatic const unsigned pk4_pins[] = {
6498c2ecf20Sopenharmony_ci	TEGRA_PIN_PK4,
6508c2ecf20Sopenharmony_ci};
6518c2ecf20Sopenharmony_ci
6528c2ecf20Sopenharmony_cistatic const unsigned spdif_out_pk5_pins[] = {
6538c2ecf20Sopenharmony_ci	TEGRA_PIN_SPDIF_OUT_PK5,
6548c2ecf20Sopenharmony_ci};
6558c2ecf20Sopenharmony_ci
6568c2ecf20Sopenharmony_cistatic const unsigned spdif_in_pk6_pins[] = {
6578c2ecf20Sopenharmony_ci	TEGRA_PIN_SPDIF_IN_PK6,
6588c2ecf20Sopenharmony_ci};
6598c2ecf20Sopenharmony_ci
6608c2ecf20Sopenharmony_cistatic const unsigned pk7_pins[] = {
6618c2ecf20Sopenharmony_ci	TEGRA_PIN_PK7,
6628c2ecf20Sopenharmony_ci};
6638c2ecf20Sopenharmony_ci
6648c2ecf20Sopenharmony_cistatic const unsigned dap1_fs_pn0_pins[] = {
6658c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_FS_PN0,
6668c2ecf20Sopenharmony_ci};
6678c2ecf20Sopenharmony_ci
6688c2ecf20Sopenharmony_cistatic const unsigned dap1_din_pn1_pins[] = {
6698c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_DIN_PN1,
6708c2ecf20Sopenharmony_ci};
6718c2ecf20Sopenharmony_ci
6728c2ecf20Sopenharmony_cistatic const unsigned dap1_dout_pn2_pins[] = {
6738c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_DOUT_PN2,
6748c2ecf20Sopenharmony_ci};
6758c2ecf20Sopenharmony_ci
6768c2ecf20Sopenharmony_cistatic const unsigned dap1_sclk_pn3_pins[] = {
6778c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_SCLK_PN3,
6788c2ecf20Sopenharmony_ci};
6798c2ecf20Sopenharmony_ci
6808c2ecf20Sopenharmony_cistatic const unsigned usb_vbus_en0_pn4_pins[] = {
6818c2ecf20Sopenharmony_ci	TEGRA_PIN_USB_VBUS_EN0_PN4,
6828c2ecf20Sopenharmony_ci};
6838c2ecf20Sopenharmony_ci
6848c2ecf20Sopenharmony_cistatic const unsigned usb_vbus_en1_pn5_pins[] = {
6858c2ecf20Sopenharmony_ci	TEGRA_PIN_USB_VBUS_EN1_PN5,
6868c2ecf20Sopenharmony_ci};
6878c2ecf20Sopenharmony_ci
6888c2ecf20Sopenharmony_cistatic const unsigned hdmi_int_pn7_pins[] = {
6898c2ecf20Sopenharmony_ci	TEGRA_PIN_HDMI_INT_PN7,
6908c2ecf20Sopenharmony_ci};
6918c2ecf20Sopenharmony_ci
6928c2ecf20Sopenharmony_cistatic const unsigned ulpi_data7_po0_pins[] = {
6938c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA7_PO0,
6948c2ecf20Sopenharmony_ci};
6958c2ecf20Sopenharmony_ci
6968c2ecf20Sopenharmony_cistatic const unsigned ulpi_data0_po1_pins[] = {
6978c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA0_PO1,
6988c2ecf20Sopenharmony_ci};
6998c2ecf20Sopenharmony_ci
7008c2ecf20Sopenharmony_cistatic const unsigned ulpi_data1_po2_pins[] = {
7018c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA1_PO2,
7028c2ecf20Sopenharmony_ci};
7038c2ecf20Sopenharmony_ci
7048c2ecf20Sopenharmony_cistatic const unsigned ulpi_data2_po3_pins[] = {
7058c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA2_PO3,
7068c2ecf20Sopenharmony_ci};
7078c2ecf20Sopenharmony_ci
7088c2ecf20Sopenharmony_cistatic const unsigned ulpi_data3_po4_pins[] = {
7098c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA3_PO4,
7108c2ecf20Sopenharmony_ci};
7118c2ecf20Sopenharmony_ci
7128c2ecf20Sopenharmony_cistatic const unsigned ulpi_data4_po5_pins[] = {
7138c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA4_PO5,
7148c2ecf20Sopenharmony_ci};
7158c2ecf20Sopenharmony_ci
7168c2ecf20Sopenharmony_cistatic const unsigned ulpi_data5_po6_pins[] = {
7178c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA5_PO6,
7188c2ecf20Sopenharmony_ci};
7198c2ecf20Sopenharmony_ci
7208c2ecf20Sopenharmony_cistatic const unsigned ulpi_data6_po7_pins[] = {
7218c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA6_PO7,
7228c2ecf20Sopenharmony_ci};
7238c2ecf20Sopenharmony_ci
7248c2ecf20Sopenharmony_cistatic const unsigned dap3_fs_pp0_pins[] = {
7258c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_FS_PP0,
7268c2ecf20Sopenharmony_ci};
7278c2ecf20Sopenharmony_ci
7288c2ecf20Sopenharmony_cistatic const unsigned dap3_din_pp1_pins[] = {
7298c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_DIN_PP1,
7308c2ecf20Sopenharmony_ci};
7318c2ecf20Sopenharmony_ci
7328c2ecf20Sopenharmony_cistatic const unsigned dap3_dout_pp2_pins[] = {
7338c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_DOUT_PP2,
7348c2ecf20Sopenharmony_ci};
7358c2ecf20Sopenharmony_ci
7368c2ecf20Sopenharmony_cistatic const unsigned dap3_sclk_pp3_pins[] = {
7378c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_SCLK_PP3,
7388c2ecf20Sopenharmony_ci};
7398c2ecf20Sopenharmony_ci
7408c2ecf20Sopenharmony_cistatic const unsigned dap4_fs_pp4_pins[] = {
7418c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_FS_PP4,
7428c2ecf20Sopenharmony_ci};
7438c2ecf20Sopenharmony_ci
7448c2ecf20Sopenharmony_cistatic const unsigned dap4_din_pp5_pins[] = {
7458c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_DIN_PP5,
7468c2ecf20Sopenharmony_ci};
7478c2ecf20Sopenharmony_ci
7488c2ecf20Sopenharmony_cistatic const unsigned dap4_dout_pp6_pins[] = {
7498c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_DOUT_PP6,
7508c2ecf20Sopenharmony_ci};
7518c2ecf20Sopenharmony_ci
7528c2ecf20Sopenharmony_cistatic const unsigned dap4_sclk_pp7_pins[] = {
7538c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_SCLK_PP7,
7548c2ecf20Sopenharmony_ci};
7558c2ecf20Sopenharmony_ci
7568c2ecf20Sopenharmony_cistatic const unsigned kb_col0_pq0_pins[] = {
7578c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL0_PQ0,
7588c2ecf20Sopenharmony_ci};
7598c2ecf20Sopenharmony_ci
7608c2ecf20Sopenharmony_cistatic const unsigned kb_col1_pq1_pins[] = {
7618c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL1_PQ1,
7628c2ecf20Sopenharmony_ci};
7638c2ecf20Sopenharmony_ci
7648c2ecf20Sopenharmony_cistatic const unsigned kb_col2_pq2_pins[] = {
7658c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL2_PQ2,
7668c2ecf20Sopenharmony_ci};
7678c2ecf20Sopenharmony_ci
7688c2ecf20Sopenharmony_cistatic const unsigned kb_col3_pq3_pins[] = {
7698c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL3_PQ3,
7708c2ecf20Sopenharmony_ci};
7718c2ecf20Sopenharmony_ci
7728c2ecf20Sopenharmony_cistatic const unsigned kb_col4_pq4_pins[] = {
7738c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL4_PQ4,
7748c2ecf20Sopenharmony_ci};
7758c2ecf20Sopenharmony_ci
7768c2ecf20Sopenharmony_cistatic const unsigned kb_col5_pq5_pins[] = {
7778c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL5_PQ5,
7788c2ecf20Sopenharmony_ci};
7798c2ecf20Sopenharmony_ci
7808c2ecf20Sopenharmony_cistatic const unsigned kb_col6_pq6_pins[] = {
7818c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL6_PQ6,
7828c2ecf20Sopenharmony_ci};
7838c2ecf20Sopenharmony_ci
7848c2ecf20Sopenharmony_cistatic const unsigned kb_col7_pq7_pins[] = {
7858c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL7_PQ7,
7868c2ecf20Sopenharmony_ci};
7878c2ecf20Sopenharmony_ci
7888c2ecf20Sopenharmony_cistatic const unsigned kb_row0_pr0_pins[] = {
7898c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW0_PR0,
7908c2ecf20Sopenharmony_ci};
7918c2ecf20Sopenharmony_ci
7928c2ecf20Sopenharmony_cistatic const unsigned kb_row1_pr1_pins[] = {
7938c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW1_PR1,
7948c2ecf20Sopenharmony_ci};
7958c2ecf20Sopenharmony_ci
7968c2ecf20Sopenharmony_cistatic const unsigned kb_row2_pr2_pins[] = {
7978c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW2_PR2,
7988c2ecf20Sopenharmony_ci};
7998c2ecf20Sopenharmony_ci
8008c2ecf20Sopenharmony_cistatic const unsigned kb_row3_pr3_pins[] = {
8018c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW3_PR3,
8028c2ecf20Sopenharmony_ci};
8038c2ecf20Sopenharmony_ci
8048c2ecf20Sopenharmony_cistatic const unsigned kb_row4_pr4_pins[] = {
8058c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW4_PR4,
8068c2ecf20Sopenharmony_ci};
8078c2ecf20Sopenharmony_ci
8088c2ecf20Sopenharmony_cistatic const unsigned kb_row5_pr5_pins[] = {
8098c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW5_PR5,
8108c2ecf20Sopenharmony_ci};
8118c2ecf20Sopenharmony_ci
8128c2ecf20Sopenharmony_cistatic const unsigned kb_row6_pr6_pins[] = {
8138c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW6_PR6,
8148c2ecf20Sopenharmony_ci};
8158c2ecf20Sopenharmony_ci
8168c2ecf20Sopenharmony_cistatic const unsigned kb_row7_pr7_pins[] = {
8178c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW7_PR7,
8188c2ecf20Sopenharmony_ci};
8198c2ecf20Sopenharmony_ci
8208c2ecf20Sopenharmony_cistatic const unsigned kb_row8_ps0_pins[] = {
8218c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW8_PS0,
8228c2ecf20Sopenharmony_ci};
8238c2ecf20Sopenharmony_ci
8248c2ecf20Sopenharmony_cistatic const unsigned kb_row9_ps1_pins[] = {
8258c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW9_PS1,
8268c2ecf20Sopenharmony_ci};
8278c2ecf20Sopenharmony_ci
8288c2ecf20Sopenharmony_cistatic const unsigned kb_row10_ps2_pins[] = {
8298c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW10_PS2,
8308c2ecf20Sopenharmony_ci};
8318c2ecf20Sopenharmony_ci
8328c2ecf20Sopenharmony_cistatic const unsigned kb_row11_ps3_pins[] = {
8338c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW11_PS3,
8348c2ecf20Sopenharmony_ci};
8358c2ecf20Sopenharmony_ci
8368c2ecf20Sopenharmony_cistatic const unsigned kb_row12_ps4_pins[] = {
8378c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW12_PS4,
8388c2ecf20Sopenharmony_ci};
8398c2ecf20Sopenharmony_ci
8408c2ecf20Sopenharmony_cistatic const unsigned kb_row13_ps5_pins[] = {
8418c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW13_PS5,
8428c2ecf20Sopenharmony_ci};
8438c2ecf20Sopenharmony_ci
8448c2ecf20Sopenharmony_cistatic const unsigned kb_row14_ps6_pins[] = {
8458c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW14_PS6,
8468c2ecf20Sopenharmony_ci};
8478c2ecf20Sopenharmony_ci
8488c2ecf20Sopenharmony_cistatic const unsigned kb_row15_ps7_pins[] = {
8498c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW15_PS7,
8508c2ecf20Sopenharmony_ci};
8518c2ecf20Sopenharmony_ci
8528c2ecf20Sopenharmony_cistatic const unsigned kb_row16_pt0_pins[] = {
8538c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW16_PT0,
8548c2ecf20Sopenharmony_ci};
8558c2ecf20Sopenharmony_ci
8568c2ecf20Sopenharmony_cistatic const unsigned kb_row17_pt1_pins[] = {
8578c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW17_PT1,
8588c2ecf20Sopenharmony_ci};
8598c2ecf20Sopenharmony_ci
8608c2ecf20Sopenharmony_cistatic const unsigned gen2_i2c_scl_pt5_pins[] = {
8618c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SCL_PT5,
8628c2ecf20Sopenharmony_ci};
8638c2ecf20Sopenharmony_ci
8648c2ecf20Sopenharmony_cistatic const unsigned gen2_i2c_sda_pt6_pins[] = {
8658c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SDA_PT6,
8668c2ecf20Sopenharmony_ci};
8678c2ecf20Sopenharmony_ci
8688c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_cmd_pt7_pins[] = {
8698c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_CMD_PT7,
8708c2ecf20Sopenharmony_ci};
8718c2ecf20Sopenharmony_ci
8728c2ecf20Sopenharmony_cistatic const unsigned pu0_pins[] = {
8738c2ecf20Sopenharmony_ci	TEGRA_PIN_PU0,
8748c2ecf20Sopenharmony_ci};
8758c2ecf20Sopenharmony_ci
8768c2ecf20Sopenharmony_cistatic const unsigned pu1_pins[] = {
8778c2ecf20Sopenharmony_ci	TEGRA_PIN_PU1,
8788c2ecf20Sopenharmony_ci};
8798c2ecf20Sopenharmony_ci
8808c2ecf20Sopenharmony_cistatic const unsigned pu2_pins[] = {
8818c2ecf20Sopenharmony_ci	TEGRA_PIN_PU2,
8828c2ecf20Sopenharmony_ci};
8838c2ecf20Sopenharmony_ci
8848c2ecf20Sopenharmony_cistatic const unsigned pu3_pins[] = {
8858c2ecf20Sopenharmony_ci	TEGRA_PIN_PU3,
8868c2ecf20Sopenharmony_ci};
8878c2ecf20Sopenharmony_ci
8888c2ecf20Sopenharmony_cistatic const unsigned pu4_pins[] = {
8898c2ecf20Sopenharmony_ci	TEGRA_PIN_PU4,
8908c2ecf20Sopenharmony_ci};
8918c2ecf20Sopenharmony_ci
8928c2ecf20Sopenharmony_cistatic const unsigned pu5_pins[] = {
8938c2ecf20Sopenharmony_ci	TEGRA_PIN_PU5,
8948c2ecf20Sopenharmony_ci};
8958c2ecf20Sopenharmony_ci
8968c2ecf20Sopenharmony_cistatic const unsigned pu6_pins[] = {
8978c2ecf20Sopenharmony_ci	TEGRA_PIN_PU6,
8988c2ecf20Sopenharmony_ci};
8998c2ecf20Sopenharmony_ci
9008c2ecf20Sopenharmony_cistatic const unsigned pv0_pins[] = {
9018c2ecf20Sopenharmony_ci	TEGRA_PIN_PV0,
9028c2ecf20Sopenharmony_ci};
9038c2ecf20Sopenharmony_ci
9048c2ecf20Sopenharmony_cistatic const unsigned pv1_pins[] = {
9058c2ecf20Sopenharmony_ci	TEGRA_PIN_PV1,
9068c2ecf20Sopenharmony_ci};
9078c2ecf20Sopenharmony_ci
9088c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_cd_n_pv2_pins[] = {
9098c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CD_N_PV2,
9108c2ecf20Sopenharmony_ci};
9118c2ecf20Sopenharmony_ci
9128c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_wp_n_pv3_pins[] = {
9138c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_WP_N_PV3,
9148c2ecf20Sopenharmony_ci};
9158c2ecf20Sopenharmony_ci
9168c2ecf20Sopenharmony_cistatic const unsigned ddc_scl_pv4_pins[] = {
9178c2ecf20Sopenharmony_ci	TEGRA_PIN_DDC_SCL_PV4,
9188c2ecf20Sopenharmony_ci};
9198c2ecf20Sopenharmony_ci
9208c2ecf20Sopenharmony_cistatic const unsigned ddc_sda_pv5_pins[] = {
9218c2ecf20Sopenharmony_ci	TEGRA_PIN_DDC_SDA_PV5,
9228c2ecf20Sopenharmony_ci};
9238c2ecf20Sopenharmony_ci
9248c2ecf20Sopenharmony_cistatic const unsigned gpio_w2_aud_pw2_pins[] = {
9258c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_W2_AUD_PW2,
9268c2ecf20Sopenharmony_ci};
9278c2ecf20Sopenharmony_ci
9288c2ecf20Sopenharmony_cistatic const unsigned gpio_w3_aud_pw3_pins[] = {
9298c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_W3_AUD_PW3,
9308c2ecf20Sopenharmony_ci};
9318c2ecf20Sopenharmony_ci
9328c2ecf20Sopenharmony_cistatic const unsigned dap_mclk1_pw4_pins[] = {
9338c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP_MCLK1_PW4,
9348c2ecf20Sopenharmony_ci};
9358c2ecf20Sopenharmony_ci
9368c2ecf20Sopenharmony_cistatic const unsigned clk2_out_pw5_pins[] = {
9378c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK2_OUT_PW5,
9388c2ecf20Sopenharmony_ci};
9398c2ecf20Sopenharmony_ci
9408c2ecf20Sopenharmony_cistatic const unsigned uart3_txd_pw6_pins[] = {
9418c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_TXD_PW6,
9428c2ecf20Sopenharmony_ci};
9438c2ecf20Sopenharmony_ci
9448c2ecf20Sopenharmony_cistatic const unsigned uart3_rxd_pw7_pins[] = {
9458c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_RXD_PW7,
9468c2ecf20Sopenharmony_ci};
9478c2ecf20Sopenharmony_ci
9488c2ecf20Sopenharmony_cistatic const unsigned dvfs_pwm_px0_pins[] = {
9498c2ecf20Sopenharmony_ci	TEGRA_PIN_DVFS_PWM_PX0,
9508c2ecf20Sopenharmony_ci};
9518c2ecf20Sopenharmony_ci
9528c2ecf20Sopenharmony_cistatic const unsigned gpio_x1_aud_px1_pins[] = {
9538c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X1_AUD_PX1,
9548c2ecf20Sopenharmony_ci};
9558c2ecf20Sopenharmony_ci
9568c2ecf20Sopenharmony_cistatic const unsigned dvfs_clk_px2_pins[] = {
9578c2ecf20Sopenharmony_ci	TEGRA_PIN_DVFS_CLK_PX2,
9588c2ecf20Sopenharmony_ci};
9598c2ecf20Sopenharmony_ci
9608c2ecf20Sopenharmony_cistatic const unsigned gpio_x3_aud_px3_pins[] = {
9618c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X3_AUD_PX3,
9628c2ecf20Sopenharmony_ci};
9638c2ecf20Sopenharmony_ci
9648c2ecf20Sopenharmony_cistatic const unsigned gpio_x4_aud_px4_pins[] = {
9658c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X4_AUD_PX4,
9668c2ecf20Sopenharmony_ci};
9678c2ecf20Sopenharmony_ci
9688c2ecf20Sopenharmony_cistatic const unsigned gpio_x5_aud_px5_pins[] = {
9698c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X5_AUD_PX5,
9708c2ecf20Sopenharmony_ci};
9718c2ecf20Sopenharmony_ci
9728c2ecf20Sopenharmony_cistatic const unsigned gpio_x6_aud_px6_pins[] = {
9738c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X6_AUD_PX6,
9748c2ecf20Sopenharmony_ci};
9758c2ecf20Sopenharmony_ci
9768c2ecf20Sopenharmony_cistatic const unsigned gpio_x7_aud_px7_pins[] = {
9778c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X7_AUD_PX7,
9788c2ecf20Sopenharmony_ci};
9798c2ecf20Sopenharmony_ci
9808c2ecf20Sopenharmony_cistatic const unsigned ulpi_clk_py0_pins[] = {
9818c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_CLK_PY0,
9828c2ecf20Sopenharmony_ci};
9838c2ecf20Sopenharmony_ci
9848c2ecf20Sopenharmony_cistatic const unsigned ulpi_dir_py1_pins[] = {
9858c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DIR_PY1,
9868c2ecf20Sopenharmony_ci};
9878c2ecf20Sopenharmony_ci
9888c2ecf20Sopenharmony_cistatic const unsigned ulpi_nxt_py2_pins[] = {
9898c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_NXT_PY2,
9908c2ecf20Sopenharmony_ci};
9918c2ecf20Sopenharmony_ci
9928c2ecf20Sopenharmony_cistatic const unsigned ulpi_stp_py3_pins[] = {
9938c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_STP_PY3,
9948c2ecf20Sopenharmony_ci};
9958c2ecf20Sopenharmony_ci
9968c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_dat3_py4_pins[] = {
9978c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT3_PY4,
9988c2ecf20Sopenharmony_ci};
9998c2ecf20Sopenharmony_ci
10008c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_dat2_py5_pins[] = {
10018c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT2_PY5,
10028c2ecf20Sopenharmony_ci};
10038c2ecf20Sopenharmony_ci
10048c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_dat1_py6_pins[] = {
10058c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT1_PY6,
10068c2ecf20Sopenharmony_ci};
10078c2ecf20Sopenharmony_ci
10088c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_dat0_py7_pins[] = {
10098c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT0_PY7,
10108c2ecf20Sopenharmony_ci};
10118c2ecf20Sopenharmony_ci
10128c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_clk_pz0_pins[] = {
10138c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_CLK_PZ0,
10148c2ecf20Sopenharmony_ci};
10158c2ecf20Sopenharmony_ci
10168c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_cmd_pz1_pins[] = {
10178c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_CMD_PZ1,
10188c2ecf20Sopenharmony_ci};
10198c2ecf20Sopenharmony_ci
10208c2ecf20Sopenharmony_cistatic const unsigned pwr_i2c_scl_pz6_pins[] = {
10218c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SCL_PZ6,
10228c2ecf20Sopenharmony_ci};
10238c2ecf20Sopenharmony_ci
10248c2ecf20Sopenharmony_cistatic const unsigned pwr_i2c_sda_pz7_pins[] = {
10258c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SDA_PZ7,
10268c2ecf20Sopenharmony_ci};
10278c2ecf20Sopenharmony_ci
10288c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat0_paa0_pins[] = {
10298c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT0_PAA0,
10308c2ecf20Sopenharmony_ci};
10318c2ecf20Sopenharmony_ci
10328c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat1_paa1_pins[] = {
10338c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT1_PAA1,
10348c2ecf20Sopenharmony_ci};
10358c2ecf20Sopenharmony_ci
10368c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat2_paa2_pins[] = {
10378c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT2_PAA2,
10388c2ecf20Sopenharmony_ci};
10398c2ecf20Sopenharmony_ci
10408c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat3_paa3_pins[] = {
10418c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT3_PAA3,
10428c2ecf20Sopenharmony_ci};
10438c2ecf20Sopenharmony_ci
10448c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat4_paa4_pins[] = {
10458c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT4_PAA4,
10468c2ecf20Sopenharmony_ci};
10478c2ecf20Sopenharmony_ci
10488c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat5_paa5_pins[] = {
10498c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT5_PAA5,
10508c2ecf20Sopenharmony_ci};
10518c2ecf20Sopenharmony_ci
10528c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat6_paa6_pins[] = {
10538c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT6_PAA6,
10548c2ecf20Sopenharmony_ci};
10558c2ecf20Sopenharmony_ci
10568c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat7_paa7_pins[] = {
10578c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT7_PAA7,
10588c2ecf20Sopenharmony_ci};
10598c2ecf20Sopenharmony_ci
10608c2ecf20Sopenharmony_cistatic const unsigned pbb0_pins[] = {
10618c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB0,
10628c2ecf20Sopenharmony_ci};
10638c2ecf20Sopenharmony_ci
10648c2ecf20Sopenharmony_cistatic const unsigned cam_i2c_scl_pbb1_pins[] = {
10658c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SCL_PBB1,
10668c2ecf20Sopenharmony_ci};
10678c2ecf20Sopenharmony_ci
10688c2ecf20Sopenharmony_cistatic const unsigned cam_i2c_sda_pbb2_pins[] = {
10698c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SDA_PBB2,
10708c2ecf20Sopenharmony_ci};
10718c2ecf20Sopenharmony_ci
10728c2ecf20Sopenharmony_cistatic const unsigned pbb3_pins[] = {
10738c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB3,
10748c2ecf20Sopenharmony_ci};
10758c2ecf20Sopenharmony_ci
10768c2ecf20Sopenharmony_cistatic const unsigned pbb4_pins[] = {
10778c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB4,
10788c2ecf20Sopenharmony_ci};
10798c2ecf20Sopenharmony_ci
10808c2ecf20Sopenharmony_cistatic const unsigned pbb5_pins[] = {
10818c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB5,
10828c2ecf20Sopenharmony_ci};
10838c2ecf20Sopenharmony_ci
10848c2ecf20Sopenharmony_cistatic const unsigned pbb6_pins[] = {
10858c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB6,
10868c2ecf20Sopenharmony_ci};
10878c2ecf20Sopenharmony_ci
10888c2ecf20Sopenharmony_cistatic const unsigned pbb7_pins[] = {
10898c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB7,
10908c2ecf20Sopenharmony_ci};
10918c2ecf20Sopenharmony_ci
10928c2ecf20Sopenharmony_cistatic const unsigned cam_mclk_pcc0_pins[] = {
10938c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_MCLK_PCC0,
10948c2ecf20Sopenharmony_ci};
10958c2ecf20Sopenharmony_ci
10968c2ecf20Sopenharmony_cistatic const unsigned pcc1_pins[] = {
10978c2ecf20Sopenharmony_ci	TEGRA_PIN_PCC1,
10988c2ecf20Sopenharmony_ci};
10998c2ecf20Sopenharmony_ci
11008c2ecf20Sopenharmony_cistatic const unsigned pcc2_pins[] = {
11018c2ecf20Sopenharmony_ci	TEGRA_PIN_PCC2,
11028c2ecf20Sopenharmony_ci};
11038c2ecf20Sopenharmony_ci
11048c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_clk_pcc4_pins[] = {
11058c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_CLK_PCC4,
11068c2ecf20Sopenharmony_ci};
11078c2ecf20Sopenharmony_ci
11088c2ecf20Sopenharmony_cistatic const unsigned clk2_req_pcc5_pins[] = {
11098c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK2_REQ_PCC5,
11108c2ecf20Sopenharmony_ci};
11118c2ecf20Sopenharmony_ci
11128c2ecf20Sopenharmony_cistatic const unsigned pex_l0_rst_n_pdd1_pins[] = {
11138c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L0_RST_N_PDD1,
11148c2ecf20Sopenharmony_ci};
11158c2ecf20Sopenharmony_ci
11168c2ecf20Sopenharmony_cistatic const unsigned pex_l0_clkreq_n_pdd2_pins[] = {
11178c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L0_CLKREQ_N_PDD2,
11188c2ecf20Sopenharmony_ci};
11198c2ecf20Sopenharmony_ci
11208c2ecf20Sopenharmony_cistatic const unsigned pex_wake_n_pdd3_pins[] = {
11218c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_WAKE_N_PDD3,
11228c2ecf20Sopenharmony_ci};
11238c2ecf20Sopenharmony_ci
11248c2ecf20Sopenharmony_cistatic const unsigned pex_l1_rst_n_pdd5_pins[] = {
11258c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L1_RST_N_PDD5,
11268c2ecf20Sopenharmony_ci};
11278c2ecf20Sopenharmony_ci
11288c2ecf20Sopenharmony_cistatic const unsigned pex_l1_clkreq_n_pdd6_pins[] = {
11298c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L1_CLKREQ_N_PDD6,
11308c2ecf20Sopenharmony_ci};
11318c2ecf20Sopenharmony_ci
11328c2ecf20Sopenharmony_cistatic const unsigned clk3_out_pee0_pins[] = {
11338c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK3_OUT_PEE0,
11348c2ecf20Sopenharmony_ci};
11358c2ecf20Sopenharmony_ci
11368c2ecf20Sopenharmony_cistatic const unsigned clk3_req_pee1_pins[] = {
11378c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK3_REQ_PEE1,
11388c2ecf20Sopenharmony_ci};
11398c2ecf20Sopenharmony_ci
11408c2ecf20Sopenharmony_cistatic const unsigned dap_mclk1_req_pee2_pins[] = {
11418c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP_MCLK1_REQ_PEE2,
11428c2ecf20Sopenharmony_ci};
11438c2ecf20Sopenharmony_ci
11448c2ecf20Sopenharmony_cistatic const unsigned hdmi_cec_pee3_pins[] = {
11458c2ecf20Sopenharmony_ci	TEGRA_PIN_HDMI_CEC_PEE3,
11468c2ecf20Sopenharmony_ci};
11478c2ecf20Sopenharmony_ci
11488c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_clk_lb_out_pee4_pins[] = {
11498c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_LB_OUT_PEE4,
11508c2ecf20Sopenharmony_ci};
11518c2ecf20Sopenharmony_ci
11528c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_clk_lb_in_pee5_pins[] = {
11538c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_LB_IN_PEE5,
11548c2ecf20Sopenharmony_ci};
11558c2ecf20Sopenharmony_ci
11568c2ecf20Sopenharmony_cistatic const unsigned dp_hpd_pff0_pins[] = {
11578c2ecf20Sopenharmony_ci	TEGRA_PIN_DP_HPD_PFF0,
11588c2ecf20Sopenharmony_ci};
11598c2ecf20Sopenharmony_ci
11608c2ecf20Sopenharmony_cistatic const unsigned usb_vbus_en2_pff1_pins[] = {
11618c2ecf20Sopenharmony_ci	TEGRA_PIN_USB_VBUS_EN2_PFF1,
11628c2ecf20Sopenharmony_ci};
11638c2ecf20Sopenharmony_ci
11648c2ecf20Sopenharmony_cistatic const unsigned pff2_pins[] = {
11658c2ecf20Sopenharmony_ci	TEGRA_PIN_PFF2,
11668c2ecf20Sopenharmony_ci};
11678c2ecf20Sopenharmony_ci
11688c2ecf20Sopenharmony_cistatic const unsigned core_pwr_req_pins[] = {
11698c2ecf20Sopenharmony_ci	TEGRA_PIN_CORE_PWR_REQ,
11708c2ecf20Sopenharmony_ci};
11718c2ecf20Sopenharmony_ci
11728c2ecf20Sopenharmony_cistatic const unsigned cpu_pwr_req_pins[] = {
11738c2ecf20Sopenharmony_ci	TEGRA_PIN_CPU_PWR_REQ,
11748c2ecf20Sopenharmony_ci};
11758c2ecf20Sopenharmony_ci
11768c2ecf20Sopenharmony_cistatic const unsigned pwr_int_n_pins[] = {
11778c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_INT_N,
11788c2ecf20Sopenharmony_ci};
11798c2ecf20Sopenharmony_ci
11808c2ecf20Sopenharmony_cistatic const unsigned gmi_clk_lb_pins[] = {
11818c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CLK_LB,
11828c2ecf20Sopenharmony_ci};
11838c2ecf20Sopenharmony_ci
11848c2ecf20Sopenharmony_cistatic const unsigned reset_out_n_pins[] = {
11858c2ecf20Sopenharmony_ci	TEGRA_PIN_RESET_OUT_N,
11868c2ecf20Sopenharmony_ci};
11878c2ecf20Sopenharmony_ci
11888c2ecf20Sopenharmony_cistatic const unsigned owr_pins[] = {
11898c2ecf20Sopenharmony_ci	TEGRA_PIN_OWR,
11908c2ecf20Sopenharmony_ci};
11918c2ecf20Sopenharmony_ci
11928c2ecf20Sopenharmony_cistatic const unsigned clk_32k_in_pins[] = {
11938c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK_32K_IN,
11948c2ecf20Sopenharmony_ci};
11958c2ecf20Sopenharmony_ci
11968c2ecf20Sopenharmony_cistatic const unsigned jtag_rtck_pins[] = {
11978c2ecf20Sopenharmony_ci	TEGRA_PIN_JTAG_RTCK,
11988c2ecf20Sopenharmony_ci};
11998c2ecf20Sopenharmony_ci
12008c2ecf20Sopenharmony_cistatic const unsigned drive_ao1_pins[] = {
12018c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW0_PR0,
12028c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW1_PR1,
12038c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW2_PR2,
12048c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW3_PR3,
12058c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW4_PR4,
12068c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW5_PR5,
12078c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW6_PR6,
12088c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW7_PR7,
12098c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SCL_PZ6,
12108c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SDA_PZ7,
12118c2ecf20Sopenharmony_ci};
12128c2ecf20Sopenharmony_ci
12138c2ecf20Sopenharmony_cistatic const unsigned drive_ao2_pins[] = {
12148c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK_32K_OUT_PA0,
12158c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK_32K_IN,
12168c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL0_PQ0,
12178c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL1_PQ1,
12188c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL2_PQ2,
12198c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL3_PQ3,
12208c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL4_PQ4,
12218c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL5_PQ5,
12228c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL6_PQ6,
12238c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL7_PQ7,
12248c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW8_PS0,
12258c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW9_PS1,
12268c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW10_PS2,
12278c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW11_PS3,
12288c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW12_PS4,
12298c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW13_PS5,
12308c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW14_PS6,
12318c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW15_PS7,
12328c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW16_PT0,
12338c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW17_PT1,
12348c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CD_N_PV2,
12358c2ecf20Sopenharmony_ci	TEGRA_PIN_CORE_PWR_REQ,
12368c2ecf20Sopenharmony_ci	TEGRA_PIN_CPU_PWR_REQ,
12378c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_INT_N,
12388c2ecf20Sopenharmony_ci};
12398c2ecf20Sopenharmony_ci
12408c2ecf20Sopenharmony_cistatic const unsigned drive_at1_pins[] = {
12418c2ecf20Sopenharmony_ci	TEGRA_PIN_PH0,
12428c2ecf20Sopenharmony_ci	TEGRA_PIN_PH1,
12438c2ecf20Sopenharmony_ci	TEGRA_PIN_PH2,
12448c2ecf20Sopenharmony_ci	TEGRA_PIN_PH3,
12458c2ecf20Sopenharmony_ci};
12468c2ecf20Sopenharmony_ci
12478c2ecf20Sopenharmony_cistatic const unsigned drive_at2_pins[] = {
12488c2ecf20Sopenharmony_ci	TEGRA_PIN_PG0,
12498c2ecf20Sopenharmony_ci	TEGRA_PIN_PG1,
12508c2ecf20Sopenharmony_ci	TEGRA_PIN_PG2,
12518c2ecf20Sopenharmony_ci	TEGRA_PIN_PG3,
12528c2ecf20Sopenharmony_ci	TEGRA_PIN_PG4,
12538c2ecf20Sopenharmony_ci	TEGRA_PIN_PG5,
12548c2ecf20Sopenharmony_ci	TEGRA_PIN_PG6,
12558c2ecf20Sopenharmony_ci	TEGRA_PIN_PG7,
12568c2ecf20Sopenharmony_ci	TEGRA_PIN_PI0,
12578c2ecf20Sopenharmony_ci	TEGRA_PIN_PI1,
12588c2ecf20Sopenharmony_ci	TEGRA_PIN_PI3,
12598c2ecf20Sopenharmony_ci	TEGRA_PIN_PI4,
12608c2ecf20Sopenharmony_ci	TEGRA_PIN_PI7,
12618c2ecf20Sopenharmony_ci	TEGRA_PIN_PK0,
12628c2ecf20Sopenharmony_ci	TEGRA_PIN_PK2,
12638c2ecf20Sopenharmony_ci};
12648c2ecf20Sopenharmony_ci
12658c2ecf20Sopenharmony_cistatic const unsigned drive_at3_pins[] = {
12668c2ecf20Sopenharmony_ci	TEGRA_PIN_PC7,
12678c2ecf20Sopenharmony_ci	TEGRA_PIN_PJ0,
12688c2ecf20Sopenharmony_ci};
12698c2ecf20Sopenharmony_ci
12708c2ecf20Sopenharmony_cistatic const unsigned drive_at4_pins[] = {
12718c2ecf20Sopenharmony_ci	TEGRA_PIN_PB0,
12728c2ecf20Sopenharmony_ci	TEGRA_PIN_PB1,
12738c2ecf20Sopenharmony_ci	TEGRA_PIN_PJ0,
12748c2ecf20Sopenharmony_ci	TEGRA_PIN_PJ7,
12758c2ecf20Sopenharmony_ci	TEGRA_PIN_PK7,
12768c2ecf20Sopenharmony_ci};
12778c2ecf20Sopenharmony_ci
12788c2ecf20Sopenharmony_cistatic const unsigned drive_at5_pins[] = {
12798c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SCL_PT5,
12808c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SDA_PT6,
12818c2ecf20Sopenharmony_ci};
12828c2ecf20Sopenharmony_ci
12838c2ecf20Sopenharmony_cistatic const unsigned drive_cdev1_pins[] = {
12848c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP_MCLK1_PW4,
12858c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP_MCLK1_REQ_PEE2,
12868c2ecf20Sopenharmony_ci};
12878c2ecf20Sopenharmony_ci
12888c2ecf20Sopenharmony_cistatic const unsigned drive_cdev2_pins[] = {
12898c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK2_OUT_PW5,
12908c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK2_REQ_PCC5,
12918c2ecf20Sopenharmony_ci};
12928c2ecf20Sopenharmony_ci
12938c2ecf20Sopenharmony_cistatic const unsigned drive_dap1_pins[] = {
12948c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_FS_PN0,
12958c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_DIN_PN1,
12968c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_DOUT_PN2,
12978c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_SCLK_PN3,
12988c2ecf20Sopenharmony_ci};
12998c2ecf20Sopenharmony_ci
13008c2ecf20Sopenharmony_cistatic const unsigned drive_dap2_pins[] = {
13018c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_FS_PA2,
13028c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_SCLK_PA3,
13038c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_DIN_PA4,
13048c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_DOUT_PA5,
13058c2ecf20Sopenharmony_ci};
13068c2ecf20Sopenharmony_ci
13078c2ecf20Sopenharmony_cistatic const unsigned drive_dap3_pins[] = {
13088c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_FS_PP0,
13098c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_DIN_PP1,
13108c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_DOUT_PP2,
13118c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_SCLK_PP3,
13128c2ecf20Sopenharmony_ci};
13138c2ecf20Sopenharmony_ci
13148c2ecf20Sopenharmony_cistatic const unsigned drive_dap4_pins[] = {
13158c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_FS_PP4,
13168c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_DIN_PP5,
13178c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_DOUT_PP6,
13188c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_SCLK_PP7,
13198c2ecf20Sopenharmony_ci};
13208c2ecf20Sopenharmony_ci
13218c2ecf20Sopenharmony_cistatic const unsigned drive_dbg_pins[] = {
13228c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SCL_PC4,
13238c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SDA_PC5,
13248c2ecf20Sopenharmony_ci	TEGRA_PIN_PU0,
13258c2ecf20Sopenharmony_ci	TEGRA_PIN_PU1,
13268c2ecf20Sopenharmony_ci	TEGRA_PIN_PU2,
13278c2ecf20Sopenharmony_ci	TEGRA_PIN_PU3,
13288c2ecf20Sopenharmony_ci	TEGRA_PIN_PU4,
13298c2ecf20Sopenharmony_ci	TEGRA_PIN_PU5,
13308c2ecf20Sopenharmony_ci	TEGRA_PIN_PU6,
13318c2ecf20Sopenharmony_ci};
13328c2ecf20Sopenharmony_ci
13338c2ecf20Sopenharmony_cistatic const unsigned drive_sdio3_pins[] = {
13348c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_PA6,
13358c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CMD_PA7,
13368c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT3_PB4,
13378c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT2_PB5,
13388c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT1_PB6,
13398c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT0_PB7,
13408c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_LB_OUT_PEE4,
13418c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_LB_IN_PEE5,
13428c2ecf20Sopenharmony_ci};
13438c2ecf20Sopenharmony_ci
13448c2ecf20Sopenharmony_cistatic const unsigned drive_spi_pins[] = {
13458c2ecf20Sopenharmony_ci	TEGRA_PIN_DVFS_PWM_PX0,
13468c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X1_AUD_PX1,
13478c2ecf20Sopenharmony_ci	TEGRA_PIN_DVFS_CLK_PX2,
13488c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X3_AUD_PX3,
13498c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X4_AUD_PX4,
13508c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X5_AUD_PX5,
13518c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X6_AUD_PX6,
13528c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X7_AUD_PX7,
13538c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_W2_AUD_PW2,
13548c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_W3_AUD_PW3,
13558c2ecf20Sopenharmony_ci};
13568c2ecf20Sopenharmony_ci
13578c2ecf20Sopenharmony_cistatic const unsigned drive_uaa_pins[] = {
13588c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA0_PO1,
13598c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA1_PO2,
13608c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA2_PO3,
13618c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA3_PO4,
13628c2ecf20Sopenharmony_ci};
13638c2ecf20Sopenharmony_ci
13648c2ecf20Sopenharmony_cistatic const unsigned drive_uab_pins[] = {
13658c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA7_PO0,
13668c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA4_PO5,
13678c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA5_PO6,
13688c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA6_PO7,
13698c2ecf20Sopenharmony_ci	TEGRA_PIN_PV0,
13708c2ecf20Sopenharmony_ci	TEGRA_PIN_PV1,
13718c2ecf20Sopenharmony_ci};
13728c2ecf20Sopenharmony_ci
13738c2ecf20Sopenharmony_cistatic const unsigned drive_uart2_pins[] = {
13748c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_TXD_PC2,
13758c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_RXD_PC3,
13768c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_CTS_N_PJ5,
13778c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_RTS_N_PJ6,
13788c2ecf20Sopenharmony_ci};
13798c2ecf20Sopenharmony_ci
13808c2ecf20Sopenharmony_cistatic const unsigned drive_uart3_pins[] = {
13818c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_CTS_N_PA1,
13828c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_RTS_N_PC0,
13838c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_TXD_PW6,
13848c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_RXD_PW7,
13858c2ecf20Sopenharmony_ci};
13868c2ecf20Sopenharmony_ci
13878c2ecf20Sopenharmony_cistatic const unsigned drive_sdio1_pins[] = {
13888c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT3_PY4,
13898c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT2_PY5,
13908c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT1_PY6,
13918c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT0_PY7,
13928c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_CLK_PZ0,
13938c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_CMD_PZ1,
13948c2ecf20Sopenharmony_ci};
13958c2ecf20Sopenharmony_ci
13968c2ecf20Sopenharmony_cistatic const unsigned drive_ddc_pins[] = {
13978c2ecf20Sopenharmony_ci	TEGRA_PIN_DDC_SCL_PV4,
13988c2ecf20Sopenharmony_ci	TEGRA_PIN_DDC_SDA_PV5,
13998c2ecf20Sopenharmony_ci};
14008c2ecf20Sopenharmony_ci
14018c2ecf20Sopenharmony_cistatic const unsigned drive_gma_pins[] = {
14028c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_CLK_PCC4,
14038c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_CMD_PT7,
14048c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT0_PAA0,
14058c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT1_PAA1,
14068c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT2_PAA2,
14078c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT3_PAA3,
14088c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT4_PAA4,
14098c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT5_PAA5,
14108c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT6_PAA6,
14118c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT7_PAA7,
14128c2ecf20Sopenharmony_ci};
14138c2ecf20Sopenharmony_ci
14148c2ecf20Sopenharmony_cistatic const unsigned drive_gme_pins[] = {
14158c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB0,
14168c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SCL_PBB1,
14178c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SDA_PBB2,
14188c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB3,
14198c2ecf20Sopenharmony_ci	TEGRA_PIN_PCC2,
14208c2ecf20Sopenharmony_ci};
14218c2ecf20Sopenharmony_ci
14228c2ecf20Sopenharmony_cistatic const unsigned drive_gmf_pins[] = {
14238c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB4,
14248c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB5,
14258c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB6,
14268c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB7,
14278c2ecf20Sopenharmony_ci};
14288c2ecf20Sopenharmony_ci
14298c2ecf20Sopenharmony_cistatic const unsigned drive_gmg_pins[] = {
14308c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_MCLK_PCC0,
14318c2ecf20Sopenharmony_ci};
14328c2ecf20Sopenharmony_ci
14338c2ecf20Sopenharmony_cistatic const unsigned drive_gmh_pins[] = {
14348c2ecf20Sopenharmony_ci	TEGRA_PIN_PCC1,
14358c2ecf20Sopenharmony_ci};
14368c2ecf20Sopenharmony_ci
14378c2ecf20Sopenharmony_cistatic const unsigned drive_owr_pins[] = {
14388c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CD_N_PV2,
14398c2ecf20Sopenharmony_ci	TEGRA_PIN_OWR,
14408c2ecf20Sopenharmony_ci};
14418c2ecf20Sopenharmony_ci
14428c2ecf20Sopenharmony_cistatic const unsigned drive_uda_pins[] = {
14438c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_CLK_PY0,
14448c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DIR_PY1,
14458c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_NXT_PY2,
14468c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_STP_PY3,
14478c2ecf20Sopenharmony_ci};
14488c2ecf20Sopenharmony_ci
14498c2ecf20Sopenharmony_cistatic const unsigned drive_gpv_pins[] = {
14508c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L0_RST_N_PDD1,
14518c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L0_CLKREQ_N_PDD2,
14528c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_WAKE_N_PDD3,
14538c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L1_RST_N_PDD5,
14548c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L1_CLKREQ_N_PDD6,
14558c2ecf20Sopenharmony_ci	TEGRA_PIN_USB_VBUS_EN2_PFF1,
14568c2ecf20Sopenharmony_ci	TEGRA_PIN_PFF2,
14578c2ecf20Sopenharmony_ci};
14588c2ecf20Sopenharmony_ci
14598c2ecf20Sopenharmony_cistatic const unsigned drive_dev3_pins[] = {
14608c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK3_OUT_PEE0,
14618c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK3_REQ_PEE1,
14628c2ecf20Sopenharmony_ci};
14638c2ecf20Sopenharmony_ci
14648c2ecf20Sopenharmony_cistatic const unsigned drive_cec_pins[] = {
14658c2ecf20Sopenharmony_ci	TEGRA_PIN_HDMI_CEC_PEE3,
14668c2ecf20Sopenharmony_ci};
14678c2ecf20Sopenharmony_ci
14688c2ecf20Sopenharmony_cistatic const unsigned drive_at6_pins[] = {
14698c2ecf20Sopenharmony_ci	TEGRA_PIN_PK1,
14708c2ecf20Sopenharmony_ci	TEGRA_PIN_PK3,
14718c2ecf20Sopenharmony_ci	TEGRA_PIN_PK4,
14728c2ecf20Sopenharmony_ci	TEGRA_PIN_PI2,
14738c2ecf20Sopenharmony_ci	TEGRA_PIN_PI5,
14748c2ecf20Sopenharmony_ci	TEGRA_PIN_PI6,
14758c2ecf20Sopenharmony_ci	TEGRA_PIN_PH4,
14768c2ecf20Sopenharmony_ci	TEGRA_PIN_PH5,
14778c2ecf20Sopenharmony_ci	TEGRA_PIN_PH6,
14788c2ecf20Sopenharmony_ci	TEGRA_PIN_PH7,
14798c2ecf20Sopenharmony_ci};
14808c2ecf20Sopenharmony_ci
14818c2ecf20Sopenharmony_cistatic const unsigned drive_dap5_pins[] = {
14828c2ecf20Sopenharmony_ci	TEGRA_PIN_SPDIF_IN_PK6,
14838c2ecf20Sopenharmony_ci	TEGRA_PIN_SPDIF_OUT_PK5,
14848c2ecf20Sopenharmony_ci	TEGRA_PIN_DP_HPD_PFF0,
14858c2ecf20Sopenharmony_ci};
14868c2ecf20Sopenharmony_ci
14878c2ecf20Sopenharmony_cistatic const unsigned drive_usb_vbus_en_pins[] = {
14888c2ecf20Sopenharmony_ci	TEGRA_PIN_USB_VBUS_EN0_PN4,
14898c2ecf20Sopenharmony_ci	TEGRA_PIN_USB_VBUS_EN1_PN5,
14908c2ecf20Sopenharmony_ci};
14918c2ecf20Sopenharmony_ci
14928c2ecf20Sopenharmony_cistatic const unsigned drive_ao3_pins[] = {
14938c2ecf20Sopenharmony_ci	TEGRA_PIN_RESET_OUT_N,
14948c2ecf20Sopenharmony_ci};
14958c2ecf20Sopenharmony_ci
14968c2ecf20Sopenharmony_cistatic const unsigned drive_ao0_pins[] = {
14978c2ecf20Sopenharmony_ci	TEGRA_PIN_JTAG_RTCK,
14988c2ecf20Sopenharmony_ci};
14998c2ecf20Sopenharmony_ci
15008c2ecf20Sopenharmony_cistatic const unsigned drive_hv0_pins[] = {
15018c2ecf20Sopenharmony_ci	TEGRA_PIN_HDMI_INT_PN7,
15028c2ecf20Sopenharmony_ci};
15038c2ecf20Sopenharmony_ci
15048c2ecf20Sopenharmony_cistatic const unsigned drive_sdio4_pins[] = {
15058c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_WP_N_PV3,
15068c2ecf20Sopenharmony_ci};
15078c2ecf20Sopenharmony_ci
15088c2ecf20Sopenharmony_cistatic const unsigned drive_ao4_pins[] = {
15098c2ecf20Sopenharmony_ci	TEGRA_PIN_JTAG_RTCK,
15108c2ecf20Sopenharmony_ci};
15118c2ecf20Sopenharmony_ci
15128c2ecf20Sopenharmony_cistatic const unsigned mipi_pad_ctrl_dsi_b_pins[] = {
15138c2ecf20Sopenharmony_ci	TEGRA_PIN_DSI_B_CLK_P,
15148c2ecf20Sopenharmony_ci	TEGRA_PIN_DSI_B_CLK_N,
15158c2ecf20Sopenharmony_ci	TEGRA_PIN_DSI_B_D0_P,
15168c2ecf20Sopenharmony_ci	TEGRA_PIN_DSI_B_D0_N,
15178c2ecf20Sopenharmony_ci	TEGRA_PIN_DSI_B_D1_P,
15188c2ecf20Sopenharmony_ci	TEGRA_PIN_DSI_B_D1_N,
15198c2ecf20Sopenharmony_ci	TEGRA_PIN_DSI_B_D2_P,
15208c2ecf20Sopenharmony_ci	TEGRA_PIN_DSI_B_D2_N,
15218c2ecf20Sopenharmony_ci	TEGRA_PIN_DSI_B_D3_P,
15228c2ecf20Sopenharmony_ci	TEGRA_PIN_DSI_B_D3_N,
15238c2ecf20Sopenharmony_ci};
15248c2ecf20Sopenharmony_ci
15258c2ecf20Sopenharmony_cienum tegra_mux {
15268c2ecf20Sopenharmony_ci	TEGRA_MUX_BLINK,
15278c2ecf20Sopenharmony_ci	TEGRA_MUX_CCLA,
15288c2ecf20Sopenharmony_ci	TEGRA_MUX_CEC,
15298c2ecf20Sopenharmony_ci	TEGRA_MUX_CLDVFS,
15308c2ecf20Sopenharmony_ci	TEGRA_MUX_CLK,
15318c2ecf20Sopenharmony_ci	TEGRA_MUX_CLK12,
15328c2ecf20Sopenharmony_ci	TEGRA_MUX_CPU,
15338c2ecf20Sopenharmony_ci	TEGRA_MUX_CSI,
15348c2ecf20Sopenharmony_ci	TEGRA_MUX_DAP,
15358c2ecf20Sopenharmony_ci	TEGRA_MUX_DAP1,
15368c2ecf20Sopenharmony_ci	TEGRA_MUX_DAP2,
15378c2ecf20Sopenharmony_ci	TEGRA_MUX_DEV3,
15388c2ecf20Sopenharmony_ci	TEGRA_MUX_DISPLAYA,
15398c2ecf20Sopenharmony_ci	TEGRA_MUX_DISPLAYA_ALT,
15408c2ecf20Sopenharmony_ci	TEGRA_MUX_DISPLAYB,
15418c2ecf20Sopenharmony_ci	TEGRA_MUX_DP,
15428c2ecf20Sopenharmony_ci	TEGRA_MUX_DSI_B,
15438c2ecf20Sopenharmony_ci	TEGRA_MUX_DTV,
15448c2ecf20Sopenharmony_ci	TEGRA_MUX_EXTPERIPH1,
15458c2ecf20Sopenharmony_ci	TEGRA_MUX_EXTPERIPH2,
15468c2ecf20Sopenharmony_ci	TEGRA_MUX_EXTPERIPH3,
15478c2ecf20Sopenharmony_ci	TEGRA_MUX_GMI,
15488c2ecf20Sopenharmony_ci	TEGRA_MUX_GMI_ALT,
15498c2ecf20Sopenharmony_ci	TEGRA_MUX_HDA,
15508c2ecf20Sopenharmony_ci	TEGRA_MUX_HSI,
15518c2ecf20Sopenharmony_ci	TEGRA_MUX_I2C1,
15528c2ecf20Sopenharmony_ci	TEGRA_MUX_I2C2,
15538c2ecf20Sopenharmony_ci	TEGRA_MUX_I2C3,
15548c2ecf20Sopenharmony_ci	TEGRA_MUX_I2C4,
15558c2ecf20Sopenharmony_ci	TEGRA_MUX_I2CPWR,
15568c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S0,
15578c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S1,
15588c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S2,
15598c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S3,
15608c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S4,
15618c2ecf20Sopenharmony_ci	TEGRA_MUX_IRDA,
15628c2ecf20Sopenharmony_ci	TEGRA_MUX_KBC,
15638c2ecf20Sopenharmony_ci	TEGRA_MUX_OWR,
15648c2ecf20Sopenharmony_ci	TEGRA_MUX_PE,
15658c2ecf20Sopenharmony_ci	TEGRA_MUX_PE0,
15668c2ecf20Sopenharmony_ci	TEGRA_MUX_PE1,
15678c2ecf20Sopenharmony_ci	TEGRA_MUX_PMI,
15688c2ecf20Sopenharmony_ci	TEGRA_MUX_PWM0,
15698c2ecf20Sopenharmony_ci	TEGRA_MUX_PWM1,
15708c2ecf20Sopenharmony_ci	TEGRA_MUX_PWM2,
15718c2ecf20Sopenharmony_ci	TEGRA_MUX_PWM3,
15728c2ecf20Sopenharmony_ci	TEGRA_MUX_PWRON,
15738c2ecf20Sopenharmony_ci	TEGRA_MUX_RESET_OUT_N,
15748c2ecf20Sopenharmony_ci	TEGRA_MUX_RSVD1,
15758c2ecf20Sopenharmony_ci	TEGRA_MUX_RSVD2,
15768c2ecf20Sopenharmony_ci	TEGRA_MUX_RSVD3,
15778c2ecf20Sopenharmony_ci	TEGRA_MUX_RSVD4,
15788c2ecf20Sopenharmony_ci	TEGRA_MUX_RTCK,
15798c2ecf20Sopenharmony_ci	TEGRA_MUX_SATA,
15808c2ecf20Sopenharmony_ci	TEGRA_MUX_SDMMC1,
15818c2ecf20Sopenharmony_ci	TEGRA_MUX_SDMMC2,
15828c2ecf20Sopenharmony_ci	TEGRA_MUX_SDMMC3,
15838c2ecf20Sopenharmony_ci	TEGRA_MUX_SDMMC4,
15848c2ecf20Sopenharmony_ci	TEGRA_MUX_SOC,
15858c2ecf20Sopenharmony_ci	TEGRA_MUX_SPDIF,
15868c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI1,
15878c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI2,
15888c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI3,
15898c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI4,
15908c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI5,
15918c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI6,
15928c2ecf20Sopenharmony_ci	TEGRA_MUX_SYS,
15938c2ecf20Sopenharmony_ci	TEGRA_MUX_TMDS,
15948c2ecf20Sopenharmony_ci	TEGRA_MUX_TRACE,
15958c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTA,
15968c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTB,
15978c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTC,
15988c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTD,
15998c2ecf20Sopenharmony_ci	TEGRA_MUX_ULPI,
16008c2ecf20Sopenharmony_ci	TEGRA_MUX_USB,
16018c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP1,
16028c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP2,
16038c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP3,
16048c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP4,
16058c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP5,
16068c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP6,
16078c2ecf20Sopenharmony_ci	TEGRA_MUX_VI,
16088c2ecf20Sopenharmony_ci	TEGRA_MUX_VI_ALT1,
16098c2ecf20Sopenharmony_ci	TEGRA_MUX_VI_ALT3,
16108c2ecf20Sopenharmony_ci	TEGRA_MUX_VIMCLK2,
16118c2ecf20Sopenharmony_ci	TEGRA_MUX_VIMCLK2_ALT,
16128c2ecf20Sopenharmony_ci};
16138c2ecf20Sopenharmony_ci
16148c2ecf20Sopenharmony_ci#define FUNCTION(fname)					\
16158c2ecf20Sopenharmony_ci	{						\
16168c2ecf20Sopenharmony_ci		.name = #fname,				\
16178c2ecf20Sopenharmony_ci	}
16188c2ecf20Sopenharmony_ci
16198c2ecf20Sopenharmony_cistatic struct tegra_function tegra124_functions[] = {
16208c2ecf20Sopenharmony_ci	FUNCTION(blink),
16218c2ecf20Sopenharmony_ci	FUNCTION(ccla),
16228c2ecf20Sopenharmony_ci	FUNCTION(cec),
16238c2ecf20Sopenharmony_ci	FUNCTION(cldvfs),
16248c2ecf20Sopenharmony_ci	FUNCTION(clk),
16258c2ecf20Sopenharmony_ci	FUNCTION(clk12),
16268c2ecf20Sopenharmony_ci	FUNCTION(cpu),
16278c2ecf20Sopenharmony_ci	FUNCTION(csi),
16288c2ecf20Sopenharmony_ci	FUNCTION(dap),
16298c2ecf20Sopenharmony_ci	FUNCTION(dap1),
16308c2ecf20Sopenharmony_ci	FUNCTION(dap2),
16318c2ecf20Sopenharmony_ci	FUNCTION(dev3),
16328c2ecf20Sopenharmony_ci	FUNCTION(displaya),
16338c2ecf20Sopenharmony_ci	FUNCTION(displaya_alt),
16348c2ecf20Sopenharmony_ci	FUNCTION(displayb),
16358c2ecf20Sopenharmony_ci	FUNCTION(dp),
16368c2ecf20Sopenharmony_ci	FUNCTION(dsi_b),
16378c2ecf20Sopenharmony_ci	FUNCTION(dtv),
16388c2ecf20Sopenharmony_ci	FUNCTION(extperiph1),
16398c2ecf20Sopenharmony_ci	FUNCTION(extperiph2),
16408c2ecf20Sopenharmony_ci	FUNCTION(extperiph3),
16418c2ecf20Sopenharmony_ci	FUNCTION(gmi),
16428c2ecf20Sopenharmony_ci	FUNCTION(gmi_alt),
16438c2ecf20Sopenharmony_ci	FUNCTION(hda),
16448c2ecf20Sopenharmony_ci	FUNCTION(hsi),
16458c2ecf20Sopenharmony_ci	FUNCTION(i2c1),
16468c2ecf20Sopenharmony_ci	FUNCTION(i2c2),
16478c2ecf20Sopenharmony_ci	FUNCTION(i2c3),
16488c2ecf20Sopenharmony_ci	FUNCTION(i2c4),
16498c2ecf20Sopenharmony_ci	FUNCTION(i2cpwr),
16508c2ecf20Sopenharmony_ci	FUNCTION(i2s0),
16518c2ecf20Sopenharmony_ci	FUNCTION(i2s1),
16528c2ecf20Sopenharmony_ci	FUNCTION(i2s2),
16538c2ecf20Sopenharmony_ci	FUNCTION(i2s3),
16548c2ecf20Sopenharmony_ci	FUNCTION(i2s4),
16558c2ecf20Sopenharmony_ci	FUNCTION(irda),
16568c2ecf20Sopenharmony_ci	FUNCTION(kbc),
16578c2ecf20Sopenharmony_ci	FUNCTION(owr),
16588c2ecf20Sopenharmony_ci	FUNCTION(pe),
16598c2ecf20Sopenharmony_ci	FUNCTION(pe0),
16608c2ecf20Sopenharmony_ci	FUNCTION(pe1),
16618c2ecf20Sopenharmony_ci	FUNCTION(pmi),
16628c2ecf20Sopenharmony_ci	FUNCTION(pwm0),
16638c2ecf20Sopenharmony_ci	FUNCTION(pwm1),
16648c2ecf20Sopenharmony_ci	FUNCTION(pwm2),
16658c2ecf20Sopenharmony_ci	FUNCTION(pwm3),
16668c2ecf20Sopenharmony_ci	FUNCTION(pwron),
16678c2ecf20Sopenharmony_ci	FUNCTION(reset_out_n),
16688c2ecf20Sopenharmony_ci	FUNCTION(rsvd1),
16698c2ecf20Sopenharmony_ci	FUNCTION(rsvd2),
16708c2ecf20Sopenharmony_ci	FUNCTION(rsvd3),
16718c2ecf20Sopenharmony_ci	FUNCTION(rsvd4),
16728c2ecf20Sopenharmony_ci	FUNCTION(rtck),
16738c2ecf20Sopenharmony_ci	FUNCTION(sata),
16748c2ecf20Sopenharmony_ci	FUNCTION(sdmmc1),
16758c2ecf20Sopenharmony_ci	FUNCTION(sdmmc2),
16768c2ecf20Sopenharmony_ci	FUNCTION(sdmmc3),
16778c2ecf20Sopenharmony_ci	FUNCTION(sdmmc4),
16788c2ecf20Sopenharmony_ci	FUNCTION(soc),
16798c2ecf20Sopenharmony_ci	FUNCTION(spdif),
16808c2ecf20Sopenharmony_ci	FUNCTION(spi1),
16818c2ecf20Sopenharmony_ci	FUNCTION(spi2),
16828c2ecf20Sopenharmony_ci	FUNCTION(spi3),
16838c2ecf20Sopenharmony_ci	FUNCTION(spi4),
16848c2ecf20Sopenharmony_ci	FUNCTION(spi5),
16858c2ecf20Sopenharmony_ci	FUNCTION(spi6),
16868c2ecf20Sopenharmony_ci	FUNCTION(sys),
16878c2ecf20Sopenharmony_ci	FUNCTION(tmds),
16888c2ecf20Sopenharmony_ci	FUNCTION(trace),
16898c2ecf20Sopenharmony_ci	FUNCTION(uarta),
16908c2ecf20Sopenharmony_ci	FUNCTION(uartb),
16918c2ecf20Sopenharmony_ci	FUNCTION(uartc),
16928c2ecf20Sopenharmony_ci	FUNCTION(uartd),
16938c2ecf20Sopenharmony_ci	FUNCTION(ulpi),
16948c2ecf20Sopenharmony_ci	FUNCTION(usb),
16958c2ecf20Sopenharmony_ci	FUNCTION(vgp1),
16968c2ecf20Sopenharmony_ci	FUNCTION(vgp2),
16978c2ecf20Sopenharmony_ci	FUNCTION(vgp3),
16988c2ecf20Sopenharmony_ci	FUNCTION(vgp4),
16998c2ecf20Sopenharmony_ci	FUNCTION(vgp5),
17008c2ecf20Sopenharmony_ci	FUNCTION(vgp6),
17018c2ecf20Sopenharmony_ci	FUNCTION(vi),
17028c2ecf20Sopenharmony_ci	FUNCTION(vi_alt1),
17038c2ecf20Sopenharmony_ci	FUNCTION(vi_alt3),
17048c2ecf20Sopenharmony_ci	FUNCTION(vimclk2),
17058c2ecf20Sopenharmony_ci	FUNCTION(vimclk2_alt),
17068c2ecf20Sopenharmony_ci};
17078c2ecf20Sopenharmony_ci
17088c2ecf20Sopenharmony_ci#define DRV_PINGROUP_REG_A		0x868	/* bank 0 */
17098c2ecf20Sopenharmony_ci#define PINGROUP_REG_A			0x3000	/* bank 1 */
17108c2ecf20Sopenharmony_ci#define MIPI_PAD_CTRL_PINGROUP_REG_A	0x820	/* bank 2 */
17118c2ecf20Sopenharmony_ci
17128c2ecf20Sopenharmony_ci#define DRV_PINGROUP_REG(r)		((r) - DRV_PINGROUP_REG_A)
17138c2ecf20Sopenharmony_ci#define PINGROUP_REG(r)			((r) - PINGROUP_REG_A)
17148c2ecf20Sopenharmony_ci#define MIPI_PAD_CTRL_PINGROUP_REG_Y(r)	((r) - MIPI_PAD_CTRL_PINGROUP_REG_A)
17158c2ecf20Sopenharmony_ci
17168c2ecf20Sopenharmony_ci#define PINGROUP_BIT_Y(b)		(b)
17178c2ecf20Sopenharmony_ci#define PINGROUP_BIT_N(b)		(-1)
17188c2ecf20Sopenharmony_ci
17198c2ecf20Sopenharmony_ci#define PINGROUP(pg_name, f0, f1, f2, f3, r, od, ior, rcv_sel)		\
17208c2ecf20Sopenharmony_ci	{								\
17218c2ecf20Sopenharmony_ci		.name = #pg_name,					\
17228c2ecf20Sopenharmony_ci		.pins = pg_name##_pins,					\
17238c2ecf20Sopenharmony_ci		.npins = ARRAY_SIZE(pg_name##_pins),			\
17248c2ecf20Sopenharmony_ci		.funcs = {						\
17258c2ecf20Sopenharmony_ci			TEGRA_MUX_##f0,					\
17268c2ecf20Sopenharmony_ci			TEGRA_MUX_##f1,					\
17278c2ecf20Sopenharmony_ci			TEGRA_MUX_##f2,					\
17288c2ecf20Sopenharmony_ci			TEGRA_MUX_##f3,					\
17298c2ecf20Sopenharmony_ci		},							\
17308c2ecf20Sopenharmony_ci		.mux_reg = PINGROUP_REG(r),				\
17318c2ecf20Sopenharmony_ci		.mux_bank = 1,						\
17328c2ecf20Sopenharmony_ci		.mux_bit = 0,						\
17338c2ecf20Sopenharmony_ci		.pupd_reg = PINGROUP_REG(r),				\
17348c2ecf20Sopenharmony_ci		.pupd_bank = 1,						\
17358c2ecf20Sopenharmony_ci		.pupd_bit = 2,						\
17368c2ecf20Sopenharmony_ci		.tri_reg = PINGROUP_REG(r),				\
17378c2ecf20Sopenharmony_ci		.tri_bank = 1,						\
17388c2ecf20Sopenharmony_ci		.tri_bit = 4,						\
17398c2ecf20Sopenharmony_ci		.einput_bit = 5,					\
17408c2ecf20Sopenharmony_ci		.odrain_bit = PINGROUP_BIT_##od(6),			\
17418c2ecf20Sopenharmony_ci		.lock_bit = 7,						\
17428c2ecf20Sopenharmony_ci		.ioreset_bit = PINGROUP_BIT_##ior(8),			\
17438c2ecf20Sopenharmony_ci		.rcv_sel_bit = PINGROUP_BIT_##rcv_sel(9),		\
17448c2ecf20Sopenharmony_ci		.drv_reg = -1,						\
17458c2ecf20Sopenharmony_ci		.parked_bitmask = 0,					\
17468c2ecf20Sopenharmony_ci	}
17478c2ecf20Sopenharmony_ci
17488c2ecf20Sopenharmony_ci#define DRV_PINGROUP(pg_name, r, hsm_b, schmitt_b, lpmd_b, drvdn_b,	\
17498c2ecf20Sopenharmony_ci		     drvdn_w, drvup_b, drvup_w, slwr_b, slwr_w,		\
17508c2ecf20Sopenharmony_ci		     slwf_b, slwf_w, drvtype)				\
17518c2ecf20Sopenharmony_ci	{								\
17528c2ecf20Sopenharmony_ci		.name = "drive_" #pg_name,				\
17538c2ecf20Sopenharmony_ci		.pins = drive_##pg_name##_pins,				\
17548c2ecf20Sopenharmony_ci		.npins = ARRAY_SIZE(drive_##pg_name##_pins),		\
17558c2ecf20Sopenharmony_ci		.mux_reg = -1,						\
17568c2ecf20Sopenharmony_ci		.pupd_reg = -1,						\
17578c2ecf20Sopenharmony_ci		.tri_reg = -1,						\
17588c2ecf20Sopenharmony_ci		.einput_bit = -1,					\
17598c2ecf20Sopenharmony_ci		.odrain_bit = -1,					\
17608c2ecf20Sopenharmony_ci		.lock_bit = -1,						\
17618c2ecf20Sopenharmony_ci		.ioreset_bit = -1,					\
17628c2ecf20Sopenharmony_ci		.rcv_sel_bit = -1,					\
17638c2ecf20Sopenharmony_ci		.drv_reg = DRV_PINGROUP_REG(r),				\
17648c2ecf20Sopenharmony_ci		.drv_bank = 0,						\
17658c2ecf20Sopenharmony_ci		.hsm_bit = hsm_b,					\
17668c2ecf20Sopenharmony_ci		.schmitt_bit = schmitt_b,				\
17678c2ecf20Sopenharmony_ci		.lpmd_bit = lpmd_b,					\
17688c2ecf20Sopenharmony_ci		.drvdn_bit = drvdn_b,					\
17698c2ecf20Sopenharmony_ci		.drvdn_width = drvdn_w,					\
17708c2ecf20Sopenharmony_ci		.drvup_bit = drvup_b,					\
17718c2ecf20Sopenharmony_ci		.drvup_width = drvup_w,					\
17728c2ecf20Sopenharmony_ci		.slwr_bit = slwr_b,					\
17738c2ecf20Sopenharmony_ci		.slwr_width = slwr_w,					\
17748c2ecf20Sopenharmony_ci		.slwf_bit = slwf_b,					\
17758c2ecf20Sopenharmony_ci		.slwf_width = slwf_w,					\
17768c2ecf20Sopenharmony_ci		.drvtype_bit = PINGROUP_BIT_##drvtype(6),		\
17778c2ecf20Sopenharmony_ci		.parked_bitmask = 0,					\
17788c2ecf20Sopenharmony_ci	}
17798c2ecf20Sopenharmony_ci
17808c2ecf20Sopenharmony_ci#define MIPI_PAD_CTRL_PINGROUP(pg_name, r, b, f0, f1)			\
17818c2ecf20Sopenharmony_ci	{								\
17828c2ecf20Sopenharmony_ci		.name = "mipi_pad_ctrl_" #pg_name,			\
17838c2ecf20Sopenharmony_ci		.pins = mipi_pad_ctrl_##pg_name##_pins,			\
17848c2ecf20Sopenharmony_ci		.npins = ARRAY_SIZE(mipi_pad_ctrl_##pg_name##_pins),	\
17858c2ecf20Sopenharmony_ci		.funcs = {						\
17868c2ecf20Sopenharmony_ci			TEGRA_MUX_ ## f0,				\
17878c2ecf20Sopenharmony_ci			TEGRA_MUX_ ## f1,				\
17888c2ecf20Sopenharmony_ci			TEGRA_MUX_RSVD3,				\
17898c2ecf20Sopenharmony_ci			TEGRA_MUX_RSVD4,				\
17908c2ecf20Sopenharmony_ci		},							\
17918c2ecf20Sopenharmony_ci		.mux_reg = MIPI_PAD_CTRL_PINGROUP_REG_Y(r),		\
17928c2ecf20Sopenharmony_ci		.mux_bank = 2,						\
17938c2ecf20Sopenharmony_ci		.mux_bit = b,						\
17948c2ecf20Sopenharmony_ci		.pupd_reg = -1,						\
17958c2ecf20Sopenharmony_ci		.tri_reg = -1,						\
17968c2ecf20Sopenharmony_ci		.einput_bit = -1,					\
17978c2ecf20Sopenharmony_ci		.odrain_bit = -1,					\
17988c2ecf20Sopenharmony_ci		.lock_bit = -1,						\
17998c2ecf20Sopenharmony_ci		.ioreset_bit = -1,					\
18008c2ecf20Sopenharmony_ci		.rcv_sel_bit = -1,					\
18018c2ecf20Sopenharmony_ci		.drv_reg = -1,						\
18028c2ecf20Sopenharmony_ci	}
18038c2ecf20Sopenharmony_ci
18048c2ecf20Sopenharmony_cistatic const struct tegra_pingroup tegra124_groups[] = {
18058c2ecf20Sopenharmony_ci	/*       pg_name,                f0,         f1,         f2,           f3,          r,      od, ior, rcv_sel */
18068c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data0_po1,         SPI3,       HSI,        UARTA,        ULPI,        0x3000, N,   N,  N),
18078c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data1_po2,         SPI3,       HSI,        UARTA,        ULPI,        0x3004, N,   N,  N),
18088c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data2_po3,         SPI3,       HSI,        UARTA,        ULPI,        0x3008, N,   N,  N),
18098c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data3_po4,         SPI3,       HSI,        UARTA,        ULPI,        0x300c, N,   N,  N),
18108c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data4_po5,         SPI2,       HSI,        UARTA,        ULPI,        0x3010, N,   N,  N),
18118c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data5_po6,         SPI2,       HSI,        UARTA,        ULPI,        0x3014, N,   N,  N),
18128c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data6_po7,         SPI2,       HSI,        UARTA,        ULPI,        0x3018, N,   N,  N),
18138c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data7_po0,         SPI2,       HSI,        UARTA,        ULPI,        0x301c, N,   N,  N),
18148c2ecf20Sopenharmony_ci	PINGROUP(ulpi_clk_py0,           SPI1,       SPI5,       UARTD,        ULPI,        0x3020, N,   N,  N),
18158c2ecf20Sopenharmony_ci	PINGROUP(ulpi_dir_py1,           SPI1,       SPI5,       UARTD,        ULPI,        0x3024, N,   N,  N),
18168c2ecf20Sopenharmony_ci	PINGROUP(ulpi_nxt_py2,           SPI1,       SPI5,       UARTD,        ULPI,        0x3028, N,   N,  N),
18178c2ecf20Sopenharmony_ci	PINGROUP(ulpi_stp_py3,           SPI1,       SPI5,       UARTD,        ULPI,        0x302c, N,   N,  N),
18188c2ecf20Sopenharmony_ci	PINGROUP(dap3_fs_pp0,            I2S2,       SPI5,       DISPLAYA,     DISPLAYB,    0x3030, N,   N,  N),
18198c2ecf20Sopenharmony_ci	PINGROUP(dap3_din_pp1,           I2S2,       SPI5,       DISPLAYA,     DISPLAYB,    0x3034, N,   N,  N),
18208c2ecf20Sopenharmony_ci	PINGROUP(dap3_dout_pp2,          I2S2,       SPI5,       DISPLAYA,     RSVD4,       0x3038, N,   N,  N),
18218c2ecf20Sopenharmony_ci	PINGROUP(dap3_sclk_pp3,          I2S2,       SPI5,       RSVD3,        DISPLAYB,    0x303c, N,   N,  N),
18228c2ecf20Sopenharmony_ci	PINGROUP(pv0,                    RSVD1,      RSVD2,      RSVD3,        RSVD4,       0x3040, N,   N,  N),
18238c2ecf20Sopenharmony_ci	PINGROUP(pv1,                    RSVD1,      RSVD2,      RSVD3,        RSVD4,       0x3044, N,   N,  N),
18248c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_clk_pz0,         SDMMC1,     CLK12,      RSVD3,        RSVD4,       0x3048, N,   N,  N),
18258c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_cmd_pz1,         SDMMC1,     SPDIF,      SPI4,         UARTA,       0x304c, N,   N,  N),
18268c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_dat3_py4,        SDMMC1,     SPDIF,      SPI4,         UARTA,       0x3050, N,   N,  N),
18278c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_dat2_py5,        SDMMC1,     PWM0,       SPI4,         UARTA,       0x3054, N,   N,  N),
18288c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_dat1_py6,        SDMMC1,     PWM1,       SPI4,         UARTA,       0x3058, N,   N,  N),
18298c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_dat0_py7,        SDMMC1,     RSVD2,      SPI4,         UARTA,       0x305c, N,   N,  N),
18308c2ecf20Sopenharmony_ci	PINGROUP(clk2_out_pw5,           EXTPERIPH2, RSVD2,      RSVD3,        RSVD4,       0x3068, N,   N,  N),
18318c2ecf20Sopenharmony_ci	PINGROUP(clk2_req_pcc5,          DAP,        RSVD2,      RSVD3,        RSVD4,       0x306c, N,   N,  N),
18328c2ecf20Sopenharmony_ci	PINGROUP(hdmi_int_pn7,           RSVD1,      RSVD2,      RSVD3,        RSVD4,       0x3110, N,   N,  Y),
18338c2ecf20Sopenharmony_ci	PINGROUP(ddc_scl_pv4,            I2C4,       RSVD2,      RSVD3,        RSVD4,       0x3114, N,   N,  Y),
18348c2ecf20Sopenharmony_ci	PINGROUP(ddc_sda_pv5,            I2C4,       RSVD2,      RSVD3,        RSVD4,       0x3118, N,   N,  Y),
18358c2ecf20Sopenharmony_ci	PINGROUP(uart2_rxd_pc3,          IRDA,       SPDIF,      UARTA,        SPI4,        0x3164, N,   N,  N),
18368c2ecf20Sopenharmony_ci	PINGROUP(uart2_txd_pc2,          IRDA,       SPDIF,      UARTA,        SPI4,        0x3168, N,   N,  N),
18378c2ecf20Sopenharmony_ci	PINGROUP(uart2_rts_n_pj6,        UARTA,      UARTB,      GMI,          SPI4,        0x316c, N,   N,  N),
18388c2ecf20Sopenharmony_ci	PINGROUP(uart2_cts_n_pj5,        UARTA,      UARTB,      GMI,          SPI4,        0x3170, N,   N,  N),
18398c2ecf20Sopenharmony_ci	PINGROUP(uart3_txd_pw6,          UARTC,      RSVD2,      GMI,          SPI4,        0x3174, N,   N,  N),
18408c2ecf20Sopenharmony_ci	PINGROUP(uart3_rxd_pw7,          UARTC,      RSVD2,      GMI,          SPI4,        0x3178, N,   N,  N),
18418c2ecf20Sopenharmony_ci	PINGROUP(uart3_cts_n_pa1,        UARTC,      SDMMC1,     DTV,          GMI,         0x317c, N,   N,  N),
18428c2ecf20Sopenharmony_ci	PINGROUP(uart3_rts_n_pc0,        UARTC,      PWM0,       DTV,          GMI,         0x3180, N,   N,  N),
18438c2ecf20Sopenharmony_ci	PINGROUP(pu0,                    OWR,        UARTA,      GMI,          RSVD4,       0x3184, N,   N,  N),
18448c2ecf20Sopenharmony_ci	PINGROUP(pu1,                    RSVD1,      UARTA,      GMI,          RSVD4,       0x3188, N,   N,  N),
18458c2ecf20Sopenharmony_ci	PINGROUP(pu2,                    RSVD1,      UARTA,      GMI,          RSVD4,       0x318c, N,   N,  N),
18468c2ecf20Sopenharmony_ci	PINGROUP(pu3,                    PWM0,       UARTA,      GMI,          DISPLAYB,    0x3190, N,   N,  N),
18478c2ecf20Sopenharmony_ci	PINGROUP(pu4,                    PWM1,       UARTA,      GMI,          DISPLAYB,    0x3194, N,   N,  N),
18488c2ecf20Sopenharmony_ci	PINGROUP(pu5,                    PWM2,       UARTA,      GMI,          DISPLAYB,    0x3198, N,   N,  N),
18498c2ecf20Sopenharmony_ci	PINGROUP(pu6,                    PWM3,       UARTA,      RSVD3,        GMI,         0x319c, N,   N,  N),
18508c2ecf20Sopenharmony_ci	PINGROUP(gen1_i2c_sda_pc5,       I2C1,       RSVD2,      RSVD3,        RSVD4,       0x31a0, Y,   N,  N),
18518c2ecf20Sopenharmony_ci	PINGROUP(gen1_i2c_scl_pc4,       I2C1,       RSVD2,      RSVD3,        RSVD4,       0x31a4, Y,   N,  N),
18528c2ecf20Sopenharmony_ci	PINGROUP(dap4_fs_pp4,            I2S3,       GMI,        DTV,          RSVD4,       0x31a8, N,   N,  N),
18538c2ecf20Sopenharmony_ci	PINGROUP(dap4_din_pp5,           I2S3,       GMI,        RSVD3,        RSVD4,       0x31ac, N,   N,  N),
18548c2ecf20Sopenharmony_ci	PINGROUP(dap4_dout_pp6,          I2S3,       GMI,        DTV,          RSVD4,       0x31b0, N,   N,  N),
18558c2ecf20Sopenharmony_ci	PINGROUP(dap4_sclk_pp7,          I2S3,       GMI,        RSVD3,        RSVD4,       0x31b4, N,   N,  N),
18568c2ecf20Sopenharmony_ci	PINGROUP(clk3_out_pee0,          EXTPERIPH3, RSVD2,      RSVD3,        RSVD4,       0x31b8, N,   N,  N),
18578c2ecf20Sopenharmony_ci	PINGROUP(clk3_req_pee1,          DEV3,       RSVD2,      RSVD3,        RSVD4,       0x31bc, N,   N,  N),
18588c2ecf20Sopenharmony_ci	PINGROUP(pc7,                    RSVD1,      RSVD2,      GMI,          GMI_ALT,     0x31c0, N,   N,  N),
18598c2ecf20Sopenharmony_ci	PINGROUP(pi5,                    SDMMC2,     RSVD2,      GMI,          RSVD4,       0x31c4, N,   N,  N),
18608c2ecf20Sopenharmony_ci	PINGROUP(pi7,                    RSVD1,      TRACE,      GMI,          DTV,         0x31c8, N,   N,  N),
18618c2ecf20Sopenharmony_ci	PINGROUP(pk0,                    RSVD1,      SDMMC3,     GMI,          SOC,         0x31cc, N,   N,  N),
18628c2ecf20Sopenharmony_ci	PINGROUP(pk1,                    SDMMC2,     TRACE,      GMI,          RSVD4,       0x31d0, N,   N,  N),
18638c2ecf20Sopenharmony_ci	PINGROUP(pj0,                    RSVD1,      RSVD2,      GMI,          USB,         0x31d4, N,   N,  N),
18648c2ecf20Sopenharmony_ci	PINGROUP(pj2,                    RSVD1,      RSVD2,      GMI,          SOC,         0x31d8, N,   N,  N),
18658c2ecf20Sopenharmony_ci	PINGROUP(pk3,                    SDMMC2,     TRACE,      GMI,          CCLA,        0x31dc, N,   N,  N),
18668c2ecf20Sopenharmony_ci	PINGROUP(pk4,                    SDMMC2,     RSVD2,      GMI,          GMI_ALT,     0x31e0, N,   N,  N),
18678c2ecf20Sopenharmony_ci	PINGROUP(pk2,                    RSVD1,      RSVD2,      GMI,          RSVD4,       0x31e4, N,   N,  N),
18688c2ecf20Sopenharmony_ci	PINGROUP(pi3,                    RSVD1,      RSVD2,      GMI,          SPI4,        0x31e8, N,   N,  N),
18698c2ecf20Sopenharmony_ci	PINGROUP(pi6,                    RSVD1,      RSVD2,      GMI,          SDMMC2,      0x31ec, N,   N,  N),
18708c2ecf20Sopenharmony_ci	PINGROUP(pg0,                    RSVD1,      RSVD2,      GMI,          RSVD4,       0x31f0, N,   N,  N),
18718c2ecf20Sopenharmony_ci	PINGROUP(pg1,                    RSVD1,      RSVD2,      GMI,          RSVD4,       0x31f4, N,   N,  N),
18728c2ecf20Sopenharmony_ci	PINGROUP(pg2,                    RSVD1,      TRACE,      GMI,          RSVD4,       0x31f8, N,   N,  N),
18738c2ecf20Sopenharmony_ci	PINGROUP(pg3,                    RSVD1,      TRACE,      GMI,          RSVD4,       0x31fc, N,   N,  N),
18748c2ecf20Sopenharmony_ci	PINGROUP(pg4,                    RSVD1,      TMDS,       GMI,          SPI4,        0x3200, N,   N,  N),
18758c2ecf20Sopenharmony_ci	PINGROUP(pg5,                    RSVD1,      RSVD2,      GMI,          SPI4,        0x3204, N,   N,  N),
18768c2ecf20Sopenharmony_ci	PINGROUP(pg6,                    RSVD1,      RSVD2,      GMI,          SPI4,        0x3208, N,   N,  N),
18778c2ecf20Sopenharmony_ci	PINGROUP(pg7,                    RSVD1,      RSVD2,      GMI,          SPI4,        0x320c, N,   N,  N),
18788c2ecf20Sopenharmony_ci	PINGROUP(ph0,                    PWM0,       TRACE,      GMI,          DTV,         0x3210, N,   N,  N),
18798c2ecf20Sopenharmony_ci	PINGROUP(ph1,                    PWM1,       TMDS,       GMI,          DISPLAYA,    0x3214, N,   N,  N),
18808c2ecf20Sopenharmony_ci	PINGROUP(ph2,                    PWM2,       TMDS,       GMI,          CLDVFS,      0x3218, N,   N,  N),
18818c2ecf20Sopenharmony_ci	PINGROUP(ph3,                    PWM3,       SPI4,       GMI,          CLDVFS,      0x321c, N,   N,  N),
18828c2ecf20Sopenharmony_ci	PINGROUP(ph4,                    SDMMC2,     RSVD2,      GMI,          RSVD4,       0x3220, N,   N,  N),
18838c2ecf20Sopenharmony_ci	PINGROUP(ph5,                    SDMMC2,     RSVD2,      GMI,          RSVD4,       0x3224, N,   N,  N),
18848c2ecf20Sopenharmony_ci	PINGROUP(ph6,                    SDMMC2,     TRACE,      GMI,          DTV,         0x3228, N,   N,  N),
18858c2ecf20Sopenharmony_ci	PINGROUP(ph7,                    SDMMC2,     TRACE,      GMI,          DTV,         0x322c, N,   N,  N),
18868c2ecf20Sopenharmony_ci	PINGROUP(pj7,                    UARTD,      RSVD2,      GMI,          GMI_ALT,     0x3230, N,   N,  N),
18878c2ecf20Sopenharmony_ci	PINGROUP(pb0,                    UARTD,      RSVD2,      GMI,          RSVD4,       0x3234, N,   N,  N),
18888c2ecf20Sopenharmony_ci	PINGROUP(pb1,                    UARTD,      RSVD2,      GMI,          RSVD4,       0x3238, N,   N,  N),
18898c2ecf20Sopenharmony_ci	PINGROUP(pk7,                    UARTD,      RSVD2,      GMI,          RSVD4,       0x323c, N,   N,  N),
18908c2ecf20Sopenharmony_ci	PINGROUP(pi0,                    RSVD1,      RSVD2,      GMI,          RSVD4,       0x3240, N,   N,  N),
18918c2ecf20Sopenharmony_ci	PINGROUP(pi1,                    RSVD1,      RSVD2,      GMI,          RSVD4,       0x3244, N,   N,  N),
18928c2ecf20Sopenharmony_ci	PINGROUP(pi2,                    SDMMC2,     TRACE,      GMI,          RSVD4,       0x3248, N,   N,  N),
18938c2ecf20Sopenharmony_ci	PINGROUP(pi4,                    SPI4,       TRACE,      GMI,          DISPLAYA,    0x324c, N,   N,  N),
18948c2ecf20Sopenharmony_ci	PINGROUP(gen2_i2c_scl_pt5,       I2C2,       RSVD2,      GMI,          RSVD4,       0x3250, Y,   N,  N),
18958c2ecf20Sopenharmony_ci	PINGROUP(gen2_i2c_sda_pt6,       I2C2,       RSVD2,      GMI,          RSVD4,       0x3254, Y,   N,  N),
18968c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_clk_pcc4,        SDMMC4,     RSVD2,      GMI,          RSVD4,       0x3258, N,   Y,  N),
18978c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_cmd_pt7,         SDMMC4,     RSVD2,      GMI,          RSVD4,       0x325c, N,   Y,  N),
18988c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat0_paa0,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x3260, N,   Y,  N),
18998c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat1_paa1,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x3264, N,   Y,  N),
19008c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat2_paa2,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x3268, N,   Y,  N),
19018c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat3_paa3,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x326c, N,   Y,  N),
19028c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat4_paa4,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x3270, N,   Y,  N),
19038c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat5_paa5,       SDMMC4,     SPI3,       RSVD3,        RSVD4,       0x3274, N,   Y,  N),
19048c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat6_paa6,       SDMMC4,     SPI3,       GMI,          RSVD4,       0x3278, N,   Y,  N),
19058c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat7_paa7,       SDMMC4,     RSVD2,      GMI,          RSVD4,       0x327c, N,   Y,  N),
19068c2ecf20Sopenharmony_ci	PINGROUP(cam_mclk_pcc0,          VI,         VI_ALT1,    VI_ALT3,      SDMMC2,      0x3284, N,   N,  N),
19078c2ecf20Sopenharmony_ci	PINGROUP(pcc1,                   I2S4,       RSVD2,      RSVD3,        SDMMC2,      0x3288, N,   N,  N),
19088c2ecf20Sopenharmony_ci	PINGROUP(pbb0,                   VGP6,       VIMCLK2,    SDMMC2,       VIMCLK2_ALT, 0x328c, N,   N,  N),
19098c2ecf20Sopenharmony_ci	PINGROUP(cam_i2c_scl_pbb1,       VGP1,       I2C3,       RSVD3,        SDMMC2,      0x3290, Y,   N,  N),
19108c2ecf20Sopenharmony_ci	PINGROUP(cam_i2c_sda_pbb2,       VGP2,       I2C3,       RSVD3,        SDMMC2,      0x3294, Y,   N,  N),
19118c2ecf20Sopenharmony_ci	PINGROUP(pbb3,                   VGP3,       DISPLAYA,   DISPLAYB,     SDMMC2,      0x3298, N,   N,  N),
19128c2ecf20Sopenharmony_ci	PINGROUP(pbb4,                   VGP4,       DISPLAYA,   DISPLAYB,     SDMMC2,      0x329c, N,   N,  N),
19138c2ecf20Sopenharmony_ci	PINGROUP(pbb5,                   VGP5,       DISPLAYA,   RSVD3,        SDMMC2,      0x32a0, N,   N,  N),
19148c2ecf20Sopenharmony_ci	PINGROUP(pbb6,                   I2S4,       RSVD2,      DISPLAYB,     SDMMC2,      0x32a4, N,   N,  N),
19158c2ecf20Sopenharmony_ci	PINGROUP(pbb7,                   I2S4,       RSVD2,      RSVD3,        SDMMC2,      0x32a8, N,   N,  N),
19168c2ecf20Sopenharmony_ci	PINGROUP(pcc2,                   I2S4,       RSVD2,      SDMMC3,       SDMMC2,      0x32ac, N,   N,  N),
19178c2ecf20Sopenharmony_ci	PINGROUP(jtag_rtck,              RTCK,       RSVD2,      RSVD3,        RSVD4,       0x32b0, N,   N,  N),
19188c2ecf20Sopenharmony_ci	PINGROUP(pwr_i2c_scl_pz6,        I2CPWR,     RSVD2,      RSVD3,        RSVD4,       0x32b4, Y,   N,  N),
19198c2ecf20Sopenharmony_ci	PINGROUP(pwr_i2c_sda_pz7,        I2CPWR,     RSVD2,      RSVD3,        RSVD4,       0x32b8, Y,   N,  N),
19208c2ecf20Sopenharmony_ci	PINGROUP(kb_row0_pr0,            KBC,        RSVD2,      RSVD3,        RSVD4,       0x32bc, N,   N,  N),
19218c2ecf20Sopenharmony_ci	PINGROUP(kb_row1_pr1,            KBC,        RSVD2,      RSVD3,        RSVD4,       0x32c0, N,   N,  N),
19228c2ecf20Sopenharmony_ci	PINGROUP(kb_row2_pr2,            KBC,        RSVD2,      RSVD3,        RSVD4,       0x32c4, N,   N,  N),
19238c2ecf20Sopenharmony_ci	PINGROUP(kb_row3_pr3,            KBC,        DISPLAYA,   SYS,          DISPLAYB,    0x32c8, N,   N,  N),
19248c2ecf20Sopenharmony_ci	PINGROUP(kb_row4_pr4,            KBC,        DISPLAYA,   RSVD3,        DISPLAYB,    0x32cc, N,   N,  N),
19258c2ecf20Sopenharmony_ci	PINGROUP(kb_row5_pr5,            KBC,        DISPLAYA,   RSVD3,        DISPLAYB,    0x32d0, N,   N,  N),
19268c2ecf20Sopenharmony_ci	PINGROUP(kb_row6_pr6,            KBC,        DISPLAYA,   DISPLAYA_ALT, DISPLAYB,    0x32d4, N,   N,  N),
19278c2ecf20Sopenharmony_ci	PINGROUP(kb_row7_pr7,            KBC,        RSVD2,      CLDVFS,       UARTA,       0x32d8, N,   N,  N),
19288c2ecf20Sopenharmony_ci	PINGROUP(kb_row8_ps0,            KBC,        RSVD2,      CLDVFS,       UARTA,       0x32dc, N,   N,  N),
19298c2ecf20Sopenharmony_ci	PINGROUP(kb_row9_ps1,            KBC,        RSVD2,      RSVD3,        UARTA,       0x32e0, N,   N,  N),
19308c2ecf20Sopenharmony_ci	PINGROUP(kb_row10_ps2,           KBC,        RSVD2,      RSVD3,        UARTA,       0x32e4, N,   N,  N),
19318c2ecf20Sopenharmony_ci	PINGROUP(kb_row11_ps3,           KBC,        RSVD2,      RSVD3,        IRDA,        0x32e8, N,   N,  N),
19328c2ecf20Sopenharmony_ci	PINGROUP(kb_row12_ps4,           KBC,        RSVD2,      RSVD3,        IRDA,        0x32ec, N,   N,  N),
19338c2ecf20Sopenharmony_ci	PINGROUP(kb_row13_ps5,           KBC,        RSVD2,      SPI2,         RSVD4,       0x32f0, N,   N,  N),
19348c2ecf20Sopenharmony_ci	PINGROUP(kb_row14_ps6,           KBC,        RSVD2,      SPI2,         RSVD4,       0x32f4, N,   N,  N),
19358c2ecf20Sopenharmony_ci	PINGROUP(kb_row15_ps7,           KBC,        SOC,        RSVD3,        RSVD4,       0x32f8, N,   N,  N),
19368c2ecf20Sopenharmony_ci	PINGROUP(kb_col0_pq0,            KBC,        RSVD2,      SPI2,         RSVD4,       0x32fc, N,   N,  N),
19378c2ecf20Sopenharmony_ci	PINGROUP(kb_col1_pq1,            KBC,        RSVD2,      SPI2,         RSVD4,       0x3300, N,   N,  N),
19388c2ecf20Sopenharmony_ci	PINGROUP(kb_col2_pq2,            KBC,        RSVD2,      SPI2,         RSVD4,       0x3304, N,   N,  N),
19398c2ecf20Sopenharmony_ci	PINGROUP(kb_col3_pq3,            KBC,        DISPLAYA,   PWM2,         UARTA,       0x3308, N,   N,  N),
19408c2ecf20Sopenharmony_ci	PINGROUP(kb_col4_pq4,            KBC,        OWR,        SDMMC3,       UARTA,       0x330c, N,   N,  N),
19418c2ecf20Sopenharmony_ci	PINGROUP(kb_col5_pq5,            KBC,        RSVD2,      SDMMC3,       RSVD4,       0x3310, N,   N,  N),
19428c2ecf20Sopenharmony_ci	PINGROUP(kb_col6_pq6,            KBC,        RSVD2,      SPI2,         UARTD,       0x3314, N,   N,  N),
19438c2ecf20Sopenharmony_ci	PINGROUP(kb_col7_pq7,            KBC,        RSVD2,      SPI2,         UARTD,       0x3318, N,   N,  N),
19448c2ecf20Sopenharmony_ci	PINGROUP(clk_32k_out_pa0,        BLINK,      SOC,        RSVD3,        RSVD4,       0x331c, N,   N,  N),
19458c2ecf20Sopenharmony_ci	PINGROUP(core_pwr_req,           PWRON,      RSVD2,      RSVD3,        RSVD4,       0x3324, N,   N,  N),
19468c2ecf20Sopenharmony_ci	PINGROUP(cpu_pwr_req,            CPU,        RSVD2,      RSVD3,        RSVD4,       0x3328, N,   N,  N),
19478c2ecf20Sopenharmony_ci	PINGROUP(pwr_int_n,              PMI,        RSVD2,      RSVD3,        RSVD4,       0x332c, N,   N,  N),
19488c2ecf20Sopenharmony_ci	PINGROUP(clk_32k_in,             CLK,        RSVD2,      RSVD3,        RSVD4,       0x3330, N,   N,  N),
19498c2ecf20Sopenharmony_ci	PINGROUP(owr,                    OWR,        RSVD2,      RSVD3,        RSVD4,       0x3334, N,   N,  Y),
19508c2ecf20Sopenharmony_ci	PINGROUP(dap1_fs_pn0,            I2S0,       HDA,        GMI,          RSVD4,       0x3338, N,   N,  N),
19518c2ecf20Sopenharmony_ci	PINGROUP(dap1_din_pn1,           I2S0,       HDA,        GMI,          RSVD4,       0x333c, N,   N,  N),
19528c2ecf20Sopenharmony_ci	PINGROUP(dap1_dout_pn2,          I2S0,       HDA,        GMI,          SATA,        0x3340, N,   N,  N),
19538c2ecf20Sopenharmony_ci	PINGROUP(dap1_sclk_pn3,          I2S0,       HDA,        GMI,          RSVD4,       0x3344, N,   N,  N),
19548c2ecf20Sopenharmony_ci	PINGROUP(dap_mclk1_req_pee2,     DAP,        DAP1,       SATA,         RSVD4,       0x3348, N,   N,  N),
19558c2ecf20Sopenharmony_ci	PINGROUP(dap_mclk1_pw4,          EXTPERIPH1, DAP2,       RSVD3,        RSVD4,       0x334c, N,   N,  N),
19568c2ecf20Sopenharmony_ci	PINGROUP(spdif_in_pk6,           SPDIF,      RSVD2,      RSVD3,        I2C3,        0x3350, N,   N,  N),
19578c2ecf20Sopenharmony_ci	PINGROUP(spdif_out_pk5,          SPDIF,      RSVD2,      RSVD3,        I2C3,        0x3354, N,   N,  N),
19588c2ecf20Sopenharmony_ci	PINGROUP(dap2_fs_pa2,            I2S1,       HDA,        GMI,          RSVD4,       0x3358, N,   N,  N),
19598c2ecf20Sopenharmony_ci	PINGROUP(dap2_din_pa4,           I2S1,       HDA,        GMI,          RSVD4,       0x335c, N,   N,  N),
19608c2ecf20Sopenharmony_ci	PINGROUP(dap2_dout_pa5,          I2S1,       HDA,        GMI,          RSVD4,       0x3360, N,   N,  N),
19618c2ecf20Sopenharmony_ci	PINGROUP(dap2_sclk_pa3,          I2S1,       HDA,        GMI,          RSVD4,       0x3364, N,   N,  N),
19628c2ecf20Sopenharmony_ci	PINGROUP(dvfs_pwm_px0,           SPI6,       CLDVFS,     GMI,          RSVD4,       0x3368, N,   N,  N),
19638c2ecf20Sopenharmony_ci	PINGROUP(gpio_x1_aud_px1,        SPI6,       RSVD2,      GMI,          RSVD4,       0x336c, N,   N,  N),
19648c2ecf20Sopenharmony_ci	PINGROUP(gpio_x3_aud_px3,        SPI6,       SPI1,       GMI,          RSVD4,       0x3370, N,   N,  N),
19658c2ecf20Sopenharmony_ci	PINGROUP(dvfs_clk_px2,           SPI6,       CLDVFS,     GMI,          RSVD4,       0x3374, N,   N,  N),
19668c2ecf20Sopenharmony_ci	PINGROUP(gpio_x4_aud_px4,        GMI,        SPI1,       SPI2,         DAP2,        0x3378, N,   N,  N),
19678c2ecf20Sopenharmony_ci	PINGROUP(gpio_x5_aud_px5,        GMI,        SPI1,       SPI2,         RSVD4,       0x337c, N,   N,  N),
19688c2ecf20Sopenharmony_ci	PINGROUP(gpio_x6_aud_px6,        SPI6,       SPI1,       SPI2,         GMI,         0x3380, N,   N,  N),
19698c2ecf20Sopenharmony_ci	PINGROUP(gpio_x7_aud_px7,        RSVD1,      SPI1,       SPI2,         RSVD4,       0x3384, N,   N,  N),
19708c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_clk_pa6,         SDMMC3,     RSVD2,      RSVD3,        SPI3,        0x3390, N,   N,  N),
19718c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_cmd_pa7,         SDMMC3,     PWM3,       UARTA,        SPI3,        0x3394, N,   N,  N),
19728c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat0_pb7,        SDMMC3,     RSVD2,      RSVD3,        SPI3,        0x3398, N,   N,  N),
19738c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat1_pb6,        SDMMC3,     PWM2,       UARTA,        SPI3,        0x339c, N,   N,  N),
19748c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat2_pb5,        SDMMC3,     PWM1,       DISPLAYA,     SPI3,        0x33a0, N,   N,  N),
19758c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat3_pb4,        SDMMC3,     PWM0,       DISPLAYB,     SPI3,        0x33a4, N,   N,  N),
19768c2ecf20Sopenharmony_ci	PINGROUP(pex_l0_rst_n_pdd1,      PE0,        RSVD2,      RSVD3,        RSVD4,       0x33bc, N,   N,  N),
19778c2ecf20Sopenharmony_ci	PINGROUP(pex_l0_clkreq_n_pdd2,   PE0,        RSVD2,      RSVD3,        RSVD4,       0x33c0, N,   N,  N),
19788c2ecf20Sopenharmony_ci	PINGROUP(pex_wake_n_pdd3,        PE,         RSVD2,      RSVD3,        RSVD4,       0x33c4, N,   N,  N),
19798c2ecf20Sopenharmony_ci	PINGROUP(pex_l1_rst_n_pdd5,      PE1,        RSVD2,      RSVD3,        RSVD4,       0x33cc, N,   N,  N),
19808c2ecf20Sopenharmony_ci	PINGROUP(pex_l1_clkreq_n_pdd6,   PE1,        RSVD2,      RSVD3,        RSVD4,       0x33d0, N,   N,  N),
19818c2ecf20Sopenharmony_ci	PINGROUP(hdmi_cec_pee3,          CEC,        RSVD2,      RSVD3,        RSVD4,       0x33e0, Y,   N,  N),
19828c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_wp_n_pv3,        SDMMC1,     CLK12,      SPI4,         UARTA,       0x33e4, N,   N,  N),
19838c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_cd_n_pv2,        SDMMC3,     OWR,        RSVD3,        RSVD4,       0x33e8, N,   N,  N),
19848c2ecf20Sopenharmony_ci	PINGROUP(gpio_w2_aud_pw2,        SPI6,       RSVD2,      SPI2,         I2C1,        0x33ec, N,   N,  N),
19858c2ecf20Sopenharmony_ci	PINGROUP(gpio_w3_aud_pw3,        SPI6,       SPI1,       SPI2,         I2C1,        0x33f0, N,   N,  N),
19868c2ecf20Sopenharmony_ci	PINGROUP(usb_vbus_en0_pn4,       USB,        RSVD2,      RSVD3,        RSVD4,       0x33f4, Y,   N,  N),
19878c2ecf20Sopenharmony_ci	PINGROUP(usb_vbus_en1_pn5,       USB,        RSVD2,      RSVD3,        RSVD4,       0x33f8, Y,   N,  N),
19888c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_clk_lb_in_pee5,  SDMMC3,     RSVD2,      RSVD3,        RSVD4,       0x33fc, N,   N,  N),
19898c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_clk_lb_out_pee4, SDMMC3,     RSVD2,      RSVD3,        RSVD4,       0x3400, N,   N,  N),
19908c2ecf20Sopenharmony_ci	PINGROUP(gmi_clk_lb,             SDMMC2,     RSVD2,      GMI,          RSVD4,       0x3404, N,   N,  N),
19918c2ecf20Sopenharmony_ci	PINGROUP(reset_out_n,            RSVD1,      RSVD2,      RSVD3,        RESET_OUT_N, 0x3408, N,   N,  N),
19928c2ecf20Sopenharmony_ci	PINGROUP(kb_row16_pt0,           KBC,        RSVD2,      RSVD3,        UARTC,       0x340c, N,   N,  N),
19938c2ecf20Sopenharmony_ci	PINGROUP(kb_row17_pt1,           KBC,        RSVD2,      RSVD3,        UARTC,       0x3410, N,   N,  N),
19948c2ecf20Sopenharmony_ci	PINGROUP(usb_vbus_en2_pff1,      USB,        RSVD2,      RSVD3,        RSVD4,       0x3414, Y,   N,  N),
19958c2ecf20Sopenharmony_ci	PINGROUP(pff2,                   SATA,       RSVD2,      RSVD3,        RSVD4,       0x3418, Y,   N,  N),
19968c2ecf20Sopenharmony_ci	PINGROUP(dp_hpd_pff0,            DP,         RSVD2,      RSVD3,        RSVD4,       0x3430, N,   N,  N),
19978c2ecf20Sopenharmony_ci
19988c2ecf20Sopenharmony_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 */
19998c2ecf20Sopenharmony_ci	DRV_PINGROUP(ao1,         0x868,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20008c2ecf20Sopenharmony_ci	DRV_PINGROUP(ao2,         0x86c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20018c2ecf20Sopenharmony_ci	DRV_PINGROUP(at1,         0x870,  2,  3,  4,  12,  7,  20,  7,  28,  2,  30,  2,  Y),
20028c2ecf20Sopenharmony_ci	DRV_PINGROUP(at2,         0x874,  2,  3,  4,  12,  7,  20,  7,  28,  2,  30,  2,  Y),
20038c2ecf20Sopenharmony_ci	DRV_PINGROUP(at3,         0x878,  2,  3,  4,  12,  7,  20,  7,  28,  2,  30,  2,  Y),
20048c2ecf20Sopenharmony_ci	DRV_PINGROUP(at4,         0x87c,  2,  3,  4,  12,  7,  20,  7,  28,  2,  30,  2,  Y),
20058c2ecf20Sopenharmony_ci	DRV_PINGROUP(at5,         0x880,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2,  N),
20068c2ecf20Sopenharmony_ci	DRV_PINGROUP(cdev1,       0x884,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20078c2ecf20Sopenharmony_ci	DRV_PINGROUP(cdev2,       0x888,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20088c2ecf20Sopenharmony_ci	DRV_PINGROUP(dap1,        0x890,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20098c2ecf20Sopenharmony_ci	DRV_PINGROUP(dap2,        0x894,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20108c2ecf20Sopenharmony_ci	DRV_PINGROUP(dap3,        0x898,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20118c2ecf20Sopenharmony_ci	DRV_PINGROUP(dap4,        0x89c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20128c2ecf20Sopenharmony_ci	DRV_PINGROUP(dbg,         0x8a0,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20138c2ecf20Sopenharmony_ci	DRV_PINGROUP(sdio3,       0x8b0,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2,  N),
20148c2ecf20Sopenharmony_ci	DRV_PINGROUP(spi,         0x8b4,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20158c2ecf20Sopenharmony_ci	DRV_PINGROUP(uaa,         0x8b8,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20168c2ecf20Sopenharmony_ci	DRV_PINGROUP(uab,         0x8bc,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20178c2ecf20Sopenharmony_ci	DRV_PINGROUP(uart2,       0x8c0,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20188c2ecf20Sopenharmony_ci	DRV_PINGROUP(uart3,       0x8c4,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20198c2ecf20Sopenharmony_ci	DRV_PINGROUP(sdio1,       0x8ec,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2,  N),
20208c2ecf20Sopenharmony_ci	DRV_PINGROUP(ddc,         0x8fc,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20218c2ecf20Sopenharmony_ci	DRV_PINGROUP(gma,         0x900,  2,  3,  4,  14,  5,  20,  5,  28,  2,  30,  2,  Y),
20228c2ecf20Sopenharmony_ci	DRV_PINGROUP(gme,         0x910,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2,  N),
20238c2ecf20Sopenharmony_ci	DRV_PINGROUP(gmf,         0x914,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2,  N),
20248c2ecf20Sopenharmony_ci	DRV_PINGROUP(gmg,         0x918,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2,  N),
20258c2ecf20Sopenharmony_ci	DRV_PINGROUP(gmh,         0x91c,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2,  N),
20268c2ecf20Sopenharmony_ci	DRV_PINGROUP(owr,         0x920,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20278c2ecf20Sopenharmony_ci	DRV_PINGROUP(uda,         0x924,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20288c2ecf20Sopenharmony_ci	DRV_PINGROUP(gpv,         0x928,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20298c2ecf20Sopenharmony_ci	DRV_PINGROUP(dev3,        0x92c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20308c2ecf20Sopenharmony_ci	DRV_PINGROUP(cec,         0x938,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20318c2ecf20Sopenharmony_ci	DRV_PINGROUP(at6,         0x994,  2,  3,  4,  12,  7,  20,  7,  28,  2,  30,  2,  Y),
20328c2ecf20Sopenharmony_ci	DRV_PINGROUP(dap5,        0x998,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20338c2ecf20Sopenharmony_ci	DRV_PINGROUP(usb_vbus_en, 0x99c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20348c2ecf20Sopenharmony_ci	DRV_PINGROUP(ao3,         0x9a8,  2,  3,  4,  12,  5,  -1, -1,  28,  2,  -1, -1,  N),
20358c2ecf20Sopenharmony_ci	DRV_PINGROUP(ao0,         0x9b0,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20368c2ecf20Sopenharmony_ci	DRV_PINGROUP(hv0,         0x9b4,  2,  3,  4,  12,  5,  -1, -1,  28,  2,  -1, -1,  N),
20378c2ecf20Sopenharmony_ci	DRV_PINGROUP(sdio4,       0x9c4,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
20388c2ecf20Sopenharmony_ci	DRV_PINGROUP(ao4,         0x9c8,  2,  3,  4,  12,  7,  20,  7,  28,  2,  30,  2,  Y),
20398c2ecf20Sopenharmony_ci
20408c2ecf20Sopenharmony_ci	/*                     pg_name, r,     b, f0,  f1 */
20418c2ecf20Sopenharmony_ci	MIPI_PAD_CTRL_PINGROUP(dsi_b,   0x820, 1, CSI, DSI_B),
20428c2ecf20Sopenharmony_ci};
20438c2ecf20Sopenharmony_ci
20448c2ecf20Sopenharmony_cistatic const struct tegra_pinctrl_soc_data tegra124_pinctrl = {
20458c2ecf20Sopenharmony_ci	.ngpios = NUM_GPIOS,
20468c2ecf20Sopenharmony_ci	.gpio_compatible = "nvidia,tegra124-gpio",
20478c2ecf20Sopenharmony_ci	.pins = tegra124_pins,
20488c2ecf20Sopenharmony_ci	.npins = ARRAY_SIZE(tegra124_pins),
20498c2ecf20Sopenharmony_ci	.functions = tegra124_functions,
20508c2ecf20Sopenharmony_ci	.nfunctions = ARRAY_SIZE(tegra124_functions),
20518c2ecf20Sopenharmony_ci	.groups = tegra124_groups,
20528c2ecf20Sopenharmony_ci	.ngroups = ARRAY_SIZE(tegra124_groups),
20538c2ecf20Sopenharmony_ci	.hsm_in_mux = false,
20548c2ecf20Sopenharmony_ci	.schmitt_in_mux = false,
20558c2ecf20Sopenharmony_ci	.drvtype_in_mux = false,
20568c2ecf20Sopenharmony_ci};
20578c2ecf20Sopenharmony_ci
20588c2ecf20Sopenharmony_cistatic int tegra124_pinctrl_probe(struct platform_device *pdev)
20598c2ecf20Sopenharmony_ci{
20608c2ecf20Sopenharmony_ci	return tegra_pinctrl_probe(pdev, &tegra124_pinctrl);
20618c2ecf20Sopenharmony_ci}
20628c2ecf20Sopenharmony_ci
20638c2ecf20Sopenharmony_cistatic const struct of_device_id tegra124_pinctrl_of_match[] = {
20648c2ecf20Sopenharmony_ci	{ .compatible = "nvidia,tegra124-pinmux", },
20658c2ecf20Sopenharmony_ci	{ },
20668c2ecf20Sopenharmony_ci};
20678c2ecf20Sopenharmony_ci
20688c2ecf20Sopenharmony_cistatic struct platform_driver tegra124_pinctrl_driver = {
20698c2ecf20Sopenharmony_ci	.driver = {
20708c2ecf20Sopenharmony_ci		.name = "tegra124-pinctrl",
20718c2ecf20Sopenharmony_ci		.of_match_table = tegra124_pinctrl_of_match,
20728c2ecf20Sopenharmony_ci	},
20738c2ecf20Sopenharmony_ci	.probe = tegra124_pinctrl_probe,
20748c2ecf20Sopenharmony_ci};
20758c2ecf20Sopenharmony_ci
20768c2ecf20Sopenharmony_cistatic int __init tegra124_pinctrl_init(void)
20778c2ecf20Sopenharmony_ci{
20788c2ecf20Sopenharmony_ci	return platform_driver_register(&tegra124_pinctrl_driver);
20798c2ecf20Sopenharmony_ci}
20808c2ecf20Sopenharmony_ciarch_initcall(tegra124_pinctrl_init);
2081