18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Pinctrl data for the NVIDIA Tegra210 pinmux
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (c) 2015, NVIDIA CORPORATION.  All rights reserved.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#include <linux/init.h>
98c2ecf20Sopenharmony_ci#include <linux/of.h>
108c2ecf20Sopenharmony_ci#include <linux/platform_device.h>
118c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinctrl.h>
128c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinmux.h>
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#include "pinctrl-tegra.h"
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci/*
178c2ecf20Sopenharmony_ci * Most pins affected by the pinmux can also be GPIOs. Define these first.
188c2ecf20Sopenharmony_ci * These must match how the GPIO driver names/numbers its pins.
198c2ecf20Sopenharmony_ci */
208c2ecf20Sopenharmony_ci#define _GPIO(offset)				(offset)
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L0_RST_N_PA0		_GPIO(0)
238c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L0_CLKREQ_N_PA1		_GPIO(1)
248c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_WAKE_N_PA2		_GPIO(2)
258c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L1_RST_N_PA3		_GPIO(3)
268c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L1_CLKREQ_N_PA4		_GPIO(4)
278c2ecf20Sopenharmony_ci#define TEGRA_PIN_SATA_LED_ACTIVE_PA5		_GPIO(5)
288c2ecf20Sopenharmony_ci#define TEGRA_PIN_PA6				_GPIO(6)
298c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP1_FS_PB0			_GPIO(8)
308c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP1_DIN_PB1			_GPIO(9)
318c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP1_DOUT_PB2			_GPIO(10)
328c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP1_SCLK_PB3			_GPIO(11)
338c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI2_MOSI_PB4			_GPIO(12)
348c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI2_MISO_PB5			_GPIO(13)
358c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI2_SCK_PB6			_GPIO(14)
368c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI2_CS0_PB7			_GPIO(15)
378c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI1_MOSI_PC0			_GPIO(16)
388c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI1_MISO_PC1			_GPIO(17)
398c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI1_SCK_PC2			_GPIO(18)
408c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI1_CS0_PC3			_GPIO(19)
418c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI1_CS1_PC4			_GPIO(20)
428c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI4_SCK_PC5			_GPIO(21)
438c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI4_CS0_PC6			_GPIO(22)
448c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI4_MOSI_PC7			_GPIO(23)
458c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI4_MISO_PD0			_GPIO(24)
468c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART3_TX_PD1			_GPIO(25)
478c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART3_RX_PD2			_GPIO(26)
488c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART3_RTS_PD3			_GPIO(27)
498c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART3_CTS_PD4			_GPIO(28)
508c2ecf20Sopenharmony_ci#define TEGRA_PIN_DMIC1_CLK_PE0			_GPIO(32)
518c2ecf20Sopenharmony_ci#define TEGRA_PIN_DMIC1_DAT_PE1			_GPIO(33)
528c2ecf20Sopenharmony_ci#define TEGRA_PIN_DMIC2_CLK_PE2			_GPIO(34)
538c2ecf20Sopenharmony_ci#define TEGRA_PIN_DMIC2_DAT_PE3			_GPIO(35)
548c2ecf20Sopenharmony_ci#define TEGRA_PIN_DMIC3_CLK_PE4			_GPIO(36)
558c2ecf20Sopenharmony_ci#define TEGRA_PIN_DMIC3_DAT_PE5			_GPIO(37)
568c2ecf20Sopenharmony_ci#define TEGRA_PIN_PE6				_GPIO(38)
578c2ecf20Sopenharmony_ci#define TEGRA_PIN_PE7				_GPIO(39)
588c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN3_I2C_SCL_PF0		_GPIO(40)
598c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN3_I2C_SDA_PF1		_GPIO(41)
608c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART2_TX_PG0			_GPIO(48)
618c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART2_RX_PG1			_GPIO(49)
628c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART2_RTS_PG2			_GPIO(50)
638c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART2_CTS_PG3			_GPIO(51)
648c2ecf20Sopenharmony_ci#define TEGRA_PIN_WIFI_EN_PH0			_GPIO(56)
658c2ecf20Sopenharmony_ci#define TEGRA_PIN_WIFI_RST_PH1			_GPIO(57)
668c2ecf20Sopenharmony_ci#define TEGRA_PIN_WIFI_WAKE_AP_PH2		_GPIO(58)
678c2ecf20Sopenharmony_ci#define TEGRA_PIN_AP_WAKE_BT_PH3		_GPIO(59)
688c2ecf20Sopenharmony_ci#define TEGRA_PIN_BT_RST_PH4			_GPIO(60)
698c2ecf20Sopenharmony_ci#define TEGRA_PIN_BT_WAKE_AP_PH5		_GPIO(61)
708c2ecf20Sopenharmony_ci#define TEGRA_PIN_PH6				_GPIO(62)
718c2ecf20Sopenharmony_ci#define TEGRA_PIN_AP_WAKE_NFC_PH7		_GPIO(63)
728c2ecf20Sopenharmony_ci#define TEGRA_PIN_NFC_EN_PI0			_GPIO(64)
738c2ecf20Sopenharmony_ci#define TEGRA_PIN_NFC_INT_PI1			_GPIO(65)
748c2ecf20Sopenharmony_ci#define TEGRA_PIN_GPS_EN_PI2			_GPIO(66)
758c2ecf20Sopenharmony_ci#define TEGRA_PIN_GPS_RST_PI3			_GPIO(67)
768c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART4_TX_PI4			_GPIO(68)
778c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART4_RX_PI5			_GPIO(69)
788c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART4_RTS_PI6			_GPIO(70)
798c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART4_CTS_PI7			_GPIO(71)
808c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN1_I2C_SDA_PJ0		_GPIO(72)
818c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN1_I2C_SCL_PJ1		_GPIO(73)
828c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN2_I2C_SCL_PJ2		_GPIO(74)
838c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN2_I2C_SDA_PJ3		_GPIO(75)
848c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP4_FS_PJ4			_GPIO(76)
858c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP4_DIN_PJ5			_GPIO(77)
868c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP4_DOUT_PJ6			_GPIO(78)
878c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP4_SCLK_PJ7			_GPIO(79)
888c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK0				_GPIO(80)
898c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK1				_GPIO(81)
908c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK2				_GPIO(82)
918c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK3				_GPIO(83)
928c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK4				_GPIO(84)
938c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK5				_GPIO(85)
948c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK6				_GPIO(86)
958c2ecf20Sopenharmony_ci#define TEGRA_PIN_PK7				_GPIO(87)
968c2ecf20Sopenharmony_ci#define TEGRA_PIN_PL0				_GPIO(88)
978c2ecf20Sopenharmony_ci#define TEGRA_PIN_PL1				_GPIO(89)
988c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_CLK_PM0		_GPIO(96)
998c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_CMD_PM1		_GPIO(97)
1008c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT3_PM2		_GPIO(98)
1018c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT2_PM3		_GPIO(99)
1028c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT1_PM4		_GPIO(100)
1038c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT0_PM5		_GPIO(101)
1048c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CLK_PP0		_GPIO(120)
1058c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CMD_PP1		_GPIO(121)
1068c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT3_PP2		_GPIO(122)
1078c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT2_PP3		_GPIO(123)
1088c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT1_PP4		_GPIO(124)
1098c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT0_PP5		_GPIO(125)
1108c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM1_MCLK_PS0			_GPIO(144)
1118c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM2_MCLK_PS1			_GPIO(145)
1128c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM_I2C_SCL_PS2		_GPIO(146)
1138c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM_I2C_SDA_PS3		_GPIO(147)
1148c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM_RST_PS4			_GPIO(148)
1158c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM_AF_EN_PS5			_GPIO(149)
1168c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM_FLASH_EN_PS6		_GPIO(150)
1178c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM1_PWDN_PS7			_GPIO(151)
1188c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM2_PWDN_PT0			_GPIO(152)
1198c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM1_STROBE_PT1		_GPIO(153)
1208c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART1_TX_PU0			_GPIO(160)
1218c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART1_RX_PU1			_GPIO(161)
1228c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART1_RTS_PU2			_GPIO(162)
1238c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART1_CTS_PU3			_GPIO(163)
1248c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_BL_PWM_PV0		_GPIO(168)
1258c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_BL_EN_PV1			_GPIO(169)
1268c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_RST_PV2			_GPIO(170)
1278c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_GPIO1_PV3			_GPIO(171)
1288c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_GPIO2_PV4			_GPIO(172)
1298c2ecf20Sopenharmony_ci#define TEGRA_PIN_AP_READY_PV5			_GPIO(173)
1308c2ecf20Sopenharmony_ci#define TEGRA_PIN_TOUCH_RST_PV6			_GPIO(174)
1318c2ecf20Sopenharmony_ci#define TEGRA_PIN_TOUCH_CLK_PV7			_GPIO(175)
1328c2ecf20Sopenharmony_ci#define TEGRA_PIN_MODEM_WAKE_AP_PX0		_GPIO(184)
1338c2ecf20Sopenharmony_ci#define TEGRA_PIN_TOUCH_INT_PX1			_GPIO(185)
1348c2ecf20Sopenharmony_ci#define TEGRA_PIN_MOTION_INT_PX2		_GPIO(186)
1358c2ecf20Sopenharmony_ci#define TEGRA_PIN_ALS_PROX_INT_PX3		_GPIO(187)
1368c2ecf20Sopenharmony_ci#define TEGRA_PIN_TEMP_ALERT_PX4		_GPIO(188)
1378c2ecf20Sopenharmony_ci#define TEGRA_PIN_BUTTON_POWER_ON_PX5		_GPIO(189)
1388c2ecf20Sopenharmony_ci#define TEGRA_PIN_BUTTON_VOL_UP_PX6		_GPIO(190)
1398c2ecf20Sopenharmony_ci#define TEGRA_PIN_BUTTON_VOL_DOWN_PX7		_GPIO(191)
1408c2ecf20Sopenharmony_ci#define TEGRA_PIN_BUTTON_SLIDE_SW_PY0		_GPIO(192)
1418c2ecf20Sopenharmony_ci#define TEGRA_PIN_BUTTON_HOME_PY1		_GPIO(193)
1428c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_TE_PY2			_GPIO(194)
1438c2ecf20Sopenharmony_ci#define TEGRA_PIN_PWR_I2C_SCL_PY3		_GPIO(195)
1448c2ecf20Sopenharmony_ci#define TEGRA_PIN_PWR_I2C_SDA_PY4		_GPIO(196)
1458c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK_32K_OUT_PY5		_GPIO(197)
1468c2ecf20Sopenharmony_ci#define TEGRA_PIN_PZ0				_GPIO(200)
1478c2ecf20Sopenharmony_ci#define TEGRA_PIN_PZ1				_GPIO(201)
1488c2ecf20Sopenharmony_ci#define TEGRA_PIN_PZ2				_GPIO(202)
1498c2ecf20Sopenharmony_ci#define TEGRA_PIN_PZ3				_GPIO(203)
1508c2ecf20Sopenharmony_ci#define TEGRA_PIN_PZ4				_GPIO(204)
1518c2ecf20Sopenharmony_ci#define TEGRA_PIN_PZ5				_GPIO(205)
1528c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP2_FS_PAA0			_GPIO(208)
1538c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP2_SCLK_PAA1		_GPIO(209)
1548c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP2_DIN_PAA2			_GPIO(210)
1558c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP2_DOUT_PAA3		_GPIO(211)
1568c2ecf20Sopenharmony_ci#define TEGRA_PIN_AUD_MCLK_PBB0			_GPIO(216)
1578c2ecf20Sopenharmony_ci#define TEGRA_PIN_DVFS_PWM_PBB1			_GPIO(217)
1588c2ecf20Sopenharmony_ci#define TEGRA_PIN_DVFS_CLK_PBB2			_GPIO(218)
1598c2ecf20Sopenharmony_ci#define TEGRA_PIN_GPIO_X1_AUD_PBB3		_GPIO(219)
1608c2ecf20Sopenharmony_ci#define TEGRA_PIN_GPIO_X3_AUD_PBB4		_GPIO(220)
1618c2ecf20Sopenharmony_ci#define TEGRA_PIN_HDMI_CEC_PCC0			_GPIO(224)
1628c2ecf20Sopenharmony_ci#define TEGRA_PIN_HDMI_INT_DP_HPD_PCC1		_GPIO(225)
1638c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPDIF_OUT_PCC2		_GPIO(226)
1648c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPDIF_IN_PCC3			_GPIO(227)
1658c2ecf20Sopenharmony_ci#define TEGRA_PIN_USB_VBUS_EN0_PCC4		_GPIO(228)
1668c2ecf20Sopenharmony_ci#define TEGRA_PIN_USB_VBUS_EN1_PCC5		_GPIO(229)
1678c2ecf20Sopenharmony_ci#define TEGRA_PIN_DP_HPD0_PCC6			_GPIO(230)
1688c2ecf20Sopenharmony_ci#define TEGRA_PIN_PCC7				_GPIO(231)
1698c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI2_CS1_PDD0			_GPIO(232)
1708c2ecf20Sopenharmony_ci#define TEGRA_PIN_QSPI_SCK_PEE0			_GPIO(240)
1718c2ecf20Sopenharmony_ci#define TEGRA_PIN_QSPI_CS_N_PEE1		_GPIO(241)
1728c2ecf20Sopenharmony_ci#define TEGRA_PIN_QSPI_IO0_PEE2			_GPIO(242)
1738c2ecf20Sopenharmony_ci#define TEGRA_PIN_QSPI_IO1_PEE3			_GPIO(243)
1748c2ecf20Sopenharmony_ci#define TEGRA_PIN_QSPI_IO2_PEE4			_GPIO(244)
1758c2ecf20Sopenharmony_ci#define TEGRA_PIN_QSPI_IO3_PEE5			_GPIO(245)
1768c2ecf20Sopenharmony_ci
1778c2ecf20Sopenharmony_ci/* All non-GPIO pins follow */
1788c2ecf20Sopenharmony_ci#define NUM_GPIOS				(TEGRA_PIN_QSPI_IO3_PEE5 + 1)
1798c2ecf20Sopenharmony_ci#define _PIN(offset)				(NUM_GPIOS + (offset))
1808c2ecf20Sopenharmony_ci
1818c2ecf20Sopenharmony_ci/* Non-GPIO pins */
1828c2ecf20Sopenharmony_ci#define TEGRA_PIN_CORE_PWR_REQ			_PIN(0)
1838c2ecf20Sopenharmony_ci#define TEGRA_PIN_CPU_PWR_REQ			_PIN(1)
1848c2ecf20Sopenharmony_ci#define TEGRA_PIN_PWR_INT_N			_PIN(2)
1858c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK_32K_IN			_PIN(3)
1868c2ecf20Sopenharmony_ci#define TEGRA_PIN_JTAG_RTCK			_PIN(4)
1878c2ecf20Sopenharmony_ci#define TEGRA_PIN_BATT_BCL			_PIN(5)
1888c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK_REQ			_PIN(6)
1898c2ecf20Sopenharmony_ci#define TEGRA_PIN_SHUTDOWN			_PIN(7)
1908c2ecf20Sopenharmony_ci
1918c2ecf20Sopenharmony_cistatic const struct pinctrl_pin_desc tegra210_pins[] = {
1928c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L0_RST_N_PA0, "PEX_L0_RST_N PA0"),
1938c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L0_CLKREQ_N_PA1, "PEX_L0_CLKREQ_N PA1"),
1948c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_WAKE_N_PA2, "PEX_WAKE_N PA2"),
1958c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L1_RST_N_PA3, "PEX_L1_RST_N PA3"),
1968c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L1_CLKREQ_N_PA4, "PEX_L1_CLKREQ_N PA4"),
1978c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SATA_LED_ACTIVE_PA5, "SATA_LED_ACTIVE PA5"),
1988c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PA6, "PA6"),
1998c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_FS_PB0, "DAP1_FS PB0"),
2008c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_DIN_PB1, "DAP1_DIN PB1"),
2018c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_DOUT_PB2, "DAP1_DOUT PB2"),
2028c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_SCLK_PB3, "DAP1_SCLK PB3"),
2038c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_MOSI_PB4, "SPI2_MOSI PB4"),
2048c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_MISO_PB5, "SPI2_MISO PB5"),
2058c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_SCK_PB6, "SPI2_SCK PB6"),
2068c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_CS0_PB7, "SPI2_CS0 PB7"),
2078c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_MOSI_PC0, "SPI1_MOSI PC0"),
2088c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_MISO_PC1, "SPI1_MISO PC1"),
2098c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_SCK_PC2, "SPI1_SCK PC2"),
2108c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_CS0_PC3, "SPI1_CS0 PC3"),
2118c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_CS1_PC4, "SPI1_CS1 PC4"),
2128c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI4_SCK_PC5, "SPI4_SCK PC5"),
2138c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI4_CS0_PC6, "SPI4_CS0 PC6"),
2148c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI4_MOSI_PC7, "SPI4_MOSI PC7"),
2158c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI4_MISO_PD0, "SPI4_MISO PD0"),
2168c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_TX_PD1, "UART3_TX PD1"),
2178c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_RX_PD2, "UART3_RX PD2"),
2188c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_RTS_PD3, "UART3_RTS PD3"),
2198c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_CTS_PD4, "UART3_CTS PD4"),
2208c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DMIC1_CLK_PE0, "DMIC1_CLK PE0"),
2218c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DMIC1_DAT_PE1, "DMIC1_DAT PE1"),
2228c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DMIC2_CLK_PE2, "DMIC2_CLK PE2"),
2238c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DMIC2_DAT_PE3, "DMIC2_DAT PE3"),
2248c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DMIC3_CLK_PE4, "DMIC3_CLK PE4"),
2258c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DMIC3_DAT_PE5, "DMIC3_DAT PE5"),
2268c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PE6, "PE6"),
2278c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PE7, "PE7"),
2288c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN3_I2C_SCL_PF0, "GEN3_I2C_SCL PF0"),
2298c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN3_I2C_SDA_PF1, "GEN3_I2C_SDA PF1"),
2308c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_TX_PG0, "UART2_TX PG0"),
2318c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_RX_PG1, "UART2_RX PG1"),
2328c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_RTS_PG2, "UART2_RTS PG2"),
2338c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_CTS_PG3, "UART2_CTS PG3"),
2348c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_WIFI_EN_PH0, "WIFI_EN PH0"),
2358c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_WIFI_RST_PH1, "WIFI_RST PH1"),
2368c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_WIFI_WAKE_AP_PH2, "WIFI_WAKE_AP PH2"),
2378c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_AP_WAKE_BT_PH3, "AP_WAKE_BT PH3"),
2388c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_BT_RST_PH4, "BT_RST PH4"),
2398c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_BT_WAKE_AP_PH5, "BT_WAKE_AP PH5"),
2408c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PH6, "PH6"),
2418c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_AP_WAKE_NFC_PH7, "AP_WAKE_NFC PH7"),
2428c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_NFC_EN_PI0, "NFC_EN PI0"),
2438c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_NFC_INT_PI1, "NFC_INT PI1"),
2448c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPS_EN_PI2, "GPS_EN PI2"),
2458c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPS_RST_PI3, "GPS_RST PI3"),
2468c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART4_TX_PI4, "UART4_TX PI4"),
2478c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART4_RX_PI5, "UART4_RX PI5"),
2488c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART4_RTS_PI6, "UART4_RTS PI6"),
2498c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART4_CTS_PI7, "UART4_CTS PI7"),
2508c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SDA_PJ0, "GEN1_I2C_SDA PJ0"),
2518c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SCL_PJ1, "GEN1_I2C_SCL PJ1"),
2528c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SCL_PJ2, "GEN2_I2C_SCL PJ2"),
2538c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SDA_PJ3, "GEN2_I2C_SDA PJ3"),
2548c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_FS_PJ4, "DAP4_FS PJ4"),
2558c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_DIN_PJ5, "DAP4_DIN PJ5"),
2568c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_DOUT_PJ6, "DAP4_DOUT PJ6"),
2578c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_SCLK_PJ7, "DAP4_SCLK PJ7"),
2588c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK0, "PK0"),
2598c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK1, "PK1"),
2608c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK2, "PK2"),
2618c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK3, "PK3"),
2628c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK4, "PK4"),
2638c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK5, "PK5"),
2648c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK6, "PK6"),
2658c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PK7, "PK7"),
2668c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PL0, "PL0"),
2678c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PL1, "PL1"),
2688c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CLK_PM0, "SDMMC1_CLK PM0"),
2698c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CMD_PM1, "SDMMC1_CMD PM1"),
2708c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT3_PM2, "SDMMC1_DAT3 PM2"),
2718c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT2_PM3, "SDMMC1_DAT2 PM3"),
2728c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT1_PM4, "SDMMC1_DAT1 PM4"),
2738c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT0_PM5, "SDMMC1_DAT0 PM5"),
2748c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CLK_PP0, "SDMMC3_CLK PP0"),
2758c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CMD_PP1, "SDMMC3_CMD PP1"),
2768c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT3_PP2, "SDMMC3_DAT3 PP2"),
2778c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT2_PP3, "SDMMC3_DAT2 PP3"),
2788c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT1_PP4, "SDMMC3_DAT1 PP4"),
2798c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT0_PP5, "SDMMC3_DAT0 PP5"),
2808c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM1_MCLK_PS0, "CAM1_MCLK PS0"),
2818c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM2_MCLK_PS1, "CAM2_MCLK PS1"),
2828c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SCL_PS2, "CAM_I2C_SCL PS2"),
2838c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SDA_PS3, "CAM_I2C_SDA PS3"),
2848c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_RST_PS4, "CAM_RST PS4"),
2858c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_AF_EN_PS5, "CAM_AF_EN PS5"),
2868c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_FLASH_EN_PS6, "CAM_FLASH_EN PS6"),
2878c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM1_PWDN_PS7, "CAM1_PWDN PS7"),
2888c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM2_PWDN_PT0, "CAM2_PWDN PT0"),
2898c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM1_STROBE_PT1, "CAM1_STROBE PT1"),
2908c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART1_TX_PU0, "UART1_TX PU0"),
2918c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART1_RX_PU1, "UART1_RX PU1"),
2928c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART1_RTS_PU2, "UART1_RTS PU2"),
2938c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART1_CTS_PU3, "UART1_CTS PU3"),
2948c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_BL_PWM_PV0, "LCD_BL_PWM PV0"),
2958c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_BL_EN_PV1, "LCD_BL_EN PV1"),
2968c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_RST_PV2, "LCD_RST PV2"),
2978c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_GPIO1_PV3, "LCD_GPIO1 PV3"),
2988c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_GPIO2_PV4, "LCD_GPIO2 PV4"),
2998c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_AP_READY_PV5, "AP_READY PV5"),
3008c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_TOUCH_RST_PV6, "TOUCH_RST PV6"),
3018c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_TOUCH_CLK_PV7, "TOUCH_CLK PV7"),
3028c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_MODEM_WAKE_AP_PX0, "MODEM_WAKE_AP PX0"),
3038c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_TOUCH_INT_PX1, "TOUCH_INT PX1"),
3048c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_MOTION_INT_PX2, "MOTION_INT PX2"),
3058c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ALS_PROX_INT_PX3, "ALS_PROX_INT PX3"),
3068c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_TEMP_ALERT_PX4, "TEMP_ALERT PX4"),
3078c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_BUTTON_POWER_ON_PX5, "BUTTON_POWER_ON PX5"),
3088c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_BUTTON_VOL_UP_PX6, "BUTTON_VOL_UP PX6"),
3098c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_BUTTON_VOL_DOWN_PX7, "BUTTON_VOL_DOWN PX7"),
3108c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_BUTTON_SLIDE_SW_PY0, "BUTTON_SLIDE_SW PY0"),
3118c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_BUTTON_HOME_PY1, "BUTTON_HOME PY1"),
3128c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_TE_PY2, "LCD_TE PY2"),
3138c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SCL_PY3, "PWR_I2C_SCL PY3"),
3148c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SDA_PY4, "PWR_I2C_SDA PY4"),
3158c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK_32K_OUT_PY5, "CLK_32K_OUT PY5"),
3168c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PZ0, "PZ0"),
3178c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PZ1, "PZ1"),
3188c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PZ2, "PZ2"),
3198c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PZ3, "PZ3"),
3208c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PZ4, "PZ4"),
3218c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PZ5, "PZ5"),
3228c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_FS_PAA0, "DAP2_FS PAA0"),
3238c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_SCLK_PAA1, "DAP2_SCLK PAA1"),
3248c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_DIN_PAA2, "DAP2_DIN PAA2"),
3258c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_DOUT_PAA3, "DAP2_DOUT PAA3"),
3268c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_AUD_MCLK_PBB0, "AUD_MCLK PBB0"),
3278c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DVFS_PWM_PBB1, "DVFS_PWM PBB1"),
3288c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DVFS_CLK_PBB2, "DVFS_CLK PBB2"),
3298c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X1_AUD_PBB3, "GPIO_X1_AUD PBB3"),
3308c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GPIO_X3_AUD_PBB4, "GPIO_X3_AUD PBB4"),
3318c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_HDMI_CEC_PCC0, "HDMI_CEC PCC0"),
3328c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_HDMI_INT_DP_HPD_PCC1, "HDMI_INT_DP_HPD PCC1"),
3338c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPDIF_OUT_PCC2, "SPDIF_OUT PCC2"),
3348c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPDIF_IN_PCC3, "SPDIF_IN PCC3"),
3358c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN0_PCC4, "USB_VBUS_EN0 PCC4"),
3368c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN1_PCC5, "USB_VBUS_EN1 PCC5"),
3378c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DP_HPD0_PCC6, "DP_HPD0 PCC6"),
3388c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PCC7, "PCC7"),
3398c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_CS1_PDD0, "SPI2_CS1 PDD0"),
3408c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_QSPI_SCK_PEE0, "QSPI_SCK PEE0"),
3418c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_QSPI_CS_N_PEE1, "QSPI_CS_N PEE1"),
3428c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_QSPI_IO0_PEE2, "QSPI_IO0 PEE2"),
3438c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_QSPI_IO1_PEE3, "QSPI_IO1 PEE3"),
3448c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_QSPI_IO2_PEE4, "QSPI_IO2 PEE4"),
3458c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_QSPI_IO3_PEE5, "QSPI_IO3 PEE5"),
3468c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CORE_PWR_REQ, "CORE_PWR_REQ"),
3478c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CPU_PWR_REQ, "CPU_PWR_REQ"),
3488c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_INT_N, "PWR_INT_N"),
3498c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK_32K_IN, "CLK_32K_IN"),
3508c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_RTCK, "JTAG_RTCK"),
3518c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_BATT_BCL, "BATT_BCL"),
3528c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK_REQ, "CLK_REQ"),
3538c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SHUTDOWN, "SHUTDOWN"),
3548c2ecf20Sopenharmony_ci};
3558c2ecf20Sopenharmony_ci
3568c2ecf20Sopenharmony_cistatic const unsigned pex_l0_rst_n_pa0_pins[] = {
3578c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L0_RST_N_PA0,
3588c2ecf20Sopenharmony_ci};
3598c2ecf20Sopenharmony_ci
3608c2ecf20Sopenharmony_cistatic const unsigned pex_l0_clkreq_n_pa1_pins[] = {
3618c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L0_CLKREQ_N_PA1,
3628c2ecf20Sopenharmony_ci};
3638c2ecf20Sopenharmony_ci
3648c2ecf20Sopenharmony_cistatic const unsigned pex_wake_n_pa2_pins[] = {
3658c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_WAKE_N_PA2,
3668c2ecf20Sopenharmony_ci};
3678c2ecf20Sopenharmony_ci
3688c2ecf20Sopenharmony_cistatic const unsigned pex_l1_rst_n_pa3_pins[] = {
3698c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L1_RST_N_PA3,
3708c2ecf20Sopenharmony_ci};
3718c2ecf20Sopenharmony_ci
3728c2ecf20Sopenharmony_cistatic const unsigned pex_l1_clkreq_n_pa4_pins[] = {
3738c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L1_CLKREQ_N_PA4,
3748c2ecf20Sopenharmony_ci};
3758c2ecf20Sopenharmony_ci
3768c2ecf20Sopenharmony_cistatic const unsigned sata_led_active_pa5_pins[] = {
3778c2ecf20Sopenharmony_ci	TEGRA_PIN_SATA_LED_ACTIVE_PA5,
3788c2ecf20Sopenharmony_ci};
3798c2ecf20Sopenharmony_ci
3808c2ecf20Sopenharmony_cistatic const unsigned pa6_pins[] = {
3818c2ecf20Sopenharmony_ci	TEGRA_PIN_PA6,
3828c2ecf20Sopenharmony_ci};
3838c2ecf20Sopenharmony_ci
3848c2ecf20Sopenharmony_cistatic const unsigned dap1_fs_pb0_pins[] = {
3858c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_FS_PB0,
3868c2ecf20Sopenharmony_ci};
3878c2ecf20Sopenharmony_ci
3888c2ecf20Sopenharmony_cistatic const unsigned dap1_din_pb1_pins[] = {
3898c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_DIN_PB1,
3908c2ecf20Sopenharmony_ci};
3918c2ecf20Sopenharmony_ci
3928c2ecf20Sopenharmony_cistatic const unsigned dap1_dout_pb2_pins[] = {
3938c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_DOUT_PB2,
3948c2ecf20Sopenharmony_ci};
3958c2ecf20Sopenharmony_ci
3968c2ecf20Sopenharmony_cistatic const unsigned dap1_sclk_pb3_pins[] = {
3978c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_SCLK_PB3,
3988c2ecf20Sopenharmony_ci};
3998c2ecf20Sopenharmony_ci
4008c2ecf20Sopenharmony_cistatic const unsigned spi2_mosi_pb4_pins[] = {
4018c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_MOSI_PB4,
4028c2ecf20Sopenharmony_ci};
4038c2ecf20Sopenharmony_ci
4048c2ecf20Sopenharmony_cistatic const unsigned spi2_miso_pb5_pins[] = {
4058c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_MISO_PB5,
4068c2ecf20Sopenharmony_ci};
4078c2ecf20Sopenharmony_ci
4088c2ecf20Sopenharmony_cistatic const unsigned spi2_sck_pb6_pins[] = {
4098c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_SCK_PB6,
4108c2ecf20Sopenharmony_ci};
4118c2ecf20Sopenharmony_ci
4128c2ecf20Sopenharmony_cistatic const unsigned spi2_cs0_pb7_pins[] = {
4138c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_CS0_PB7,
4148c2ecf20Sopenharmony_ci};
4158c2ecf20Sopenharmony_ci
4168c2ecf20Sopenharmony_cistatic const unsigned spi1_mosi_pc0_pins[] = {
4178c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_MOSI_PC0,
4188c2ecf20Sopenharmony_ci};
4198c2ecf20Sopenharmony_ci
4208c2ecf20Sopenharmony_cistatic const unsigned spi1_miso_pc1_pins[] = {
4218c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_MISO_PC1,
4228c2ecf20Sopenharmony_ci};
4238c2ecf20Sopenharmony_ci
4248c2ecf20Sopenharmony_cistatic const unsigned spi1_sck_pc2_pins[] = {
4258c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_SCK_PC2,
4268c2ecf20Sopenharmony_ci};
4278c2ecf20Sopenharmony_ci
4288c2ecf20Sopenharmony_cistatic const unsigned spi1_cs0_pc3_pins[] = {
4298c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_CS0_PC3,
4308c2ecf20Sopenharmony_ci};
4318c2ecf20Sopenharmony_ci
4328c2ecf20Sopenharmony_cistatic const unsigned spi1_cs1_pc4_pins[] = {
4338c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_CS1_PC4,
4348c2ecf20Sopenharmony_ci};
4358c2ecf20Sopenharmony_ci
4368c2ecf20Sopenharmony_cistatic const unsigned spi4_sck_pc5_pins[] = {
4378c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI4_SCK_PC5,
4388c2ecf20Sopenharmony_ci};
4398c2ecf20Sopenharmony_ci
4408c2ecf20Sopenharmony_cistatic const unsigned spi4_cs0_pc6_pins[] = {
4418c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI4_CS0_PC6,
4428c2ecf20Sopenharmony_ci};
4438c2ecf20Sopenharmony_ci
4448c2ecf20Sopenharmony_cistatic const unsigned spi4_mosi_pc7_pins[] = {
4458c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI4_MOSI_PC7,
4468c2ecf20Sopenharmony_ci};
4478c2ecf20Sopenharmony_ci
4488c2ecf20Sopenharmony_cistatic const unsigned spi4_miso_pd0_pins[] = {
4498c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI4_MISO_PD0,
4508c2ecf20Sopenharmony_ci};
4518c2ecf20Sopenharmony_ci
4528c2ecf20Sopenharmony_cistatic const unsigned uart3_tx_pd1_pins[] = {
4538c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_TX_PD1,
4548c2ecf20Sopenharmony_ci};
4558c2ecf20Sopenharmony_ci
4568c2ecf20Sopenharmony_cistatic const unsigned uart3_rx_pd2_pins[] = {
4578c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_RX_PD2,
4588c2ecf20Sopenharmony_ci};
4598c2ecf20Sopenharmony_ci
4608c2ecf20Sopenharmony_cistatic const unsigned uart3_rts_pd3_pins[] = {
4618c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_RTS_PD3,
4628c2ecf20Sopenharmony_ci};
4638c2ecf20Sopenharmony_ci
4648c2ecf20Sopenharmony_cistatic const unsigned uart3_cts_pd4_pins[] = {
4658c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_CTS_PD4,
4668c2ecf20Sopenharmony_ci};
4678c2ecf20Sopenharmony_ci
4688c2ecf20Sopenharmony_cistatic const unsigned dmic1_clk_pe0_pins[] = {
4698c2ecf20Sopenharmony_ci	TEGRA_PIN_DMIC1_CLK_PE0,
4708c2ecf20Sopenharmony_ci};
4718c2ecf20Sopenharmony_ci
4728c2ecf20Sopenharmony_cistatic const unsigned dmic1_dat_pe1_pins[] = {
4738c2ecf20Sopenharmony_ci	TEGRA_PIN_DMIC1_DAT_PE1,
4748c2ecf20Sopenharmony_ci};
4758c2ecf20Sopenharmony_ci
4768c2ecf20Sopenharmony_cistatic const unsigned dmic2_clk_pe2_pins[] = {
4778c2ecf20Sopenharmony_ci	TEGRA_PIN_DMIC2_CLK_PE2,
4788c2ecf20Sopenharmony_ci};
4798c2ecf20Sopenharmony_ci
4808c2ecf20Sopenharmony_cistatic const unsigned dmic2_dat_pe3_pins[] = {
4818c2ecf20Sopenharmony_ci	TEGRA_PIN_DMIC2_DAT_PE3,
4828c2ecf20Sopenharmony_ci};
4838c2ecf20Sopenharmony_ci
4848c2ecf20Sopenharmony_cistatic const unsigned dmic3_clk_pe4_pins[] = {
4858c2ecf20Sopenharmony_ci	TEGRA_PIN_DMIC3_CLK_PE4,
4868c2ecf20Sopenharmony_ci};
4878c2ecf20Sopenharmony_ci
4888c2ecf20Sopenharmony_cistatic const unsigned dmic3_dat_pe5_pins[] = {
4898c2ecf20Sopenharmony_ci	TEGRA_PIN_DMIC3_DAT_PE5,
4908c2ecf20Sopenharmony_ci};
4918c2ecf20Sopenharmony_ci
4928c2ecf20Sopenharmony_cistatic const unsigned pe6_pins[] = {
4938c2ecf20Sopenharmony_ci	TEGRA_PIN_PE6,
4948c2ecf20Sopenharmony_ci};
4958c2ecf20Sopenharmony_ci
4968c2ecf20Sopenharmony_cistatic const unsigned pe7_pins[] = {
4978c2ecf20Sopenharmony_ci	TEGRA_PIN_PE7,
4988c2ecf20Sopenharmony_ci};
4998c2ecf20Sopenharmony_ci
5008c2ecf20Sopenharmony_cistatic const unsigned gen3_i2c_scl_pf0_pins[] = {
5018c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN3_I2C_SCL_PF0,
5028c2ecf20Sopenharmony_ci};
5038c2ecf20Sopenharmony_ci
5048c2ecf20Sopenharmony_cistatic const unsigned gen3_i2c_sda_pf1_pins[] = {
5058c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN3_I2C_SDA_PF1,
5068c2ecf20Sopenharmony_ci};
5078c2ecf20Sopenharmony_ci
5088c2ecf20Sopenharmony_cistatic const unsigned uart2_tx_pg0_pins[] = {
5098c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_TX_PG0,
5108c2ecf20Sopenharmony_ci};
5118c2ecf20Sopenharmony_ci
5128c2ecf20Sopenharmony_cistatic const unsigned uart2_rx_pg1_pins[] = {
5138c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_RX_PG1,
5148c2ecf20Sopenharmony_ci};
5158c2ecf20Sopenharmony_ci
5168c2ecf20Sopenharmony_cistatic const unsigned uart2_rts_pg2_pins[] = {
5178c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_RTS_PG2,
5188c2ecf20Sopenharmony_ci};
5198c2ecf20Sopenharmony_ci
5208c2ecf20Sopenharmony_cistatic const unsigned uart2_cts_pg3_pins[] = {
5218c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_CTS_PG3,
5228c2ecf20Sopenharmony_ci};
5238c2ecf20Sopenharmony_ci
5248c2ecf20Sopenharmony_cistatic const unsigned wifi_en_ph0_pins[] = {
5258c2ecf20Sopenharmony_ci	TEGRA_PIN_WIFI_EN_PH0,
5268c2ecf20Sopenharmony_ci};
5278c2ecf20Sopenharmony_ci
5288c2ecf20Sopenharmony_cistatic const unsigned wifi_rst_ph1_pins[] = {
5298c2ecf20Sopenharmony_ci	TEGRA_PIN_WIFI_RST_PH1,
5308c2ecf20Sopenharmony_ci};
5318c2ecf20Sopenharmony_ci
5328c2ecf20Sopenharmony_cistatic const unsigned wifi_wake_ap_ph2_pins[] = {
5338c2ecf20Sopenharmony_ci	TEGRA_PIN_WIFI_WAKE_AP_PH2,
5348c2ecf20Sopenharmony_ci};
5358c2ecf20Sopenharmony_ci
5368c2ecf20Sopenharmony_cistatic const unsigned ap_wake_bt_ph3_pins[] = {
5378c2ecf20Sopenharmony_ci	TEGRA_PIN_AP_WAKE_BT_PH3,
5388c2ecf20Sopenharmony_ci};
5398c2ecf20Sopenharmony_ci
5408c2ecf20Sopenharmony_cistatic const unsigned bt_rst_ph4_pins[] = {
5418c2ecf20Sopenharmony_ci	TEGRA_PIN_BT_RST_PH4,
5428c2ecf20Sopenharmony_ci};
5438c2ecf20Sopenharmony_ci
5448c2ecf20Sopenharmony_cistatic const unsigned bt_wake_ap_ph5_pins[] = {
5458c2ecf20Sopenharmony_ci	TEGRA_PIN_BT_WAKE_AP_PH5,
5468c2ecf20Sopenharmony_ci};
5478c2ecf20Sopenharmony_ci
5488c2ecf20Sopenharmony_cistatic const unsigned ph6_pins[] = {
5498c2ecf20Sopenharmony_ci	TEGRA_PIN_PH6,
5508c2ecf20Sopenharmony_ci};
5518c2ecf20Sopenharmony_ci
5528c2ecf20Sopenharmony_cistatic const unsigned ap_wake_nfc_ph7_pins[] = {
5538c2ecf20Sopenharmony_ci	TEGRA_PIN_AP_WAKE_NFC_PH7,
5548c2ecf20Sopenharmony_ci};
5558c2ecf20Sopenharmony_ci
5568c2ecf20Sopenharmony_cistatic const unsigned nfc_en_pi0_pins[] = {
5578c2ecf20Sopenharmony_ci	TEGRA_PIN_NFC_EN_PI0,
5588c2ecf20Sopenharmony_ci};
5598c2ecf20Sopenharmony_ci
5608c2ecf20Sopenharmony_cistatic const unsigned nfc_int_pi1_pins[] = {
5618c2ecf20Sopenharmony_ci	TEGRA_PIN_NFC_INT_PI1,
5628c2ecf20Sopenharmony_ci};
5638c2ecf20Sopenharmony_ci
5648c2ecf20Sopenharmony_cistatic const unsigned gps_en_pi2_pins[] = {
5658c2ecf20Sopenharmony_ci	TEGRA_PIN_GPS_EN_PI2,
5668c2ecf20Sopenharmony_ci};
5678c2ecf20Sopenharmony_ci
5688c2ecf20Sopenharmony_cistatic const unsigned gps_rst_pi3_pins[] = {
5698c2ecf20Sopenharmony_ci	TEGRA_PIN_GPS_RST_PI3,
5708c2ecf20Sopenharmony_ci};
5718c2ecf20Sopenharmony_ci
5728c2ecf20Sopenharmony_cistatic const unsigned uart4_tx_pi4_pins[] = {
5738c2ecf20Sopenharmony_ci	TEGRA_PIN_UART4_TX_PI4,
5748c2ecf20Sopenharmony_ci};
5758c2ecf20Sopenharmony_ci
5768c2ecf20Sopenharmony_cistatic const unsigned uart4_rx_pi5_pins[] = {
5778c2ecf20Sopenharmony_ci	TEGRA_PIN_UART4_RX_PI5,
5788c2ecf20Sopenharmony_ci};
5798c2ecf20Sopenharmony_ci
5808c2ecf20Sopenharmony_cistatic const unsigned uart4_rts_pi6_pins[] = {
5818c2ecf20Sopenharmony_ci	TEGRA_PIN_UART4_RTS_PI6,
5828c2ecf20Sopenharmony_ci};
5838c2ecf20Sopenharmony_ci
5848c2ecf20Sopenharmony_cistatic const unsigned uart4_cts_pi7_pins[] = {
5858c2ecf20Sopenharmony_ci	TEGRA_PIN_UART4_CTS_PI7,
5868c2ecf20Sopenharmony_ci};
5878c2ecf20Sopenharmony_ci
5888c2ecf20Sopenharmony_cistatic const unsigned gen1_i2c_sda_pj0_pins[] = {
5898c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SDA_PJ0,
5908c2ecf20Sopenharmony_ci};
5918c2ecf20Sopenharmony_ci
5928c2ecf20Sopenharmony_cistatic const unsigned gen1_i2c_scl_pj1_pins[] = {
5938c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SCL_PJ1,
5948c2ecf20Sopenharmony_ci};
5958c2ecf20Sopenharmony_ci
5968c2ecf20Sopenharmony_cistatic const unsigned gen2_i2c_scl_pj2_pins[] = {
5978c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SCL_PJ2,
5988c2ecf20Sopenharmony_ci};
5998c2ecf20Sopenharmony_ci
6008c2ecf20Sopenharmony_cistatic const unsigned gen2_i2c_sda_pj3_pins[] = {
6018c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SDA_PJ3,
6028c2ecf20Sopenharmony_ci};
6038c2ecf20Sopenharmony_ci
6048c2ecf20Sopenharmony_cistatic const unsigned dap4_fs_pj4_pins[] = {
6058c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_FS_PJ4,
6068c2ecf20Sopenharmony_ci};
6078c2ecf20Sopenharmony_ci
6088c2ecf20Sopenharmony_cistatic const unsigned dap4_din_pj5_pins[] = {
6098c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_DIN_PJ5,
6108c2ecf20Sopenharmony_ci};
6118c2ecf20Sopenharmony_ci
6128c2ecf20Sopenharmony_cistatic const unsigned dap4_dout_pj6_pins[] = {
6138c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_DOUT_PJ6,
6148c2ecf20Sopenharmony_ci};
6158c2ecf20Sopenharmony_ci
6168c2ecf20Sopenharmony_cistatic const unsigned dap4_sclk_pj7_pins[] = {
6178c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_SCLK_PJ7,
6188c2ecf20Sopenharmony_ci};
6198c2ecf20Sopenharmony_ci
6208c2ecf20Sopenharmony_cistatic const unsigned pk0_pins[] = {
6218c2ecf20Sopenharmony_ci	TEGRA_PIN_PK0,
6228c2ecf20Sopenharmony_ci};
6238c2ecf20Sopenharmony_ci
6248c2ecf20Sopenharmony_cistatic const unsigned pk1_pins[] = {
6258c2ecf20Sopenharmony_ci	TEGRA_PIN_PK1,
6268c2ecf20Sopenharmony_ci};
6278c2ecf20Sopenharmony_ci
6288c2ecf20Sopenharmony_cistatic const unsigned pk2_pins[] = {
6298c2ecf20Sopenharmony_ci	TEGRA_PIN_PK2,
6308c2ecf20Sopenharmony_ci};
6318c2ecf20Sopenharmony_ci
6328c2ecf20Sopenharmony_cistatic const unsigned pk3_pins[] = {
6338c2ecf20Sopenharmony_ci	TEGRA_PIN_PK3,
6348c2ecf20Sopenharmony_ci};
6358c2ecf20Sopenharmony_ci
6368c2ecf20Sopenharmony_cistatic const unsigned pk4_pins[] = {
6378c2ecf20Sopenharmony_ci	TEGRA_PIN_PK4,
6388c2ecf20Sopenharmony_ci};
6398c2ecf20Sopenharmony_ci
6408c2ecf20Sopenharmony_cistatic const unsigned pk5_pins[] = {
6418c2ecf20Sopenharmony_ci	TEGRA_PIN_PK5,
6428c2ecf20Sopenharmony_ci};
6438c2ecf20Sopenharmony_ci
6448c2ecf20Sopenharmony_cistatic const unsigned pk6_pins[] = {
6458c2ecf20Sopenharmony_ci	TEGRA_PIN_PK6,
6468c2ecf20Sopenharmony_ci};
6478c2ecf20Sopenharmony_ci
6488c2ecf20Sopenharmony_cistatic const unsigned pk7_pins[] = {
6498c2ecf20Sopenharmony_ci	TEGRA_PIN_PK7,
6508c2ecf20Sopenharmony_ci};
6518c2ecf20Sopenharmony_ci
6528c2ecf20Sopenharmony_cistatic const unsigned pl0_pins[] = {
6538c2ecf20Sopenharmony_ci	TEGRA_PIN_PL0,
6548c2ecf20Sopenharmony_ci};
6558c2ecf20Sopenharmony_ci
6568c2ecf20Sopenharmony_cistatic const unsigned pl1_pins[] = {
6578c2ecf20Sopenharmony_ci	TEGRA_PIN_PL1,
6588c2ecf20Sopenharmony_ci};
6598c2ecf20Sopenharmony_ci
6608c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_clk_pm0_pins[] = {
6618c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_CLK_PM0,
6628c2ecf20Sopenharmony_ci};
6638c2ecf20Sopenharmony_ci
6648c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_cmd_pm1_pins[] = {
6658c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_CMD_PM1,
6668c2ecf20Sopenharmony_ci};
6678c2ecf20Sopenharmony_ci
6688c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_dat3_pm2_pins[] = {
6698c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT3_PM2,
6708c2ecf20Sopenharmony_ci};
6718c2ecf20Sopenharmony_ci
6728c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_dat2_pm3_pins[] = {
6738c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT2_PM3,
6748c2ecf20Sopenharmony_ci};
6758c2ecf20Sopenharmony_ci
6768c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_dat1_pm4_pins[] = {
6778c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT1_PM4,
6788c2ecf20Sopenharmony_ci};
6798c2ecf20Sopenharmony_ci
6808c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_dat0_pm5_pins[] = {
6818c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT0_PM5,
6828c2ecf20Sopenharmony_ci};
6838c2ecf20Sopenharmony_ci
6848c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_clk_pp0_pins[] = {
6858c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_PP0,
6868c2ecf20Sopenharmony_ci};
6878c2ecf20Sopenharmony_ci
6888c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_cmd_pp1_pins[] = {
6898c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CMD_PP1,
6908c2ecf20Sopenharmony_ci};
6918c2ecf20Sopenharmony_ci
6928c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat3_pp2_pins[] = {
6938c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT3_PP2,
6948c2ecf20Sopenharmony_ci};
6958c2ecf20Sopenharmony_ci
6968c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat2_pp3_pins[] = {
6978c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT2_PP3,
6988c2ecf20Sopenharmony_ci};
6998c2ecf20Sopenharmony_ci
7008c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat1_pp4_pins[] = {
7018c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT1_PP4,
7028c2ecf20Sopenharmony_ci};
7038c2ecf20Sopenharmony_ci
7048c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat0_pp5_pins[] = {
7058c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT0_PP5,
7068c2ecf20Sopenharmony_ci};
7078c2ecf20Sopenharmony_ci
7088c2ecf20Sopenharmony_cistatic const unsigned cam1_mclk_ps0_pins[] = {
7098c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM1_MCLK_PS0,
7108c2ecf20Sopenharmony_ci};
7118c2ecf20Sopenharmony_ci
7128c2ecf20Sopenharmony_cistatic const unsigned cam2_mclk_ps1_pins[] = {
7138c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM2_MCLK_PS1,
7148c2ecf20Sopenharmony_ci};
7158c2ecf20Sopenharmony_ci
7168c2ecf20Sopenharmony_cistatic const unsigned cam_i2c_scl_ps2_pins[] = {
7178c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SCL_PS2,
7188c2ecf20Sopenharmony_ci};
7198c2ecf20Sopenharmony_ci
7208c2ecf20Sopenharmony_cistatic const unsigned cam_i2c_sda_ps3_pins[] = {
7218c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SDA_PS3,
7228c2ecf20Sopenharmony_ci};
7238c2ecf20Sopenharmony_ci
7248c2ecf20Sopenharmony_cistatic const unsigned cam_rst_ps4_pins[] = {
7258c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_RST_PS4,
7268c2ecf20Sopenharmony_ci};
7278c2ecf20Sopenharmony_ci
7288c2ecf20Sopenharmony_cistatic const unsigned cam_af_en_ps5_pins[] = {
7298c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_AF_EN_PS5,
7308c2ecf20Sopenharmony_ci};
7318c2ecf20Sopenharmony_ci
7328c2ecf20Sopenharmony_cistatic const unsigned cam_flash_en_ps6_pins[] = {
7338c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_FLASH_EN_PS6,
7348c2ecf20Sopenharmony_ci};
7358c2ecf20Sopenharmony_ci
7368c2ecf20Sopenharmony_cistatic const unsigned cam1_pwdn_ps7_pins[] = {
7378c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM1_PWDN_PS7,
7388c2ecf20Sopenharmony_ci};
7398c2ecf20Sopenharmony_ci
7408c2ecf20Sopenharmony_cistatic const unsigned cam2_pwdn_pt0_pins[] = {
7418c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM2_PWDN_PT0,
7428c2ecf20Sopenharmony_ci};
7438c2ecf20Sopenharmony_ci
7448c2ecf20Sopenharmony_cistatic const unsigned cam1_strobe_pt1_pins[] = {
7458c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM1_STROBE_PT1,
7468c2ecf20Sopenharmony_ci};
7478c2ecf20Sopenharmony_ci
7488c2ecf20Sopenharmony_cistatic const unsigned uart1_tx_pu0_pins[] = {
7498c2ecf20Sopenharmony_ci	TEGRA_PIN_UART1_TX_PU0,
7508c2ecf20Sopenharmony_ci};
7518c2ecf20Sopenharmony_ci
7528c2ecf20Sopenharmony_cistatic const unsigned uart1_rx_pu1_pins[] = {
7538c2ecf20Sopenharmony_ci	TEGRA_PIN_UART1_RX_PU1,
7548c2ecf20Sopenharmony_ci};
7558c2ecf20Sopenharmony_ci
7568c2ecf20Sopenharmony_cistatic const unsigned uart1_rts_pu2_pins[] = {
7578c2ecf20Sopenharmony_ci	TEGRA_PIN_UART1_RTS_PU2,
7588c2ecf20Sopenharmony_ci};
7598c2ecf20Sopenharmony_ci
7608c2ecf20Sopenharmony_cistatic const unsigned uart1_cts_pu3_pins[] = {
7618c2ecf20Sopenharmony_ci	TEGRA_PIN_UART1_CTS_PU3,
7628c2ecf20Sopenharmony_ci};
7638c2ecf20Sopenharmony_ci
7648c2ecf20Sopenharmony_cistatic const unsigned lcd_bl_pwm_pv0_pins[] = {
7658c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_BL_PWM_PV0,
7668c2ecf20Sopenharmony_ci};
7678c2ecf20Sopenharmony_ci
7688c2ecf20Sopenharmony_cistatic const unsigned lcd_bl_en_pv1_pins[] = {
7698c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_BL_EN_PV1,
7708c2ecf20Sopenharmony_ci};
7718c2ecf20Sopenharmony_ci
7728c2ecf20Sopenharmony_cistatic const unsigned lcd_rst_pv2_pins[] = {
7738c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_RST_PV2,
7748c2ecf20Sopenharmony_ci};
7758c2ecf20Sopenharmony_ci
7768c2ecf20Sopenharmony_cistatic const unsigned lcd_gpio1_pv3_pins[] = {
7778c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_GPIO1_PV3,
7788c2ecf20Sopenharmony_ci};
7798c2ecf20Sopenharmony_ci
7808c2ecf20Sopenharmony_cistatic const unsigned lcd_gpio2_pv4_pins[] = {
7818c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_GPIO2_PV4,
7828c2ecf20Sopenharmony_ci};
7838c2ecf20Sopenharmony_ci
7848c2ecf20Sopenharmony_cistatic const unsigned ap_ready_pv5_pins[] = {
7858c2ecf20Sopenharmony_ci	TEGRA_PIN_AP_READY_PV5,
7868c2ecf20Sopenharmony_ci};
7878c2ecf20Sopenharmony_ci
7888c2ecf20Sopenharmony_cistatic const unsigned touch_rst_pv6_pins[] = {
7898c2ecf20Sopenharmony_ci	TEGRA_PIN_TOUCH_RST_PV6,
7908c2ecf20Sopenharmony_ci};
7918c2ecf20Sopenharmony_ci
7928c2ecf20Sopenharmony_cistatic const unsigned touch_clk_pv7_pins[] = {
7938c2ecf20Sopenharmony_ci	TEGRA_PIN_TOUCH_CLK_PV7,
7948c2ecf20Sopenharmony_ci};
7958c2ecf20Sopenharmony_ci
7968c2ecf20Sopenharmony_cistatic const unsigned modem_wake_ap_px0_pins[] = {
7978c2ecf20Sopenharmony_ci	TEGRA_PIN_MODEM_WAKE_AP_PX0,
7988c2ecf20Sopenharmony_ci};
7998c2ecf20Sopenharmony_ci
8008c2ecf20Sopenharmony_cistatic const unsigned touch_int_px1_pins[] = {
8018c2ecf20Sopenharmony_ci	TEGRA_PIN_TOUCH_INT_PX1,
8028c2ecf20Sopenharmony_ci};
8038c2ecf20Sopenharmony_ci
8048c2ecf20Sopenharmony_cistatic const unsigned motion_int_px2_pins[] = {
8058c2ecf20Sopenharmony_ci	TEGRA_PIN_MOTION_INT_PX2,
8068c2ecf20Sopenharmony_ci};
8078c2ecf20Sopenharmony_ci
8088c2ecf20Sopenharmony_cistatic const unsigned als_prox_int_px3_pins[] = {
8098c2ecf20Sopenharmony_ci	TEGRA_PIN_ALS_PROX_INT_PX3,
8108c2ecf20Sopenharmony_ci};
8118c2ecf20Sopenharmony_ci
8128c2ecf20Sopenharmony_cistatic const unsigned temp_alert_px4_pins[] = {
8138c2ecf20Sopenharmony_ci	TEGRA_PIN_TEMP_ALERT_PX4,
8148c2ecf20Sopenharmony_ci};
8158c2ecf20Sopenharmony_ci
8168c2ecf20Sopenharmony_cistatic const unsigned button_power_on_px5_pins[] = {
8178c2ecf20Sopenharmony_ci	TEGRA_PIN_BUTTON_POWER_ON_PX5,
8188c2ecf20Sopenharmony_ci};
8198c2ecf20Sopenharmony_ci
8208c2ecf20Sopenharmony_cistatic const unsigned button_vol_up_px6_pins[] = {
8218c2ecf20Sopenharmony_ci	TEGRA_PIN_BUTTON_VOL_UP_PX6,
8228c2ecf20Sopenharmony_ci};
8238c2ecf20Sopenharmony_ci
8248c2ecf20Sopenharmony_cistatic const unsigned button_vol_down_px7_pins[] = {
8258c2ecf20Sopenharmony_ci	TEGRA_PIN_BUTTON_VOL_DOWN_PX7,
8268c2ecf20Sopenharmony_ci};
8278c2ecf20Sopenharmony_ci
8288c2ecf20Sopenharmony_cistatic const unsigned button_slide_sw_py0_pins[] = {
8298c2ecf20Sopenharmony_ci	TEGRA_PIN_BUTTON_SLIDE_SW_PY0,
8308c2ecf20Sopenharmony_ci};
8318c2ecf20Sopenharmony_ci
8328c2ecf20Sopenharmony_cistatic const unsigned button_home_py1_pins[] = {
8338c2ecf20Sopenharmony_ci	TEGRA_PIN_BUTTON_HOME_PY1,
8348c2ecf20Sopenharmony_ci};
8358c2ecf20Sopenharmony_ci
8368c2ecf20Sopenharmony_cistatic const unsigned lcd_te_py2_pins[] = {
8378c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_TE_PY2,
8388c2ecf20Sopenharmony_ci};
8398c2ecf20Sopenharmony_ci
8408c2ecf20Sopenharmony_cistatic const unsigned pwr_i2c_scl_py3_pins[] = {
8418c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SCL_PY3,
8428c2ecf20Sopenharmony_ci};
8438c2ecf20Sopenharmony_ci
8448c2ecf20Sopenharmony_cistatic const unsigned pwr_i2c_sda_py4_pins[] = {
8458c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SDA_PY4,
8468c2ecf20Sopenharmony_ci};
8478c2ecf20Sopenharmony_ci
8488c2ecf20Sopenharmony_cistatic const unsigned clk_32k_out_py5_pins[] = {
8498c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK_32K_OUT_PY5,
8508c2ecf20Sopenharmony_ci};
8518c2ecf20Sopenharmony_ci
8528c2ecf20Sopenharmony_cistatic const unsigned pz0_pins[] = {
8538c2ecf20Sopenharmony_ci	TEGRA_PIN_PZ0,
8548c2ecf20Sopenharmony_ci};
8558c2ecf20Sopenharmony_ci
8568c2ecf20Sopenharmony_cistatic const unsigned pz1_pins[] = {
8578c2ecf20Sopenharmony_ci	TEGRA_PIN_PZ1,
8588c2ecf20Sopenharmony_ci};
8598c2ecf20Sopenharmony_ci
8608c2ecf20Sopenharmony_cistatic const unsigned pz2_pins[] = {
8618c2ecf20Sopenharmony_ci	TEGRA_PIN_PZ2,
8628c2ecf20Sopenharmony_ci};
8638c2ecf20Sopenharmony_ci
8648c2ecf20Sopenharmony_cistatic const unsigned pz3_pins[] = {
8658c2ecf20Sopenharmony_ci	TEGRA_PIN_PZ3,
8668c2ecf20Sopenharmony_ci};
8678c2ecf20Sopenharmony_ci
8688c2ecf20Sopenharmony_cistatic const unsigned pz4_pins[] = {
8698c2ecf20Sopenharmony_ci	TEGRA_PIN_PZ4,
8708c2ecf20Sopenharmony_ci};
8718c2ecf20Sopenharmony_ci
8728c2ecf20Sopenharmony_cistatic const unsigned pz5_pins[] = {
8738c2ecf20Sopenharmony_ci	TEGRA_PIN_PZ5,
8748c2ecf20Sopenharmony_ci};
8758c2ecf20Sopenharmony_ci
8768c2ecf20Sopenharmony_cistatic const unsigned dap2_fs_paa0_pins[] = {
8778c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_FS_PAA0,
8788c2ecf20Sopenharmony_ci};
8798c2ecf20Sopenharmony_ci
8808c2ecf20Sopenharmony_cistatic const unsigned dap2_sclk_paa1_pins[] = {
8818c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_SCLK_PAA1,
8828c2ecf20Sopenharmony_ci};
8838c2ecf20Sopenharmony_ci
8848c2ecf20Sopenharmony_cistatic const unsigned dap2_din_paa2_pins[] = {
8858c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_DIN_PAA2,
8868c2ecf20Sopenharmony_ci};
8878c2ecf20Sopenharmony_ci
8888c2ecf20Sopenharmony_cistatic const unsigned dap2_dout_paa3_pins[] = {
8898c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_DOUT_PAA3,
8908c2ecf20Sopenharmony_ci};
8918c2ecf20Sopenharmony_ci
8928c2ecf20Sopenharmony_cistatic const unsigned aud_mclk_pbb0_pins[] = {
8938c2ecf20Sopenharmony_ci	TEGRA_PIN_AUD_MCLK_PBB0,
8948c2ecf20Sopenharmony_ci};
8958c2ecf20Sopenharmony_ci
8968c2ecf20Sopenharmony_cistatic const unsigned dvfs_pwm_pbb1_pins[] = {
8978c2ecf20Sopenharmony_ci	TEGRA_PIN_DVFS_PWM_PBB1,
8988c2ecf20Sopenharmony_ci};
8998c2ecf20Sopenharmony_ci
9008c2ecf20Sopenharmony_cistatic const unsigned dvfs_clk_pbb2_pins[] = {
9018c2ecf20Sopenharmony_ci	TEGRA_PIN_DVFS_CLK_PBB2,
9028c2ecf20Sopenharmony_ci};
9038c2ecf20Sopenharmony_ci
9048c2ecf20Sopenharmony_cistatic const unsigned gpio_x1_aud_pbb3_pins[] = {
9058c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X1_AUD_PBB3,
9068c2ecf20Sopenharmony_ci};
9078c2ecf20Sopenharmony_ci
9088c2ecf20Sopenharmony_cistatic const unsigned gpio_x3_aud_pbb4_pins[] = {
9098c2ecf20Sopenharmony_ci	TEGRA_PIN_GPIO_X3_AUD_PBB4,
9108c2ecf20Sopenharmony_ci};
9118c2ecf20Sopenharmony_ci
9128c2ecf20Sopenharmony_cistatic const unsigned hdmi_cec_pcc0_pins[] = {
9138c2ecf20Sopenharmony_ci	TEGRA_PIN_HDMI_CEC_PCC0,
9148c2ecf20Sopenharmony_ci};
9158c2ecf20Sopenharmony_ci
9168c2ecf20Sopenharmony_cistatic const unsigned hdmi_int_dp_hpd_pcc1_pins[] = {
9178c2ecf20Sopenharmony_ci	TEGRA_PIN_HDMI_INT_DP_HPD_PCC1,
9188c2ecf20Sopenharmony_ci};
9198c2ecf20Sopenharmony_ci
9208c2ecf20Sopenharmony_cistatic const unsigned spdif_out_pcc2_pins[] = {
9218c2ecf20Sopenharmony_ci	TEGRA_PIN_SPDIF_OUT_PCC2,
9228c2ecf20Sopenharmony_ci};
9238c2ecf20Sopenharmony_ci
9248c2ecf20Sopenharmony_cistatic const unsigned spdif_in_pcc3_pins[] = {
9258c2ecf20Sopenharmony_ci	TEGRA_PIN_SPDIF_IN_PCC3,
9268c2ecf20Sopenharmony_ci};
9278c2ecf20Sopenharmony_ci
9288c2ecf20Sopenharmony_cistatic const unsigned usb_vbus_en0_pcc4_pins[] = {
9298c2ecf20Sopenharmony_ci	TEGRA_PIN_USB_VBUS_EN0_PCC4,
9308c2ecf20Sopenharmony_ci};
9318c2ecf20Sopenharmony_ci
9328c2ecf20Sopenharmony_cistatic const unsigned usb_vbus_en1_pcc5_pins[] = {
9338c2ecf20Sopenharmony_ci	TEGRA_PIN_USB_VBUS_EN1_PCC5,
9348c2ecf20Sopenharmony_ci};
9358c2ecf20Sopenharmony_ci
9368c2ecf20Sopenharmony_cistatic const unsigned dp_hpd0_pcc6_pins[] = {
9378c2ecf20Sopenharmony_ci	TEGRA_PIN_DP_HPD0_PCC6,
9388c2ecf20Sopenharmony_ci};
9398c2ecf20Sopenharmony_ci
9408c2ecf20Sopenharmony_cistatic const unsigned pcc7_pins[] = {
9418c2ecf20Sopenharmony_ci	TEGRA_PIN_PCC7,
9428c2ecf20Sopenharmony_ci};
9438c2ecf20Sopenharmony_ci
9448c2ecf20Sopenharmony_cistatic const unsigned spi2_cs1_pdd0_pins[] = {
9458c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_CS1_PDD0,
9468c2ecf20Sopenharmony_ci};
9478c2ecf20Sopenharmony_ci
9488c2ecf20Sopenharmony_cistatic const unsigned qspi_sck_pee0_pins[] = {
9498c2ecf20Sopenharmony_ci	TEGRA_PIN_QSPI_SCK_PEE0,
9508c2ecf20Sopenharmony_ci};
9518c2ecf20Sopenharmony_ci
9528c2ecf20Sopenharmony_cistatic const unsigned qspi_cs_n_pee1_pins[] = {
9538c2ecf20Sopenharmony_ci	TEGRA_PIN_QSPI_CS_N_PEE1,
9548c2ecf20Sopenharmony_ci};
9558c2ecf20Sopenharmony_ci
9568c2ecf20Sopenharmony_cistatic const unsigned qspi_io0_pee2_pins[] = {
9578c2ecf20Sopenharmony_ci	TEGRA_PIN_QSPI_IO0_PEE2,
9588c2ecf20Sopenharmony_ci};
9598c2ecf20Sopenharmony_ci
9608c2ecf20Sopenharmony_cistatic const unsigned qspi_io1_pee3_pins[] = {
9618c2ecf20Sopenharmony_ci	TEGRA_PIN_QSPI_IO1_PEE3,
9628c2ecf20Sopenharmony_ci};
9638c2ecf20Sopenharmony_ci
9648c2ecf20Sopenharmony_cistatic const unsigned qspi_io2_pee4_pins[] = {
9658c2ecf20Sopenharmony_ci	TEGRA_PIN_QSPI_IO2_PEE4,
9668c2ecf20Sopenharmony_ci};
9678c2ecf20Sopenharmony_ci
9688c2ecf20Sopenharmony_cistatic const unsigned qspi_io3_pee5_pins[] = {
9698c2ecf20Sopenharmony_ci	TEGRA_PIN_QSPI_IO3_PEE5,
9708c2ecf20Sopenharmony_ci};
9718c2ecf20Sopenharmony_ci
9728c2ecf20Sopenharmony_cistatic const unsigned core_pwr_req_pins[] = {
9738c2ecf20Sopenharmony_ci	TEGRA_PIN_CORE_PWR_REQ,
9748c2ecf20Sopenharmony_ci};
9758c2ecf20Sopenharmony_ci
9768c2ecf20Sopenharmony_cistatic const unsigned cpu_pwr_req_pins[] = {
9778c2ecf20Sopenharmony_ci	TEGRA_PIN_CPU_PWR_REQ,
9788c2ecf20Sopenharmony_ci};
9798c2ecf20Sopenharmony_ci
9808c2ecf20Sopenharmony_cistatic const unsigned pwr_int_n_pins[] = {
9818c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_INT_N,
9828c2ecf20Sopenharmony_ci};
9838c2ecf20Sopenharmony_ci
9848c2ecf20Sopenharmony_cistatic const unsigned clk_32k_in_pins[] = {
9858c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK_32K_IN,
9868c2ecf20Sopenharmony_ci};
9878c2ecf20Sopenharmony_ci
9888c2ecf20Sopenharmony_cistatic const unsigned jtag_rtck_pins[] = {
9898c2ecf20Sopenharmony_ci	TEGRA_PIN_JTAG_RTCK,
9908c2ecf20Sopenharmony_ci};
9918c2ecf20Sopenharmony_ci
9928c2ecf20Sopenharmony_cistatic const unsigned batt_bcl_pins[] = {
9938c2ecf20Sopenharmony_ci	TEGRA_PIN_BATT_BCL,
9948c2ecf20Sopenharmony_ci};
9958c2ecf20Sopenharmony_ci
9968c2ecf20Sopenharmony_cistatic const unsigned clk_req_pins[] = {
9978c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK_REQ,
9988c2ecf20Sopenharmony_ci};
9998c2ecf20Sopenharmony_ci
10008c2ecf20Sopenharmony_cistatic const unsigned shutdown_pins[] = {
10018c2ecf20Sopenharmony_ci	TEGRA_PIN_SHUTDOWN,
10028c2ecf20Sopenharmony_ci};
10038c2ecf20Sopenharmony_ci
10048c2ecf20Sopenharmony_cistatic const unsigned drive_pa6_pins[] = {
10058c2ecf20Sopenharmony_ci	TEGRA_PIN_PA6,
10068c2ecf20Sopenharmony_ci};
10078c2ecf20Sopenharmony_ci
10088c2ecf20Sopenharmony_cistatic const unsigned drive_pcc7_pins[] = {
10098c2ecf20Sopenharmony_ci	TEGRA_PIN_PCC7,
10108c2ecf20Sopenharmony_ci};
10118c2ecf20Sopenharmony_ci
10128c2ecf20Sopenharmony_cistatic const unsigned drive_pe6_pins[] = {
10138c2ecf20Sopenharmony_ci	TEGRA_PIN_PE6,
10148c2ecf20Sopenharmony_ci};
10158c2ecf20Sopenharmony_ci
10168c2ecf20Sopenharmony_cistatic const unsigned drive_pe7_pins[] = {
10178c2ecf20Sopenharmony_ci	TEGRA_PIN_PE7,
10188c2ecf20Sopenharmony_ci};
10198c2ecf20Sopenharmony_ci
10208c2ecf20Sopenharmony_cistatic const unsigned drive_ph6_pins[] = {
10218c2ecf20Sopenharmony_ci	TEGRA_PIN_PH6,
10228c2ecf20Sopenharmony_ci};
10238c2ecf20Sopenharmony_ci
10248c2ecf20Sopenharmony_cistatic const unsigned drive_pk0_pins[] = {
10258c2ecf20Sopenharmony_ci	TEGRA_PIN_PK0,
10268c2ecf20Sopenharmony_ci};
10278c2ecf20Sopenharmony_ci
10288c2ecf20Sopenharmony_cistatic const unsigned drive_pk1_pins[] = {
10298c2ecf20Sopenharmony_ci	TEGRA_PIN_PK1,
10308c2ecf20Sopenharmony_ci};
10318c2ecf20Sopenharmony_ci
10328c2ecf20Sopenharmony_cistatic const unsigned drive_pk2_pins[] = {
10338c2ecf20Sopenharmony_ci	TEGRA_PIN_PK2,
10348c2ecf20Sopenharmony_ci};
10358c2ecf20Sopenharmony_ci
10368c2ecf20Sopenharmony_cistatic const unsigned drive_pk3_pins[] = {
10378c2ecf20Sopenharmony_ci	TEGRA_PIN_PK3,
10388c2ecf20Sopenharmony_ci};
10398c2ecf20Sopenharmony_ci
10408c2ecf20Sopenharmony_cistatic const unsigned drive_pk4_pins[] = {
10418c2ecf20Sopenharmony_ci	TEGRA_PIN_PK4,
10428c2ecf20Sopenharmony_ci};
10438c2ecf20Sopenharmony_ci
10448c2ecf20Sopenharmony_cistatic const unsigned drive_pk5_pins[] = {
10458c2ecf20Sopenharmony_ci	TEGRA_PIN_PK5,
10468c2ecf20Sopenharmony_ci};
10478c2ecf20Sopenharmony_ci
10488c2ecf20Sopenharmony_cistatic const unsigned drive_pk6_pins[] = {
10498c2ecf20Sopenharmony_ci	TEGRA_PIN_PK6,
10508c2ecf20Sopenharmony_ci};
10518c2ecf20Sopenharmony_ci
10528c2ecf20Sopenharmony_cistatic const unsigned drive_pk7_pins[] = {
10538c2ecf20Sopenharmony_ci	TEGRA_PIN_PK7,
10548c2ecf20Sopenharmony_ci};
10558c2ecf20Sopenharmony_ci
10568c2ecf20Sopenharmony_cistatic const unsigned drive_pl0_pins[] = {
10578c2ecf20Sopenharmony_ci	TEGRA_PIN_PL0,
10588c2ecf20Sopenharmony_ci};
10598c2ecf20Sopenharmony_ci
10608c2ecf20Sopenharmony_cistatic const unsigned drive_pl1_pins[] = {
10618c2ecf20Sopenharmony_ci	TEGRA_PIN_PL1,
10628c2ecf20Sopenharmony_ci};
10638c2ecf20Sopenharmony_ci
10648c2ecf20Sopenharmony_cistatic const unsigned drive_pz0_pins[] = {
10658c2ecf20Sopenharmony_ci	TEGRA_PIN_PZ0,
10668c2ecf20Sopenharmony_ci};
10678c2ecf20Sopenharmony_ci
10688c2ecf20Sopenharmony_cistatic const unsigned drive_pz1_pins[] = {
10698c2ecf20Sopenharmony_ci	TEGRA_PIN_PZ1,
10708c2ecf20Sopenharmony_ci};
10718c2ecf20Sopenharmony_ci
10728c2ecf20Sopenharmony_cistatic const unsigned drive_pz2_pins[] = {
10738c2ecf20Sopenharmony_ci	TEGRA_PIN_PZ2,
10748c2ecf20Sopenharmony_ci};
10758c2ecf20Sopenharmony_ci
10768c2ecf20Sopenharmony_cistatic const unsigned drive_pz3_pins[] = {
10778c2ecf20Sopenharmony_ci	TEGRA_PIN_PZ3,
10788c2ecf20Sopenharmony_ci};
10798c2ecf20Sopenharmony_ci
10808c2ecf20Sopenharmony_cistatic const unsigned drive_pz4_pins[] = {
10818c2ecf20Sopenharmony_ci	TEGRA_PIN_PZ4,
10828c2ecf20Sopenharmony_ci};
10838c2ecf20Sopenharmony_ci
10848c2ecf20Sopenharmony_cistatic const unsigned drive_pz5_pins[] = {
10858c2ecf20Sopenharmony_ci	TEGRA_PIN_PZ5,
10868c2ecf20Sopenharmony_ci};
10878c2ecf20Sopenharmony_ci
10888c2ecf20Sopenharmony_cistatic const unsigned drive_sdmmc1_pins[] = {
10898c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_CLK_PM0,
10908c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_CMD_PM1,
10918c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT3_PM2,
10928c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT2_PM3,
10938c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT1_PM4,
10948c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT0_PM5,
10958c2ecf20Sopenharmony_ci};
10968c2ecf20Sopenharmony_ci
10978c2ecf20Sopenharmony_cistatic const unsigned drive_sdmmc2_pins[] = {
10988c2ecf20Sopenharmony_ci};
10998c2ecf20Sopenharmony_ci
11008c2ecf20Sopenharmony_cistatic const unsigned drive_sdmmc3_pins[] = {
11018c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_PP0,
11028c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CMD_PP1,
11038c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT3_PP2,
11048c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT2_PP3,
11058c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT1_PP4,
11068c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT0_PP5,
11078c2ecf20Sopenharmony_ci};
11088c2ecf20Sopenharmony_ci
11098c2ecf20Sopenharmony_cistatic const unsigned drive_sdmmc4_pins[] = {
11108c2ecf20Sopenharmony_ci};
11118c2ecf20Sopenharmony_ci
11128c2ecf20Sopenharmony_cienum tegra_mux {
11138c2ecf20Sopenharmony_ci	TEGRA_MUX_AUD,
11148c2ecf20Sopenharmony_ci	TEGRA_MUX_BCL,
11158c2ecf20Sopenharmony_ci	TEGRA_MUX_BLINK,
11168c2ecf20Sopenharmony_ci	TEGRA_MUX_CCLA,
11178c2ecf20Sopenharmony_ci	TEGRA_MUX_CEC,
11188c2ecf20Sopenharmony_ci	TEGRA_MUX_CLDVFS,
11198c2ecf20Sopenharmony_ci	TEGRA_MUX_CLK,
11208c2ecf20Sopenharmony_ci	TEGRA_MUX_CORE,
11218c2ecf20Sopenharmony_ci	TEGRA_MUX_CPU,
11228c2ecf20Sopenharmony_ci	TEGRA_MUX_DISPLAYA,
11238c2ecf20Sopenharmony_ci	TEGRA_MUX_DISPLAYB,
11248c2ecf20Sopenharmony_ci	TEGRA_MUX_DMIC1,
11258c2ecf20Sopenharmony_ci	TEGRA_MUX_DMIC2,
11268c2ecf20Sopenharmony_ci	TEGRA_MUX_DMIC3,
11278c2ecf20Sopenharmony_ci	TEGRA_MUX_DP,
11288c2ecf20Sopenharmony_ci	TEGRA_MUX_DTV,
11298c2ecf20Sopenharmony_ci	TEGRA_MUX_EXTPERIPH3,
11308c2ecf20Sopenharmony_ci	TEGRA_MUX_I2C1,
11318c2ecf20Sopenharmony_ci	TEGRA_MUX_I2C2,
11328c2ecf20Sopenharmony_ci	TEGRA_MUX_I2C3,
11338c2ecf20Sopenharmony_ci	TEGRA_MUX_I2CPMU,
11348c2ecf20Sopenharmony_ci	TEGRA_MUX_I2CVI,
11358c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S1,
11368c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S2,
11378c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S3,
11388c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S4A,
11398c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S4B,
11408c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S5A,
11418c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S5B,
11428c2ecf20Sopenharmony_ci	TEGRA_MUX_IQC0,
11438c2ecf20Sopenharmony_ci	TEGRA_MUX_IQC1,
11448c2ecf20Sopenharmony_ci	TEGRA_MUX_JTAG,
11458c2ecf20Sopenharmony_ci	TEGRA_MUX_PE,
11468c2ecf20Sopenharmony_ci	TEGRA_MUX_PE0,
11478c2ecf20Sopenharmony_ci	TEGRA_MUX_PE1,
11488c2ecf20Sopenharmony_ci	TEGRA_MUX_PMI,
11498c2ecf20Sopenharmony_ci	TEGRA_MUX_PWM0,
11508c2ecf20Sopenharmony_ci	TEGRA_MUX_PWM1,
11518c2ecf20Sopenharmony_ci	TEGRA_MUX_PWM2,
11528c2ecf20Sopenharmony_ci	TEGRA_MUX_PWM3,
11538c2ecf20Sopenharmony_ci	TEGRA_MUX_QSPI,
11548c2ecf20Sopenharmony_ci	TEGRA_MUX_RSVD0,
11558c2ecf20Sopenharmony_ci	TEGRA_MUX_RSVD1,
11568c2ecf20Sopenharmony_ci	TEGRA_MUX_RSVD2,
11578c2ecf20Sopenharmony_ci	TEGRA_MUX_RSVD3,
11588c2ecf20Sopenharmony_ci	TEGRA_MUX_SATA,
11598c2ecf20Sopenharmony_ci	TEGRA_MUX_SDMMC1,
11608c2ecf20Sopenharmony_ci	TEGRA_MUX_SDMMC3,
11618c2ecf20Sopenharmony_ci	TEGRA_MUX_SHUTDOWN,
11628c2ecf20Sopenharmony_ci	TEGRA_MUX_SOC,
11638c2ecf20Sopenharmony_ci	TEGRA_MUX_SOR0,
11648c2ecf20Sopenharmony_ci	TEGRA_MUX_SOR1,
11658c2ecf20Sopenharmony_ci	TEGRA_MUX_SPDIF,
11668c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI1,
11678c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI2,
11688c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI3,
11698c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI4,
11708c2ecf20Sopenharmony_ci	TEGRA_MUX_SYS,
11718c2ecf20Sopenharmony_ci	TEGRA_MUX_TOUCH,
11728c2ecf20Sopenharmony_ci	TEGRA_MUX_UART,
11738c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTA,
11748c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTB,
11758c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTC,
11768c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTD,
11778c2ecf20Sopenharmony_ci	TEGRA_MUX_USB,
11788c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP1,
11798c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP2,
11808c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP3,
11818c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP4,
11828c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP5,
11838c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP6,
11848c2ecf20Sopenharmony_ci	TEGRA_MUX_VIMCLK,
11858c2ecf20Sopenharmony_ci	TEGRA_MUX_VIMCLK2,
11868c2ecf20Sopenharmony_ci};
11878c2ecf20Sopenharmony_ci
11888c2ecf20Sopenharmony_ci#define FUNCTION(fname)					\
11898c2ecf20Sopenharmony_ci	{						\
11908c2ecf20Sopenharmony_ci		.name = #fname,				\
11918c2ecf20Sopenharmony_ci	}
11928c2ecf20Sopenharmony_ci
11938c2ecf20Sopenharmony_cistatic struct tegra_function tegra210_functions[] = {
11948c2ecf20Sopenharmony_ci	FUNCTION(aud),
11958c2ecf20Sopenharmony_ci	FUNCTION(bcl),
11968c2ecf20Sopenharmony_ci	FUNCTION(blink),
11978c2ecf20Sopenharmony_ci	FUNCTION(ccla),
11988c2ecf20Sopenharmony_ci	FUNCTION(cec),
11998c2ecf20Sopenharmony_ci	FUNCTION(cldvfs),
12008c2ecf20Sopenharmony_ci	FUNCTION(clk),
12018c2ecf20Sopenharmony_ci	FUNCTION(core),
12028c2ecf20Sopenharmony_ci	FUNCTION(cpu),
12038c2ecf20Sopenharmony_ci	FUNCTION(displaya),
12048c2ecf20Sopenharmony_ci	FUNCTION(displayb),
12058c2ecf20Sopenharmony_ci	FUNCTION(dmic1),
12068c2ecf20Sopenharmony_ci	FUNCTION(dmic2),
12078c2ecf20Sopenharmony_ci	FUNCTION(dmic3),
12088c2ecf20Sopenharmony_ci	FUNCTION(dp),
12098c2ecf20Sopenharmony_ci	FUNCTION(dtv),
12108c2ecf20Sopenharmony_ci	FUNCTION(extperiph3),
12118c2ecf20Sopenharmony_ci	FUNCTION(i2c1),
12128c2ecf20Sopenharmony_ci	FUNCTION(i2c2),
12138c2ecf20Sopenharmony_ci	FUNCTION(i2c3),
12148c2ecf20Sopenharmony_ci	FUNCTION(i2cpmu),
12158c2ecf20Sopenharmony_ci	FUNCTION(i2cvi),
12168c2ecf20Sopenharmony_ci	FUNCTION(i2s1),
12178c2ecf20Sopenharmony_ci	FUNCTION(i2s2),
12188c2ecf20Sopenharmony_ci	FUNCTION(i2s3),
12198c2ecf20Sopenharmony_ci	FUNCTION(i2s4a),
12208c2ecf20Sopenharmony_ci	FUNCTION(i2s4b),
12218c2ecf20Sopenharmony_ci	FUNCTION(i2s5a),
12228c2ecf20Sopenharmony_ci	FUNCTION(i2s5b),
12238c2ecf20Sopenharmony_ci	FUNCTION(iqc0),
12248c2ecf20Sopenharmony_ci	FUNCTION(iqc1),
12258c2ecf20Sopenharmony_ci	FUNCTION(jtag),
12268c2ecf20Sopenharmony_ci	FUNCTION(pe),
12278c2ecf20Sopenharmony_ci	FUNCTION(pe0),
12288c2ecf20Sopenharmony_ci	FUNCTION(pe1),
12298c2ecf20Sopenharmony_ci	FUNCTION(pmi),
12308c2ecf20Sopenharmony_ci	FUNCTION(pwm0),
12318c2ecf20Sopenharmony_ci	FUNCTION(pwm1),
12328c2ecf20Sopenharmony_ci	FUNCTION(pwm2),
12338c2ecf20Sopenharmony_ci	FUNCTION(pwm3),
12348c2ecf20Sopenharmony_ci	FUNCTION(qspi),
12358c2ecf20Sopenharmony_ci	FUNCTION(rsvd0),
12368c2ecf20Sopenharmony_ci	FUNCTION(rsvd1),
12378c2ecf20Sopenharmony_ci	FUNCTION(rsvd2),
12388c2ecf20Sopenharmony_ci	FUNCTION(rsvd3),
12398c2ecf20Sopenharmony_ci	FUNCTION(sata),
12408c2ecf20Sopenharmony_ci	FUNCTION(sdmmc1),
12418c2ecf20Sopenharmony_ci	FUNCTION(sdmmc3),
12428c2ecf20Sopenharmony_ci	FUNCTION(shutdown),
12438c2ecf20Sopenharmony_ci	FUNCTION(soc),
12448c2ecf20Sopenharmony_ci	FUNCTION(sor0),
12458c2ecf20Sopenharmony_ci	FUNCTION(sor1),
12468c2ecf20Sopenharmony_ci	FUNCTION(spdif),
12478c2ecf20Sopenharmony_ci	FUNCTION(spi1),
12488c2ecf20Sopenharmony_ci	FUNCTION(spi2),
12498c2ecf20Sopenharmony_ci	FUNCTION(spi3),
12508c2ecf20Sopenharmony_ci	FUNCTION(spi4),
12518c2ecf20Sopenharmony_ci	FUNCTION(sys),
12528c2ecf20Sopenharmony_ci	FUNCTION(touch),
12538c2ecf20Sopenharmony_ci	FUNCTION(uart),
12548c2ecf20Sopenharmony_ci	FUNCTION(uarta),
12558c2ecf20Sopenharmony_ci	FUNCTION(uartb),
12568c2ecf20Sopenharmony_ci	FUNCTION(uartc),
12578c2ecf20Sopenharmony_ci	FUNCTION(uartd),
12588c2ecf20Sopenharmony_ci	FUNCTION(usb),
12598c2ecf20Sopenharmony_ci	FUNCTION(vgp1),
12608c2ecf20Sopenharmony_ci	FUNCTION(vgp2),
12618c2ecf20Sopenharmony_ci	FUNCTION(vgp3),
12628c2ecf20Sopenharmony_ci	FUNCTION(vgp4),
12638c2ecf20Sopenharmony_ci	FUNCTION(vgp5),
12648c2ecf20Sopenharmony_ci	FUNCTION(vgp6),
12658c2ecf20Sopenharmony_ci	FUNCTION(vimclk),
12668c2ecf20Sopenharmony_ci	FUNCTION(vimclk2),
12678c2ecf20Sopenharmony_ci};
12688c2ecf20Sopenharmony_ci
12698c2ecf20Sopenharmony_ci#define DRV_PINGROUP_REG_A		0x8d4	/* bank 0 */
12708c2ecf20Sopenharmony_ci#define PINGROUP_REG_A			0x3000	/* bank 1 */
12718c2ecf20Sopenharmony_ci
12728c2ecf20Sopenharmony_ci#define DRV_PINGROUP_REG(r)		((r) - DRV_PINGROUP_REG_A)
12738c2ecf20Sopenharmony_ci#define PINGROUP_REG(r)			((r) - PINGROUP_REG_A)
12748c2ecf20Sopenharmony_ci
12758c2ecf20Sopenharmony_ci#define PINGROUP_BIT_Y(b)		(b)
12768c2ecf20Sopenharmony_ci#define PINGROUP_BIT_N(b)		(-1)
12778c2ecf20Sopenharmony_ci
12788c2ecf20Sopenharmony_ci#define PINGROUP(pg_name, f0, f1, f2, f3, r, hsm, drvtype, e_io_hv,	\
12798c2ecf20Sopenharmony_ci		 rdrv, drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b,	\
12808c2ecf20Sopenharmony_ci		 slwr_w, slwf_b, slwf_w)				\
12818c2ecf20Sopenharmony_ci	{								\
12828c2ecf20Sopenharmony_ci		.name = #pg_name,					\
12838c2ecf20Sopenharmony_ci		.pins = pg_name##_pins,					\
12848c2ecf20Sopenharmony_ci		.npins = ARRAY_SIZE(pg_name##_pins),			\
12858c2ecf20Sopenharmony_ci		.funcs = {						\
12868c2ecf20Sopenharmony_ci			TEGRA_MUX_##f0,					\
12878c2ecf20Sopenharmony_ci			TEGRA_MUX_##f1,					\
12888c2ecf20Sopenharmony_ci			TEGRA_MUX_##f2,					\
12898c2ecf20Sopenharmony_ci			TEGRA_MUX_##f3,					\
12908c2ecf20Sopenharmony_ci		},							\
12918c2ecf20Sopenharmony_ci		.mux_reg = PINGROUP_REG(r),				\
12928c2ecf20Sopenharmony_ci		.mux_bank = 1,						\
12938c2ecf20Sopenharmony_ci		.mux_bit = 0,						\
12948c2ecf20Sopenharmony_ci		.pupd_reg = PINGROUP_REG(r),				\
12958c2ecf20Sopenharmony_ci		.pupd_bank = 1,						\
12968c2ecf20Sopenharmony_ci		.pupd_bit = 2,						\
12978c2ecf20Sopenharmony_ci		.tri_reg = PINGROUP_REG(r),				\
12988c2ecf20Sopenharmony_ci		.tri_bank = 1,						\
12998c2ecf20Sopenharmony_ci		.tri_bit = 4,						\
13008c2ecf20Sopenharmony_ci		.einput_bit = 6,					\
13018c2ecf20Sopenharmony_ci		.odrain_bit = 11,					\
13028c2ecf20Sopenharmony_ci		.lock_bit = 7,						\
13038c2ecf20Sopenharmony_ci		.ioreset_bit = -1,					\
13048c2ecf20Sopenharmony_ci		.rcv_sel_bit = PINGROUP_BIT_##e_io_hv(10),		\
13058c2ecf20Sopenharmony_ci		.hsm_bit = PINGROUP_BIT_##hsm(9),			\
13068c2ecf20Sopenharmony_ci		.schmitt_bit = 12,					\
13078c2ecf20Sopenharmony_ci		.drvtype_bit = PINGROUP_BIT_##drvtype(13),		\
13088c2ecf20Sopenharmony_ci		.drv_reg = DRV_PINGROUP_REG(rdrv),			\
13098c2ecf20Sopenharmony_ci		.drv_bank = 0,						\
13108c2ecf20Sopenharmony_ci		.lpmd_bit = -1,						\
13118c2ecf20Sopenharmony_ci		.drvdn_bit = drvdn_b,					\
13128c2ecf20Sopenharmony_ci		.drvdn_width = drvdn_w,					\
13138c2ecf20Sopenharmony_ci		.drvup_bit = drvup_b,					\
13148c2ecf20Sopenharmony_ci		.drvup_width = drvup_w,					\
13158c2ecf20Sopenharmony_ci		.slwr_bit = slwr_b,					\
13168c2ecf20Sopenharmony_ci		.slwr_width = slwr_w,					\
13178c2ecf20Sopenharmony_ci		.slwf_bit = slwf_b,					\
13188c2ecf20Sopenharmony_ci		.slwf_width = slwf_w,					\
13198c2ecf20Sopenharmony_ci		.parked_bitmask = BIT(5),				\
13208c2ecf20Sopenharmony_ci	}
13218c2ecf20Sopenharmony_ci
13228c2ecf20Sopenharmony_ci#define DRV_PINGROUP(pg_name, r, prk_mask, drvdn_b, drvdn_w, drvup_b,	\
13238c2ecf20Sopenharmony_ci		     drvup_w, slwr_b, slwr_w, slwf_b, slwf_w)		\
13248c2ecf20Sopenharmony_ci	{								\
13258c2ecf20Sopenharmony_ci		.name = "drive_" #pg_name,				\
13268c2ecf20Sopenharmony_ci		.pins = drive_##pg_name##_pins,				\
13278c2ecf20Sopenharmony_ci		.npins = ARRAY_SIZE(drive_##pg_name##_pins),		\
13288c2ecf20Sopenharmony_ci		.mux_reg = -1,						\
13298c2ecf20Sopenharmony_ci		.pupd_reg = -1,						\
13308c2ecf20Sopenharmony_ci		.tri_reg = -1,						\
13318c2ecf20Sopenharmony_ci		.einput_bit = -1,					\
13328c2ecf20Sopenharmony_ci		.odrain_bit = -1,					\
13338c2ecf20Sopenharmony_ci		.lock_bit = -1,						\
13348c2ecf20Sopenharmony_ci		.ioreset_bit = -1,					\
13358c2ecf20Sopenharmony_ci		.rcv_sel_bit = -1,					\
13368c2ecf20Sopenharmony_ci		.drv_reg = DRV_PINGROUP_REG(r),				\
13378c2ecf20Sopenharmony_ci		.drv_bank = 0,						\
13388c2ecf20Sopenharmony_ci		.hsm_bit = -1,						\
13398c2ecf20Sopenharmony_ci		.schmitt_bit = -1,					\
13408c2ecf20Sopenharmony_ci		.lpmd_bit = -1,						\
13418c2ecf20Sopenharmony_ci		.drvdn_bit = drvdn_b,					\
13428c2ecf20Sopenharmony_ci		.drvdn_width = drvdn_w,					\
13438c2ecf20Sopenharmony_ci		.drvup_bit = drvup_b,					\
13448c2ecf20Sopenharmony_ci		.drvup_width = drvup_w,					\
13458c2ecf20Sopenharmony_ci		.slwr_bit = slwr_b,					\
13468c2ecf20Sopenharmony_ci		.slwr_width = slwr_w,					\
13478c2ecf20Sopenharmony_ci		.slwf_bit = slwf_b,					\
13488c2ecf20Sopenharmony_ci		.slwf_width = slwf_w,					\
13498c2ecf20Sopenharmony_ci		.drvtype_bit = -1,					\
13508c2ecf20Sopenharmony_ci		.parked_bitmask = prk_mask,				\
13518c2ecf20Sopenharmony_ci	}
13528c2ecf20Sopenharmony_ci
13538c2ecf20Sopenharmony_cistatic const struct tegra_pingroup tegra210_groups[] = {
13548c2ecf20Sopenharmony_ci	/*       pg_name,              f0,         f1,     f2,    f3,    r,      hsm, drvtype, e_io_hv, rdrv,  drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b, slwr_w, slwf_b, slwf_w */
13558c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_clk_pm0,       SDMMC1,     RSVD1,  RSVD2, RSVD3, 0x3000, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13568c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_cmd_pm1,       SDMMC1,     SPI3,   RSVD2, RSVD3, 0x3004, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13578c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_dat3_pm2,      SDMMC1,     SPI3,   RSVD2, RSVD3, 0x3008, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13588c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_dat2_pm3,      SDMMC1,     SPI3,   RSVD2, RSVD3, 0x300c, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13598c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_dat1_pm4,      SDMMC1,     SPI3,   RSVD2, RSVD3, 0x3010, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13608c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_dat0_pm5,      SDMMC1,     RSVD1,  RSVD2, RSVD3, 0x3014, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13618c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_clk_pp0,       SDMMC3,     RSVD1,  RSVD2, RSVD3, 0x301c, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13628c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_cmd_pp1,       SDMMC3,     RSVD1,  RSVD2, RSVD3, 0x3020, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13638c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat0_pp5,      SDMMC3,     RSVD1,  RSVD2, RSVD3, 0x3024, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13648c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat1_pp4,      SDMMC3,     RSVD1,  RSVD2, RSVD3, 0x3028, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13658c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat2_pp3,      SDMMC3,     RSVD1,  RSVD2, RSVD3, 0x302c, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13668c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat3_pp2,      SDMMC3,     RSVD1,  RSVD2, RSVD3, 0x3030, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13678c2ecf20Sopenharmony_ci	PINGROUP(pex_l0_rst_n_pa0,     PE0,        RSVD1,  RSVD2, RSVD3, 0x3038, N,   N,       Y,       0xa5c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
13688c2ecf20Sopenharmony_ci	PINGROUP(pex_l0_clkreq_n_pa1,  PE0,        RSVD1,  RSVD2, RSVD3, 0x303c, N,   N,       Y,       0xa58, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
13698c2ecf20Sopenharmony_ci	PINGROUP(pex_wake_n_pa2,       PE,         RSVD1,  RSVD2, RSVD3, 0x3040, N,   N,       Y,       0xa68, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
13708c2ecf20Sopenharmony_ci	PINGROUP(pex_l1_rst_n_pa3,     PE1,        RSVD1,  RSVD2, RSVD3, 0x3044, N,   N,       Y,       0xa64, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
13718c2ecf20Sopenharmony_ci	PINGROUP(pex_l1_clkreq_n_pa4,  PE1,        RSVD1,  RSVD2, RSVD3, 0x3048, N,   N,       Y,       0xa60, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
13728c2ecf20Sopenharmony_ci	PINGROUP(sata_led_active_pa5,  SATA,       RSVD1,  RSVD2, RSVD3, 0x304c, N,   N,       N,       0xa94, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
13738c2ecf20Sopenharmony_ci	PINGROUP(spi1_mosi_pc0,        SPI1,       RSVD1,  RSVD2, RSVD3, 0x3050, Y,   Y,       N,       0xae0, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13748c2ecf20Sopenharmony_ci	PINGROUP(spi1_miso_pc1,        SPI1,       RSVD1,  RSVD2, RSVD3, 0x3054, Y,   Y,       N,       0xadc, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13758c2ecf20Sopenharmony_ci	PINGROUP(spi1_sck_pc2,         SPI1,       RSVD1,  RSVD2, RSVD3, 0x3058, Y,   Y,       N,       0xae4, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13768c2ecf20Sopenharmony_ci	PINGROUP(spi1_cs0_pc3,         SPI1,       RSVD1,  RSVD2, RSVD3, 0x305c, Y,   Y,       N,       0xad4, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13778c2ecf20Sopenharmony_ci	PINGROUP(spi1_cs1_pc4,         SPI1,       RSVD1,  RSVD2, RSVD3, 0x3060, Y,   Y,       N,       0xad8, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13788c2ecf20Sopenharmony_ci	PINGROUP(spi2_mosi_pb4,        SPI2,       DTV,    RSVD2, RSVD3, 0x3064, Y,   Y,       N,       0xaf4, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13798c2ecf20Sopenharmony_ci	PINGROUP(spi2_miso_pb5,        SPI2,       DTV,    RSVD2, RSVD3, 0x3068, Y,   Y,       N,       0xaf0, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13808c2ecf20Sopenharmony_ci	PINGROUP(spi2_sck_pb6,         SPI2,       DTV,    RSVD2, RSVD3, 0x306c, Y,   Y,       N,       0xaf8, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13818c2ecf20Sopenharmony_ci	PINGROUP(spi2_cs0_pb7,         SPI2,       DTV,    RSVD2, RSVD3, 0x3070, Y,   Y,       N,       0xae8, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13828c2ecf20Sopenharmony_ci	PINGROUP(spi2_cs1_pdd0,        SPI2,       RSVD1,  RSVD2, RSVD3, 0x3074, Y,   Y,       N,       0xaec, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13838c2ecf20Sopenharmony_ci	PINGROUP(spi4_mosi_pc7,        SPI4,       RSVD1,  RSVD2, RSVD3, 0x3078, Y,   Y,       N,       0xb04, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13848c2ecf20Sopenharmony_ci	PINGROUP(spi4_miso_pd0,        SPI4,       RSVD1,  RSVD2, RSVD3, 0x307c, Y,   Y,       N,       0xb00, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13858c2ecf20Sopenharmony_ci	PINGROUP(spi4_sck_pc5,         SPI4,       RSVD1,  RSVD2, RSVD3, 0x3080, Y,   Y,       N,       0xb08, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13868c2ecf20Sopenharmony_ci	PINGROUP(spi4_cs0_pc6,         SPI4,       RSVD1,  RSVD2, RSVD3, 0x3084, Y,   Y,       N,       0xafc, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13878c2ecf20Sopenharmony_ci	PINGROUP(qspi_sck_pee0,        QSPI,       RSVD1,  RSVD2, RSVD3, 0x3088, Y,   Y,       N,       0xa90, -1,      -1,      -1,      -1,      28,     2,      30,     2),
13888c2ecf20Sopenharmony_ci	PINGROUP(qspi_cs_n_pee1,       QSPI,       RSVD1,  RSVD2, RSVD3, 0x308c, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13898c2ecf20Sopenharmony_ci	PINGROUP(qspi_io0_pee2,        QSPI,       RSVD1,  RSVD2, RSVD3, 0x3090, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13908c2ecf20Sopenharmony_ci	PINGROUP(qspi_io1_pee3,        QSPI,       RSVD1,  RSVD2, RSVD3, 0x3094, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13918c2ecf20Sopenharmony_ci	PINGROUP(qspi_io2_pee4,        QSPI,       RSVD1,  RSVD2, RSVD3, 0x3098, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13928c2ecf20Sopenharmony_ci	PINGROUP(qspi_io3_pee5,        QSPI,       RSVD1,  RSVD2, RSVD3, 0x309c, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
13938c2ecf20Sopenharmony_ci	PINGROUP(dmic1_clk_pe0,        DMIC1,      I2S3,   RSVD2, RSVD3, 0x30a4, N,   N,       N,       0x984, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
13948c2ecf20Sopenharmony_ci	PINGROUP(dmic1_dat_pe1,        DMIC1,      I2S3,   RSVD2, RSVD3, 0x30a8, N,   N,       N,       0x988, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
13958c2ecf20Sopenharmony_ci	PINGROUP(dmic2_clk_pe2,        DMIC2,      I2S3,   RSVD2, RSVD3, 0x30ac, N,   N,       N,       0x98c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
13968c2ecf20Sopenharmony_ci	PINGROUP(dmic2_dat_pe3,        DMIC2,      I2S3,   RSVD2, RSVD3, 0x30b0, N,   N,       N,       0x990, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
13978c2ecf20Sopenharmony_ci	PINGROUP(dmic3_clk_pe4,        DMIC3,      I2S5A,  RSVD2, RSVD3, 0x30b4, N,   N,       N,       0x994, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
13988c2ecf20Sopenharmony_ci	PINGROUP(dmic3_dat_pe5,        DMIC3,      I2S5A,  RSVD2, RSVD3, 0x30b8, N,   N,       N,       0x998, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
13998c2ecf20Sopenharmony_ci	PINGROUP(gen1_i2c_scl_pj1,     I2C1,       RSVD1,  RSVD2, RSVD3, 0x30bc, N,   N,       Y,       0x9a8, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14008c2ecf20Sopenharmony_ci	PINGROUP(gen1_i2c_sda_pj0,     I2C1,       RSVD1,  RSVD2, RSVD3, 0x30c0, N,   N,       Y,       0x9ac, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14018c2ecf20Sopenharmony_ci	PINGROUP(gen2_i2c_scl_pj2,     I2C2,       RSVD1,  RSVD2, RSVD3, 0x30c4, N,   N,       Y,       0x9b0, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14028c2ecf20Sopenharmony_ci	PINGROUP(gen2_i2c_sda_pj3,     I2C2,       RSVD1,  RSVD2, RSVD3, 0x30c8, N,   N,       Y,       0x9b4, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14038c2ecf20Sopenharmony_ci	PINGROUP(gen3_i2c_scl_pf0,     I2C3,       RSVD1,  RSVD2, RSVD3, 0x30cc, N,   N,       Y,       0x9b8, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14048c2ecf20Sopenharmony_ci	PINGROUP(gen3_i2c_sda_pf1,     I2C3,       RSVD1,  RSVD2, RSVD3, 0x30d0, N,   N,       Y,       0x9bc, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14058c2ecf20Sopenharmony_ci	PINGROUP(cam_i2c_scl_ps2,      I2C3,       I2CVI,  RSVD2, RSVD3, 0x30d4, N,   N,       Y,       0x934, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14068c2ecf20Sopenharmony_ci	PINGROUP(cam_i2c_sda_ps3,      I2C3,       I2CVI,  RSVD2, RSVD3, 0x30d8, N,   N,       Y,       0x938, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14078c2ecf20Sopenharmony_ci	PINGROUP(pwr_i2c_scl_py3,      I2CPMU,     RSVD1,  RSVD2, RSVD3, 0x30dc, N,   N,       Y,       0xa6c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14088c2ecf20Sopenharmony_ci	PINGROUP(pwr_i2c_sda_py4,      I2CPMU,     RSVD1,  RSVD2, RSVD3, 0x30e0, N,   N,       Y,       0xa70, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14098c2ecf20Sopenharmony_ci	PINGROUP(uart1_tx_pu0,         UARTA,      RSVD1,  RSVD2, RSVD3, 0x30e4, N,   N,       N,       0xb28, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14108c2ecf20Sopenharmony_ci	PINGROUP(uart1_rx_pu1,         UARTA,      RSVD1,  RSVD2, RSVD3, 0x30e8, N,   N,       N,       0xb24, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14118c2ecf20Sopenharmony_ci	PINGROUP(uart1_rts_pu2,        UARTA,      RSVD1,  RSVD2, RSVD3, 0x30ec, N,   N,       N,       0xb20, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14128c2ecf20Sopenharmony_ci	PINGROUP(uart1_cts_pu3,        UARTA,      RSVD1,  RSVD2, RSVD3, 0x30f0, N,   N,       N,       0xb1c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14138c2ecf20Sopenharmony_ci	PINGROUP(uart2_tx_pg0,         UARTB,      I2S4A,  SPDIF, UART,  0x30f4, N,   N,       N,       0xb38, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14148c2ecf20Sopenharmony_ci	PINGROUP(uart2_rx_pg1,         UARTB,      I2S4A,  SPDIF, UART,  0x30f8, N,   N,       N,       0xb34, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14158c2ecf20Sopenharmony_ci	PINGROUP(uart2_rts_pg2,        UARTB,      I2S4A,  RSVD2, UART,  0x30fc, N,   N,       N,       0xb30, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14168c2ecf20Sopenharmony_ci	PINGROUP(uart2_cts_pg3,        UARTB,      I2S4A,  RSVD2, UART,  0x3100, N,   N,       N,       0xb2c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14178c2ecf20Sopenharmony_ci	PINGROUP(uart3_tx_pd1,         UARTC,      SPI4,   RSVD2, RSVD3, 0x3104, N,   N,       N,       0xb48, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14188c2ecf20Sopenharmony_ci	PINGROUP(uart3_rx_pd2,         UARTC,      SPI4,   RSVD2, RSVD3, 0x3108, N,   N,       N,       0xb44, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14198c2ecf20Sopenharmony_ci	PINGROUP(uart3_rts_pd3,        UARTC,      SPI4,   RSVD2, RSVD3, 0x310c, N,   N,       N,       0xb40, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14208c2ecf20Sopenharmony_ci	PINGROUP(uart3_cts_pd4,        UARTC,      SPI4,   RSVD2, RSVD3, 0x3110, N,   N,       N,       0xb3c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14218c2ecf20Sopenharmony_ci	PINGROUP(uart4_tx_pi4,         UARTD,      UART,   RSVD2, RSVD3, 0x3114, N,   N,       N,       0xb58, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14228c2ecf20Sopenharmony_ci	PINGROUP(uart4_rx_pi5,         UARTD,      UART,   RSVD2, RSVD3, 0x3118, N,   N,       N,       0xb54, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14238c2ecf20Sopenharmony_ci	PINGROUP(uart4_rts_pi6,        UARTD,      UART,   RSVD2, RSVD3, 0x311c, N,   N,       N,       0xb50, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14248c2ecf20Sopenharmony_ci	PINGROUP(uart4_cts_pi7,        UARTD,      UART,   RSVD2, RSVD3, 0x3120, N,   N,       N,       0xb4c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14258c2ecf20Sopenharmony_ci	PINGROUP(dap1_fs_pb0,          I2S1,       RSVD1,  RSVD2, RSVD3, 0x3124, Y,   Y,       N,       0x95c, -1,      -1,      -1,      -1,      28,     2,      30,     2),
14268c2ecf20Sopenharmony_ci	PINGROUP(dap1_din_pb1,         I2S1,       RSVD1,  RSVD2, RSVD3, 0x3128, Y,   Y,       N,       0x954, -1,      -1,      -1,      -1,      28,     2,      30,     2),
14278c2ecf20Sopenharmony_ci	PINGROUP(dap1_dout_pb2,        I2S1,       RSVD1,  RSVD2, RSVD3, 0x312c, Y,   Y,       N,       0x958, -1,      -1,      -1,      -1,      28,     2,      30,     2),
14288c2ecf20Sopenharmony_ci	PINGROUP(dap1_sclk_pb3,        I2S1,       RSVD1,  RSVD2, RSVD3, 0x3130, Y,   Y,       N,       0x960, -1,      -1,      -1,      -1,      28,     2,      30,     2),
14298c2ecf20Sopenharmony_ci	PINGROUP(dap2_fs_paa0,         I2S2,       RSVD1,  RSVD2, RSVD3, 0x3134, Y,   Y,       N,       0x96c, -1,      -1,      -1,      -1,      28,     2,      30,     2),
14308c2ecf20Sopenharmony_ci	PINGROUP(dap2_din_paa2,        I2S2,       RSVD1,  RSVD2, RSVD3, 0x3138, Y,   Y,       N,       0x964, -1,      -1,      -1,      -1,      28,     2,      30,     2),
14318c2ecf20Sopenharmony_ci	PINGROUP(dap2_dout_paa3,       I2S2,       RSVD1,  RSVD2, RSVD3, 0x313c, Y,   Y,       N,       0x968, -1,      -1,      -1,      -1,      28,     2,      30,     2),
14328c2ecf20Sopenharmony_ci	PINGROUP(dap2_sclk_paa1,       I2S2,       RSVD1,  RSVD2, RSVD3, 0x3140, Y,   Y,       N,       0x970, -1,      -1,      -1,      -1,      28,     2,      30,     2),
14338c2ecf20Sopenharmony_ci	PINGROUP(dap4_fs_pj4,          I2S4B,      RSVD1,  RSVD2, RSVD3, 0x3144, N,   N,       N,       0x97c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14348c2ecf20Sopenharmony_ci	PINGROUP(dap4_din_pj5,         I2S4B,      RSVD1,  RSVD2, RSVD3, 0x3148, N,   N,       N,       0x974, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14358c2ecf20Sopenharmony_ci	PINGROUP(dap4_dout_pj6,        I2S4B,      RSVD1,  RSVD2, RSVD3, 0x314c, N,   N,       N,       0x978, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14368c2ecf20Sopenharmony_ci	PINGROUP(dap4_sclk_pj7,        I2S4B,      RSVD1,  RSVD2, RSVD3, 0x3150, N,   N,       N,       0x980, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14378c2ecf20Sopenharmony_ci	PINGROUP(cam1_mclk_ps0,        EXTPERIPH3, RSVD1,  RSVD2, RSVD3, 0x3154, N,   N,       N,       0x918, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14388c2ecf20Sopenharmony_ci	PINGROUP(cam2_mclk_ps1,        EXTPERIPH3, RSVD1,  RSVD2, RSVD3, 0x3158, N,   N,       N,       0x924, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14398c2ecf20Sopenharmony_ci	PINGROUP(jtag_rtck,            JTAG,       RSVD1,  RSVD2, RSVD3, 0x315c, N,   N,       N,       0xa2c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14408c2ecf20Sopenharmony_ci	PINGROUP(clk_32k_in,           CLK,        RSVD1,  RSVD2, RSVD3, 0x3160, N,   N,       N,       0x940, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14418c2ecf20Sopenharmony_ci	PINGROUP(clk_32k_out_py5,      SOC,        BLINK,  RSVD2, RSVD3, 0x3164, N,   N,       N,       0x944, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14428c2ecf20Sopenharmony_ci	PINGROUP(batt_bcl,             BCL,        RSVD1,  RSVD2, RSVD3, 0x3168, N,   N,       Y,       0x8f8, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14438c2ecf20Sopenharmony_ci	PINGROUP(clk_req,              SYS,        RSVD1,  RSVD2, RSVD3, 0x316c, N,   N,       N,       0x948, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14448c2ecf20Sopenharmony_ci	PINGROUP(cpu_pwr_req,          CPU,        RSVD1,  RSVD2, RSVD3, 0x3170, N,   N,       N,       0x950, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14458c2ecf20Sopenharmony_ci	PINGROUP(pwr_int_n,            PMI,        RSVD1,  RSVD2, RSVD3, 0x3174, N,   N,       N,       0xa74, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14468c2ecf20Sopenharmony_ci	PINGROUP(shutdown,             SHUTDOWN,   RSVD1,  RSVD2, RSVD3, 0x3178, N,   N,       N,       0xac8, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14478c2ecf20Sopenharmony_ci	PINGROUP(core_pwr_req,         CORE,       RSVD1,  RSVD2, RSVD3, 0x317c, N,   N,       N,       0x94c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14488c2ecf20Sopenharmony_ci	PINGROUP(aud_mclk_pbb0,        AUD,        RSVD1,  RSVD2, RSVD3, 0x3180, N,   N,       N,       0x8f4, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14498c2ecf20Sopenharmony_ci	PINGROUP(dvfs_pwm_pbb1,        RSVD0,      CLDVFS, SPI3,  RSVD3, 0x3184, N,   N,       N,       0x9a4, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14508c2ecf20Sopenharmony_ci	PINGROUP(dvfs_clk_pbb2,        RSVD0,      CLDVFS, SPI3,  RSVD3, 0x3188, N,   N,       N,       0x9a0, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14518c2ecf20Sopenharmony_ci	PINGROUP(gpio_x1_aud_pbb3,     RSVD0,      RSVD1,  SPI3,  RSVD3, 0x318c, N,   N,       N,       0xa14, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14528c2ecf20Sopenharmony_ci	PINGROUP(gpio_x3_aud_pbb4,     RSVD0,      RSVD1,  SPI3,  RSVD3, 0x3190, N,   N,       N,       0xa18, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14538c2ecf20Sopenharmony_ci	PINGROUP(pcc7,                 RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3194, N,   N,       Y,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
14548c2ecf20Sopenharmony_ci	PINGROUP(hdmi_cec_pcc0,        CEC,        RSVD1,  RSVD2, RSVD3, 0x3198, N,   N,       Y,       0xa24, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14558c2ecf20Sopenharmony_ci	PINGROUP(hdmi_int_dp_hpd_pcc1, DP,         RSVD1,  RSVD2, RSVD3, 0x319c, N,   N,       Y,       0xa28, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14568c2ecf20Sopenharmony_ci	PINGROUP(spdif_out_pcc2,       SPDIF,      RSVD1,  RSVD2, RSVD3, 0x31a0, N,   N,       N,       0xad0, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14578c2ecf20Sopenharmony_ci	PINGROUP(spdif_in_pcc3,        SPDIF,      RSVD1,  RSVD2, RSVD3, 0x31a4, N,   N,       N,       0xacc, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14588c2ecf20Sopenharmony_ci	PINGROUP(usb_vbus_en0_pcc4,    USB,        RSVD1,  RSVD2, RSVD3, 0x31a8, N,   N,       Y,       0xb5c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14598c2ecf20Sopenharmony_ci	PINGROUP(usb_vbus_en1_pcc5,    USB,        RSVD1,  RSVD2, RSVD3, 0x31ac, N,   N,       Y,       0xb60, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14608c2ecf20Sopenharmony_ci	PINGROUP(dp_hpd0_pcc6,         DP,         RSVD1,  RSVD2, RSVD3, 0x31b0, N,   N,       N,       0x99c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14618c2ecf20Sopenharmony_ci	PINGROUP(wifi_en_ph0,          RSVD0,      RSVD1,  RSVD2, RSVD3, 0x31b4, N,   N,       N,       0xb64, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14628c2ecf20Sopenharmony_ci	PINGROUP(wifi_rst_ph1,         RSVD0,      RSVD1,  RSVD2, RSVD3, 0x31b8, N,   N,       N,       0xb68, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14638c2ecf20Sopenharmony_ci	PINGROUP(wifi_wake_ap_ph2,     RSVD0,      RSVD1,  RSVD2, RSVD3, 0x31bc, N,   N,       N,       0xb6c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14648c2ecf20Sopenharmony_ci	PINGROUP(ap_wake_bt_ph3,       RSVD0,      UARTB,  SPDIF, RSVD3, 0x31c0, N,   N,       N,       0x8ec, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14658c2ecf20Sopenharmony_ci	PINGROUP(bt_rst_ph4,           RSVD0,      UARTB,  SPDIF, RSVD3, 0x31c4, N,   N,       N,       0x8fc, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14668c2ecf20Sopenharmony_ci	PINGROUP(bt_wake_ap_ph5,       RSVD0,      RSVD1,  RSVD2, RSVD3, 0x31c8, N,   N,       N,       0x900, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14678c2ecf20Sopenharmony_ci	PINGROUP(ap_wake_nfc_ph7,      RSVD0,      RSVD1,  RSVD2, RSVD3, 0x31cc, N,   N,       N,       0x8f0, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14688c2ecf20Sopenharmony_ci	PINGROUP(nfc_en_pi0,           RSVD0,      RSVD1,  RSVD2, RSVD3, 0x31d0, N,   N,       N,       0xa50, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14698c2ecf20Sopenharmony_ci	PINGROUP(nfc_int_pi1,          RSVD0,      RSVD1,  RSVD2, RSVD3, 0x31d4, N,   N,       N,       0xa54, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14708c2ecf20Sopenharmony_ci	PINGROUP(gps_en_pi2,           RSVD0,      RSVD1,  RSVD2, RSVD3, 0x31d8, N,   N,       N,       0xa1c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14718c2ecf20Sopenharmony_ci	PINGROUP(gps_rst_pi3,          RSVD0,      RSVD1,  RSVD2, RSVD3, 0x31dc, N,   N,       N,       0xa20, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14728c2ecf20Sopenharmony_ci	PINGROUP(cam_rst_ps4,          VGP1,       RSVD1,  RSVD2, RSVD3, 0x31e0, N,   N,       N,       0x93c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14738c2ecf20Sopenharmony_ci	PINGROUP(cam_af_en_ps5,        VIMCLK,     VGP2,   RSVD2, RSVD3, 0x31e4, N,   N,       N,       0x92c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14748c2ecf20Sopenharmony_ci	PINGROUP(cam_flash_en_ps6,     VIMCLK,     VGP3,   RSVD2, RSVD3, 0x31e8, N,   N,       N,       0x930, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14758c2ecf20Sopenharmony_ci	PINGROUP(cam1_pwdn_ps7,        VGP4,       RSVD1,  RSVD2, RSVD3, 0x31ec, N,   N,       N,       0x91c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14768c2ecf20Sopenharmony_ci	PINGROUP(cam2_pwdn_pt0,        VGP5,       RSVD1,  RSVD2, RSVD3, 0x31f0, N,   N,       N,       0x928, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14778c2ecf20Sopenharmony_ci	PINGROUP(cam1_strobe_pt1,      VGP6,       RSVD1,  RSVD2, RSVD3, 0x31f4, N,   N,       N,       0x920, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14788c2ecf20Sopenharmony_ci	PINGROUP(lcd_te_py2,           DISPLAYA,   RSVD1,  RSVD2, RSVD3, 0x31f8, N,   N,       N,       0xa44, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14798c2ecf20Sopenharmony_ci	PINGROUP(lcd_bl_pwm_pv0,       DISPLAYA,   PWM0,   SOR0,  RSVD3, 0x31fc, N,   N,       N,       0xa34, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14808c2ecf20Sopenharmony_ci	PINGROUP(lcd_bl_en_pv1,        RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3200, N,   N,       N,       0xa30, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14818c2ecf20Sopenharmony_ci	PINGROUP(lcd_rst_pv2,          RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3204, N,   N,       N,       0xa40, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14828c2ecf20Sopenharmony_ci	PINGROUP(lcd_gpio1_pv3,        DISPLAYB,   RSVD1,  RSVD2, RSVD3, 0x3208, N,   N,       N,       0xa38, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14838c2ecf20Sopenharmony_ci	PINGROUP(lcd_gpio2_pv4,        DISPLAYB,   PWM1,   RSVD2, SOR1,  0x320c, N,   N,       N,       0xa3c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14848c2ecf20Sopenharmony_ci	PINGROUP(ap_ready_pv5,         RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3210, N,   N,       N,       0x8e8, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14858c2ecf20Sopenharmony_ci	PINGROUP(touch_rst_pv6,        RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3214, N,   N,       N,       0xb18, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14868c2ecf20Sopenharmony_ci	PINGROUP(touch_clk_pv7,        TOUCH,      RSVD1,  RSVD2, RSVD3, 0x3218, N,   N,       N,       0xb10, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14878c2ecf20Sopenharmony_ci	PINGROUP(modem_wake_ap_px0,    RSVD0,      RSVD1,  RSVD2, RSVD3, 0x321c, N,   N,       N,       0xa48, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14888c2ecf20Sopenharmony_ci	PINGROUP(touch_int_px1,        RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3220, N,   N,       N,       0xb14, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14898c2ecf20Sopenharmony_ci	PINGROUP(motion_int_px2,       RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3224, N,   N,       N,       0xa4c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14908c2ecf20Sopenharmony_ci	PINGROUP(als_prox_int_px3,     RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3228, N,   N,       N,       0x8e4, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14918c2ecf20Sopenharmony_ci	PINGROUP(temp_alert_px4,       RSVD0,      RSVD1,  RSVD2, RSVD3, 0x322c, N,   N,       N,       0xb0c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14928c2ecf20Sopenharmony_ci	PINGROUP(button_power_on_px5,  RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3230, N,   N,       N,       0x908, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14938c2ecf20Sopenharmony_ci	PINGROUP(button_vol_up_px6,    RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3234, N,   N,       N,       0x914, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14948c2ecf20Sopenharmony_ci	PINGROUP(button_vol_down_px7,  RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3238, N,   N,       N,       0x910, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14958c2ecf20Sopenharmony_ci	PINGROUP(button_slide_sw_py0,  RSVD0,      RSVD1,  RSVD2, RSVD3, 0x323c, N,   N,       N,       0x90c, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14968c2ecf20Sopenharmony_ci	PINGROUP(button_home_py1,      RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3240, N,   N,       N,       0x904, 12,      5,       20,      5,       -1,     -1,     -1,     -1),
14978c2ecf20Sopenharmony_ci	PINGROUP(pa6,                  SATA,       RSVD1,  RSVD2, RSVD3, 0x3244, N,   N,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
14988c2ecf20Sopenharmony_ci	PINGROUP(pe6,                  RSVD0,      I2S5A,  PWM2,  RSVD3, 0x3248, N,   N,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
14998c2ecf20Sopenharmony_ci	PINGROUP(pe7,                  RSVD0,      I2S5A,  PWM3,  RSVD3, 0x324c, N,   N,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15008c2ecf20Sopenharmony_ci	PINGROUP(ph6,                  RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3250, N,   N,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15018c2ecf20Sopenharmony_ci	PINGROUP(pk0,                  IQC0,       I2S5B,  RSVD2, RSVD3, 0x3254, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15028c2ecf20Sopenharmony_ci	PINGROUP(pk1,                  IQC0,       I2S5B,  RSVD2, RSVD3, 0x3258, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15038c2ecf20Sopenharmony_ci	PINGROUP(pk2,                  IQC0,       I2S5B,  RSVD2, RSVD3, 0x325c, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15048c2ecf20Sopenharmony_ci	PINGROUP(pk3,                  IQC0,       I2S5B,  RSVD2, RSVD3, 0x3260, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15058c2ecf20Sopenharmony_ci	PINGROUP(pk4,                  IQC1,       RSVD1,  RSVD2, RSVD3, 0x3264, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15068c2ecf20Sopenharmony_ci	PINGROUP(pk5,                  IQC1,       RSVD1,  RSVD2, RSVD3, 0x3268, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15078c2ecf20Sopenharmony_ci	PINGROUP(pk6,                  IQC1,       RSVD1,  RSVD2, RSVD3, 0x326c, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15088c2ecf20Sopenharmony_ci	PINGROUP(pk7,                  IQC1,       RSVD1,  RSVD2, RSVD3, 0x3270, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15098c2ecf20Sopenharmony_ci	PINGROUP(pl0,                  RSVD0,      RSVD1,  RSVD2, RSVD3, 0x3274, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15108c2ecf20Sopenharmony_ci	PINGROUP(pl1,                  SOC,        RSVD1,  RSVD2, RSVD3, 0x3278, Y,   Y,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15118c2ecf20Sopenharmony_ci	PINGROUP(pz0,                  VIMCLK2,    RSVD1,  RSVD2, RSVD3, 0x327c, N,   N,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15128c2ecf20Sopenharmony_ci	PINGROUP(pz1,                  VIMCLK2,    SDMMC1, RSVD2, RSVD3, 0x3280, N,   N,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15138c2ecf20Sopenharmony_ci	PINGROUP(pz2,                  SDMMC3,     CCLA,   RSVD2, RSVD3, 0x3284, N,   N,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15148c2ecf20Sopenharmony_ci	PINGROUP(pz3,                  SDMMC3,     RSVD1,  RSVD2, RSVD3, 0x3288, N,   N,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15158c2ecf20Sopenharmony_ci	PINGROUP(pz4,                  SDMMC1,     RSVD1,  RSVD2, RSVD3, 0x328c, N,   N,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15168c2ecf20Sopenharmony_ci	PINGROUP(pz5,                  SOC,        RSVD1,  RSVD2, RSVD3, 0x3290, N,   N,       N,       -1,    -1,      -1,      -1,      -1,      -1,     -1,     -1,     -1),
15178c2ecf20Sopenharmony_ci
15188c2ecf20Sopenharmony_ci	/* pg_name, r, prk_mask, drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b, slwr_w, slwf_b, slwf_w */
15198c2ecf20Sopenharmony_ci	DRV_PINGROUP(pa6,    0x9c0, 0x0,       12, 5,  20, 5,  -1, -1, -1, -1),
15208c2ecf20Sopenharmony_ci	DRV_PINGROUP(pcc7,   0x9c4, 0x0,       12, 5,  20, 5,  -1, -1, -1, -1),
15218c2ecf20Sopenharmony_ci	DRV_PINGROUP(pe6,    0x9c8, 0x0,       12, 5,  20, 5,  -1, -1, -1, -1),
15228c2ecf20Sopenharmony_ci	DRV_PINGROUP(pe7,    0x9cc, 0x0,       12, 5,  20, 5,  -1, -1, -1, -1),
15238c2ecf20Sopenharmony_ci	DRV_PINGROUP(ph6,    0x9d0, 0x0,       12, 5,  20, 5,  -1, -1, -1, -1),
15248c2ecf20Sopenharmony_ci	DRV_PINGROUP(pk0,    0x9d4, 0x0,       -1, -1, -1, -1, 28, 2,  30, 2),
15258c2ecf20Sopenharmony_ci	DRV_PINGROUP(pk1,    0x9d8, 0x0,       -1, -1, -1, -1, 28, 2,  30, 2),
15268c2ecf20Sopenharmony_ci	DRV_PINGROUP(pk2,    0x9dc, 0x0,       -1, -1, -1, -1, 28, 2,  30, 2),
15278c2ecf20Sopenharmony_ci	DRV_PINGROUP(pk3,    0x9e0, 0x0,       -1, -1, -1, -1, 28, 2,  30, 2),
15288c2ecf20Sopenharmony_ci	DRV_PINGROUP(pk4,    0x9e4, 0x0,       -1, -1, -1, -1, 28, 2,  30, 2),
15298c2ecf20Sopenharmony_ci	DRV_PINGROUP(pk5,    0x9e8, 0x0,       -1, -1, -1, -1, 28, 2,  30, 2),
15308c2ecf20Sopenharmony_ci	DRV_PINGROUP(pk6,    0x9ec, 0x0,       -1, -1, -1, -1, 28, 2,  30, 2),
15318c2ecf20Sopenharmony_ci	DRV_PINGROUP(pk7,    0x9f0, 0x0,       -1, -1, -1, -1, 28, 2,  30, 2),
15328c2ecf20Sopenharmony_ci	DRV_PINGROUP(pl0,    0x9f4, 0x0,       -1, -1, -1, -1, 28, 2,  30, 2),
15338c2ecf20Sopenharmony_ci	DRV_PINGROUP(pl1,    0x9f8, 0x0,       -1, -1, -1, -1, 28, 2,  30, 2),
15348c2ecf20Sopenharmony_ci	DRV_PINGROUP(pz0,    0x9fc, 0x0,       12, 7,  20, 7,  -1, -1, -1, -1),
15358c2ecf20Sopenharmony_ci	DRV_PINGROUP(pz1,    0xa00, 0x0,       12, 7,  20, 7,  -1, -1, -1, -1),
15368c2ecf20Sopenharmony_ci	DRV_PINGROUP(pz2,    0xa04, 0x0,       12, 7,  20, 7,  -1, -1, -1, -1),
15378c2ecf20Sopenharmony_ci	DRV_PINGROUP(pz3,    0xa08, 0x0,       12, 7,  20, 7,  -1, -1, -1, -1),
15388c2ecf20Sopenharmony_ci	DRV_PINGROUP(pz4,    0xa0c, 0x0,       12, 7,  20, 7,  -1, -1, -1, -1),
15398c2ecf20Sopenharmony_ci	DRV_PINGROUP(pz5,    0xa10, 0x0,       12, 7,  20, 7,  -1, -1, -1, -1),
15408c2ecf20Sopenharmony_ci	DRV_PINGROUP(sdmmc1, 0xa98, 0x0,       12, 7,  20, 7,  28, 2,  30, 2),
15418c2ecf20Sopenharmony_ci	DRV_PINGROUP(sdmmc2, 0xa9c, 0x7ffc000, 2,  6,  8,  6,  28, 2,  30, 2),
15428c2ecf20Sopenharmony_ci	DRV_PINGROUP(sdmmc3, 0xab0, 0x0,       12, 7,  20, 7,  28, 2,  30, 2),
15438c2ecf20Sopenharmony_ci	DRV_PINGROUP(sdmmc4, 0xab4, 0x7ffc000, 2,  6,  8,  6,  28, 2,  30, 2),
15448c2ecf20Sopenharmony_ci};
15458c2ecf20Sopenharmony_ci
15468c2ecf20Sopenharmony_cistatic const struct tegra_pinctrl_soc_data tegra210_pinctrl = {
15478c2ecf20Sopenharmony_ci	.ngpios = NUM_GPIOS,
15488c2ecf20Sopenharmony_ci	.gpio_compatible = "nvidia,tegra210-gpio",
15498c2ecf20Sopenharmony_ci	.pins = tegra210_pins,
15508c2ecf20Sopenharmony_ci	.npins = ARRAY_SIZE(tegra210_pins),
15518c2ecf20Sopenharmony_ci	.functions = tegra210_functions,
15528c2ecf20Sopenharmony_ci	.nfunctions = ARRAY_SIZE(tegra210_functions),
15538c2ecf20Sopenharmony_ci	.groups = tegra210_groups,
15548c2ecf20Sopenharmony_ci	.ngroups = ARRAY_SIZE(tegra210_groups),
15558c2ecf20Sopenharmony_ci	.hsm_in_mux = true,
15568c2ecf20Sopenharmony_ci	.schmitt_in_mux = true,
15578c2ecf20Sopenharmony_ci	.drvtype_in_mux = true,
15588c2ecf20Sopenharmony_ci};
15598c2ecf20Sopenharmony_ci
15608c2ecf20Sopenharmony_cistatic int tegra210_pinctrl_probe(struct platform_device *pdev)
15618c2ecf20Sopenharmony_ci{
15628c2ecf20Sopenharmony_ci	return tegra_pinctrl_probe(pdev, &tegra210_pinctrl);
15638c2ecf20Sopenharmony_ci}
15648c2ecf20Sopenharmony_ci
15658c2ecf20Sopenharmony_cistatic const struct of_device_id tegra210_pinctrl_of_match[] = {
15668c2ecf20Sopenharmony_ci	{ .compatible = "nvidia,tegra210-pinmux", },
15678c2ecf20Sopenharmony_ci	{ },
15688c2ecf20Sopenharmony_ci};
15698c2ecf20Sopenharmony_ci
15708c2ecf20Sopenharmony_cistatic struct platform_driver tegra210_pinctrl_driver = {
15718c2ecf20Sopenharmony_ci	.driver = {
15728c2ecf20Sopenharmony_ci		.name = "tegra210-pinctrl",
15738c2ecf20Sopenharmony_ci		.of_match_table = tegra210_pinctrl_of_match,
15748c2ecf20Sopenharmony_ci		.pm = &tegra_pinctrl_pm,
15758c2ecf20Sopenharmony_ci	},
15768c2ecf20Sopenharmony_ci	.probe = tegra210_pinctrl_probe,
15778c2ecf20Sopenharmony_ci};
15788c2ecf20Sopenharmony_ci
15798c2ecf20Sopenharmony_cistatic int __init tegra210_pinctrl_init(void)
15808c2ecf20Sopenharmony_ci{
15818c2ecf20Sopenharmony_ci	return platform_driver_register(&tegra210_pinctrl_driver);
15828c2ecf20Sopenharmony_ci}
15838c2ecf20Sopenharmony_ciarch_initcall(tegra210_pinctrl_init);
1584