18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Pinctrl data for the NVIDIA Tegra30 pinmux
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Author: Stephen Warren <swarren@nvidia.com>
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Copyright (c) 2011-2012, NVIDIA CORPORATION.  All rights reserved.
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#include <linux/init.h>
118c2ecf20Sopenharmony_ci#include <linux/of.h>
128c2ecf20Sopenharmony_ci#include <linux/platform_device.h>
138c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinctrl.h>
148c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinmux.h>
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci#include "pinctrl-tegra.h"
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci/*
198c2ecf20Sopenharmony_ci * Most pins affected by the pinmux can also be GPIOs. Define these first.
208c2ecf20Sopenharmony_ci * These must match how the GPIO driver names/numbers its pins.
218c2ecf20Sopenharmony_ci */
228c2ecf20Sopenharmony_ci#define _GPIO(offset)			(offset)
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK_32K_OUT_PA0	_GPIO(0)
258c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART3_CTS_N_PA1	_GPIO(1)
268c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP2_FS_PA2		_GPIO(2)
278c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP2_SCLK_PA3		_GPIO(3)
288c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP2_DIN_PA4		_GPIO(4)
298c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP2_DOUT_PA5		_GPIO(5)
308c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CLK_PA6	_GPIO(6)
318c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CMD_PA7	_GPIO(7)
328c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_A17_PB0		_GPIO(8)
338c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_A18_PB1		_GPIO(9)
348c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_PWR0_PB2		_GPIO(10)
358c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_PCLK_PB3		_GPIO(11)
368c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT3_PB4	_GPIO(12)
378c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT2_PB5	_GPIO(13)
388c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT1_PB6	_GPIO(14)
398c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT0_PB7	_GPIO(15)
408c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART3_RTS_N_PC0	_GPIO(16)
418c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_PWR1_PC1		_GPIO(17)
428c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART2_TXD_PC2		_GPIO(18)
438c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART2_RXD_PC3		_GPIO(19)
448c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN1_I2C_SCL_PC4	_GPIO(20)
458c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN1_I2C_SDA_PC5	_GPIO(21)
468c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_PWR2_PC6		_GPIO(22)
478c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_WP_N_PC7		_GPIO(23)
488c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT5_PD0	_GPIO(24)
498c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT4_PD1	_GPIO(25)
508c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_DC1_PD2		_GPIO(26)
518c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT6_PD3	_GPIO(27)
528c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT7_PD4	_GPIO(28)
538c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_D1_PD5		_GPIO(29)
548c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_VSYNC_PD6		_GPIO(30)
558c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_HSYNC_PD7		_GPIO(31)
568c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D0_PE0		_GPIO(32)
578c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D1_PE1		_GPIO(33)
588c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D2_PE2		_GPIO(34)
598c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D3_PE3		_GPIO(35)
608c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D4_PE4		_GPIO(36)
618c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D5_PE5		_GPIO(37)
628c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D6_PE6		_GPIO(38)
638c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D7_PE7		_GPIO(39)
648c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D8_PF0		_GPIO(40)
658c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D9_PF1		_GPIO(41)
668c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D10_PF2		_GPIO(42)
678c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D11_PF3		_GPIO(43)
688c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D12_PF4		_GPIO(44)
698c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D13_PF5		_GPIO(45)
708c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D14_PF6		_GPIO(46)
718c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D15_PF7		_GPIO(47)
728c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD0_PG0		_GPIO(48)
738c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD1_PG1		_GPIO(49)
748c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD2_PG2		_GPIO(50)
758c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD3_PG3		_GPIO(51)
768c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD4_PG4		_GPIO(52)
778c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD5_PG5		_GPIO(53)
788c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD6_PG6		_GPIO(54)
798c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD7_PG7		_GPIO(55)
808c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD8_PH0		_GPIO(56)
818c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD9_PH1		_GPIO(57)
828c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD10_PH2		_GPIO(58)
838c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD11_PH3		_GPIO(59)
848c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD12_PH4		_GPIO(60)
858c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD13_PH5		_GPIO(61)
868c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD14_PH6		_GPIO(62)
878c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_AD15_PH7		_GPIO(63)
888c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_WR_N_PI0		_GPIO(64)
898c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_OE_N_PI1		_GPIO(65)
908c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_DQS_PI2		_GPIO(66)
918c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_CS6_N_PI3		_GPIO(67)
928c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_RST_N_PI4		_GPIO(68)
938c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_IORDY_PI5		_GPIO(69)
948c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_CS7_N_PI6		_GPIO(70)
958c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_WAIT_PI7		_GPIO(71)
968c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_CS0_N_PJ0		_GPIO(72)
978c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_DE_PJ1		_GPIO(73)
988c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_CS1_N_PJ2		_GPIO(74)
998c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_HSYNC_PJ3		_GPIO(75)
1008c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_VSYNC_PJ4		_GPIO(76)
1018c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART2_CTS_N_PJ5	_GPIO(77)
1028c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART2_RTS_N_PJ6	_GPIO(78)
1038c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_A16_PJ7		_GPIO(79)
1048c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_ADV_N_PK0		_GPIO(80)
1058c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_CLK_PK1		_GPIO(81)
1068c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_CS4_N_PK2		_GPIO(82)
1078c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_CS2_N_PK3		_GPIO(83)
1088c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_CS3_N_PK4		_GPIO(84)
1098c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPDIF_OUT_PK5		_GPIO(85)
1108c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPDIF_IN_PK6		_GPIO(86)
1118c2ecf20Sopenharmony_ci#define TEGRA_PIN_GMI_A19_PK7		_GPIO(87)
1128c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_D2_PL0		_GPIO(88)
1138c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_D3_PL1		_GPIO(89)
1148c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_D4_PL2		_GPIO(90)
1158c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_D5_PL3		_GPIO(91)
1168c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_D6_PL4		_GPIO(92)
1178c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_D7_PL5		_GPIO(93)
1188c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_D8_PL6		_GPIO(94)
1198c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_D9_PL7		_GPIO(95)
1208c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D16_PM0		_GPIO(96)
1218c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D17_PM1		_GPIO(97)
1228c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D18_PM2		_GPIO(98)
1238c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D19_PM3		_GPIO(99)
1248c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D20_PM4		_GPIO(100)
1258c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D21_PM5		_GPIO(101)
1268c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D22_PM6		_GPIO(102)
1278c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_D23_PM7		_GPIO(103)
1288c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP1_FS_PN0		_GPIO(104)
1298c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP1_DIN_PN1		_GPIO(105)
1308c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP1_DOUT_PN2		_GPIO(106)
1318c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP1_SCLK_PN3		_GPIO(107)
1328c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_CS0_N_PN4		_GPIO(108)
1338c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_SDOUT_PN5		_GPIO(109)
1348c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_DC0_PN6		_GPIO(110)
1358c2ecf20Sopenharmony_ci#define TEGRA_PIN_HDMI_INT_PN7		_GPIO(111)
1368c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA7_PO0	_GPIO(112)
1378c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA0_PO1	_GPIO(113)
1388c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA1_PO2	_GPIO(114)
1398c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA2_PO3	_GPIO(115)
1408c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA3_PO4	_GPIO(116)
1418c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA4_PO5	_GPIO(117)
1428c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA5_PO6	_GPIO(118)
1438c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA6_PO7	_GPIO(119)
1448c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP3_FS_PP0		_GPIO(120)
1458c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP3_DIN_PP1		_GPIO(121)
1468c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP3_DOUT_PP2		_GPIO(122)
1478c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP3_SCLK_PP3		_GPIO(123)
1488c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP4_FS_PP4		_GPIO(124)
1498c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP4_DIN_PP5		_GPIO(125)
1508c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP4_DOUT_PP6		_GPIO(126)
1518c2ecf20Sopenharmony_ci#define TEGRA_PIN_DAP4_SCLK_PP7		_GPIO(127)
1528c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL0_PQ0		_GPIO(128)
1538c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL1_PQ1		_GPIO(129)
1548c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL2_PQ2		_GPIO(130)
1558c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL3_PQ3		_GPIO(131)
1568c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL4_PQ4		_GPIO(132)
1578c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL5_PQ5		_GPIO(133)
1588c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL6_PQ6		_GPIO(134)
1598c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_COL7_PQ7		_GPIO(135)
1608c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW0_PR0		_GPIO(136)
1618c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW1_PR1		_GPIO(137)
1628c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW2_PR2		_GPIO(138)
1638c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW3_PR3		_GPIO(139)
1648c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW4_PR4		_GPIO(140)
1658c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW5_PR5		_GPIO(141)
1668c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW6_PR6		_GPIO(142)
1678c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW7_PR7		_GPIO(143)
1688c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW8_PS0		_GPIO(144)
1698c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW9_PS1		_GPIO(145)
1708c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW10_PS2		_GPIO(146)
1718c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW11_PS3		_GPIO(147)
1728c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW12_PS4		_GPIO(148)
1738c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW13_PS5		_GPIO(149)
1748c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW14_PS6		_GPIO(150)
1758c2ecf20Sopenharmony_ci#define TEGRA_PIN_KB_ROW15_PS7		_GPIO(151)
1768c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_PCLK_PT0		_GPIO(152)
1778c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_MCLK_PT1		_GPIO(153)
1788c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_D10_PT2		_GPIO(154)
1798c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_D11_PT3		_GPIO(155)
1808c2ecf20Sopenharmony_ci#define TEGRA_PIN_VI_D0_PT4		_GPIO(156)
1818c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN2_I2C_SCL_PT5	_GPIO(157)
1828c2ecf20Sopenharmony_ci#define TEGRA_PIN_GEN2_I2C_SDA_PT6	_GPIO(158)
1838c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_CMD_PT7	_GPIO(159)
1848c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU0			_GPIO(160)
1858c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU1			_GPIO(161)
1868c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU2			_GPIO(162)
1878c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU3			_GPIO(163)
1888c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU4			_GPIO(164)
1898c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU5			_GPIO(165)
1908c2ecf20Sopenharmony_ci#define TEGRA_PIN_PU6			_GPIO(166)
1918c2ecf20Sopenharmony_ci#define TEGRA_PIN_JTAG_RTCK_PU7		_GPIO(167)
1928c2ecf20Sopenharmony_ci#define TEGRA_PIN_PV0			_GPIO(168)
1938c2ecf20Sopenharmony_ci#define TEGRA_PIN_PV1			_GPIO(169)
1948c2ecf20Sopenharmony_ci#define TEGRA_PIN_PV2			_GPIO(170)
1958c2ecf20Sopenharmony_ci#define TEGRA_PIN_PV3			_GPIO(171)
1968c2ecf20Sopenharmony_ci#define TEGRA_PIN_DDC_SCL_PV4		_GPIO(172)
1978c2ecf20Sopenharmony_ci#define TEGRA_PIN_DDC_SDA_PV5		_GPIO(173)
1988c2ecf20Sopenharmony_ci#define TEGRA_PIN_CRT_HSYNC_PV6		_GPIO(174)
1998c2ecf20Sopenharmony_ci#define TEGRA_PIN_CRT_VSYNC_PV7		_GPIO(175)
2008c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_CS1_N_PW0		_GPIO(176)
2018c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_M1_PW1		_GPIO(177)
2028c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI2_CS1_N_PW2	_GPIO(178)
2038c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI2_CS2_N_PW3	_GPIO(179)
2048c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK1_OUT_PW4		_GPIO(180)
2058c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK2_OUT_PW5		_GPIO(181)
2068c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART3_TXD_PW6		_GPIO(182)
2078c2ecf20Sopenharmony_ci#define TEGRA_PIN_UART3_RXD_PW7		_GPIO(183)
2088c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI2_MOSI_PX0		_GPIO(184)
2098c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI2_MISO_PX1		_GPIO(185)
2108c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI2_SCK_PX2		_GPIO(186)
2118c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI2_CS0_N_PX3	_GPIO(187)
2128c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI1_MOSI_PX4		_GPIO(188)
2138c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI1_SCK_PX5		_GPIO(189)
2148c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI1_CS0_N_PX6	_GPIO(190)
2158c2ecf20Sopenharmony_ci#define TEGRA_PIN_SPI1_MISO_PX7		_GPIO(191)
2168c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_CLK_PY0		_GPIO(192)
2178c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_DIR_PY1		_GPIO(193)
2188c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_NXT_PY2		_GPIO(194)
2198c2ecf20Sopenharmony_ci#define TEGRA_PIN_ULPI_STP_PY3		_GPIO(195)
2208c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT3_PY4	_GPIO(196)
2218c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT2_PY5	_GPIO(197)
2228c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT1_PY6	_GPIO(198)
2238c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT0_PY7	_GPIO(199)
2248c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_CLK_PZ0	_GPIO(200)
2258c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC1_CMD_PZ1	_GPIO(201)
2268c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_SDIN_PZ2		_GPIO(202)
2278c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_WR_N_PZ3		_GPIO(203)
2288c2ecf20Sopenharmony_ci#define TEGRA_PIN_LCD_SCK_PZ4		_GPIO(204)
2298c2ecf20Sopenharmony_ci#define TEGRA_PIN_SYS_CLK_REQ_PZ5	_GPIO(205)
2308c2ecf20Sopenharmony_ci#define TEGRA_PIN_PWR_I2C_SCL_PZ6	_GPIO(206)
2318c2ecf20Sopenharmony_ci#define TEGRA_PIN_PWR_I2C_SDA_PZ7	_GPIO(207)
2328c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT0_PAA0	_GPIO(208)
2338c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT1_PAA1	_GPIO(209)
2348c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT2_PAA2	_GPIO(210)
2358c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT3_PAA3	_GPIO(211)
2368c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT4_PAA4	_GPIO(212)
2378c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT5_PAA5	_GPIO(213)
2388c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT6_PAA6	_GPIO(214)
2398c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT7_PAA7	_GPIO(215)
2408c2ecf20Sopenharmony_ci#define TEGRA_PIN_PBB0			_GPIO(216)
2418c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM_I2C_SCL_PBB1	_GPIO(217)
2428c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM_I2C_SDA_PBB2	_GPIO(218)
2438c2ecf20Sopenharmony_ci#define TEGRA_PIN_PBB3			_GPIO(219)
2448c2ecf20Sopenharmony_ci#define TEGRA_PIN_PBB4			_GPIO(220)
2458c2ecf20Sopenharmony_ci#define TEGRA_PIN_PBB5			_GPIO(221)
2468c2ecf20Sopenharmony_ci#define TEGRA_PIN_PBB6			_GPIO(222)
2478c2ecf20Sopenharmony_ci#define TEGRA_PIN_PBB7			_GPIO(223)
2488c2ecf20Sopenharmony_ci#define TEGRA_PIN_CAM_MCLK_PCC0		_GPIO(224)
2498c2ecf20Sopenharmony_ci#define TEGRA_PIN_PCC1			_GPIO(225)
2508c2ecf20Sopenharmony_ci#define TEGRA_PIN_PCC2			_GPIO(226)
2518c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_RST_N_PCC3	_GPIO(227)
2528c2ecf20Sopenharmony_ci#define TEGRA_PIN_SDMMC4_CLK_PCC4	_GPIO(228)
2538c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK2_REQ_PCC5		_GPIO(229)
2548c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L2_RST_N_PCC6	_GPIO(230)
2558c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L2_CLKREQ_N_PCC7	_GPIO(231)
2568c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L0_PRSNT_N_PDD0	_GPIO(232)
2578c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L0_RST_N_PDD1	_GPIO(233)
2588c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L0_CLKREQ_N_PDD2	_GPIO(234)
2598c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_WAKE_N_PDD3	_GPIO(235)
2608c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L1_PRSNT_N_PDD4	_GPIO(236)
2618c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L1_RST_N_PDD5	_GPIO(237)
2628c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L1_CLKREQ_N_PDD6	_GPIO(238)
2638c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEX_L2_PRSNT_N_PDD7	_GPIO(239)
2648c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK3_OUT_PEE0		_GPIO(240)
2658c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK3_REQ_PEE1		_GPIO(241)
2668c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK1_REQ_PEE2		_GPIO(242)
2678c2ecf20Sopenharmony_ci#define TEGRA_PIN_HDMI_CEC_PEE3		_GPIO(243)
2688c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEE4			_GPIO(244)
2698c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEE5			_GPIO(245)
2708c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEE6			_GPIO(246)
2718c2ecf20Sopenharmony_ci#define TEGRA_PIN_PEE7			_GPIO(247)
2728c2ecf20Sopenharmony_ci
2738c2ecf20Sopenharmony_ci/* All non-GPIO pins follow */
2748c2ecf20Sopenharmony_ci#define NUM_GPIOS			(TEGRA_PIN_PEE7 + 1)
2758c2ecf20Sopenharmony_ci#define _PIN(offset)			(NUM_GPIOS + (offset))
2768c2ecf20Sopenharmony_ci
2778c2ecf20Sopenharmony_ci/* Non-GPIO pins */
2788c2ecf20Sopenharmony_ci#define TEGRA_PIN_CLK_32K_IN		_PIN(0)
2798c2ecf20Sopenharmony_ci#define TEGRA_PIN_CORE_PWR_REQ		_PIN(1)
2808c2ecf20Sopenharmony_ci#define TEGRA_PIN_CPU_PWR_REQ		_PIN(2)
2818c2ecf20Sopenharmony_ci#define TEGRA_PIN_JTAG_TCK		_PIN(3)
2828c2ecf20Sopenharmony_ci#define TEGRA_PIN_JTAG_TDI		_PIN(4)
2838c2ecf20Sopenharmony_ci#define TEGRA_PIN_JTAG_TDO		_PIN(5)
2848c2ecf20Sopenharmony_ci#define TEGRA_PIN_JTAG_TMS		_PIN(6)
2858c2ecf20Sopenharmony_ci#define TEGRA_PIN_JTAG_TRST_N		_PIN(7)
2868c2ecf20Sopenharmony_ci#define TEGRA_PIN_OWR			_PIN(8)
2878c2ecf20Sopenharmony_ci#define TEGRA_PIN_PWR_INT_N		_PIN(9)
2888c2ecf20Sopenharmony_ci#define TEGRA_PIN_SYS_RESET_N		_PIN(10)
2898c2ecf20Sopenharmony_ci#define TEGRA_PIN_TEST_MODE_EN		_PIN(11)
2908c2ecf20Sopenharmony_ci
2918c2ecf20Sopenharmony_cistatic const struct pinctrl_pin_desc tegra30_pins[] = {
2928c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK_32K_OUT_PA0, "CLK_32K_OUT PA0"),
2938c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_CTS_N_PA1, "UART3_CTS_N PA1"),
2948c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_FS_PA2, "DAP2_FS PA2"),
2958c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_SCLK_PA3, "DAP2_SCLK PA3"),
2968c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_DIN_PA4, "DAP2_DIN PA4"),
2978c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_DOUT_PA5, "DAP2_DOUT PA5"),
2988c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CLK_PA6, "SDMMC3_CLK PA6"),
2998c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CMD_PA7, "SDMMC3_CMD PA7"),
3008c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_A17_PB0, "GMI_A17 PB0"),
3018c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_A18_PB1, "GMI_A18 PB1"),
3028c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_PWR0_PB2, "LCD_PWR0 PB2"),
3038c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_PCLK_PB3, "LCD_PCLK PB3"),
3048c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT3_PB4, "SDMMC3_DAT3 PB4"),
3058c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT2_PB5, "SDMMC3_DAT2 PB5"),
3068c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT1_PB6, "SDMMC3_DAT1 PB6"),
3078c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT0_PB7, "SDMMC3_DAT0 PB7"),
3088c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_RTS_N_PC0, "UART3_RTS_N PC0"),
3098c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_PWR1_PC1, "LCD_PWR1 PC1"),
3108c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_TXD_PC2, "UART2_TXD PC2"),
3118c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_RXD_PC3, "UART2_RXD PC3"),
3128c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SCL_PC4, "GEN1_I2C_SCL PC4"),
3138c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SDA_PC5, "GEN1_I2C_SDA PC5"),
3148c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_PWR2_PC6, "LCD_PWR2 PC6"),
3158c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_WP_N_PC7, "GMI_WP_N PC7"),
3168c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT5_PD0, "SDMMC3_DAT5 PD0"),
3178c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT4_PD1, "SDMMC3_DAT4 PD1"),
3188c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_DC1_PD2, "LCD_DC1 PD2"),
3198c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT6_PD3, "SDMMC3_DAT6 PD3"),
3208c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT7_PD4, "SDMMC3_DAT7 PD4"),
3218c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D1_PD5, "VI_D1 PD5"),
3228c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_VSYNC_PD6, "VI_VSYNC PD6"),
3238c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_HSYNC_PD7, "VI_HSYNC PD7"),
3248c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D0_PE0, "LCD_D0 PE0"),
3258c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D1_PE1, "LCD_D1 PE1"),
3268c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D2_PE2, "LCD_D2 PE2"),
3278c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D3_PE3, "LCD_D3 PE3"),
3288c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D4_PE4, "LCD_D4 PE4"),
3298c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D5_PE5, "LCD_D5 PE5"),
3308c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D6_PE6, "LCD_D6 PE6"),
3318c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D7_PE7, "LCD_D7 PE7"),
3328c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D8_PF0, "LCD_D8 PF0"),
3338c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D9_PF1, "LCD_D9 PF1"),
3348c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D10_PF2, "LCD_D10 PF2"),
3358c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D11_PF3, "LCD_D11 PF3"),
3368c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D12_PF4, "LCD_D12 PF4"),
3378c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D13_PF5, "LCD_D13 PF5"),
3388c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D14_PF6, "LCD_D14 PF6"),
3398c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D15_PF7, "LCD_D15 PF7"),
3408c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD0_PG0, "GMI_AD0 PG0"),
3418c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD1_PG1, "GMI_AD1 PG1"),
3428c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD2_PG2, "GMI_AD2 PG2"),
3438c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD3_PG3, "GMI_AD3 PG3"),
3448c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD4_PG4, "GMI_AD4 PG4"),
3458c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD5_PG5, "GMI_AD5 PG5"),
3468c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD6_PG6, "GMI_AD6 PG6"),
3478c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD7_PG7, "GMI_AD7 PG7"),
3488c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD8_PH0, "GMI_AD8 PH0"),
3498c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD9_PH1, "GMI_AD9 PH1"),
3508c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD10_PH2, "GMI_AD10 PH2"),
3518c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD11_PH3, "GMI_AD11 PH3"),
3528c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD12_PH4, "GMI_AD12 PH4"),
3538c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD13_PH5, "GMI_AD13 PH5"),
3548c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD14_PH6, "GMI_AD14 PH6"),
3558c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD15_PH7, "GMI_AD15 PH7"),
3568c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_WR_N_PI0, "GMI_WR_N PI0"),
3578c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_OE_N_PI1, "GMI_OE_N PI1"),
3588c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_DQS_PI2, "GMI_DQS PI2"),
3598c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS6_N_PI3, "GMI_CS6_N PI3"),
3608c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_RST_N_PI4, "GMI_RST_N PI4"),
3618c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_IORDY_PI5, "GMI_IORDY PI5"),
3628c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS7_N_PI6, "GMI_CS7_N PI6"),
3638c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_WAIT_PI7, "GMI_WAIT PI7"),
3648c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS0_N_PJ0, "GMI_CS0_N PJ0"),
3658c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_DE_PJ1, "LCD_DE PJ1"),
3668c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS1_N_PJ2, "GMI_CS1_N PJ2"),
3678c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_HSYNC_PJ3, "LCD_HSYNC PJ3"),
3688c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_VSYNC_PJ4, "LCD_VSYNC PJ4"),
3698c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_CTS_N_PJ5, "UART2_CTS_N PJ5"),
3708c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_RTS_N_PJ6, "UART2_RTS_N PJ6"),
3718c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_A16_PJ7, "GMI_A16 PJ7"),
3728c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_ADV_N_PK0, "GMI_ADV_N PK0"),
3738c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CLK_PK1, "GMI_CLK PK1"),
3748c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS4_N_PK2, "GMI_CS4_N PK2"),
3758c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS2_N_PK3, "GMI_CS2_N PK3"),
3768c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS3_N_PK4, "GMI_CS3_N PK4"),
3778c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPDIF_OUT_PK5, "SPDIF_OUT PK5"),
3788c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPDIF_IN_PK6, "SPDIF_IN PK6"),
3798c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_A19_PK7, "GMI_A19 PK7"),
3808c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D2_PL0, "VI_D2 PL0"),
3818c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D3_PL1, "VI_D3 PL1"),
3828c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D4_PL2, "VI_D4 PL2"),
3838c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D5_PL3, "VI_D5 PL3"),
3848c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D6_PL4, "VI_D6 PL4"),
3858c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D7_PL5, "VI_D7 PL5"),
3868c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D8_PL6, "VI_D8 PL6"),
3878c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D9_PL7, "VI_D9 PL7"),
3888c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D16_PM0, "LCD_D16 PM0"),
3898c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D17_PM1, "LCD_D17 PM1"),
3908c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D18_PM2, "LCD_D18 PM2"),
3918c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D19_PM3, "LCD_D19 PM3"),
3928c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D20_PM4, "LCD_D20 PM4"),
3938c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D21_PM5, "LCD_D21 PM5"),
3948c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D22_PM6, "LCD_D22 PM6"),
3958c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D23_PM7, "LCD_D23 PM7"),
3968c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_FS_PN0, "DAP1_FS PN0"),
3978c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_DIN_PN1, "DAP1_DIN PN1"),
3988c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_DOUT_PN2, "DAP1_DOUT PN2"),
3998c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_SCLK_PN3, "DAP1_SCLK PN3"),
4008c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_CS0_N_PN4, "LCD_CS0_N PN4"),
4018c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_SDOUT_PN5, "LCD_SDOUT PN5"),
4028c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_DC0_PN6, "LCD_DC0 PN6"),
4038c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_HDMI_INT_PN7, "HDMI_INT PN7"),
4048c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA7_PO0, "ULPI_DATA7 PO0"),
4058c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA0_PO1, "ULPI_DATA0 PO1"),
4068c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA1_PO2, "ULPI_DATA1 PO2"),
4078c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA2_PO3, "ULPI_DATA2 PO3"),
4088c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA3_PO4, "ULPI_DATA3 PO4"),
4098c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA4_PO5, "ULPI_DATA4 PO5"),
4108c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA5_PO6, "ULPI_DATA5 PO6"),
4118c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA6_PO7, "ULPI_DATA6 PO7"),
4128c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_FS_PP0, "DAP3_FS PP0"),
4138c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_DIN_PP1, "DAP3_DIN PP1"),
4148c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_DOUT_PP2, "DAP3_DOUT PP2"),
4158c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_SCLK_PP3, "DAP3_SCLK PP3"),
4168c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_FS_PP4, "DAP4_FS PP4"),
4178c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_DIN_PP5, "DAP4_DIN PP5"),
4188c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_DOUT_PP6, "DAP4_DOUT PP6"),
4198c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_SCLK_PP7, "DAP4_SCLK PP7"),
4208c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL0_PQ0, "KB_COL0 PQ0"),
4218c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL1_PQ1, "KB_COL1 PQ1"),
4228c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL2_PQ2, "KB_COL2 PQ2"),
4238c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL3_PQ3, "KB_COL3 PQ3"),
4248c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL4_PQ4, "KB_COL4 PQ4"),
4258c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL5_PQ5, "KB_COL5 PQ5"),
4268c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL6_PQ6, "KB_COL6 PQ6"),
4278c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL7_PQ7, "KB_COL7 PQ7"),
4288c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW0_PR0, "KB_ROW0 PR0"),
4298c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW1_PR1, "KB_ROW1 PR1"),
4308c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW2_PR2, "KB_ROW2 PR2"),
4318c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW3_PR3, "KB_ROW3 PR3"),
4328c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW4_PR4, "KB_ROW4 PR4"),
4338c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW5_PR5, "KB_ROW5 PR5"),
4348c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW6_PR6, "KB_ROW6 PR6"),
4358c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW7_PR7, "KB_ROW7 PR7"),
4368c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW8_PS0, "KB_ROW8 PS0"),
4378c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW9_PS1, "KB_ROW9 PS1"),
4388c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW10_PS2, "KB_ROW10 PS2"),
4398c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW11_PS3, "KB_ROW11 PS3"),
4408c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW12_PS4, "KB_ROW12 PS4"),
4418c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW13_PS5, "KB_ROW13 PS5"),
4428c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW14_PS6, "KB_ROW14 PS6"),
4438c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW15_PS7, "KB_ROW15 PS7"),
4448c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_PCLK_PT0, "VI_PCLK PT0"),
4458c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_MCLK_PT1, "VI_MCLK PT1"),
4468c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D10_PT2, "VI_D10 PT2"),
4478c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D11_PT3, "VI_D11 PT3"),
4488c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D0_PT4, "VI_D0 PT4"),
4498c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SCL_PT5, "GEN2_I2C_SCL PT5"),
4508c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SDA_PT6, "GEN2_I2C_SDA PT6"),
4518c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_CMD_PT7, "SDMMC4_CMD PT7"),
4528c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU0, "PU0"),
4538c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU1, "PU1"),
4548c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU2, "PU2"),
4558c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU3, "PU3"),
4568c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU4, "PU4"),
4578c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU5, "PU5"),
4588c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU6, "PU6"),
4598c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_RTCK_PU7, "JTAG_RTCK PU7"),
4608c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PV0, "PV0"),
4618c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PV1, "PV1"),
4628c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PV2, "PV2"),
4638c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PV3, "PV3"),
4648c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DDC_SCL_PV4, "DDC_SCL PV4"),
4658c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DDC_SDA_PV5, "DDC_SDA PV5"),
4668c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CRT_HSYNC_PV6, "CRT_HSYNC PV6"),
4678c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CRT_VSYNC_PV7, "CRT_VSYNC PV7"),
4688c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_CS1_N_PW0, "LCD_CS1_N PW0"),
4698c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_M1_PW1, "LCD_M1 PW1"),
4708c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_CS1_N_PW2, "SPI2_CS1_N PW2"),
4718c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_CS2_N_PW3, "SPI2_CS2_N PW3"),
4728c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK1_OUT_PW4, "CLK1_OUT PW4"),
4738c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK2_OUT_PW5, "CLK2_OUT PW5"),
4748c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_TXD_PW6, "UART3_TXD PW6"),
4758c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_RXD_PW7, "UART3_RXD PW7"),
4768c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_MOSI_PX0, "SPI2_MOSI PX0"),
4778c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_MISO_PX1, "SPI2_MISO PX1"),
4788c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_SCK_PX2, "SPI2_SCK PX2"),
4798c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_CS0_N_PX3, "SPI2_CS0_N PX3"),
4808c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_MOSI_PX4, "SPI1_MOSI PX4"),
4818c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_SCK_PX5, "SPI1_SCK PX5"),
4828c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_CS0_N_PX6, "SPI1_CS0_N PX6"),
4838c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_MISO_PX7, "SPI1_MISO PX7"),
4848c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_CLK_PY0, "ULPI_CLK PY0"),
4858c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DIR_PY1, "ULPI_DIR PY1"),
4868c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_NXT_PY2, "ULPI_NXT PY2"),
4878c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_STP_PY3, "ULPI_STP PY3"),
4888c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT3_PY4, "SDMMC1_DAT3 PY4"),
4898c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT2_PY5, "SDMMC1_DAT2 PY5"),
4908c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT1_PY6, "SDMMC1_DAT1 PY6"),
4918c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT0_PY7, "SDMMC1_DAT0 PY7"),
4928c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CLK_PZ0, "SDMMC1_CLK PZ0"),
4938c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CMD_PZ1, "SDMMC1_CMD PZ1"),
4948c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_SDIN_PZ2, "LCD_SDIN PZ2"),
4958c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_WR_N_PZ3, "LCD_WR_N PZ3"),
4968c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_SCK_PZ4, "LCD_SCK PZ4"),
4978c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SYS_CLK_REQ_PZ5, "SYS_CLK_REQ PZ5"),
4988c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SCL_PZ6, "PWR_I2C_SCL PZ6"),
4998c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SDA_PZ7, "PWR_I2C_SDA PZ7"),
5008c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT0_PAA0, "SDMMC4_DAT0 PAA0"),
5018c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT1_PAA1, "SDMMC4_DAT1 PAA1"),
5028c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT2_PAA2, "SDMMC4_DAT2 PAA2"),
5038c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT3_PAA3, "SDMMC4_DAT3 PAA3"),
5048c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT4_PAA4, "SDMMC4_DAT4 PAA4"),
5058c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT5_PAA5, "SDMMC4_DAT5 PAA5"),
5068c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT6_PAA6, "SDMMC4_DAT6 PAA6"),
5078c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT7_PAA7, "SDMMC4_DAT7 PAA7"),
5088c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB0, "PBB0"),
5098c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SCL_PBB1, "CAM_I2C_SCL PBB1"),
5108c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SDA_PBB2, "CAM_I2C_SDA PBB2"),
5118c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB3, "PBB3"),
5128c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB4, "PBB4"),
5138c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB5, "PBB5"),
5148c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB6, "PBB6"),
5158c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB7, "PBB7"),
5168c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_MCLK_PCC0, "CAM_MCLK PCC0"),
5178c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PCC1, "PCC1"),
5188c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PCC2, "PCC2"),
5198c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_RST_N_PCC3, "SDMMC4_RST_N PCC3"),
5208c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_CLK_PCC4, "SDMMC4_CLK PCC4"),
5218c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK2_REQ_PCC5, "CLK2_REQ PCC5"),
5228c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L2_RST_N_PCC6, "PEX_L2_RST_N PCC6"),
5238c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L2_CLKREQ_N_PCC7, "PEX_L2_CLKREQ_N PCC7"),
5248c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L0_PRSNT_N_PDD0, "PEX_L0_PRSNT_N PDD0"),
5258c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L0_RST_N_PDD1, "PEX_L0_RST_N PDD1"),
5268c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L0_CLKREQ_N_PDD2, "PEX_L0_CLKREQ_N PDD2"),
5278c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_WAKE_N_PDD3, "PEX_WAKE_N PDD3"),
5288c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L1_PRSNT_N_PDD4, "PEX_L1_PRSNT_N PDD4"),
5298c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L1_RST_N_PDD5, "PEX_L1_RST_N PDD5"),
5308c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L1_CLKREQ_N_PDD6, "PEX_L1_CLKREQ_N PDD6"),
5318c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L2_PRSNT_N_PDD7, "PEX_L2_PRSNT_N PDD7"),
5328c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK3_OUT_PEE0, "CLK3_OUT PEE0"),
5338c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK3_REQ_PEE1, "CLK3_REQ PEE1"),
5348c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK1_REQ_PEE2, "CLK1_REQ PEE2"),
5358c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_HDMI_CEC_PEE3, "HDMI_CEC PEE3"),
5368c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEE4, "PEE4"),
5378c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEE5, "PEE5"),
5388c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEE6, "PEE6"),
5398c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEE7, "PEE7"),
5408c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK_32K_IN, "CLK_32K_IN"),
5418c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CORE_PWR_REQ, "CORE_PWR_REQ"),
5428c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CPU_PWR_REQ, "CPU_PWR_REQ"),
5438c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_TCK, "JTAG_TCK"),
5448c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_TDI, "JTAG_TDI"),
5458c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_TDO, "JTAG_TDO"),
5468c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_TMS, "JTAG_TMS"),
5478c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_TRST_N, "JTAG_TRST_N"),
5488c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_OWR, "OWR"),
5498c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_INT_N, "PWR_INT_N"),
5508c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SYS_RESET_N, "SYS_RESET_N"),
5518c2ecf20Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_TEST_MODE_EN, "TEST_MODE_EN"),
5528c2ecf20Sopenharmony_ci};
5538c2ecf20Sopenharmony_ci
5548c2ecf20Sopenharmony_cistatic const unsigned clk_32k_out_pa0_pins[] = {
5558c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK_32K_OUT_PA0,
5568c2ecf20Sopenharmony_ci};
5578c2ecf20Sopenharmony_ci
5588c2ecf20Sopenharmony_cistatic const unsigned uart3_cts_n_pa1_pins[] = {
5598c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_CTS_N_PA1,
5608c2ecf20Sopenharmony_ci};
5618c2ecf20Sopenharmony_ci
5628c2ecf20Sopenharmony_cistatic const unsigned dap2_fs_pa2_pins[] = {
5638c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_FS_PA2,
5648c2ecf20Sopenharmony_ci};
5658c2ecf20Sopenharmony_ci
5668c2ecf20Sopenharmony_cistatic const unsigned dap2_sclk_pa3_pins[] = {
5678c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_SCLK_PA3,
5688c2ecf20Sopenharmony_ci};
5698c2ecf20Sopenharmony_ci
5708c2ecf20Sopenharmony_cistatic const unsigned dap2_din_pa4_pins[] = {
5718c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_DIN_PA4,
5728c2ecf20Sopenharmony_ci};
5738c2ecf20Sopenharmony_ci
5748c2ecf20Sopenharmony_cistatic const unsigned dap2_dout_pa5_pins[] = {
5758c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_DOUT_PA5,
5768c2ecf20Sopenharmony_ci};
5778c2ecf20Sopenharmony_ci
5788c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_clk_pa6_pins[] = {
5798c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_PA6,
5808c2ecf20Sopenharmony_ci};
5818c2ecf20Sopenharmony_ci
5828c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_cmd_pa7_pins[] = {
5838c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CMD_PA7,
5848c2ecf20Sopenharmony_ci};
5858c2ecf20Sopenharmony_ci
5868c2ecf20Sopenharmony_cistatic const unsigned gmi_a17_pb0_pins[] = {
5878c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_A17_PB0,
5888c2ecf20Sopenharmony_ci};
5898c2ecf20Sopenharmony_ci
5908c2ecf20Sopenharmony_cistatic const unsigned gmi_a18_pb1_pins[] = {
5918c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_A18_PB1,
5928c2ecf20Sopenharmony_ci};
5938c2ecf20Sopenharmony_ci
5948c2ecf20Sopenharmony_cistatic const unsigned lcd_pwr0_pb2_pins[] = {
5958c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_PWR0_PB2,
5968c2ecf20Sopenharmony_ci};
5978c2ecf20Sopenharmony_ci
5988c2ecf20Sopenharmony_cistatic const unsigned lcd_pclk_pb3_pins[] = {
5998c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_PCLK_PB3,
6008c2ecf20Sopenharmony_ci};
6018c2ecf20Sopenharmony_ci
6028c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat3_pb4_pins[] = {
6038c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT3_PB4,
6048c2ecf20Sopenharmony_ci};
6058c2ecf20Sopenharmony_ci
6068c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat2_pb5_pins[] = {
6078c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT2_PB5,
6088c2ecf20Sopenharmony_ci};
6098c2ecf20Sopenharmony_ci
6108c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat1_pb6_pins[] = {
6118c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT1_PB6,
6128c2ecf20Sopenharmony_ci};
6138c2ecf20Sopenharmony_ci
6148c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat0_pb7_pins[] = {
6158c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT0_PB7,
6168c2ecf20Sopenharmony_ci};
6178c2ecf20Sopenharmony_ci
6188c2ecf20Sopenharmony_cistatic const unsigned uart3_rts_n_pc0_pins[] = {
6198c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_RTS_N_PC0,
6208c2ecf20Sopenharmony_ci};
6218c2ecf20Sopenharmony_ci
6228c2ecf20Sopenharmony_cistatic const unsigned lcd_pwr1_pc1_pins[] = {
6238c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_PWR1_PC1,
6248c2ecf20Sopenharmony_ci};
6258c2ecf20Sopenharmony_ci
6268c2ecf20Sopenharmony_cistatic const unsigned uart2_txd_pc2_pins[] = {
6278c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_TXD_PC2,
6288c2ecf20Sopenharmony_ci};
6298c2ecf20Sopenharmony_ci
6308c2ecf20Sopenharmony_cistatic const unsigned uart2_rxd_pc3_pins[] = {
6318c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_RXD_PC3,
6328c2ecf20Sopenharmony_ci};
6338c2ecf20Sopenharmony_ci
6348c2ecf20Sopenharmony_cistatic const unsigned gen1_i2c_scl_pc4_pins[] = {
6358c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SCL_PC4,
6368c2ecf20Sopenharmony_ci};
6378c2ecf20Sopenharmony_ci
6388c2ecf20Sopenharmony_cistatic const unsigned gen1_i2c_sda_pc5_pins[] = {
6398c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SDA_PC5,
6408c2ecf20Sopenharmony_ci};
6418c2ecf20Sopenharmony_ci
6428c2ecf20Sopenharmony_cistatic const unsigned lcd_pwr2_pc6_pins[] = {
6438c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_PWR2_PC6,
6448c2ecf20Sopenharmony_ci};
6458c2ecf20Sopenharmony_ci
6468c2ecf20Sopenharmony_cistatic const unsigned gmi_wp_n_pc7_pins[] = {
6478c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_WP_N_PC7,
6488c2ecf20Sopenharmony_ci};
6498c2ecf20Sopenharmony_ci
6508c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat5_pd0_pins[] = {
6518c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT5_PD0,
6528c2ecf20Sopenharmony_ci};
6538c2ecf20Sopenharmony_ci
6548c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat4_pd1_pins[] = {
6558c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT4_PD1,
6568c2ecf20Sopenharmony_ci};
6578c2ecf20Sopenharmony_ci
6588c2ecf20Sopenharmony_cistatic const unsigned lcd_dc1_pd2_pins[] = {
6598c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_DC1_PD2,
6608c2ecf20Sopenharmony_ci};
6618c2ecf20Sopenharmony_ci
6628c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat6_pd3_pins[] = {
6638c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT6_PD3,
6648c2ecf20Sopenharmony_ci};
6658c2ecf20Sopenharmony_ci
6668c2ecf20Sopenharmony_cistatic const unsigned sdmmc3_dat7_pd4_pins[] = {
6678c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT7_PD4,
6688c2ecf20Sopenharmony_ci};
6698c2ecf20Sopenharmony_ci
6708c2ecf20Sopenharmony_cistatic const unsigned vi_d1_pd5_pins[] = {
6718c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D1_PD5,
6728c2ecf20Sopenharmony_ci};
6738c2ecf20Sopenharmony_ci
6748c2ecf20Sopenharmony_cistatic const unsigned vi_vsync_pd6_pins[] = {
6758c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_VSYNC_PD6,
6768c2ecf20Sopenharmony_ci};
6778c2ecf20Sopenharmony_ci
6788c2ecf20Sopenharmony_cistatic const unsigned vi_hsync_pd7_pins[] = {
6798c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_HSYNC_PD7,
6808c2ecf20Sopenharmony_ci};
6818c2ecf20Sopenharmony_ci
6828c2ecf20Sopenharmony_cistatic const unsigned lcd_d0_pe0_pins[] = {
6838c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D0_PE0,
6848c2ecf20Sopenharmony_ci};
6858c2ecf20Sopenharmony_ci
6868c2ecf20Sopenharmony_cistatic const unsigned lcd_d1_pe1_pins[] = {
6878c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D1_PE1,
6888c2ecf20Sopenharmony_ci};
6898c2ecf20Sopenharmony_ci
6908c2ecf20Sopenharmony_cistatic const unsigned lcd_d2_pe2_pins[] = {
6918c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D2_PE2,
6928c2ecf20Sopenharmony_ci};
6938c2ecf20Sopenharmony_ci
6948c2ecf20Sopenharmony_cistatic const unsigned lcd_d3_pe3_pins[] = {
6958c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D3_PE3,
6968c2ecf20Sopenharmony_ci};
6978c2ecf20Sopenharmony_ci
6988c2ecf20Sopenharmony_cistatic const unsigned lcd_d4_pe4_pins[] = {
6998c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D4_PE4,
7008c2ecf20Sopenharmony_ci};
7018c2ecf20Sopenharmony_ci
7028c2ecf20Sopenharmony_cistatic const unsigned lcd_d5_pe5_pins[] = {
7038c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D5_PE5,
7048c2ecf20Sopenharmony_ci};
7058c2ecf20Sopenharmony_ci
7068c2ecf20Sopenharmony_cistatic const unsigned lcd_d6_pe6_pins[] = {
7078c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D6_PE6,
7088c2ecf20Sopenharmony_ci};
7098c2ecf20Sopenharmony_ci
7108c2ecf20Sopenharmony_cistatic const unsigned lcd_d7_pe7_pins[] = {
7118c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D7_PE7,
7128c2ecf20Sopenharmony_ci};
7138c2ecf20Sopenharmony_ci
7148c2ecf20Sopenharmony_cistatic const unsigned lcd_d8_pf0_pins[] = {
7158c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D8_PF0,
7168c2ecf20Sopenharmony_ci};
7178c2ecf20Sopenharmony_ci
7188c2ecf20Sopenharmony_cistatic const unsigned lcd_d9_pf1_pins[] = {
7198c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D9_PF1,
7208c2ecf20Sopenharmony_ci};
7218c2ecf20Sopenharmony_ci
7228c2ecf20Sopenharmony_cistatic const unsigned lcd_d10_pf2_pins[] = {
7238c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D10_PF2,
7248c2ecf20Sopenharmony_ci};
7258c2ecf20Sopenharmony_ci
7268c2ecf20Sopenharmony_cistatic const unsigned lcd_d11_pf3_pins[] = {
7278c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D11_PF3,
7288c2ecf20Sopenharmony_ci};
7298c2ecf20Sopenharmony_ci
7308c2ecf20Sopenharmony_cistatic const unsigned lcd_d12_pf4_pins[] = {
7318c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D12_PF4,
7328c2ecf20Sopenharmony_ci};
7338c2ecf20Sopenharmony_ci
7348c2ecf20Sopenharmony_cistatic const unsigned lcd_d13_pf5_pins[] = {
7358c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D13_PF5,
7368c2ecf20Sopenharmony_ci};
7378c2ecf20Sopenharmony_ci
7388c2ecf20Sopenharmony_cistatic const unsigned lcd_d14_pf6_pins[] = {
7398c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D14_PF6,
7408c2ecf20Sopenharmony_ci};
7418c2ecf20Sopenharmony_ci
7428c2ecf20Sopenharmony_cistatic const unsigned lcd_d15_pf7_pins[] = {
7438c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D15_PF7,
7448c2ecf20Sopenharmony_ci};
7458c2ecf20Sopenharmony_ci
7468c2ecf20Sopenharmony_cistatic const unsigned gmi_ad0_pg0_pins[] = {
7478c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD0_PG0,
7488c2ecf20Sopenharmony_ci};
7498c2ecf20Sopenharmony_ci
7508c2ecf20Sopenharmony_cistatic const unsigned gmi_ad1_pg1_pins[] = {
7518c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD1_PG1,
7528c2ecf20Sopenharmony_ci};
7538c2ecf20Sopenharmony_ci
7548c2ecf20Sopenharmony_cistatic const unsigned gmi_ad2_pg2_pins[] = {
7558c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD2_PG2,
7568c2ecf20Sopenharmony_ci};
7578c2ecf20Sopenharmony_ci
7588c2ecf20Sopenharmony_cistatic const unsigned gmi_ad3_pg3_pins[] = {
7598c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD3_PG3,
7608c2ecf20Sopenharmony_ci};
7618c2ecf20Sopenharmony_ci
7628c2ecf20Sopenharmony_cistatic const unsigned gmi_ad4_pg4_pins[] = {
7638c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD4_PG4,
7648c2ecf20Sopenharmony_ci};
7658c2ecf20Sopenharmony_ci
7668c2ecf20Sopenharmony_cistatic const unsigned gmi_ad5_pg5_pins[] = {
7678c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD5_PG5,
7688c2ecf20Sopenharmony_ci};
7698c2ecf20Sopenharmony_ci
7708c2ecf20Sopenharmony_cistatic const unsigned gmi_ad6_pg6_pins[] = {
7718c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD6_PG6,
7728c2ecf20Sopenharmony_ci};
7738c2ecf20Sopenharmony_ci
7748c2ecf20Sopenharmony_cistatic const unsigned gmi_ad7_pg7_pins[] = {
7758c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD7_PG7,
7768c2ecf20Sopenharmony_ci};
7778c2ecf20Sopenharmony_ci
7788c2ecf20Sopenharmony_cistatic const unsigned gmi_ad8_ph0_pins[] = {
7798c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD8_PH0,
7808c2ecf20Sopenharmony_ci};
7818c2ecf20Sopenharmony_ci
7828c2ecf20Sopenharmony_cistatic const unsigned gmi_ad9_ph1_pins[] = {
7838c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD9_PH1,
7848c2ecf20Sopenharmony_ci};
7858c2ecf20Sopenharmony_ci
7868c2ecf20Sopenharmony_cistatic const unsigned gmi_ad10_ph2_pins[] = {
7878c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD10_PH2,
7888c2ecf20Sopenharmony_ci};
7898c2ecf20Sopenharmony_ci
7908c2ecf20Sopenharmony_cistatic const unsigned gmi_ad11_ph3_pins[] = {
7918c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD11_PH3,
7928c2ecf20Sopenharmony_ci};
7938c2ecf20Sopenharmony_ci
7948c2ecf20Sopenharmony_cistatic const unsigned gmi_ad12_ph4_pins[] = {
7958c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD12_PH4,
7968c2ecf20Sopenharmony_ci};
7978c2ecf20Sopenharmony_ci
7988c2ecf20Sopenharmony_cistatic const unsigned gmi_ad13_ph5_pins[] = {
7998c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD13_PH5,
8008c2ecf20Sopenharmony_ci};
8018c2ecf20Sopenharmony_ci
8028c2ecf20Sopenharmony_cistatic const unsigned gmi_ad14_ph6_pins[] = {
8038c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD14_PH6,
8048c2ecf20Sopenharmony_ci};
8058c2ecf20Sopenharmony_ci
8068c2ecf20Sopenharmony_cistatic const unsigned gmi_ad15_ph7_pins[] = {
8078c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD15_PH7,
8088c2ecf20Sopenharmony_ci};
8098c2ecf20Sopenharmony_ci
8108c2ecf20Sopenharmony_cistatic const unsigned gmi_wr_n_pi0_pins[] = {
8118c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_WR_N_PI0,
8128c2ecf20Sopenharmony_ci};
8138c2ecf20Sopenharmony_ci
8148c2ecf20Sopenharmony_cistatic const unsigned gmi_oe_n_pi1_pins[] = {
8158c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_OE_N_PI1,
8168c2ecf20Sopenharmony_ci};
8178c2ecf20Sopenharmony_ci
8188c2ecf20Sopenharmony_cistatic const unsigned gmi_dqs_pi2_pins[] = {
8198c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_DQS_PI2,
8208c2ecf20Sopenharmony_ci};
8218c2ecf20Sopenharmony_ci
8228c2ecf20Sopenharmony_cistatic const unsigned gmi_cs6_n_pi3_pins[] = {
8238c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS6_N_PI3,
8248c2ecf20Sopenharmony_ci};
8258c2ecf20Sopenharmony_ci
8268c2ecf20Sopenharmony_cistatic const unsigned gmi_rst_n_pi4_pins[] = {
8278c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_RST_N_PI4,
8288c2ecf20Sopenharmony_ci};
8298c2ecf20Sopenharmony_ci
8308c2ecf20Sopenharmony_cistatic const unsigned gmi_iordy_pi5_pins[] = {
8318c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_IORDY_PI5,
8328c2ecf20Sopenharmony_ci};
8338c2ecf20Sopenharmony_ci
8348c2ecf20Sopenharmony_cistatic const unsigned gmi_cs7_n_pi6_pins[] = {
8358c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS7_N_PI6,
8368c2ecf20Sopenharmony_ci};
8378c2ecf20Sopenharmony_ci
8388c2ecf20Sopenharmony_cistatic const unsigned gmi_wait_pi7_pins[] = {
8398c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_WAIT_PI7,
8408c2ecf20Sopenharmony_ci};
8418c2ecf20Sopenharmony_ci
8428c2ecf20Sopenharmony_cistatic const unsigned gmi_cs0_n_pj0_pins[] = {
8438c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS0_N_PJ0,
8448c2ecf20Sopenharmony_ci};
8458c2ecf20Sopenharmony_ci
8468c2ecf20Sopenharmony_cistatic const unsigned lcd_de_pj1_pins[] = {
8478c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_DE_PJ1,
8488c2ecf20Sopenharmony_ci};
8498c2ecf20Sopenharmony_ci
8508c2ecf20Sopenharmony_cistatic const unsigned gmi_cs1_n_pj2_pins[] = {
8518c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS1_N_PJ2,
8528c2ecf20Sopenharmony_ci};
8538c2ecf20Sopenharmony_ci
8548c2ecf20Sopenharmony_cistatic const unsigned lcd_hsync_pj3_pins[] = {
8558c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_HSYNC_PJ3,
8568c2ecf20Sopenharmony_ci};
8578c2ecf20Sopenharmony_ci
8588c2ecf20Sopenharmony_cistatic const unsigned lcd_vsync_pj4_pins[] = {
8598c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_VSYNC_PJ4,
8608c2ecf20Sopenharmony_ci};
8618c2ecf20Sopenharmony_ci
8628c2ecf20Sopenharmony_cistatic const unsigned uart2_cts_n_pj5_pins[] = {
8638c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_CTS_N_PJ5,
8648c2ecf20Sopenharmony_ci};
8658c2ecf20Sopenharmony_ci
8668c2ecf20Sopenharmony_cistatic const unsigned uart2_rts_n_pj6_pins[] = {
8678c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_RTS_N_PJ6,
8688c2ecf20Sopenharmony_ci};
8698c2ecf20Sopenharmony_ci
8708c2ecf20Sopenharmony_cistatic const unsigned gmi_a16_pj7_pins[] = {
8718c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_A16_PJ7,
8728c2ecf20Sopenharmony_ci};
8738c2ecf20Sopenharmony_ci
8748c2ecf20Sopenharmony_cistatic const unsigned gmi_adv_n_pk0_pins[] = {
8758c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_ADV_N_PK0,
8768c2ecf20Sopenharmony_ci};
8778c2ecf20Sopenharmony_ci
8788c2ecf20Sopenharmony_cistatic const unsigned gmi_clk_pk1_pins[] = {
8798c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CLK_PK1,
8808c2ecf20Sopenharmony_ci};
8818c2ecf20Sopenharmony_ci
8828c2ecf20Sopenharmony_cistatic const unsigned gmi_cs4_n_pk2_pins[] = {
8838c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS4_N_PK2,
8848c2ecf20Sopenharmony_ci};
8858c2ecf20Sopenharmony_ci
8868c2ecf20Sopenharmony_cistatic const unsigned gmi_cs2_n_pk3_pins[] = {
8878c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS2_N_PK3,
8888c2ecf20Sopenharmony_ci};
8898c2ecf20Sopenharmony_ci
8908c2ecf20Sopenharmony_cistatic const unsigned gmi_cs3_n_pk4_pins[] = {
8918c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS3_N_PK4,
8928c2ecf20Sopenharmony_ci};
8938c2ecf20Sopenharmony_ci
8948c2ecf20Sopenharmony_cistatic const unsigned spdif_out_pk5_pins[] = {
8958c2ecf20Sopenharmony_ci	TEGRA_PIN_SPDIF_OUT_PK5,
8968c2ecf20Sopenharmony_ci};
8978c2ecf20Sopenharmony_ci
8988c2ecf20Sopenharmony_cistatic const unsigned spdif_in_pk6_pins[] = {
8998c2ecf20Sopenharmony_ci	TEGRA_PIN_SPDIF_IN_PK6,
9008c2ecf20Sopenharmony_ci};
9018c2ecf20Sopenharmony_ci
9028c2ecf20Sopenharmony_cistatic const unsigned gmi_a19_pk7_pins[] = {
9038c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_A19_PK7,
9048c2ecf20Sopenharmony_ci};
9058c2ecf20Sopenharmony_ci
9068c2ecf20Sopenharmony_cistatic const unsigned vi_d2_pl0_pins[] = {
9078c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D2_PL0,
9088c2ecf20Sopenharmony_ci};
9098c2ecf20Sopenharmony_ci
9108c2ecf20Sopenharmony_cistatic const unsigned vi_d3_pl1_pins[] = {
9118c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D3_PL1,
9128c2ecf20Sopenharmony_ci};
9138c2ecf20Sopenharmony_ci
9148c2ecf20Sopenharmony_cistatic const unsigned vi_d4_pl2_pins[] = {
9158c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D4_PL2,
9168c2ecf20Sopenharmony_ci};
9178c2ecf20Sopenharmony_ci
9188c2ecf20Sopenharmony_cistatic const unsigned vi_d5_pl3_pins[] = {
9198c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D5_PL3,
9208c2ecf20Sopenharmony_ci};
9218c2ecf20Sopenharmony_ci
9228c2ecf20Sopenharmony_cistatic const unsigned vi_d6_pl4_pins[] = {
9238c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D6_PL4,
9248c2ecf20Sopenharmony_ci};
9258c2ecf20Sopenharmony_ci
9268c2ecf20Sopenharmony_cistatic const unsigned vi_d7_pl5_pins[] = {
9278c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D7_PL5,
9288c2ecf20Sopenharmony_ci};
9298c2ecf20Sopenharmony_ci
9308c2ecf20Sopenharmony_cistatic const unsigned vi_d8_pl6_pins[] = {
9318c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D8_PL6,
9328c2ecf20Sopenharmony_ci};
9338c2ecf20Sopenharmony_ci
9348c2ecf20Sopenharmony_cistatic const unsigned vi_d9_pl7_pins[] = {
9358c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D9_PL7,
9368c2ecf20Sopenharmony_ci};
9378c2ecf20Sopenharmony_ci
9388c2ecf20Sopenharmony_cistatic const unsigned lcd_d16_pm0_pins[] = {
9398c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D16_PM0,
9408c2ecf20Sopenharmony_ci};
9418c2ecf20Sopenharmony_ci
9428c2ecf20Sopenharmony_cistatic const unsigned lcd_d17_pm1_pins[] = {
9438c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D17_PM1,
9448c2ecf20Sopenharmony_ci};
9458c2ecf20Sopenharmony_ci
9468c2ecf20Sopenharmony_cistatic const unsigned lcd_d18_pm2_pins[] = {
9478c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D18_PM2,
9488c2ecf20Sopenharmony_ci};
9498c2ecf20Sopenharmony_ci
9508c2ecf20Sopenharmony_cistatic const unsigned lcd_d19_pm3_pins[] = {
9518c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D19_PM3,
9528c2ecf20Sopenharmony_ci};
9538c2ecf20Sopenharmony_ci
9548c2ecf20Sopenharmony_cistatic const unsigned lcd_d20_pm4_pins[] = {
9558c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D20_PM4,
9568c2ecf20Sopenharmony_ci};
9578c2ecf20Sopenharmony_ci
9588c2ecf20Sopenharmony_cistatic const unsigned lcd_d21_pm5_pins[] = {
9598c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D21_PM5,
9608c2ecf20Sopenharmony_ci};
9618c2ecf20Sopenharmony_ci
9628c2ecf20Sopenharmony_cistatic const unsigned lcd_d22_pm6_pins[] = {
9638c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D22_PM6,
9648c2ecf20Sopenharmony_ci};
9658c2ecf20Sopenharmony_ci
9668c2ecf20Sopenharmony_cistatic const unsigned lcd_d23_pm7_pins[] = {
9678c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D23_PM7,
9688c2ecf20Sopenharmony_ci};
9698c2ecf20Sopenharmony_ci
9708c2ecf20Sopenharmony_cistatic const unsigned dap1_fs_pn0_pins[] = {
9718c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_FS_PN0,
9728c2ecf20Sopenharmony_ci};
9738c2ecf20Sopenharmony_ci
9748c2ecf20Sopenharmony_cistatic const unsigned dap1_din_pn1_pins[] = {
9758c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_DIN_PN1,
9768c2ecf20Sopenharmony_ci};
9778c2ecf20Sopenharmony_ci
9788c2ecf20Sopenharmony_cistatic const unsigned dap1_dout_pn2_pins[] = {
9798c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_DOUT_PN2,
9808c2ecf20Sopenharmony_ci};
9818c2ecf20Sopenharmony_ci
9828c2ecf20Sopenharmony_cistatic const unsigned dap1_sclk_pn3_pins[] = {
9838c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_SCLK_PN3,
9848c2ecf20Sopenharmony_ci};
9858c2ecf20Sopenharmony_ci
9868c2ecf20Sopenharmony_cistatic const unsigned lcd_cs0_n_pn4_pins[] = {
9878c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_CS0_N_PN4,
9888c2ecf20Sopenharmony_ci};
9898c2ecf20Sopenharmony_ci
9908c2ecf20Sopenharmony_cistatic const unsigned lcd_sdout_pn5_pins[] = {
9918c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_SDOUT_PN5,
9928c2ecf20Sopenharmony_ci};
9938c2ecf20Sopenharmony_ci
9948c2ecf20Sopenharmony_cistatic const unsigned lcd_dc0_pn6_pins[] = {
9958c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_DC0_PN6,
9968c2ecf20Sopenharmony_ci};
9978c2ecf20Sopenharmony_ci
9988c2ecf20Sopenharmony_cistatic const unsigned hdmi_int_pn7_pins[] = {
9998c2ecf20Sopenharmony_ci	TEGRA_PIN_HDMI_INT_PN7,
10008c2ecf20Sopenharmony_ci};
10018c2ecf20Sopenharmony_ci
10028c2ecf20Sopenharmony_cistatic const unsigned ulpi_data7_po0_pins[] = {
10038c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA7_PO0,
10048c2ecf20Sopenharmony_ci};
10058c2ecf20Sopenharmony_ci
10068c2ecf20Sopenharmony_cistatic const unsigned ulpi_data0_po1_pins[] = {
10078c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA0_PO1,
10088c2ecf20Sopenharmony_ci};
10098c2ecf20Sopenharmony_ci
10108c2ecf20Sopenharmony_cistatic const unsigned ulpi_data1_po2_pins[] = {
10118c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA1_PO2,
10128c2ecf20Sopenharmony_ci};
10138c2ecf20Sopenharmony_ci
10148c2ecf20Sopenharmony_cistatic const unsigned ulpi_data2_po3_pins[] = {
10158c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA2_PO3,
10168c2ecf20Sopenharmony_ci};
10178c2ecf20Sopenharmony_ci
10188c2ecf20Sopenharmony_cistatic const unsigned ulpi_data3_po4_pins[] = {
10198c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA3_PO4,
10208c2ecf20Sopenharmony_ci};
10218c2ecf20Sopenharmony_ci
10228c2ecf20Sopenharmony_cistatic const unsigned ulpi_data4_po5_pins[] = {
10238c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA4_PO5,
10248c2ecf20Sopenharmony_ci};
10258c2ecf20Sopenharmony_ci
10268c2ecf20Sopenharmony_cistatic const unsigned ulpi_data5_po6_pins[] = {
10278c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA5_PO6,
10288c2ecf20Sopenharmony_ci};
10298c2ecf20Sopenharmony_ci
10308c2ecf20Sopenharmony_cistatic const unsigned ulpi_data6_po7_pins[] = {
10318c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA6_PO7,
10328c2ecf20Sopenharmony_ci};
10338c2ecf20Sopenharmony_ci
10348c2ecf20Sopenharmony_cistatic const unsigned dap3_fs_pp0_pins[] = {
10358c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_FS_PP0,
10368c2ecf20Sopenharmony_ci};
10378c2ecf20Sopenharmony_ci
10388c2ecf20Sopenharmony_cistatic const unsigned dap3_din_pp1_pins[] = {
10398c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_DIN_PP1,
10408c2ecf20Sopenharmony_ci};
10418c2ecf20Sopenharmony_ci
10428c2ecf20Sopenharmony_cistatic const unsigned dap3_dout_pp2_pins[] = {
10438c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_DOUT_PP2,
10448c2ecf20Sopenharmony_ci};
10458c2ecf20Sopenharmony_ci
10468c2ecf20Sopenharmony_cistatic const unsigned dap3_sclk_pp3_pins[] = {
10478c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_SCLK_PP3,
10488c2ecf20Sopenharmony_ci};
10498c2ecf20Sopenharmony_ci
10508c2ecf20Sopenharmony_cistatic const unsigned dap4_fs_pp4_pins[] = {
10518c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_FS_PP4,
10528c2ecf20Sopenharmony_ci};
10538c2ecf20Sopenharmony_ci
10548c2ecf20Sopenharmony_cistatic const unsigned dap4_din_pp5_pins[] = {
10558c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_DIN_PP5,
10568c2ecf20Sopenharmony_ci};
10578c2ecf20Sopenharmony_ci
10588c2ecf20Sopenharmony_cistatic const unsigned dap4_dout_pp6_pins[] = {
10598c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_DOUT_PP6,
10608c2ecf20Sopenharmony_ci};
10618c2ecf20Sopenharmony_ci
10628c2ecf20Sopenharmony_cistatic const unsigned dap4_sclk_pp7_pins[] = {
10638c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_SCLK_PP7,
10648c2ecf20Sopenharmony_ci};
10658c2ecf20Sopenharmony_ci
10668c2ecf20Sopenharmony_cistatic const unsigned kb_col0_pq0_pins[] = {
10678c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL0_PQ0,
10688c2ecf20Sopenharmony_ci};
10698c2ecf20Sopenharmony_ci
10708c2ecf20Sopenharmony_cistatic const unsigned kb_col1_pq1_pins[] = {
10718c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL1_PQ1,
10728c2ecf20Sopenharmony_ci};
10738c2ecf20Sopenharmony_ci
10748c2ecf20Sopenharmony_cistatic const unsigned kb_col2_pq2_pins[] = {
10758c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL2_PQ2,
10768c2ecf20Sopenharmony_ci};
10778c2ecf20Sopenharmony_ci
10788c2ecf20Sopenharmony_cistatic const unsigned kb_col3_pq3_pins[] = {
10798c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL3_PQ3,
10808c2ecf20Sopenharmony_ci};
10818c2ecf20Sopenharmony_ci
10828c2ecf20Sopenharmony_cistatic const unsigned kb_col4_pq4_pins[] = {
10838c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL4_PQ4,
10848c2ecf20Sopenharmony_ci};
10858c2ecf20Sopenharmony_ci
10868c2ecf20Sopenharmony_cistatic const unsigned kb_col5_pq5_pins[] = {
10878c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL5_PQ5,
10888c2ecf20Sopenharmony_ci};
10898c2ecf20Sopenharmony_ci
10908c2ecf20Sopenharmony_cistatic const unsigned kb_col6_pq6_pins[] = {
10918c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL6_PQ6,
10928c2ecf20Sopenharmony_ci};
10938c2ecf20Sopenharmony_ci
10948c2ecf20Sopenharmony_cistatic const unsigned kb_col7_pq7_pins[] = {
10958c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL7_PQ7,
10968c2ecf20Sopenharmony_ci};
10978c2ecf20Sopenharmony_ci
10988c2ecf20Sopenharmony_cistatic const unsigned kb_row0_pr0_pins[] = {
10998c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW0_PR0,
11008c2ecf20Sopenharmony_ci};
11018c2ecf20Sopenharmony_ci
11028c2ecf20Sopenharmony_cistatic const unsigned kb_row1_pr1_pins[] = {
11038c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW1_PR1,
11048c2ecf20Sopenharmony_ci};
11058c2ecf20Sopenharmony_ci
11068c2ecf20Sopenharmony_cistatic const unsigned kb_row2_pr2_pins[] = {
11078c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW2_PR2,
11088c2ecf20Sopenharmony_ci};
11098c2ecf20Sopenharmony_ci
11108c2ecf20Sopenharmony_cistatic const unsigned kb_row3_pr3_pins[] = {
11118c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW3_PR3,
11128c2ecf20Sopenharmony_ci};
11138c2ecf20Sopenharmony_ci
11148c2ecf20Sopenharmony_cistatic const unsigned kb_row4_pr4_pins[] = {
11158c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW4_PR4,
11168c2ecf20Sopenharmony_ci};
11178c2ecf20Sopenharmony_ci
11188c2ecf20Sopenharmony_cistatic const unsigned kb_row5_pr5_pins[] = {
11198c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW5_PR5,
11208c2ecf20Sopenharmony_ci};
11218c2ecf20Sopenharmony_ci
11228c2ecf20Sopenharmony_cistatic const unsigned kb_row6_pr6_pins[] = {
11238c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW6_PR6,
11248c2ecf20Sopenharmony_ci};
11258c2ecf20Sopenharmony_ci
11268c2ecf20Sopenharmony_cistatic const unsigned kb_row7_pr7_pins[] = {
11278c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW7_PR7,
11288c2ecf20Sopenharmony_ci};
11298c2ecf20Sopenharmony_ci
11308c2ecf20Sopenharmony_cistatic const unsigned kb_row8_ps0_pins[] = {
11318c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW8_PS0,
11328c2ecf20Sopenharmony_ci};
11338c2ecf20Sopenharmony_ci
11348c2ecf20Sopenharmony_cistatic const unsigned kb_row9_ps1_pins[] = {
11358c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW9_PS1,
11368c2ecf20Sopenharmony_ci};
11378c2ecf20Sopenharmony_ci
11388c2ecf20Sopenharmony_cistatic const unsigned kb_row10_ps2_pins[] = {
11398c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW10_PS2,
11408c2ecf20Sopenharmony_ci};
11418c2ecf20Sopenharmony_ci
11428c2ecf20Sopenharmony_cistatic const unsigned kb_row11_ps3_pins[] = {
11438c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW11_PS3,
11448c2ecf20Sopenharmony_ci};
11458c2ecf20Sopenharmony_ci
11468c2ecf20Sopenharmony_cistatic const unsigned kb_row12_ps4_pins[] = {
11478c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW12_PS4,
11488c2ecf20Sopenharmony_ci};
11498c2ecf20Sopenharmony_ci
11508c2ecf20Sopenharmony_cistatic const unsigned kb_row13_ps5_pins[] = {
11518c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW13_PS5,
11528c2ecf20Sopenharmony_ci};
11538c2ecf20Sopenharmony_ci
11548c2ecf20Sopenharmony_cistatic const unsigned kb_row14_ps6_pins[] = {
11558c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW14_PS6,
11568c2ecf20Sopenharmony_ci};
11578c2ecf20Sopenharmony_ci
11588c2ecf20Sopenharmony_cistatic const unsigned kb_row15_ps7_pins[] = {
11598c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW15_PS7,
11608c2ecf20Sopenharmony_ci};
11618c2ecf20Sopenharmony_ci
11628c2ecf20Sopenharmony_cistatic const unsigned vi_pclk_pt0_pins[] = {
11638c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_PCLK_PT0,
11648c2ecf20Sopenharmony_ci};
11658c2ecf20Sopenharmony_ci
11668c2ecf20Sopenharmony_cistatic const unsigned vi_mclk_pt1_pins[] = {
11678c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_MCLK_PT1,
11688c2ecf20Sopenharmony_ci};
11698c2ecf20Sopenharmony_ci
11708c2ecf20Sopenharmony_cistatic const unsigned vi_d10_pt2_pins[] = {
11718c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D10_PT2,
11728c2ecf20Sopenharmony_ci};
11738c2ecf20Sopenharmony_ci
11748c2ecf20Sopenharmony_cistatic const unsigned vi_d11_pt3_pins[] = {
11758c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D11_PT3,
11768c2ecf20Sopenharmony_ci};
11778c2ecf20Sopenharmony_ci
11788c2ecf20Sopenharmony_cistatic const unsigned vi_d0_pt4_pins[] = {
11798c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D0_PT4,
11808c2ecf20Sopenharmony_ci};
11818c2ecf20Sopenharmony_ci
11828c2ecf20Sopenharmony_cistatic const unsigned gen2_i2c_scl_pt5_pins[] = {
11838c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SCL_PT5,
11848c2ecf20Sopenharmony_ci};
11858c2ecf20Sopenharmony_ci
11868c2ecf20Sopenharmony_cistatic const unsigned gen2_i2c_sda_pt6_pins[] = {
11878c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SDA_PT6,
11888c2ecf20Sopenharmony_ci};
11898c2ecf20Sopenharmony_ci
11908c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_cmd_pt7_pins[] = {
11918c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_CMD_PT7,
11928c2ecf20Sopenharmony_ci};
11938c2ecf20Sopenharmony_ci
11948c2ecf20Sopenharmony_cistatic const unsigned pu0_pins[] = {
11958c2ecf20Sopenharmony_ci	TEGRA_PIN_PU0,
11968c2ecf20Sopenharmony_ci};
11978c2ecf20Sopenharmony_ci
11988c2ecf20Sopenharmony_cistatic const unsigned pu1_pins[] = {
11998c2ecf20Sopenharmony_ci	TEGRA_PIN_PU1,
12008c2ecf20Sopenharmony_ci};
12018c2ecf20Sopenharmony_ci
12028c2ecf20Sopenharmony_cistatic const unsigned pu2_pins[] = {
12038c2ecf20Sopenharmony_ci	TEGRA_PIN_PU2,
12048c2ecf20Sopenharmony_ci};
12058c2ecf20Sopenharmony_ci
12068c2ecf20Sopenharmony_cistatic const unsigned pu3_pins[] = {
12078c2ecf20Sopenharmony_ci	TEGRA_PIN_PU3,
12088c2ecf20Sopenharmony_ci};
12098c2ecf20Sopenharmony_ci
12108c2ecf20Sopenharmony_cistatic const unsigned pu4_pins[] = {
12118c2ecf20Sopenharmony_ci	TEGRA_PIN_PU4,
12128c2ecf20Sopenharmony_ci};
12138c2ecf20Sopenharmony_ci
12148c2ecf20Sopenharmony_cistatic const unsigned pu5_pins[] = {
12158c2ecf20Sopenharmony_ci	TEGRA_PIN_PU5,
12168c2ecf20Sopenharmony_ci};
12178c2ecf20Sopenharmony_ci
12188c2ecf20Sopenharmony_cistatic const unsigned pu6_pins[] = {
12198c2ecf20Sopenharmony_ci	TEGRA_PIN_PU6,
12208c2ecf20Sopenharmony_ci};
12218c2ecf20Sopenharmony_ci
12228c2ecf20Sopenharmony_cistatic const unsigned jtag_rtck_pu7_pins[] = {
12238c2ecf20Sopenharmony_ci	TEGRA_PIN_JTAG_RTCK_PU7,
12248c2ecf20Sopenharmony_ci};
12258c2ecf20Sopenharmony_ci
12268c2ecf20Sopenharmony_cistatic const unsigned pv0_pins[] = {
12278c2ecf20Sopenharmony_ci	TEGRA_PIN_PV0,
12288c2ecf20Sopenharmony_ci};
12298c2ecf20Sopenharmony_ci
12308c2ecf20Sopenharmony_cistatic const unsigned pv1_pins[] = {
12318c2ecf20Sopenharmony_ci	TEGRA_PIN_PV1,
12328c2ecf20Sopenharmony_ci};
12338c2ecf20Sopenharmony_ci
12348c2ecf20Sopenharmony_cistatic const unsigned pv2_pins[] = {
12358c2ecf20Sopenharmony_ci	TEGRA_PIN_PV2,
12368c2ecf20Sopenharmony_ci};
12378c2ecf20Sopenharmony_ci
12388c2ecf20Sopenharmony_cistatic const unsigned pv3_pins[] = {
12398c2ecf20Sopenharmony_ci	TEGRA_PIN_PV3,
12408c2ecf20Sopenharmony_ci};
12418c2ecf20Sopenharmony_ci
12428c2ecf20Sopenharmony_cistatic const unsigned ddc_scl_pv4_pins[] = {
12438c2ecf20Sopenharmony_ci	TEGRA_PIN_DDC_SCL_PV4,
12448c2ecf20Sopenharmony_ci};
12458c2ecf20Sopenharmony_ci
12468c2ecf20Sopenharmony_cistatic const unsigned ddc_sda_pv5_pins[] = {
12478c2ecf20Sopenharmony_ci	TEGRA_PIN_DDC_SDA_PV5,
12488c2ecf20Sopenharmony_ci};
12498c2ecf20Sopenharmony_ci
12508c2ecf20Sopenharmony_cistatic const unsigned crt_hsync_pv6_pins[] = {
12518c2ecf20Sopenharmony_ci	TEGRA_PIN_CRT_HSYNC_PV6,
12528c2ecf20Sopenharmony_ci};
12538c2ecf20Sopenharmony_ci
12548c2ecf20Sopenharmony_cistatic const unsigned crt_vsync_pv7_pins[] = {
12558c2ecf20Sopenharmony_ci	TEGRA_PIN_CRT_VSYNC_PV7,
12568c2ecf20Sopenharmony_ci};
12578c2ecf20Sopenharmony_ci
12588c2ecf20Sopenharmony_cistatic const unsigned lcd_cs1_n_pw0_pins[] = {
12598c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_CS1_N_PW0,
12608c2ecf20Sopenharmony_ci};
12618c2ecf20Sopenharmony_ci
12628c2ecf20Sopenharmony_cistatic const unsigned lcd_m1_pw1_pins[] = {
12638c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_M1_PW1,
12648c2ecf20Sopenharmony_ci};
12658c2ecf20Sopenharmony_ci
12668c2ecf20Sopenharmony_cistatic const unsigned spi2_cs1_n_pw2_pins[] = {
12678c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_CS1_N_PW2,
12688c2ecf20Sopenharmony_ci};
12698c2ecf20Sopenharmony_ci
12708c2ecf20Sopenharmony_cistatic const unsigned spi2_cs2_n_pw3_pins[] = {
12718c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_CS2_N_PW3,
12728c2ecf20Sopenharmony_ci};
12738c2ecf20Sopenharmony_ci
12748c2ecf20Sopenharmony_cistatic const unsigned clk1_out_pw4_pins[] = {
12758c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK1_OUT_PW4,
12768c2ecf20Sopenharmony_ci};
12778c2ecf20Sopenharmony_ci
12788c2ecf20Sopenharmony_cistatic const unsigned clk2_out_pw5_pins[] = {
12798c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK2_OUT_PW5,
12808c2ecf20Sopenharmony_ci};
12818c2ecf20Sopenharmony_ci
12828c2ecf20Sopenharmony_cistatic const unsigned uart3_txd_pw6_pins[] = {
12838c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_TXD_PW6,
12848c2ecf20Sopenharmony_ci};
12858c2ecf20Sopenharmony_ci
12868c2ecf20Sopenharmony_cistatic const unsigned uart3_rxd_pw7_pins[] = {
12878c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_RXD_PW7,
12888c2ecf20Sopenharmony_ci};
12898c2ecf20Sopenharmony_ci
12908c2ecf20Sopenharmony_cistatic const unsigned spi2_mosi_px0_pins[] = {
12918c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_MOSI_PX0,
12928c2ecf20Sopenharmony_ci};
12938c2ecf20Sopenharmony_ci
12948c2ecf20Sopenharmony_cistatic const unsigned spi2_miso_px1_pins[] = {
12958c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_MISO_PX1,
12968c2ecf20Sopenharmony_ci};
12978c2ecf20Sopenharmony_ci
12988c2ecf20Sopenharmony_cistatic const unsigned spi2_sck_px2_pins[] = {
12998c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_SCK_PX2,
13008c2ecf20Sopenharmony_ci};
13018c2ecf20Sopenharmony_ci
13028c2ecf20Sopenharmony_cistatic const unsigned spi2_cs0_n_px3_pins[] = {
13038c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_CS0_N_PX3,
13048c2ecf20Sopenharmony_ci};
13058c2ecf20Sopenharmony_ci
13068c2ecf20Sopenharmony_cistatic const unsigned spi1_mosi_px4_pins[] = {
13078c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_MOSI_PX4,
13088c2ecf20Sopenharmony_ci};
13098c2ecf20Sopenharmony_ci
13108c2ecf20Sopenharmony_cistatic const unsigned spi1_sck_px5_pins[] = {
13118c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_SCK_PX5,
13128c2ecf20Sopenharmony_ci};
13138c2ecf20Sopenharmony_ci
13148c2ecf20Sopenharmony_cistatic const unsigned spi1_cs0_n_px6_pins[] = {
13158c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_CS0_N_PX6,
13168c2ecf20Sopenharmony_ci};
13178c2ecf20Sopenharmony_ci
13188c2ecf20Sopenharmony_cistatic const unsigned spi1_miso_px7_pins[] = {
13198c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_MISO_PX7,
13208c2ecf20Sopenharmony_ci};
13218c2ecf20Sopenharmony_ci
13228c2ecf20Sopenharmony_cistatic const unsigned ulpi_clk_py0_pins[] = {
13238c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_CLK_PY0,
13248c2ecf20Sopenharmony_ci};
13258c2ecf20Sopenharmony_ci
13268c2ecf20Sopenharmony_cistatic const unsigned ulpi_dir_py1_pins[] = {
13278c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DIR_PY1,
13288c2ecf20Sopenharmony_ci};
13298c2ecf20Sopenharmony_ci
13308c2ecf20Sopenharmony_cistatic const unsigned ulpi_nxt_py2_pins[] = {
13318c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_NXT_PY2,
13328c2ecf20Sopenharmony_ci};
13338c2ecf20Sopenharmony_ci
13348c2ecf20Sopenharmony_cistatic const unsigned ulpi_stp_py3_pins[] = {
13358c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_STP_PY3,
13368c2ecf20Sopenharmony_ci};
13378c2ecf20Sopenharmony_ci
13388c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_dat3_py4_pins[] = {
13398c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT3_PY4,
13408c2ecf20Sopenharmony_ci};
13418c2ecf20Sopenharmony_ci
13428c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_dat2_py5_pins[] = {
13438c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT2_PY5,
13448c2ecf20Sopenharmony_ci};
13458c2ecf20Sopenharmony_ci
13468c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_dat1_py6_pins[] = {
13478c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT1_PY6,
13488c2ecf20Sopenharmony_ci};
13498c2ecf20Sopenharmony_ci
13508c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_dat0_py7_pins[] = {
13518c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT0_PY7,
13528c2ecf20Sopenharmony_ci};
13538c2ecf20Sopenharmony_ci
13548c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_clk_pz0_pins[] = {
13558c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_CLK_PZ0,
13568c2ecf20Sopenharmony_ci};
13578c2ecf20Sopenharmony_ci
13588c2ecf20Sopenharmony_cistatic const unsigned sdmmc1_cmd_pz1_pins[] = {
13598c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_CMD_PZ1,
13608c2ecf20Sopenharmony_ci};
13618c2ecf20Sopenharmony_ci
13628c2ecf20Sopenharmony_cistatic const unsigned lcd_sdin_pz2_pins[] = {
13638c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_SDIN_PZ2,
13648c2ecf20Sopenharmony_ci};
13658c2ecf20Sopenharmony_ci
13668c2ecf20Sopenharmony_cistatic const unsigned lcd_wr_n_pz3_pins[] = {
13678c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_WR_N_PZ3,
13688c2ecf20Sopenharmony_ci};
13698c2ecf20Sopenharmony_ci
13708c2ecf20Sopenharmony_cistatic const unsigned lcd_sck_pz4_pins[] = {
13718c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_SCK_PZ4,
13728c2ecf20Sopenharmony_ci};
13738c2ecf20Sopenharmony_ci
13748c2ecf20Sopenharmony_cistatic const unsigned sys_clk_req_pz5_pins[] = {
13758c2ecf20Sopenharmony_ci	TEGRA_PIN_SYS_CLK_REQ_PZ5,
13768c2ecf20Sopenharmony_ci};
13778c2ecf20Sopenharmony_ci
13788c2ecf20Sopenharmony_cistatic const unsigned pwr_i2c_scl_pz6_pins[] = {
13798c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SCL_PZ6,
13808c2ecf20Sopenharmony_ci};
13818c2ecf20Sopenharmony_ci
13828c2ecf20Sopenharmony_cistatic const unsigned pwr_i2c_sda_pz7_pins[] = {
13838c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SDA_PZ7,
13848c2ecf20Sopenharmony_ci};
13858c2ecf20Sopenharmony_ci
13868c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat0_paa0_pins[] = {
13878c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT0_PAA0,
13888c2ecf20Sopenharmony_ci};
13898c2ecf20Sopenharmony_ci
13908c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat1_paa1_pins[] = {
13918c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT1_PAA1,
13928c2ecf20Sopenharmony_ci};
13938c2ecf20Sopenharmony_ci
13948c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat2_paa2_pins[] = {
13958c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT2_PAA2,
13968c2ecf20Sopenharmony_ci};
13978c2ecf20Sopenharmony_ci
13988c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat3_paa3_pins[] = {
13998c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT3_PAA3,
14008c2ecf20Sopenharmony_ci};
14018c2ecf20Sopenharmony_ci
14028c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat4_paa4_pins[] = {
14038c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT4_PAA4,
14048c2ecf20Sopenharmony_ci};
14058c2ecf20Sopenharmony_ci
14068c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat5_paa5_pins[] = {
14078c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT5_PAA5,
14088c2ecf20Sopenharmony_ci};
14098c2ecf20Sopenharmony_ci
14108c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat6_paa6_pins[] = {
14118c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT6_PAA6,
14128c2ecf20Sopenharmony_ci};
14138c2ecf20Sopenharmony_ci
14148c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_dat7_paa7_pins[] = {
14158c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT7_PAA7,
14168c2ecf20Sopenharmony_ci};
14178c2ecf20Sopenharmony_ci
14188c2ecf20Sopenharmony_cistatic const unsigned pbb0_pins[] = {
14198c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB0,
14208c2ecf20Sopenharmony_ci};
14218c2ecf20Sopenharmony_ci
14228c2ecf20Sopenharmony_cistatic const unsigned cam_i2c_scl_pbb1_pins[] = {
14238c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SCL_PBB1,
14248c2ecf20Sopenharmony_ci};
14258c2ecf20Sopenharmony_ci
14268c2ecf20Sopenharmony_cistatic const unsigned cam_i2c_sda_pbb2_pins[] = {
14278c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SDA_PBB2,
14288c2ecf20Sopenharmony_ci};
14298c2ecf20Sopenharmony_ci
14308c2ecf20Sopenharmony_cistatic const unsigned pbb3_pins[] = {
14318c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB3,
14328c2ecf20Sopenharmony_ci};
14338c2ecf20Sopenharmony_ci
14348c2ecf20Sopenharmony_cistatic const unsigned pbb4_pins[] = {
14358c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB4,
14368c2ecf20Sopenharmony_ci};
14378c2ecf20Sopenharmony_ci
14388c2ecf20Sopenharmony_cistatic const unsigned pbb5_pins[] = {
14398c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB5,
14408c2ecf20Sopenharmony_ci};
14418c2ecf20Sopenharmony_ci
14428c2ecf20Sopenharmony_cistatic const unsigned pbb6_pins[] = {
14438c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB6,
14448c2ecf20Sopenharmony_ci};
14458c2ecf20Sopenharmony_ci
14468c2ecf20Sopenharmony_cistatic const unsigned pbb7_pins[] = {
14478c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB7,
14488c2ecf20Sopenharmony_ci};
14498c2ecf20Sopenharmony_ci
14508c2ecf20Sopenharmony_cistatic const unsigned cam_mclk_pcc0_pins[] = {
14518c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_MCLK_PCC0,
14528c2ecf20Sopenharmony_ci};
14538c2ecf20Sopenharmony_ci
14548c2ecf20Sopenharmony_cistatic const unsigned pcc1_pins[] = {
14558c2ecf20Sopenharmony_ci	TEGRA_PIN_PCC1,
14568c2ecf20Sopenharmony_ci};
14578c2ecf20Sopenharmony_ci
14588c2ecf20Sopenharmony_cistatic const unsigned pcc2_pins[] = {
14598c2ecf20Sopenharmony_ci	TEGRA_PIN_PCC2,
14608c2ecf20Sopenharmony_ci};
14618c2ecf20Sopenharmony_ci
14628c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_rst_n_pcc3_pins[] = {
14638c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_RST_N_PCC3,
14648c2ecf20Sopenharmony_ci};
14658c2ecf20Sopenharmony_ci
14668c2ecf20Sopenharmony_cistatic const unsigned sdmmc4_clk_pcc4_pins[] = {
14678c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_CLK_PCC4,
14688c2ecf20Sopenharmony_ci};
14698c2ecf20Sopenharmony_ci
14708c2ecf20Sopenharmony_cistatic const unsigned clk2_req_pcc5_pins[] = {
14718c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK2_REQ_PCC5,
14728c2ecf20Sopenharmony_ci};
14738c2ecf20Sopenharmony_ci
14748c2ecf20Sopenharmony_cistatic const unsigned pex_l2_rst_n_pcc6_pins[] = {
14758c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L2_RST_N_PCC6,
14768c2ecf20Sopenharmony_ci};
14778c2ecf20Sopenharmony_ci
14788c2ecf20Sopenharmony_cistatic const unsigned pex_l2_clkreq_n_pcc7_pins[] = {
14798c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L2_CLKREQ_N_PCC7,
14808c2ecf20Sopenharmony_ci};
14818c2ecf20Sopenharmony_ci
14828c2ecf20Sopenharmony_cistatic const unsigned pex_l0_prsnt_n_pdd0_pins[] = {
14838c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L0_PRSNT_N_PDD0,
14848c2ecf20Sopenharmony_ci};
14858c2ecf20Sopenharmony_ci
14868c2ecf20Sopenharmony_cistatic const unsigned pex_l0_rst_n_pdd1_pins[] = {
14878c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L0_RST_N_PDD1,
14888c2ecf20Sopenharmony_ci};
14898c2ecf20Sopenharmony_ci
14908c2ecf20Sopenharmony_cistatic const unsigned pex_l0_clkreq_n_pdd2_pins[] = {
14918c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L0_CLKREQ_N_PDD2,
14928c2ecf20Sopenharmony_ci};
14938c2ecf20Sopenharmony_ci
14948c2ecf20Sopenharmony_cistatic const unsigned pex_wake_n_pdd3_pins[] = {
14958c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_WAKE_N_PDD3,
14968c2ecf20Sopenharmony_ci};
14978c2ecf20Sopenharmony_ci
14988c2ecf20Sopenharmony_cistatic const unsigned pex_l1_prsnt_n_pdd4_pins[] = {
14998c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L1_PRSNT_N_PDD4,
15008c2ecf20Sopenharmony_ci};
15018c2ecf20Sopenharmony_ci
15028c2ecf20Sopenharmony_cistatic const unsigned pex_l1_rst_n_pdd5_pins[] = {
15038c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L1_RST_N_PDD5,
15048c2ecf20Sopenharmony_ci};
15058c2ecf20Sopenharmony_ci
15068c2ecf20Sopenharmony_cistatic const unsigned pex_l1_clkreq_n_pdd6_pins[] = {
15078c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L1_CLKREQ_N_PDD6,
15088c2ecf20Sopenharmony_ci};
15098c2ecf20Sopenharmony_ci
15108c2ecf20Sopenharmony_cistatic const unsigned pex_l2_prsnt_n_pdd7_pins[] = {
15118c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L2_PRSNT_N_PDD7,
15128c2ecf20Sopenharmony_ci};
15138c2ecf20Sopenharmony_ci
15148c2ecf20Sopenharmony_cistatic const unsigned clk3_out_pee0_pins[] = {
15158c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK3_OUT_PEE0,
15168c2ecf20Sopenharmony_ci};
15178c2ecf20Sopenharmony_ci
15188c2ecf20Sopenharmony_cistatic const unsigned clk3_req_pee1_pins[] = {
15198c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK3_REQ_PEE1,
15208c2ecf20Sopenharmony_ci};
15218c2ecf20Sopenharmony_ci
15228c2ecf20Sopenharmony_cistatic const unsigned clk1_req_pee2_pins[] = {
15238c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK1_REQ_PEE2,
15248c2ecf20Sopenharmony_ci};
15258c2ecf20Sopenharmony_ci
15268c2ecf20Sopenharmony_cistatic const unsigned hdmi_cec_pee3_pins[] = {
15278c2ecf20Sopenharmony_ci	TEGRA_PIN_HDMI_CEC_PEE3,
15288c2ecf20Sopenharmony_ci};
15298c2ecf20Sopenharmony_ci
15308c2ecf20Sopenharmony_cistatic const unsigned clk_32k_in_pins[] = {
15318c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK_32K_IN,
15328c2ecf20Sopenharmony_ci};
15338c2ecf20Sopenharmony_ci
15348c2ecf20Sopenharmony_cistatic const unsigned core_pwr_req_pins[] = {
15358c2ecf20Sopenharmony_ci	TEGRA_PIN_CORE_PWR_REQ,
15368c2ecf20Sopenharmony_ci};
15378c2ecf20Sopenharmony_ci
15388c2ecf20Sopenharmony_cistatic const unsigned cpu_pwr_req_pins[] = {
15398c2ecf20Sopenharmony_ci	TEGRA_PIN_CPU_PWR_REQ,
15408c2ecf20Sopenharmony_ci};
15418c2ecf20Sopenharmony_ci
15428c2ecf20Sopenharmony_cistatic const unsigned owr_pins[] = {
15438c2ecf20Sopenharmony_ci	TEGRA_PIN_OWR,
15448c2ecf20Sopenharmony_ci};
15458c2ecf20Sopenharmony_ci
15468c2ecf20Sopenharmony_cistatic const unsigned pwr_int_n_pins[] = {
15478c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_INT_N,
15488c2ecf20Sopenharmony_ci};
15498c2ecf20Sopenharmony_ci
15508c2ecf20Sopenharmony_cistatic const unsigned drive_ao1_pins[] = {
15518c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW0_PR0,
15528c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW1_PR1,
15538c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW2_PR2,
15548c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW3_PR3,
15558c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW4_PR4,
15568c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW5_PR5,
15578c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW6_PR6,
15588c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW7_PR7,
15598c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SCL_PZ6,
15608c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SDA_PZ7,
15618c2ecf20Sopenharmony_ci	TEGRA_PIN_SYS_RESET_N,
15628c2ecf20Sopenharmony_ci};
15638c2ecf20Sopenharmony_ci
15648c2ecf20Sopenharmony_cistatic const unsigned drive_ao2_pins[] = {
15658c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK_32K_OUT_PA0,
15668c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL0_PQ0,
15678c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL1_PQ1,
15688c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL2_PQ2,
15698c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL3_PQ3,
15708c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL4_PQ4,
15718c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL5_PQ5,
15728c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL6_PQ6,
15738c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_COL7_PQ7,
15748c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW8_PS0,
15758c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW9_PS1,
15768c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW10_PS2,
15778c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW11_PS3,
15788c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW12_PS4,
15798c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW13_PS5,
15808c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW14_PS6,
15818c2ecf20Sopenharmony_ci	TEGRA_PIN_KB_ROW15_PS7,
15828c2ecf20Sopenharmony_ci	TEGRA_PIN_SYS_CLK_REQ_PZ5,
15838c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK_32K_IN,
15848c2ecf20Sopenharmony_ci	TEGRA_PIN_CORE_PWR_REQ,
15858c2ecf20Sopenharmony_ci	TEGRA_PIN_CPU_PWR_REQ,
15868c2ecf20Sopenharmony_ci	TEGRA_PIN_PWR_INT_N,
15878c2ecf20Sopenharmony_ci};
15888c2ecf20Sopenharmony_ci
15898c2ecf20Sopenharmony_cistatic const unsigned drive_at1_pins[] = {
15908c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD8_PH0,
15918c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD9_PH1,
15928c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD10_PH2,
15938c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD11_PH3,
15948c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD12_PH4,
15958c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD13_PH5,
15968c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD14_PH6,
15978c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD15_PH7,
15988c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_IORDY_PI5,
15998c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS7_N_PI6,
16008c2ecf20Sopenharmony_ci};
16018c2ecf20Sopenharmony_ci
16028c2ecf20Sopenharmony_cistatic const unsigned drive_at2_pins[] = {
16038c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD0_PG0,
16048c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD1_PG1,
16058c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD2_PG2,
16068c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD3_PG3,
16078c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD4_PG4,
16088c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD5_PG5,
16098c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD6_PG6,
16108c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_AD7_PG7,
16118c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_WR_N_PI0,
16128c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_OE_N_PI1,
16138c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_DQS_PI2,
16148c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS6_N_PI3,
16158c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_RST_N_PI4,
16168c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_WAIT_PI7,
16178c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_ADV_N_PK0,
16188c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CLK_PK1,
16198c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS4_N_PK2,
16208c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS2_N_PK3,
16218c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS3_N_PK4,
16228c2ecf20Sopenharmony_ci};
16238c2ecf20Sopenharmony_ci
16248c2ecf20Sopenharmony_cistatic const unsigned drive_at3_pins[] = {
16258c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_WP_N_PC7,
16268c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS0_N_PJ0,
16278c2ecf20Sopenharmony_ci};
16288c2ecf20Sopenharmony_ci
16298c2ecf20Sopenharmony_cistatic const unsigned drive_at4_pins[] = {
16308c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_A17_PB0,
16318c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_A18_PB1,
16328c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_CS1_N_PJ2,
16338c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_A16_PJ7,
16348c2ecf20Sopenharmony_ci	TEGRA_PIN_GMI_A19_PK7,
16358c2ecf20Sopenharmony_ci};
16368c2ecf20Sopenharmony_ci
16378c2ecf20Sopenharmony_cistatic const unsigned drive_at5_pins[] = {
16388c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SCL_PT5,
16398c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SDA_PT6,
16408c2ecf20Sopenharmony_ci};
16418c2ecf20Sopenharmony_ci
16428c2ecf20Sopenharmony_cistatic const unsigned drive_cdev1_pins[] = {
16438c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK1_OUT_PW4,
16448c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK1_REQ_PEE2,
16458c2ecf20Sopenharmony_ci};
16468c2ecf20Sopenharmony_ci
16478c2ecf20Sopenharmony_cistatic const unsigned drive_cdev2_pins[] = {
16488c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK2_OUT_PW5,
16498c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK2_REQ_PCC5,
16508c2ecf20Sopenharmony_ci};
16518c2ecf20Sopenharmony_ci
16528c2ecf20Sopenharmony_cistatic const unsigned drive_cec_pins[] = {
16538c2ecf20Sopenharmony_ci	TEGRA_PIN_HDMI_CEC_PEE3,
16548c2ecf20Sopenharmony_ci};
16558c2ecf20Sopenharmony_ci
16568c2ecf20Sopenharmony_cistatic const unsigned drive_crt_pins[] = {
16578c2ecf20Sopenharmony_ci	TEGRA_PIN_CRT_HSYNC_PV6,
16588c2ecf20Sopenharmony_ci	TEGRA_PIN_CRT_VSYNC_PV7,
16598c2ecf20Sopenharmony_ci};
16608c2ecf20Sopenharmony_ci
16618c2ecf20Sopenharmony_cistatic const unsigned drive_csus_pins[] = {
16628c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_MCLK_PT1,
16638c2ecf20Sopenharmony_ci};
16648c2ecf20Sopenharmony_ci
16658c2ecf20Sopenharmony_cistatic const unsigned drive_dap1_pins[] = {
16668c2ecf20Sopenharmony_ci	TEGRA_PIN_SPDIF_OUT_PK5,
16678c2ecf20Sopenharmony_ci	TEGRA_PIN_SPDIF_IN_PK6,
16688c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_FS_PN0,
16698c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_DIN_PN1,
16708c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_DOUT_PN2,
16718c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP1_SCLK_PN3,
16728c2ecf20Sopenharmony_ci};
16738c2ecf20Sopenharmony_ci
16748c2ecf20Sopenharmony_cistatic const unsigned drive_dap2_pins[] = {
16758c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_FS_PA2,
16768c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_SCLK_PA3,
16778c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_DIN_PA4,
16788c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP2_DOUT_PA5,
16798c2ecf20Sopenharmony_ci};
16808c2ecf20Sopenharmony_ci
16818c2ecf20Sopenharmony_cistatic const unsigned drive_dap3_pins[] = {
16828c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_FS_PP0,
16838c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_DIN_PP1,
16848c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_DOUT_PP2,
16858c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP3_SCLK_PP3,
16868c2ecf20Sopenharmony_ci};
16878c2ecf20Sopenharmony_ci
16888c2ecf20Sopenharmony_cistatic const unsigned drive_dap4_pins[] = {
16898c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_FS_PP4,
16908c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_DIN_PP5,
16918c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_DOUT_PP6,
16928c2ecf20Sopenharmony_ci	TEGRA_PIN_DAP4_SCLK_PP7,
16938c2ecf20Sopenharmony_ci};
16948c2ecf20Sopenharmony_ci
16958c2ecf20Sopenharmony_cistatic const unsigned drive_dbg_pins[] = {
16968c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SCL_PC4,
16978c2ecf20Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SDA_PC5,
16988c2ecf20Sopenharmony_ci	TEGRA_PIN_PU0,
16998c2ecf20Sopenharmony_ci	TEGRA_PIN_PU1,
17008c2ecf20Sopenharmony_ci	TEGRA_PIN_PU2,
17018c2ecf20Sopenharmony_ci	TEGRA_PIN_PU3,
17028c2ecf20Sopenharmony_ci	TEGRA_PIN_PU4,
17038c2ecf20Sopenharmony_ci	TEGRA_PIN_PU5,
17048c2ecf20Sopenharmony_ci	TEGRA_PIN_PU6,
17058c2ecf20Sopenharmony_ci	TEGRA_PIN_JTAG_RTCK_PU7,
17068c2ecf20Sopenharmony_ci	TEGRA_PIN_JTAG_TCK,
17078c2ecf20Sopenharmony_ci	TEGRA_PIN_JTAG_TDI,
17088c2ecf20Sopenharmony_ci	TEGRA_PIN_JTAG_TDO,
17098c2ecf20Sopenharmony_ci	TEGRA_PIN_JTAG_TMS,
17108c2ecf20Sopenharmony_ci	TEGRA_PIN_JTAG_TRST_N,
17118c2ecf20Sopenharmony_ci	TEGRA_PIN_TEST_MODE_EN,
17128c2ecf20Sopenharmony_ci};
17138c2ecf20Sopenharmony_ci
17148c2ecf20Sopenharmony_cistatic const unsigned drive_ddc_pins[] = {
17158c2ecf20Sopenharmony_ci	TEGRA_PIN_DDC_SCL_PV4,
17168c2ecf20Sopenharmony_ci	TEGRA_PIN_DDC_SDA_PV5,
17178c2ecf20Sopenharmony_ci};
17188c2ecf20Sopenharmony_ci
17198c2ecf20Sopenharmony_cistatic const unsigned drive_dev3_pins[] = {
17208c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK3_OUT_PEE0,
17218c2ecf20Sopenharmony_ci	TEGRA_PIN_CLK3_REQ_PEE1,
17228c2ecf20Sopenharmony_ci};
17238c2ecf20Sopenharmony_ci
17248c2ecf20Sopenharmony_cistatic const unsigned drive_gma_pins[] = {
17258c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT0_PAA0,
17268c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT1_PAA1,
17278c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT2_PAA2,
17288c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT3_PAA3,
17298c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_RST_N_PCC3,
17308c2ecf20Sopenharmony_ci};
17318c2ecf20Sopenharmony_ci
17328c2ecf20Sopenharmony_cistatic const unsigned drive_gmb_pins[] = {
17338c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT4_PAA4,
17348c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT5_PAA5,
17358c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT6_PAA6,
17368c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT7_PAA7,
17378c2ecf20Sopenharmony_ci};
17388c2ecf20Sopenharmony_ci
17398c2ecf20Sopenharmony_cistatic const unsigned drive_gmc_pins[] = {
17408c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_CLK_PCC4,
17418c2ecf20Sopenharmony_ci};
17428c2ecf20Sopenharmony_ci
17438c2ecf20Sopenharmony_cistatic const unsigned drive_gmd_pins[] = {
17448c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC4_CMD_PT7,
17458c2ecf20Sopenharmony_ci};
17468c2ecf20Sopenharmony_ci
17478c2ecf20Sopenharmony_cistatic const unsigned drive_gme_pins[] = {
17488c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB0,
17498c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SCL_PBB1,
17508c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SDA_PBB2,
17518c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB3,
17528c2ecf20Sopenharmony_ci	TEGRA_PIN_PCC2,
17538c2ecf20Sopenharmony_ci};
17548c2ecf20Sopenharmony_ci
17558c2ecf20Sopenharmony_cistatic const unsigned drive_gmf_pins[] = {
17568c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB4,
17578c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB5,
17588c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB6,
17598c2ecf20Sopenharmony_ci	TEGRA_PIN_PBB7,
17608c2ecf20Sopenharmony_ci};
17618c2ecf20Sopenharmony_ci
17628c2ecf20Sopenharmony_cistatic const unsigned drive_gmg_pins[] = {
17638c2ecf20Sopenharmony_ci	TEGRA_PIN_CAM_MCLK_PCC0,
17648c2ecf20Sopenharmony_ci};
17658c2ecf20Sopenharmony_ci
17668c2ecf20Sopenharmony_cistatic const unsigned drive_gmh_pins[] = {
17678c2ecf20Sopenharmony_ci	TEGRA_PIN_PCC1,
17688c2ecf20Sopenharmony_ci};
17698c2ecf20Sopenharmony_ci
17708c2ecf20Sopenharmony_cistatic const unsigned drive_gpv_pins[] = {
17718c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L2_RST_N_PCC6,
17728c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L2_CLKREQ_N_PCC7,
17738c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L0_PRSNT_N_PDD0,
17748c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L0_RST_N_PDD1,
17758c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L0_CLKREQ_N_PDD2,
17768c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_WAKE_N_PDD3,
17778c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L1_PRSNT_N_PDD4,
17788c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L1_RST_N_PDD5,
17798c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L1_CLKREQ_N_PDD6,
17808c2ecf20Sopenharmony_ci	TEGRA_PIN_PEX_L2_PRSNT_N_PDD7,
17818c2ecf20Sopenharmony_ci};
17828c2ecf20Sopenharmony_ci
17838c2ecf20Sopenharmony_cistatic const unsigned drive_lcd1_pins[] = {
17848c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_PWR1_PC1,
17858c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_PWR2_PC6,
17868c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_CS0_N_PN4,
17878c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_SDOUT_PN5,
17888c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_DC0_PN6,
17898c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_SDIN_PZ2,
17908c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_WR_N_PZ3,
17918c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_SCK_PZ4,
17928c2ecf20Sopenharmony_ci};
17938c2ecf20Sopenharmony_ci
17948c2ecf20Sopenharmony_cistatic const unsigned drive_lcd2_pins[] = {
17958c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_PWR0_PB2,
17968c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_PCLK_PB3,
17978c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_DC1_PD2,
17988c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D0_PE0,
17998c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D1_PE1,
18008c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D2_PE2,
18018c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D3_PE3,
18028c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D4_PE4,
18038c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D5_PE5,
18048c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D6_PE6,
18058c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D7_PE7,
18068c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D8_PF0,
18078c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D9_PF1,
18088c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D10_PF2,
18098c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D11_PF3,
18108c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D12_PF4,
18118c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D13_PF5,
18128c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D14_PF6,
18138c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D15_PF7,
18148c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_DE_PJ1,
18158c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_HSYNC_PJ3,
18168c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_VSYNC_PJ4,
18178c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D16_PM0,
18188c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D17_PM1,
18198c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D18_PM2,
18208c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D19_PM3,
18218c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D20_PM4,
18228c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D21_PM5,
18238c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D22_PM6,
18248c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_D23_PM7,
18258c2ecf20Sopenharmony_ci	TEGRA_PIN_HDMI_INT_PN7,
18268c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_CS1_N_PW0,
18278c2ecf20Sopenharmony_ci	TEGRA_PIN_LCD_M1_PW1,
18288c2ecf20Sopenharmony_ci};
18298c2ecf20Sopenharmony_ci
18308c2ecf20Sopenharmony_cistatic const unsigned drive_owr_pins[] = {
18318c2ecf20Sopenharmony_ci	TEGRA_PIN_OWR,
18328c2ecf20Sopenharmony_ci};
18338c2ecf20Sopenharmony_ci
18348c2ecf20Sopenharmony_cistatic const unsigned drive_sdio1_pins[] = {
18358c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT3_PY4,
18368c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT2_PY5,
18378c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT1_PY6,
18388c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT0_PY7,
18398c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_CLK_PZ0,
18408c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC1_CMD_PZ1,
18418c2ecf20Sopenharmony_ci};
18428c2ecf20Sopenharmony_ci
18438c2ecf20Sopenharmony_cistatic const unsigned drive_sdio2_pins[] = {
18448c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT5_PD0,
18458c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT4_PD1,
18468c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT6_PD3,
18478c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT7_PD4,
18488c2ecf20Sopenharmony_ci};
18498c2ecf20Sopenharmony_ci
18508c2ecf20Sopenharmony_cistatic const unsigned drive_sdio3_pins[] = {
18518c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_PA6,
18528c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_CMD_PA7,
18538c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT3_PB4,
18548c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT2_PB5,
18558c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT1_PB6,
18568c2ecf20Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT0_PB7,
18578c2ecf20Sopenharmony_ci};
18588c2ecf20Sopenharmony_ci
18598c2ecf20Sopenharmony_cistatic const unsigned drive_spi_pins[] = {
18608c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_CS1_N_PW2,
18618c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_CS2_N_PW3,
18628c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_MOSI_PX0,
18638c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_MISO_PX1,
18648c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_SCK_PX2,
18658c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI2_CS0_N_PX3,
18668c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_MOSI_PX4,
18678c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_SCK_PX5,
18688c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_CS0_N_PX6,
18698c2ecf20Sopenharmony_ci	TEGRA_PIN_SPI1_MISO_PX7,
18708c2ecf20Sopenharmony_ci};
18718c2ecf20Sopenharmony_ci
18728c2ecf20Sopenharmony_cistatic const unsigned drive_uaa_pins[] = {
18738c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA0_PO1,
18748c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA1_PO2,
18758c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA2_PO3,
18768c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA3_PO4,
18778c2ecf20Sopenharmony_ci};
18788c2ecf20Sopenharmony_ci
18798c2ecf20Sopenharmony_cistatic const unsigned drive_uab_pins[] = {
18808c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA7_PO0,
18818c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA4_PO5,
18828c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA5_PO6,
18838c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DATA6_PO7,
18848c2ecf20Sopenharmony_ci	TEGRA_PIN_PV0,
18858c2ecf20Sopenharmony_ci	TEGRA_PIN_PV1,
18868c2ecf20Sopenharmony_ci	TEGRA_PIN_PV2,
18878c2ecf20Sopenharmony_ci	TEGRA_PIN_PV3,
18888c2ecf20Sopenharmony_ci};
18898c2ecf20Sopenharmony_ci
18908c2ecf20Sopenharmony_cistatic const unsigned drive_uart2_pins[] = {
18918c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_TXD_PC2,
18928c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_RXD_PC3,
18938c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_CTS_N_PJ5,
18948c2ecf20Sopenharmony_ci	TEGRA_PIN_UART2_RTS_N_PJ6,
18958c2ecf20Sopenharmony_ci};
18968c2ecf20Sopenharmony_ci
18978c2ecf20Sopenharmony_cistatic const unsigned drive_uart3_pins[] = {
18988c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_CTS_N_PA1,
18998c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_RTS_N_PC0,
19008c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_TXD_PW6,
19018c2ecf20Sopenharmony_ci	TEGRA_PIN_UART3_RXD_PW7,
19028c2ecf20Sopenharmony_ci};
19038c2ecf20Sopenharmony_ci
19048c2ecf20Sopenharmony_cistatic const unsigned drive_uda_pins[] = {
19058c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_CLK_PY0,
19068c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_DIR_PY1,
19078c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_NXT_PY2,
19088c2ecf20Sopenharmony_ci	TEGRA_PIN_ULPI_STP_PY3,
19098c2ecf20Sopenharmony_ci};
19108c2ecf20Sopenharmony_ci
19118c2ecf20Sopenharmony_cistatic const unsigned drive_vi1_pins[] = {
19128c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D1_PD5,
19138c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_VSYNC_PD6,
19148c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_HSYNC_PD7,
19158c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D2_PL0,
19168c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D3_PL1,
19178c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D4_PL2,
19188c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D5_PL3,
19198c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D6_PL4,
19208c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D7_PL5,
19218c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D8_PL6,
19228c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D9_PL7,
19238c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_PCLK_PT0,
19248c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D10_PT2,
19258c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D11_PT3,
19268c2ecf20Sopenharmony_ci	TEGRA_PIN_VI_D0_PT4,
19278c2ecf20Sopenharmony_ci};
19288c2ecf20Sopenharmony_ci
19298c2ecf20Sopenharmony_cienum tegra_mux {
19308c2ecf20Sopenharmony_ci	TEGRA_MUX_BLINK,
19318c2ecf20Sopenharmony_ci	TEGRA_MUX_CEC,
19328c2ecf20Sopenharmony_ci	TEGRA_MUX_CLK_12M_OUT,
19338c2ecf20Sopenharmony_ci	TEGRA_MUX_CLK_32K_IN,
19348c2ecf20Sopenharmony_ci	TEGRA_MUX_CORE_PWR_REQ,
19358c2ecf20Sopenharmony_ci	TEGRA_MUX_CPU_PWR_REQ,
19368c2ecf20Sopenharmony_ci	TEGRA_MUX_CRT,
19378c2ecf20Sopenharmony_ci	TEGRA_MUX_DAP,
19388c2ecf20Sopenharmony_ci	TEGRA_MUX_DDR,
19398c2ecf20Sopenharmony_ci	TEGRA_MUX_DEV3,
19408c2ecf20Sopenharmony_ci	TEGRA_MUX_DISPLAYA,
19418c2ecf20Sopenharmony_ci	TEGRA_MUX_DISPLAYB,
19428c2ecf20Sopenharmony_ci	TEGRA_MUX_DTV,
19438c2ecf20Sopenharmony_ci	TEGRA_MUX_EXTPERIPH1,
19448c2ecf20Sopenharmony_ci	TEGRA_MUX_EXTPERIPH2,
19458c2ecf20Sopenharmony_ci	TEGRA_MUX_EXTPERIPH3,
19468c2ecf20Sopenharmony_ci	TEGRA_MUX_GMI,
19478c2ecf20Sopenharmony_ci	TEGRA_MUX_GMI_ALT,
19488c2ecf20Sopenharmony_ci	TEGRA_MUX_HDA,
19498c2ecf20Sopenharmony_ci	TEGRA_MUX_HDCP,
19508c2ecf20Sopenharmony_ci	TEGRA_MUX_HDMI,
19518c2ecf20Sopenharmony_ci	TEGRA_MUX_HSI,
19528c2ecf20Sopenharmony_ci	TEGRA_MUX_I2C1,
19538c2ecf20Sopenharmony_ci	TEGRA_MUX_I2C2,
19548c2ecf20Sopenharmony_ci	TEGRA_MUX_I2C3,
19558c2ecf20Sopenharmony_ci	TEGRA_MUX_I2C4,
19568c2ecf20Sopenharmony_ci	TEGRA_MUX_I2CPWR,
19578c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S0,
19588c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S1,
19598c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S2,
19608c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S3,
19618c2ecf20Sopenharmony_ci	TEGRA_MUX_I2S4,
19628c2ecf20Sopenharmony_ci	TEGRA_MUX_INVALID,
19638c2ecf20Sopenharmony_ci	TEGRA_MUX_KBC,
19648c2ecf20Sopenharmony_ci	TEGRA_MUX_MIO,
19658c2ecf20Sopenharmony_ci	TEGRA_MUX_NAND,
19668c2ecf20Sopenharmony_ci	TEGRA_MUX_NAND_ALT,
19678c2ecf20Sopenharmony_ci	TEGRA_MUX_OWR,
19688c2ecf20Sopenharmony_ci	TEGRA_MUX_PCIE,
19698c2ecf20Sopenharmony_ci	TEGRA_MUX_PWM0,
19708c2ecf20Sopenharmony_ci	TEGRA_MUX_PWM1,
19718c2ecf20Sopenharmony_ci	TEGRA_MUX_PWM2,
19728c2ecf20Sopenharmony_ci	TEGRA_MUX_PWM3,
19738c2ecf20Sopenharmony_ci	TEGRA_MUX_PWR_INT_N,
19748c2ecf20Sopenharmony_ci	TEGRA_MUX_RSVD1,
19758c2ecf20Sopenharmony_ci	TEGRA_MUX_RSVD2,
19768c2ecf20Sopenharmony_ci	TEGRA_MUX_RSVD3,
19778c2ecf20Sopenharmony_ci	TEGRA_MUX_RSVD4,
19788c2ecf20Sopenharmony_ci	TEGRA_MUX_RTCK,
19798c2ecf20Sopenharmony_ci	TEGRA_MUX_SATA,
19808c2ecf20Sopenharmony_ci	TEGRA_MUX_SDMMC1,
19818c2ecf20Sopenharmony_ci	TEGRA_MUX_SDMMC2,
19828c2ecf20Sopenharmony_ci	TEGRA_MUX_SDMMC3,
19838c2ecf20Sopenharmony_ci	TEGRA_MUX_SDMMC4,
19848c2ecf20Sopenharmony_ci	TEGRA_MUX_SPDIF,
19858c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI1,
19868c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI2,
19878c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI2_ALT,
19888c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI3,
19898c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI4,
19908c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI5,
19918c2ecf20Sopenharmony_ci	TEGRA_MUX_SPI6,
19928c2ecf20Sopenharmony_ci	TEGRA_MUX_SYSCLK,
19938c2ecf20Sopenharmony_ci	TEGRA_MUX_TEST,
19948c2ecf20Sopenharmony_ci	TEGRA_MUX_TRACE,
19958c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTA,
19968c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTB,
19978c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTC,
19988c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTD,
19998c2ecf20Sopenharmony_ci	TEGRA_MUX_UARTE,
20008c2ecf20Sopenharmony_ci	TEGRA_MUX_ULPI,
20018c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP1,
20028c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP2,
20038c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP3,
20048c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP4,
20058c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP5,
20068c2ecf20Sopenharmony_ci	TEGRA_MUX_VGP6,
20078c2ecf20Sopenharmony_ci	TEGRA_MUX_VI,
20088c2ecf20Sopenharmony_ci	TEGRA_MUX_VI_ALT1,
20098c2ecf20Sopenharmony_ci	TEGRA_MUX_VI_ALT2,
20108c2ecf20Sopenharmony_ci	TEGRA_MUX_VI_ALT3,
20118c2ecf20Sopenharmony_ci};
20128c2ecf20Sopenharmony_ci
20138c2ecf20Sopenharmony_ci#define FUNCTION(fname)					\
20148c2ecf20Sopenharmony_ci	{						\
20158c2ecf20Sopenharmony_ci		.name = #fname,				\
20168c2ecf20Sopenharmony_ci	}
20178c2ecf20Sopenharmony_ci
20188c2ecf20Sopenharmony_cistatic struct tegra_function tegra30_functions[] = {
20198c2ecf20Sopenharmony_ci	FUNCTION(blink),
20208c2ecf20Sopenharmony_ci	FUNCTION(cec),
20218c2ecf20Sopenharmony_ci	FUNCTION(clk_12m_out),
20228c2ecf20Sopenharmony_ci	FUNCTION(clk_32k_in),
20238c2ecf20Sopenharmony_ci	FUNCTION(core_pwr_req),
20248c2ecf20Sopenharmony_ci	FUNCTION(cpu_pwr_req),
20258c2ecf20Sopenharmony_ci	FUNCTION(crt),
20268c2ecf20Sopenharmony_ci	FUNCTION(dap),
20278c2ecf20Sopenharmony_ci	FUNCTION(ddr),
20288c2ecf20Sopenharmony_ci	FUNCTION(dev3),
20298c2ecf20Sopenharmony_ci	FUNCTION(displaya),
20308c2ecf20Sopenharmony_ci	FUNCTION(displayb),
20318c2ecf20Sopenharmony_ci	FUNCTION(dtv),
20328c2ecf20Sopenharmony_ci	FUNCTION(extperiph1),
20338c2ecf20Sopenharmony_ci	FUNCTION(extperiph2),
20348c2ecf20Sopenharmony_ci	FUNCTION(extperiph3),
20358c2ecf20Sopenharmony_ci	FUNCTION(gmi),
20368c2ecf20Sopenharmony_ci	FUNCTION(gmi_alt),
20378c2ecf20Sopenharmony_ci	FUNCTION(hda),
20388c2ecf20Sopenharmony_ci	FUNCTION(hdcp),
20398c2ecf20Sopenharmony_ci	FUNCTION(hdmi),
20408c2ecf20Sopenharmony_ci	FUNCTION(hsi),
20418c2ecf20Sopenharmony_ci	FUNCTION(i2c1),
20428c2ecf20Sopenharmony_ci	FUNCTION(i2c2),
20438c2ecf20Sopenharmony_ci	FUNCTION(i2c3),
20448c2ecf20Sopenharmony_ci	FUNCTION(i2c4),
20458c2ecf20Sopenharmony_ci	FUNCTION(i2cpwr),
20468c2ecf20Sopenharmony_ci	FUNCTION(i2s0),
20478c2ecf20Sopenharmony_ci	FUNCTION(i2s1),
20488c2ecf20Sopenharmony_ci	FUNCTION(i2s2),
20498c2ecf20Sopenharmony_ci	FUNCTION(i2s3),
20508c2ecf20Sopenharmony_ci	FUNCTION(i2s4),
20518c2ecf20Sopenharmony_ci	FUNCTION(invalid),
20528c2ecf20Sopenharmony_ci	FUNCTION(kbc),
20538c2ecf20Sopenharmony_ci	FUNCTION(mio),
20548c2ecf20Sopenharmony_ci	FUNCTION(nand),
20558c2ecf20Sopenharmony_ci	FUNCTION(nand_alt),
20568c2ecf20Sopenharmony_ci	FUNCTION(owr),
20578c2ecf20Sopenharmony_ci	FUNCTION(pcie),
20588c2ecf20Sopenharmony_ci	FUNCTION(pwm0),
20598c2ecf20Sopenharmony_ci	FUNCTION(pwm1),
20608c2ecf20Sopenharmony_ci	FUNCTION(pwm2),
20618c2ecf20Sopenharmony_ci	FUNCTION(pwm3),
20628c2ecf20Sopenharmony_ci	FUNCTION(pwr_int_n),
20638c2ecf20Sopenharmony_ci	FUNCTION(rsvd1),
20648c2ecf20Sopenharmony_ci	FUNCTION(rsvd2),
20658c2ecf20Sopenharmony_ci	FUNCTION(rsvd3),
20668c2ecf20Sopenharmony_ci	FUNCTION(rsvd4),
20678c2ecf20Sopenharmony_ci	FUNCTION(rtck),
20688c2ecf20Sopenharmony_ci	FUNCTION(sata),
20698c2ecf20Sopenharmony_ci	FUNCTION(sdmmc1),
20708c2ecf20Sopenharmony_ci	FUNCTION(sdmmc2),
20718c2ecf20Sopenharmony_ci	FUNCTION(sdmmc3),
20728c2ecf20Sopenharmony_ci	FUNCTION(sdmmc4),
20738c2ecf20Sopenharmony_ci	FUNCTION(spdif),
20748c2ecf20Sopenharmony_ci	FUNCTION(spi1),
20758c2ecf20Sopenharmony_ci	FUNCTION(spi2),
20768c2ecf20Sopenharmony_ci	FUNCTION(spi2_alt),
20778c2ecf20Sopenharmony_ci	FUNCTION(spi3),
20788c2ecf20Sopenharmony_ci	FUNCTION(spi4),
20798c2ecf20Sopenharmony_ci	FUNCTION(spi5),
20808c2ecf20Sopenharmony_ci	FUNCTION(spi6),
20818c2ecf20Sopenharmony_ci	FUNCTION(sysclk),
20828c2ecf20Sopenharmony_ci	FUNCTION(test),
20838c2ecf20Sopenharmony_ci	FUNCTION(trace),
20848c2ecf20Sopenharmony_ci	FUNCTION(uarta),
20858c2ecf20Sopenharmony_ci	FUNCTION(uartb),
20868c2ecf20Sopenharmony_ci	FUNCTION(uartc),
20878c2ecf20Sopenharmony_ci	FUNCTION(uartd),
20888c2ecf20Sopenharmony_ci	FUNCTION(uarte),
20898c2ecf20Sopenharmony_ci	FUNCTION(ulpi),
20908c2ecf20Sopenharmony_ci	FUNCTION(vgp1),
20918c2ecf20Sopenharmony_ci	FUNCTION(vgp2),
20928c2ecf20Sopenharmony_ci	FUNCTION(vgp3),
20938c2ecf20Sopenharmony_ci	FUNCTION(vgp4),
20948c2ecf20Sopenharmony_ci	FUNCTION(vgp5),
20958c2ecf20Sopenharmony_ci	FUNCTION(vgp6),
20968c2ecf20Sopenharmony_ci	FUNCTION(vi),
20978c2ecf20Sopenharmony_ci	FUNCTION(vi_alt1),
20988c2ecf20Sopenharmony_ci	FUNCTION(vi_alt2),
20998c2ecf20Sopenharmony_ci	FUNCTION(vi_alt3),
21008c2ecf20Sopenharmony_ci};
21018c2ecf20Sopenharmony_ci
21028c2ecf20Sopenharmony_ci#define DRV_PINGROUP_REG_A		0x868	/* bank 0 */
21038c2ecf20Sopenharmony_ci#define PINGROUP_REG_A			0x3000	/* bank 1 */
21048c2ecf20Sopenharmony_ci
21058c2ecf20Sopenharmony_ci#define DRV_PINGROUP_REG(r)		((r) - DRV_PINGROUP_REG_A)
21068c2ecf20Sopenharmony_ci#define PINGROUP_REG(r)			((r) - PINGROUP_REG_A)
21078c2ecf20Sopenharmony_ci
21088c2ecf20Sopenharmony_ci#define PINGROUP_BIT_Y(b)		(b)
21098c2ecf20Sopenharmony_ci#define PINGROUP_BIT_N(b)		(-1)
21108c2ecf20Sopenharmony_ci
21118c2ecf20Sopenharmony_ci#define PINGROUP(pg_name, f0, f1, f2, f3, r, od, ior)			\
21128c2ecf20Sopenharmony_ci	{								\
21138c2ecf20Sopenharmony_ci		.name = #pg_name,					\
21148c2ecf20Sopenharmony_ci		.pins = pg_name##_pins,					\
21158c2ecf20Sopenharmony_ci		.npins = ARRAY_SIZE(pg_name##_pins),			\
21168c2ecf20Sopenharmony_ci		.funcs = {						\
21178c2ecf20Sopenharmony_ci			TEGRA_MUX_##f0,					\
21188c2ecf20Sopenharmony_ci			TEGRA_MUX_##f1,					\
21198c2ecf20Sopenharmony_ci			TEGRA_MUX_##f2,					\
21208c2ecf20Sopenharmony_ci			TEGRA_MUX_##f3,					\
21218c2ecf20Sopenharmony_ci		},							\
21228c2ecf20Sopenharmony_ci		.mux_reg = PINGROUP_REG(r),				\
21238c2ecf20Sopenharmony_ci		.mux_bank = 1,						\
21248c2ecf20Sopenharmony_ci		.mux_bit = 0,						\
21258c2ecf20Sopenharmony_ci		.pupd_reg = PINGROUP_REG(r),				\
21268c2ecf20Sopenharmony_ci		.pupd_bank = 1,						\
21278c2ecf20Sopenharmony_ci		.pupd_bit = 2,						\
21288c2ecf20Sopenharmony_ci		.tri_reg = PINGROUP_REG(r),				\
21298c2ecf20Sopenharmony_ci		.tri_bank = 1,						\
21308c2ecf20Sopenharmony_ci		.tri_bit = 4,						\
21318c2ecf20Sopenharmony_ci		.einput_bit = 5,					\
21328c2ecf20Sopenharmony_ci		.odrain_bit = PINGROUP_BIT_##od(6),			\
21338c2ecf20Sopenharmony_ci		.lock_bit = 7,						\
21348c2ecf20Sopenharmony_ci		.ioreset_bit = PINGROUP_BIT_##ior(8),			\
21358c2ecf20Sopenharmony_ci		.rcv_sel_bit = -1,					\
21368c2ecf20Sopenharmony_ci		.drv_reg = -1,						\
21378c2ecf20Sopenharmony_ci		.parked_bitmask = 0,					\
21388c2ecf20Sopenharmony_ci	}
21398c2ecf20Sopenharmony_ci
21408c2ecf20Sopenharmony_ci#define DRV_PINGROUP(pg_name, r, hsm_b, schmitt_b, lpmd_b, drvdn_b,	\
21418c2ecf20Sopenharmony_ci		     drvdn_w, drvup_b, drvup_w, slwr_b, slwr_w,		\
21428c2ecf20Sopenharmony_ci		     slwf_b, slwf_w)					\
21438c2ecf20Sopenharmony_ci	{								\
21448c2ecf20Sopenharmony_ci		.name = "drive_" #pg_name,				\
21458c2ecf20Sopenharmony_ci		.pins = drive_##pg_name##_pins,				\
21468c2ecf20Sopenharmony_ci		.npins = ARRAY_SIZE(drive_##pg_name##_pins),		\
21478c2ecf20Sopenharmony_ci		.mux_reg = -1,						\
21488c2ecf20Sopenharmony_ci		.pupd_reg = -1,						\
21498c2ecf20Sopenharmony_ci		.tri_reg = -1,						\
21508c2ecf20Sopenharmony_ci		.einput_bit = -1,					\
21518c2ecf20Sopenharmony_ci		.odrain_bit = -1,					\
21528c2ecf20Sopenharmony_ci		.lock_bit = -1,						\
21538c2ecf20Sopenharmony_ci		.ioreset_bit = -1,					\
21548c2ecf20Sopenharmony_ci		.rcv_sel_bit = -1,					\
21558c2ecf20Sopenharmony_ci		.drv_reg = DRV_PINGROUP_REG(r),				\
21568c2ecf20Sopenharmony_ci		.drv_bank = 0,						\
21578c2ecf20Sopenharmony_ci		.hsm_bit = hsm_b,					\
21588c2ecf20Sopenharmony_ci		.schmitt_bit = schmitt_b,				\
21598c2ecf20Sopenharmony_ci		.lpmd_bit = lpmd_b,					\
21608c2ecf20Sopenharmony_ci		.drvdn_bit = drvdn_b,					\
21618c2ecf20Sopenharmony_ci		.drvdn_width = drvdn_w,					\
21628c2ecf20Sopenharmony_ci		.drvup_bit = drvup_b,					\
21638c2ecf20Sopenharmony_ci		.drvup_width = drvup_w,					\
21648c2ecf20Sopenharmony_ci		.slwr_bit = slwr_b,					\
21658c2ecf20Sopenharmony_ci		.slwr_width = slwr_w,					\
21668c2ecf20Sopenharmony_ci		.slwf_bit = slwf_b,					\
21678c2ecf20Sopenharmony_ci		.slwf_width = slwf_w,					\
21688c2ecf20Sopenharmony_ci		.drvtype_bit = -1,					\
21698c2ecf20Sopenharmony_ci		.parked_bitmask = 0,					\
21708c2ecf20Sopenharmony_ci	}
21718c2ecf20Sopenharmony_ci
21728c2ecf20Sopenharmony_cistatic const struct tegra_pingroup tegra30_groups[] = {
21738c2ecf20Sopenharmony_ci	/*       pg_name,              f0,           f1,           f2,           f3,           r,      od, ior */
21748c2ecf20Sopenharmony_ci	PINGROUP(clk_32k_out_pa0,      BLINK,        RSVD2,        RSVD3,        RSVD4,        0x331c, N, N),
21758c2ecf20Sopenharmony_ci	PINGROUP(uart3_cts_n_pa1,      UARTC,        RSVD2,        GMI,          RSVD4,        0x317c, N, N),
21768c2ecf20Sopenharmony_ci	PINGROUP(dap2_fs_pa2,          I2S1,         HDA,          RSVD3,        GMI,          0x3358, N, N),
21778c2ecf20Sopenharmony_ci	PINGROUP(dap2_sclk_pa3,        I2S1,         HDA,          RSVD3,        GMI,          0x3364, N, N),
21788c2ecf20Sopenharmony_ci	PINGROUP(dap2_din_pa4,         I2S1,         HDA,          RSVD3,        GMI,          0x335c, N, N),
21798c2ecf20Sopenharmony_ci	PINGROUP(dap2_dout_pa5,        I2S1,         HDA,          RSVD3,        GMI,          0x3360, N, N),
21808c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_clk_pa6,       UARTA,        PWM2,         SDMMC3,       SPI3,         0x3390, N, N),
21818c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_cmd_pa7,       UARTA,        PWM3,         SDMMC3,       SPI2,         0x3394, N, N),
21828c2ecf20Sopenharmony_ci	PINGROUP(gmi_a17_pb0,          UARTD,        SPI4,         GMI,          DTV,          0x3234, N, N),
21838c2ecf20Sopenharmony_ci	PINGROUP(gmi_a18_pb1,          UARTD,        SPI4,         GMI,          DTV,          0x3238, N, N),
21848c2ecf20Sopenharmony_ci	PINGROUP(lcd_pwr0_pb2,         DISPLAYA,     DISPLAYB,     SPI5,         HDCP,         0x3090, N, N),
21858c2ecf20Sopenharmony_ci	PINGROUP(lcd_pclk_pb3,         DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x3094, N, N),
21868c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat3_pb4,      RSVD1,        PWM0,         SDMMC3,       SPI3,         0x33a4, N, N),
21878c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat2_pb5,      RSVD1,        PWM1,         SDMMC3,       SPI3,         0x33a0, N, N),
21888c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat1_pb6,      RSVD1,        RSVD2,        SDMMC3,       SPI3,         0x339c, N, N),
21898c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat0_pb7,      RSVD1,        RSVD2,        SDMMC3,       SPI3,         0x3398, N, N),
21908c2ecf20Sopenharmony_ci	PINGROUP(uart3_rts_n_pc0,      UARTC,        PWM0,         GMI,          RSVD4,        0x3180, N, N),
21918c2ecf20Sopenharmony_ci	PINGROUP(lcd_pwr1_pc1,         DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x3070, N, N),
21928c2ecf20Sopenharmony_ci	PINGROUP(uart2_txd_pc2,        UARTB,        SPDIF,        UARTA,        SPI4,         0x3168, N, N),
21938c2ecf20Sopenharmony_ci	PINGROUP(uart2_rxd_pc3,        UARTB,        SPDIF,        UARTA,        SPI4,         0x3164, N, N),
21948c2ecf20Sopenharmony_ci	PINGROUP(gen1_i2c_scl_pc4,     I2C1,         RSVD2,        RSVD3,        RSVD4,        0x31a4, Y, N),
21958c2ecf20Sopenharmony_ci	PINGROUP(gen1_i2c_sda_pc5,     I2C1,         RSVD2,        RSVD3,        RSVD4,        0x31a0, Y, N),
21968c2ecf20Sopenharmony_ci	PINGROUP(lcd_pwr2_pc6,         DISPLAYA,     DISPLAYB,     SPI5,         HDCP,         0x3074, N, N),
21978c2ecf20Sopenharmony_ci	PINGROUP(gmi_wp_n_pc7,         RSVD1,        NAND,         GMI,          GMI_ALT,      0x31c0, N, N),
21988c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat5_pd0,      PWM0,         SPI4,         SDMMC3,       SPI2,         0x33ac, N, N),
21998c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat4_pd1,      PWM1,         SPI4,         SDMMC3,       SPI2,         0x33a8, N, N),
22008c2ecf20Sopenharmony_ci	PINGROUP(lcd_dc1_pd2,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x310c, N, N),
22018c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat6_pd3,      SPDIF,        SPI4,         SDMMC3,       SPI2,         0x33b0, N, N),
22028c2ecf20Sopenharmony_ci	PINGROUP(sdmmc3_dat7_pd4,      SPDIF,        SPI4,         SDMMC3,       SPI2,         0x33b4, N, N),
22038c2ecf20Sopenharmony_ci	PINGROUP(vi_d1_pd5,            DDR,          SDMMC2,       VI,           RSVD4,        0x3128, N, Y),
22048c2ecf20Sopenharmony_ci	PINGROUP(vi_vsync_pd6,         DDR,          RSVD2,        VI,           RSVD4,        0x315c, N, Y),
22058c2ecf20Sopenharmony_ci	PINGROUP(vi_hsync_pd7,         DDR,          RSVD2,        VI,           RSVD4,        0x3160, N, Y),
22068c2ecf20Sopenharmony_ci	PINGROUP(lcd_d0_pe0,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30a4, N, N),
22078c2ecf20Sopenharmony_ci	PINGROUP(lcd_d1_pe1,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30a8, N, N),
22088c2ecf20Sopenharmony_ci	PINGROUP(lcd_d2_pe2,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30ac, N, N),
22098c2ecf20Sopenharmony_ci	PINGROUP(lcd_d3_pe3,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30b0, N, N),
22108c2ecf20Sopenharmony_ci	PINGROUP(lcd_d4_pe4,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30b4, N, N),
22118c2ecf20Sopenharmony_ci	PINGROUP(lcd_d5_pe5,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30b8, N, N),
22128c2ecf20Sopenharmony_ci	PINGROUP(lcd_d6_pe6,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30bc, N, N),
22138c2ecf20Sopenharmony_ci	PINGROUP(lcd_d7_pe7,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30c0, N, N),
22148c2ecf20Sopenharmony_ci	PINGROUP(lcd_d8_pf0,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30c4, N, N),
22158c2ecf20Sopenharmony_ci	PINGROUP(lcd_d9_pf1,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30c8, N, N),
22168c2ecf20Sopenharmony_ci	PINGROUP(lcd_d10_pf2,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30cc, N, N),
22178c2ecf20Sopenharmony_ci	PINGROUP(lcd_d11_pf3,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30d0, N, N),
22188c2ecf20Sopenharmony_ci	PINGROUP(lcd_d12_pf4,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30d4, N, N),
22198c2ecf20Sopenharmony_ci	PINGROUP(lcd_d13_pf5,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30d8, N, N),
22208c2ecf20Sopenharmony_ci	PINGROUP(lcd_d14_pf6,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30dc, N, N),
22218c2ecf20Sopenharmony_ci	PINGROUP(lcd_d15_pf7,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30e0, N, N),
22228c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad0_pg0,          RSVD1,        NAND,         GMI,          RSVD4,        0x31f0, N, N),
22238c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad1_pg1,          RSVD1,        NAND,         GMI,          RSVD4,        0x31f4, N, N),
22248c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad2_pg2,          RSVD1,        NAND,         GMI,          RSVD4,        0x31f8, N, N),
22258c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad3_pg3,          RSVD1,        NAND,         GMI,          RSVD4,        0x31fc, N, N),
22268c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad4_pg4,          RSVD1,        NAND,         GMI,          RSVD4,        0x3200, N, N),
22278c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad5_pg5,          RSVD1,        NAND,         GMI,          RSVD4,        0x3204, N, N),
22288c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad6_pg6,          RSVD1,        NAND,         GMI,          RSVD4,        0x3208, N, N),
22298c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad7_pg7,          RSVD1,        NAND,         GMI,          RSVD4,        0x320c, N, N),
22308c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad8_ph0,          PWM0,         NAND,         GMI,          RSVD4,        0x3210, N, N),
22318c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad9_ph1,          PWM1,         NAND,         GMI,          RSVD4,        0x3214, N, N),
22328c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad10_ph2,         PWM2,         NAND,         GMI,          RSVD4,        0x3218, N, N),
22338c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad11_ph3,         PWM3,         NAND,         GMI,          RSVD4,        0x321c, N, N),
22348c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad12_ph4,         RSVD1,        NAND,         GMI,          RSVD4,        0x3220, N, N),
22358c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad13_ph5,         RSVD1,        NAND,         GMI,          RSVD4,        0x3224, N, N),
22368c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad14_ph6,         RSVD1,        NAND,         GMI,          RSVD4,        0x3228, N, N),
22378c2ecf20Sopenharmony_ci	PINGROUP(gmi_ad15_ph7,         RSVD1,        NAND,         GMI,          RSVD4,        0x322c, N, N),
22388c2ecf20Sopenharmony_ci	PINGROUP(gmi_wr_n_pi0,         RSVD1,        NAND,         GMI,          RSVD4,        0x3240, N, N),
22398c2ecf20Sopenharmony_ci	PINGROUP(gmi_oe_n_pi1,         RSVD1,        NAND,         GMI,          RSVD4,        0x3244, N, N),
22408c2ecf20Sopenharmony_ci	PINGROUP(gmi_dqs_pi2,          RSVD1,        NAND,         GMI,          RSVD4,        0x3248, N, N),
22418c2ecf20Sopenharmony_ci	PINGROUP(gmi_cs6_n_pi3,        NAND,         NAND_ALT,     GMI,          SATA,         0x31e8, N, N),
22428c2ecf20Sopenharmony_ci	PINGROUP(gmi_rst_n_pi4,        NAND,         NAND_ALT,     GMI,          RSVD4,        0x324c, N, N),
22438c2ecf20Sopenharmony_ci	PINGROUP(gmi_iordy_pi5,        RSVD1,        NAND,         GMI,          RSVD4,        0x31c4, N, N),
22448c2ecf20Sopenharmony_ci	PINGROUP(gmi_cs7_n_pi6,        NAND,         NAND_ALT,     GMI,          GMI_ALT,      0x31ec, N, N),
22458c2ecf20Sopenharmony_ci	PINGROUP(gmi_wait_pi7,         RSVD1,        NAND,         GMI,          RSVD4,        0x31c8, N, N),
22468c2ecf20Sopenharmony_ci	PINGROUP(gmi_cs0_n_pj0,        RSVD1,        NAND,         GMI,          DTV,          0x31d4, N, N),
22478c2ecf20Sopenharmony_ci	PINGROUP(lcd_de_pj1,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x3098, N, N),
22488c2ecf20Sopenharmony_ci	PINGROUP(gmi_cs1_n_pj2,        RSVD1,        NAND,         GMI,          DTV,          0x31d8, N, N),
22498c2ecf20Sopenharmony_ci	PINGROUP(lcd_hsync_pj3,        DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x309c, N, N),
22508c2ecf20Sopenharmony_ci	PINGROUP(lcd_vsync_pj4,        DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30a0, N, N),
22518c2ecf20Sopenharmony_ci	PINGROUP(uart2_cts_n_pj5,      UARTA,        UARTB,        GMI,          SPI4,         0x3170, N, N),
22528c2ecf20Sopenharmony_ci	PINGROUP(uart2_rts_n_pj6,      UARTA,        UARTB,        GMI,          SPI4,         0x316c, N, N),
22538c2ecf20Sopenharmony_ci	PINGROUP(gmi_a16_pj7,          UARTD,        SPI4,         GMI,          GMI_ALT,      0x3230, N, N),
22548c2ecf20Sopenharmony_ci	PINGROUP(gmi_adv_n_pk0,        RSVD1,        NAND,         GMI,          RSVD4,        0x31cc, N, N),
22558c2ecf20Sopenharmony_ci	PINGROUP(gmi_clk_pk1,          RSVD1,        NAND,         GMI,          RSVD4,        0x31d0, N, N),
22568c2ecf20Sopenharmony_ci	PINGROUP(gmi_cs4_n_pk2,        RSVD1,        NAND,         GMI,          RSVD4,        0x31e4, N, N),
22578c2ecf20Sopenharmony_ci	PINGROUP(gmi_cs2_n_pk3,        RSVD1,        NAND,         GMI,          RSVD4,        0x31dc, N, N),
22588c2ecf20Sopenharmony_ci	PINGROUP(gmi_cs3_n_pk4,        RSVD1,        NAND,         GMI,          GMI_ALT,      0x31e0, N, N),
22598c2ecf20Sopenharmony_ci	PINGROUP(spdif_out_pk5,        SPDIF,        RSVD2,        I2C1,         SDMMC2,       0x3354, N, N),
22608c2ecf20Sopenharmony_ci	PINGROUP(spdif_in_pk6,         SPDIF,        HDA,          I2C1,         SDMMC2,       0x3350, N, N),
22618c2ecf20Sopenharmony_ci	PINGROUP(gmi_a19_pk7,          UARTD,        SPI4,         GMI,          RSVD4,        0x323c, N, N),
22628c2ecf20Sopenharmony_ci	PINGROUP(vi_d2_pl0,            DDR,          SDMMC2,       VI,           RSVD4,        0x312c, N, Y),
22638c2ecf20Sopenharmony_ci	PINGROUP(vi_d3_pl1,            DDR,          SDMMC2,       VI,           RSVD4,        0x3130, N, Y),
22648c2ecf20Sopenharmony_ci	PINGROUP(vi_d4_pl2,            DDR,          SDMMC2,       VI,           RSVD4,        0x3134, N, Y),
22658c2ecf20Sopenharmony_ci	PINGROUP(vi_d5_pl3,            DDR,          SDMMC2,       VI,           RSVD4,        0x3138, N, Y),
22668c2ecf20Sopenharmony_ci	PINGROUP(vi_d6_pl4,            DDR,          SDMMC2,       VI,           RSVD4,        0x313c, N, Y),
22678c2ecf20Sopenharmony_ci	PINGROUP(vi_d7_pl5,            DDR,          SDMMC2,       VI,           RSVD4,        0x3140, N, Y),
22688c2ecf20Sopenharmony_ci	PINGROUP(vi_d8_pl6,            DDR,          SDMMC2,       VI,           RSVD4,        0x3144, N, Y),
22698c2ecf20Sopenharmony_ci	PINGROUP(vi_d9_pl7,            DDR,          SDMMC2,       VI,           RSVD4,        0x3148, N, Y),
22708c2ecf20Sopenharmony_ci	PINGROUP(lcd_d16_pm0,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30e4, N, N),
22718c2ecf20Sopenharmony_ci	PINGROUP(lcd_d17_pm1,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30e8, N, N),
22728c2ecf20Sopenharmony_ci	PINGROUP(lcd_d18_pm2,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30ec, N, N),
22738c2ecf20Sopenharmony_ci	PINGROUP(lcd_d19_pm3,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30f0, N, N),
22748c2ecf20Sopenharmony_ci	PINGROUP(lcd_d20_pm4,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30f4, N, N),
22758c2ecf20Sopenharmony_ci	PINGROUP(lcd_d21_pm5,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30f8, N, N),
22768c2ecf20Sopenharmony_ci	PINGROUP(lcd_d22_pm6,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30fc, N, N),
22778c2ecf20Sopenharmony_ci	PINGROUP(lcd_d23_pm7,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x3100, N, N),
22788c2ecf20Sopenharmony_ci	PINGROUP(dap1_fs_pn0,          I2S0,         HDA,          GMI,          SDMMC2,       0x3338, N, N),
22798c2ecf20Sopenharmony_ci	PINGROUP(dap1_din_pn1,         I2S0,         HDA,          GMI,          SDMMC2,       0x333c, N, N),
22808c2ecf20Sopenharmony_ci	PINGROUP(dap1_dout_pn2,        I2S0,         HDA,          GMI,          SDMMC2,       0x3340, N, N),
22818c2ecf20Sopenharmony_ci	PINGROUP(dap1_sclk_pn3,        I2S0,         HDA,          GMI,          SDMMC2,       0x3344, N, N),
22828c2ecf20Sopenharmony_ci	PINGROUP(lcd_cs0_n_pn4,        DISPLAYA,     DISPLAYB,     SPI5,         RSVD4,        0x3084, N, N),
22838c2ecf20Sopenharmony_ci	PINGROUP(lcd_sdout_pn5,        DISPLAYA,     DISPLAYB,     SPI5,         HDCP,         0x307c, N, N),
22848c2ecf20Sopenharmony_ci	PINGROUP(lcd_dc0_pn6,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x3088, N, N),
22858c2ecf20Sopenharmony_ci	PINGROUP(hdmi_int_pn7,         HDMI,         RSVD2,        RSVD3,        RSVD4,        0x3110, N, N),
22868c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data7_po0,       SPI2,         HSI,          UARTA,        ULPI,         0x301c, N, N),
22878c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data0_po1,       SPI3,         HSI,          UARTA,        ULPI,         0x3000, N, N),
22888c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data1_po2,       SPI3,         HSI,          UARTA,        ULPI,         0x3004, N, N),
22898c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data2_po3,       SPI3,         HSI,          UARTA,        ULPI,         0x3008, N, N),
22908c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data3_po4,       SPI3,         HSI,          UARTA,        ULPI,         0x300c, N, N),
22918c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data4_po5,       SPI2,         HSI,          UARTA,        ULPI,         0x3010, N, N),
22928c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data5_po6,       SPI2,         HSI,          UARTA,        ULPI,         0x3014, N, N),
22938c2ecf20Sopenharmony_ci	PINGROUP(ulpi_data6_po7,       SPI2,         HSI,          UARTA,        ULPI,         0x3018, N, N),
22948c2ecf20Sopenharmony_ci	PINGROUP(dap3_fs_pp0,          I2S2,         RSVD2,        DISPLAYA,     DISPLAYB,     0x3030, N, N),
22958c2ecf20Sopenharmony_ci	PINGROUP(dap3_din_pp1,         I2S2,         RSVD2,        DISPLAYA,     DISPLAYB,     0x3034, N, N),
22968c2ecf20Sopenharmony_ci	PINGROUP(dap3_dout_pp2,        I2S2,         RSVD2,        DISPLAYA,     DISPLAYB,     0x3038, N, N),
22978c2ecf20Sopenharmony_ci	PINGROUP(dap3_sclk_pp3,        I2S2,         RSVD2,        DISPLAYA,     DISPLAYB,     0x303c, N, N),
22988c2ecf20Sopenharmony_ci	PINGROUP(dap4_fs_pp4,          I2S3,         RSVD2,        GMI,          RSVD4,        0x31a8, N, N),
22998c2ecf20Sopenharmony_ci	PINGROUP(dap4_din_pp5,         I2S3,         RSVD2,        GMI,          RSVD4,        0x31ac, N, N),
23008c2ecf20Sopenharmony_ci	PINGROUP(dap4_dout_pp6,        I2S3,         RSVD2,        GMI,          RSVD4,        0x31b0, N, N),
23018c2ecf20Sopenharmony_ci	PINGROUP(dap4_sclk_pp7,        I2S3,         RSVD2,        GMI,          RSVD4,        0x31b4, N, N),
23028c2ecf20Sopenharmony_ci	PINGROUP(kb_col0_pq0,          KBC,          NAND,         TRACE,        TEST,         0x32fc, N, N),
23038c2ecf20Sopenharmony_ci	PINGROUP(kb_col1_pq1,          KBC,          NAND,         TRACE,        TEST,         0x3300, N, N),
23048c2ecf20Sopenharmony_ci	PINGROUP(kb_col2_pq2,          KBC,          NAND,         TRACE,        RSVD4,        0x3304, N, N),
23058c2ecf20Sopenharmony_ci	PINGROUP(kb_col3_pq3,          KBC,          NAND,         TRACE,        RSVD4,        0x3308, N, N),
23068c2ecf20Sopenharmony_ci	PINGROUP(kb_col4_pq4,          KBC,          NAND,         TRACE,        RSVD4,        0x330c, N, N),
23078c2ecf20Sopenharmony_ci	PINGROUP(kb_col5_pq5,          KBC,          NAND,         TRACE,        RSVD4,        0x3310, N, N),
23088c2ecf20Sopenharmony_ci	PINGROUP(kb_col6_pq6,          KBC,          NAND,         TRACE,        MIO,          0x3314, N, N),
23098c2ecf20Sopenharmony_ci	PINGROUP(kb_col7_pq7,          KBC,          NAND,         TRACE,        MIO,          0x3318, N, N),
23108c2ecf20Sopenharmony_ci	PINGROUP(kb_row0_pr0,          KBC,          NAND,         RSVD3,        RSVD4,        0x32bc, N, N),
23118c2ecf20Sopenharmony_ci	PINGROUP(kb_row1_pr1,          KBC,          NAND,         RSVD3,        RSVD4,        0x32c0, N, N),
23128c2ecf20Sopenharmony_ci	PINGROUP(kb_row2_pr2,          KBC,          NAND,         RSVD3,        RSVD4,        0x32c4, N, N),
23138c2ecf20Sopenharmony_ci	PINGROUP(kb_row3_pr3,          KBC,          NAND,         RSVD3,        INVALID,      0x32c8, N, N),
23148c2ecf20Sopenharmony_ci	PINGROUP(kb_row4_pr4,          KBC,          NAND,         TRACE,        RSVD4,        0x32cc, N, N),
23158c2ecf20Sopenharmony_ci	PINGROUP(kb_row5_pr5,          KBC,          NAND,         TRACE,        OWR,          0x32d0, N, N),
23168c2ecf20Sopenharmony_ci	PINGROUP(kb_row6_pr6,          KBC,          NAND,         SDMMC2,       MIO,          0x32d4, N, N),
23178c2ecf20Sopenharmony_ci	PINGROUP(kb_row7_pr7,          KBC,          NAND,         SDMMC2,       MIO,          0x32d8, N, N),
23188c2ecf20Sopenharmony_ci	PINGROUP(kb_row8_ps0,          KBC,          NAND,         SDMMC2,       MIO,          0x32dc, N, N),
23198c2ecf20Sopenharmony_ci	PINGROUP(kb_row9_ps1,          KBC,          NAND,         SDMMC2,       MIO,          0x32e0, N, N),
23208c2ecf20Sopenharmony_ci	PINGROUP(kb_row10_ps2,         KBC,          NAND,         SDMMC2,       MIO,          0x32e4, N, N),
23218c2ecf20Sopenharmony_ci	PINGROUP(kb_row11_ps3,         KBC,          NAND,         SDMMC2,       MIO,          0x32e8, N, N),
23228c2ecf20Sopenharmony_ci	PINGROUP(kb_row12_ps4,         KBC,          NAND,         SDMMC2,       MIO,          0x32ec, N, N),
23238c2ecf20Sopenharmony_ci	PINGROUP(kb_row13_ps5,         KBC,          NAND,         SDMMC2,       MIO,          0x32f0, N, N),
23248c2ecf20Sopenharmony_ci	PINGROUP(kb_row14_ps6,         KBC,          NAND,         SDMMC2,       MIO,          0x32f4, N, N),
23258c2ecf20Sopenharmony_ci	PINGROUP(kb_row15_ps7,         KBC,          NAND,         SDMMC2,       MIO,          0x32f8, N, N),
23268c2ecf20Sopenharmony_ci	PINGROUP(vi_pclk_pt0,          RSVD1,        SDMMC2,       VI,           RSVD4,        0x3154, N, Y),
23278c2ecf20Sopenharmony_ci	PINGROUP(vi_mclk_pt1,          VI,           VI_ALT1,      VI_ALT2,      VI_ALT3,      0x3158, N, Y),
23288c2ecf20Sopenharmony_ci	PINGROUP(vi_d10_pt2,           DDR,          RSVD2,        VI,           RSVD4,        0x314c, N, Y),
23298c2ecf20Sopenharmony_ci	PINGROUP(vi_d11_pt3,           DDR,          RSVD2,        VI,           RSVD4,        0x3150, N, Y),
23308c2ecf20Sopenharmony_ci	PINGROUP(vi_d0_pt4,            DDR,          RSVD2,        VI,           RSVD4,        0x3124, N, Y),
23318c2ecf20Sopenharmony_ci	PINGROUP(gen2_i2c_scl_pt5,     I2C2,         HDCP,         GMI,          RSVD4,        0x3250, Y, N),
23328c2ecf20Sopenharmony_ci	PINGROUP(gen2_i2c_sda_pt6,     I2C2,         HDCP,         GMI,          RSVD4,        0x3254, Y, N),
23338c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_cmd_pt7,       I2C3,         NAND,         GMI,          SDMMC4,       0x325c, N, Y),
23348c2ecf20Sopenharmony_ci	PINGROUP(pu0,                  OWR,          UARTA,        GMI,          RSVD4,        0x3184, N, N),
23358c2ecf20Sopenharmony_ci	PINGROUP(pu1,                  RSVD1,        UARTA,        GMI,          RSVD4,        0x3188, N, N),
23368c2ecf20Sopenharmony_ci	PINGROUP(pu2,                  RSVD1,        UARTA,        GMI,          RSVD4,        0x318c, N, N),
23378c2ecf20Sopenharmony_ci	PINGROUP(pu3,                  PWM0,         UARTA,        GMI,          RSVD4,        0x3190, N, N),
23388c2ecf20Sopenharmony_ci	PINGROUP(pu4,                  PWM1,         UARTA,        GMI,          RSVD4,        0x3194, N, N),
23398c2ecf20Sopenharmony_ci	PINGROUP(pu5,                  PWM2,         UARTA,        GMI,          RSVD4,        0x3198, N, N),
23408c2ecf20Sopenharmony_ci	PINGROUP(pu6,                  PWM3,         UARTA,        GMI,          RSVD4,        0x319c, N, N),
23418c2ecf20Sopenharmony_ci	PINGROUP(jtag_rtck_pu7,        RTCK,         RSVD2,        RSVD3,        RSVD4,        0x32b0, N, N),
23428c2ecf20Sopenharmony_ci	PINGROUP(pv0,                  RSVD1,        RSVD2,        RSVD3,        RSVD4,        0x3040, N, N),
23438c2ecf20Sopenharmony_ci	PINGROUP(pv1,                  RSVD1,        RSVD2,        RSVD3,        RSVD4,        0x3044, N, N),
23448c2ecf20Sopenharmony_ci	PINGROUP(pv2,                  OWR,          RSVD2,        RSVD3,        RSVD4,        0x3060, N, N),
23458c2ecf20Sopenharmony_ci	PINGROUP(pv3,                  CLK_12M_OUT,  RSVD2,        RSVD3,        RSVD4,        0x3064, N, N),
23468c2ecf20Sopenharmony_ci	PINGROUP(ddc_scl_pv4,          I2C4,         RSVD2,        RSVD3,        RSVD4,        0x3114, N, N),
23478c2ecf20Sopenharmony_ci	PINGROUP(ddc_sda_pv5,          I2C4,         RSVD2,        RSVD3,        RSVD4,        0x3118, N, N),
23488c2ecf20Sopenharmony_ci	PINGROUP(crt_hsync_pv6,        CRT,          RSVD2,        RSVD3,        RSVD4,        0x311c, N, N),
23498c2ecf20Sopenharmony_ci	PINGROUP(crt_vsync_pv7,        CRT,          RSVD2,        RSVD3,        RSVD4,        0x3120, N, N),
23508c2ecf20Sopenharmony_ci	PINGROUP(lcd_cs1_n_pw0,        DISPLAYA,     DISPLAYB,     SPI5,         RSVD4,        0x3104, N, N),
23518c2ecf20Sopenharmony_ci	PINGROUP(lcd_m1_pw1,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x3108, N, N),
23528c2ecf20Sopenharmony_ci	PINGROUP(spi2_cs1_n_pw2,       SPI3,         SPI2,         SPI2_ALT,     I2C1,         0x3388, N, N),
23538c2ecf20Sopenharmony_ci	PINGROUP(spi2_cs2_n_pw3,       SPI3,         SPI2,         SPI2_ALT,     I2C1,         0x338c, N, N),
23548c2ecf20Sopenharmony_ci	PINGROUP(clk1_out_pw4,         EXTPERIPH1,   RSVD2,        RSVD3,        RSVD4,        0x334c, N, N),
23558c2ecf20Sopenharmony_ci	PINGROUP(clk2_out_pw5,         EXTPERIPH2,   RSVD2,        RSVD3,        RSVD4,        0x3068, N, N),
23568c2ecf20Sopenharmony_ci	PINGROUP(uart3_txd_pw6,        UARTC,        RSVD2,        GMI,          RSVD4,        0x3174, N, N),
23578c2ecf20Sopenharmony_ci	PINGROUP(uart3_rxd_pw7,        UARTC,        RSVD2,        GMI,          RSVD4,        0x3178, N, N),
23588c2ecf20Sopenharmony_ci	PINGROUP(spi2_mosi_px0,        SPI6,         SPI2,         SPI3,         GMI,          0x3368, N, N),
23598c2ecf20Sopenharmony_ci	PINGROUP(spi2_miso_px1,        SPI6,         SPI2,         SPI3,         GMI,          0x336c, N, N),
23608c2ecf20Sopenharmony_ci	PINGROUP(spi2_sck_px2,         SPI6,         SPI2,         SPI3,         GMI,          0x3374, N, N),
23618c2ecf20Sopenharmony_ci	PINGROUP(spi2_cs0_n_px3,       SPI6,         SPI2,         SPI3,         GMI,          0x3370, N, N),
23628c2ecf20Sopenharmony_ci	PINGROUP(spi1_mosi_px4,        SPI2,         SPI1,         SPI2_ALT,     GMI,          0x3378, N, N),
23638c2ecf20Sopenharmony_ci	PINGROUP(spi1_sck_px5,         SPI2,         SPI1,         SPI2_ALT,     GMI,          0x337c, N, N),
23648c2ecf20Sopenharmony_ci	PINGROUP(spi1_cs0_n_px6,       SPI2,         SPI1,         SPI2_ALT,     GMI,          0x3380, N, N),
23658c2ecf20Sopenharmony_ci	PINGROUP(spi1_miso_px7,        SPI3,         SPI1,         SPI2_ALT,     RSVD4,        0x3384, N, N),
23668c2ecf20Sopenharmony_ci	PINGROUP(ulpi_clk_py0,         SPI1,         RSVD2,        UARTD,        ULPI,         0x3020, N, N),
23678c2ecf20Sopenharmony_ci	PINGROUP(ulpi_dir_py1,         SPI1,         RSVD2,        UARTD,        ULPI,         0x3024, N, N),
23688c2ecf20Sopenharmony_ci	PINGROUP(ulpi_nxt_py2,         SPI1,         RSVD2,        UARTD,        ULPI,         0x3028, N, N),
23698c2ecf20Sopenharmony_ci	PINGROUP(ulpi_stp_py3,         SPI1,         RSVD2,        UARTD,        ULPI,         0x302c, N, N),
23708c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_dat3_py4,      SDMMC1,       RSVD2,        UARTE,        UARTA,        0x3050, N, N),
23718c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_dat2_py5,      SDMMC1,       RSVD2,        UARTE,        UARTA,        0x3054, N, N),
23728c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_dat1_py6,      SDMMC1,       RSVD2,        UARTE,        UARTA,        0x3058, N, N),
23738c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_dat0_py7,      SDMMC1,       RSVD2,        UARTE,        UARTA,        0x305c, N, N),
23748c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_clk_pz0,       SDMMC1,       RSVD2,        RSVD3,        UARTA,        0x3048, N, N),
23758c2ecf20Sopenharmony_ci	PINGROUP(sdmmc1_cmd_pz1,       SDMMC1,       RSVD2,        RSVD3,        UARTA,        0x304c, N, N),
23768c2ecf20Sopenharmony_ci	PINGROUP(lcd_sdin_pz2,         DISPLAYA,     DISPLAYB,     SPI5,         RSVD4,        0x3078, N, N),
23778c2ecf20Sopenharmony_ci	PINGROUP(lcd_wr_n_pz3,         DISPLAYA,     DISPLAYB,     SPI5,         HDCP,         0x3080, N, N),
23788c2ecf20Sopenharmony_ci	PINGROUP(lcd_sck_pz4,          DISPLAYA,     DISPLAYB,     SPI5,         HDCP,         0x308c, N, N),
23798c2ecf20Sopenharmony_ci	PINGROUP(sys_clk_req_pz5,      SYSCLK,       RSVD2,        RSVD3,        RSVD4,        0x3320, N, N),
23808c2ecf20Sopenharmony_ci	PINGROUP(pwr_i2c_scl_pz6,      I2CPWR,       RSVD2,        RSVD3,        RSVD4,        0x32b4, Y, N),
23818c2ecf20Sopenharmony_ci	PINGROUP(pwr_i2c_sda_pz7,      I2CPWR,       RSVD2,        RSVD3,        RSVD4,        0x32b8, Y, N),
23828c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat0_paa0,     UARTE,        SPI3,         GMI,          SDMMC4,       0x3260, N, Y),
23838c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat1_paa1,     UARTE,        SPI3,         GMI,          SDMMC4,       0x3264, N, Y),
23848c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat2_paa2,     UARTE,        SPI3,         GMI,          SDMMC4,       0x3268, N, Y),
23858c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat3_paa3,     UARTE,        SPI3,         GMI,          SDMMC4,       0x326c, N, Y),
23868c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat4_paa4,     I2C3,         I2S4,         GMI,          SDMMC4,       0x3270, N, Y),
23878c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat5_paa5,     VGP3,         I2S4,         GMI,          SDMMC4,       0x3274, N, Y),
23888c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat6_paa6,     VGP4,         I2S4,         GMI,          SDMMC4,       0x3278, N, Y),
23898c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_dat7_paa7,     VGP5,         I2S4,         GMI,          SDMMC4,       0x327c, N, Y),
23908c2ecf20Sopenharmony_ci	PINGROUP(pbb0,                 I2S4,         RSVD2,        RSVD3,        SDMMC4,       0x328c, N, N),
23918c2ecf20Sopenharmony_ci	PINGROUP(cam_i2c_scl_pbb1,     VGP1,         I2C3,         RSVD3,        SDMMC4,       0x3290, Y, N),
23928c2ecf20Sopenharmony_ci	PINGROUP(cam_i2c_sda_pbb2,     VGP2,         I2C3,         RSVD3,        SDMMC4,       0x3294, Y, N),
23938c2ecf20Sopenharmony_ci	PINGROUP(pbb3,                 VGP3,         DISPLAYA,     DISPLAYB,     SDMMC4,       0x3298, N, N),
23948c2ecf20Sopenharmony_ci	PINGROUP(pbb4,                 VGP4,         DISPLAYA,     DISPLAYB,     SDMMC4,       0x329c, N, N),
23958c2ecf20Sopenharmony_ci	PINGROUP(pbb5,                 VGP5,         DISPLAYA,     DISPLAYB,     SDMMC4,       0x32a0, N, N),
23968c2ecf20Sopenharmony_ci	PINGROUP(pbb6,                 VGP6,         DISPLAYA,     DISPLAYB,     SDMMC4,       0x32a4, N, N),
23978c2ecf20Sopenharmony_ci	PINGROUP(pbb7,                 I2S4,         RSVD2,        RSVD3,        SDMMC4,       0x32a8, N, N),
23988c2ecf20Sopenharmony_ci	PINGROUP(cam_mclk_pcc0,        VI,           VI_ALT1,      VI_ALT3,      SDMMC4,       0x3284, N, N),
23998c2ecf20Sopenharmony_ci	PINGROUP(pcc1,                 I2S4,         RSVD2,        RSVD3,        SDMMC4,       0x3288, N, N),
24008c2ecf20Sopenharmony_ci	PINGROUP(pcc2,                 I2S4,         RSVD2,        RSVD3,        RSVD4,        0x32ac, N, N),
24018c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_rst_n_pcc3,    VGP6,         RSVD2,        RSVD3,        SDMMC4,       0x3280, N, Y),
24028c2ecf20Sopenharmony_ci	PINGROUP(sdmmc4_clk_pcc4,      INVALID,      NAND,         GMI,          SDMMC4,       0x3258, N, Y),
24038c2ecf20Sopenharmony_ci	PINGROUP(clk2_req_pcc5,        DAP,          RSVD2,        RSVD3,        RSVD4,        0x306c, N, N),
24048c2ecf20Sopenharmony_ci	PINGROUP(pex_l2_rst_n_pcc6,    PCIE,         HDA,          RSVD3,        RSVD4,        0x33d8, N, N),
24058c2ecf20Sopenharmony_ci	PINGROUP(pex_l2_clkreq_n_pcc7, PCIE,         HDA,          RSVD3,        RSVD4,        0x33dc, N, N),
24068c2ecf20Sopenharmony_ci	PINGROUP(pex_l0_prsnt_n_pdd0,  PCIE,         HDA,          RSVD3,        RSVD4,        0x33b8, N, N),
24078c2ecf20Sopenharmony_ci	PINGROUP(pex_l0_rst_n_pdd1,    PCIE,         HDA,          RSVD3,        RSVD4,        0x33bc, N, N),
24088c2ecf20Sopenharmony_ci	PINGROUP(pex_l0_clkreq_n_pdd2, PCIE,         HDA,          RSVD3,        RSVD4,        0x33c0, N, N),
24098c2ecf20Sopenharmony_ci	PINGROUP(pex_wake_n_pdd3,      PCIE,         HDA,          RSVD3,        RSVD4,        0x33c4, N, N),
24108c2ecf20Sopenharmony_ci	PINGROUP(pex_l1_prsnt_n_pdd4,  PCIE,         HDA,          RSVD3,        RSVD4,        0x33c8, N, N),
24118c2ecf20Sopenharmony_ci	PINGROUP(pex_l1_rst_n_pdd5,    PCIE,         HDA,          RSVD3,        RSVD4,        0x33cc, N, N),
24128c2ecf20Sopenharmony_ci	PINGROUP(pex_l1_clkreq_n_pdd6, PCIE,         HDA,          RSVD3,        RSVD4,        0x33d0, N, N),
24138c2ecf20Sopenharmony_ci	PINGROUP(pex_l2_prsnt_n_pdd7,  PCIE,         HDA,          RSVD3,        RSVD4,        0x33d4, N, N),
24148c2ecf20Sopenharmony_ci	PINGROUP(clk3_out_pee0,        EXTPERIPH3,   RSVD2,        RSVD3,        RSVD4,        0x31b8, N, N),
24158c2ecf20Sopenharmony_ci	PINGROUP(clk3_req_pee1,        DEV3,         RSVD2,        RSVD3,        RSVD4,        0x31bc, N, N),
24168c2ecf20Sopenharmony_ci	PINGROUP(clk1_req_pee2,        DAP,          HDA,          RSVD3,        RSVD4,        0x3348, N, N),
24178c2ecf20Sopenharmony_ci	PINGROUP(hdmi_cec_pee3,        CEC,          RSVD2,        RSVD3,        RSVD4,        0x33e0, Y, N),
24188c2ecf20Sopenharmony_ci	PINGROUP(clk_32k_in,           CLK_32K_IN,   RSVD2,        RSVD3,        RSVD4,        0x3330, N, N),
24198c2ecf20Sopenharmony_ci	PINGROUP(core_pwr_req,         CORE_PWR_REQ, RSVD2,        RSVD3,        RSVD4,        0x3324, N, N),
24208c2ecf20Sopenharmony_ci	PINGROUP(cpu_pwr_req,          CPU_PWR_REQ,  RSVD2,        RSVD3,        RSVD4,        0x3328, N, N),
24218c2ecf20Sopenharmony_ci	PINGROUP(owr,                  OWR,          CEC,          RSVD3,        RSVD4,        0x3334, N, N),
24228c2ecf20Sopenharmony_ci	PINGROUP(pwr_int_n,            PWR_INT_N,    RSVD2,        RSVD3,        RSVD4,        0x332c, N, N),
24238c2ecf20Sopenharmony_ci	/* pg_name, r, hsm_b, schmitt_b, lpmd_b, drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b, slwr_w, slwf_b, slwf_w */
24248c2ecf20Sopenharmony_ci	DRV_PINGROUP(ao1,   0x868,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24258c2ecf20Sopenharmony_ci	DRV_PINGROUP(ao2,   0x86c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24268c2ecf20Sopenharmony_ci	DRV_PINGROUP(at1,   0x870,  2,  3,  4,  14,  5,  19,  5,  24,  2,  28,  2),
24278c2ecf20Sopenharmony_ci	DRV_PINGROUP(at2,   0x874,  2,  3,  4,  14,  5,  19,  5,  24,  2,  28,  2),
24288c2ecf20Sopenharmony_ci	DRV_PINGROUP(at3,   0x878,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
24298c2ecf20Sopenharmony_ci	DRV_PINGROUP(at4,   0x87c,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
24308c2ecf20Sopenharmony_ci	DRV_PINGROUP(at5,   0x880,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
24318c2ecf20Sopenharmony_ci	DRV_PINGROUP(cdev1, 0x884,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24328c2ecf20Sopenharmony_ci	DRV_PINGROUP(cdev2, 0x888,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24338c2ecf20Sopenharmony_ci	DRV_PINGROUP(cec,   0x938,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24348c2ecf20Sopenharmony_ci	DRV_PINGROUP(crt,   0x8f8,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24358c2ecf20Sopenharmony_ci	DRV_PINGROUP(csus,  0x88c, -1, -1, -1,  12,  5,  19,  5,  24,  4,  28,  4),
24368c2ecf20Sopenharmony_ci	DRV_PINGROUP(dap1,  0x890,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24378c2ecf20Sopenharmony_ci	DRV_PINGROUP(dap2,  0x894,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24388c2ecf20Sopenharmony_ci	DRV_PINGROUP(dap3,  0x898,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24398c2ecf20Sopenharmony_ci	DRV_PINGROUP(dap4,  0x89c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24408c2ecf20Sopenharmony_ci	DRV_PINGROUP(dbg,   0x8a0,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24418c2ecf20Sopenharmony_ci	DRV_PINGROUP(ddc,   0x8fc,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24428c2ecf20Sopenharmony_ci	DRV_PINGROUP(dev3,  0x92c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24438c2ecf20Sopenharmony_ci	DRV_PINGROUP(gma,   0x900, -1, -1, -1,  14,  5,  19,  5,  24,  4,  28,  4),
24448c2ecf20Sopenharmony_ci	DRV_PINGROUP(gmb,   0x904, -1, -1, -1,  14,  5,  19,  5,  24,  4,  28,  4),
24458c2ecf20Sopenharmony_ci	DRV_PINGROUP(gmc,   0x908, -1, -1, -1,  14,  5,  19,  5,  24,  4,  28,  4),
24468c2ecf20Sopenharmony_ci	DRV_PINGROUP(gmd,   0x90c, -1, -1, -1,  14,  5,  19,  5,  24,  4,  28,  4),
24478c2ecf20Sopenharmony_ci	DRV_PINGROUP(gme,   0x910,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
24488c2ecf20Sopenharmony_ci	DRV_PINGROUP(gmf,   0x914,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
24498c2ecf20Sopenharmony_ci	DRV_PINGROUP(gmg,   0x918,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
24508c2ecf20Sopenharmony_ci	DRV_PINGROUP(gmh,   0x91c,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
24518c2ecf20Sopenharmony_ci	DRV_PINGROUP(gpv,   0x928,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24528c2ecf20Sopenharmony_ci	DRV_PINGROUP(lcd1,  0x8a4,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24538c2ecf20Sopenharmony_ci	DRV_PINGROUP(lcd2,  0x8a8,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24548c2ecf20Sopenharmony_ci	DRV_PINGROUP(owr,   0x920,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24558c2ecf20Sopenharmony_ci	DRV_PINGROUP(sdio1, 0x8ec,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2),
24568c2ecf20Sopenharmony_ci	DRV_PINGROUP(sdio2, 0x8ac,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2),
24578c2ecf20Sopenharmony_ci	DRV_PINGROUP(sdio3, 0x8b0,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2),
24588c2ecf20Sopenharmony_ci	DRV_PINGROUP(spi,   0x8b4,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24598c2ecf20Sopenharmony_ci	DRV_PINGROUP(uaa,   0x8b8,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24608c2ecf20Sopenharmony_ci	DRV_PINGROUP(uab,   0x8bc,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24618c2ecf20Sopenharmony_ci	DRV_PINGROUP(uart2, 0x8c0,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24628c2ecf20Sopenharmony_ci	DRV_PINGROUP(uart3, 0x8c4,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24638c2ecf20Sopenharmony_ci	DRV_PINGROUP(uda,   0x924,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
24648c2ecf20Sopenharmony_ci	DRV_PINGROUP(vi1,   0x8c8, -1, -1, -1,  14,  5,  19,  5,  24,  4,  28,  4),
24658c2ecf20Sopenharmony_ci};
24668c2ecf20Sopenharmony_ci
24678c2ecf20Sopenharmony_cistatic const struct tegra_pinctrl_soc_data tegra30_pinctrl = {
24688c2ecf20Sopenharmony_ci	.ngpios = NUM_GPIOS,
24698c2ecf20Sopenharmony_ci	.gpio_compatible = "nvidia,tegra30-gpio",
24708c2ecf20Sopenharmony_ci	.pins = tegra30_pins,
24718c2ecf20Sopenharmony_ci	.npins = ARRAY_SIZE(tegra30_pins),
24728c2ecf20Sopenharmony_ci	.functions = tegra30_functions,
24738c2ecf20Sopenharmony_ci	.nfunctions = ARRAY_SIZE(tegra30_functions),
24748c2ecf20Sopenharmony_ci	.groups = tegra30_groups,
24758c2ecf20Sopenharmony_ci	.ngroups = ARRAY_SIZE(tegra30_groups),
24768c2ecf20Sopenharmony_ci	.hsm_in_mux = false,
24778c2ecf20Sopenharmony_ci	.schmitt_in_mux = false,
24788c2ecf20Sopenharmony_ci	.drvtype_in_mux = false,
24798c2ecf20Sopenharmony_ci};
24808c2ecf20Sopenharmony_ci
24818c2ecf20Sopenharmony_cistatic int tegra30_pinctrl_probe(struct platform_device *pdev)
24828c2ecf20Sopenharmony_ci{
24838c2ecf20Sopenharmony_ci	return tegra_pinctrl_probe(pdev, &tegra30_pinctrl);
24848c2ecf20Sopenharmony_ci}
24858c2ecf20Sopenharmony_ci
24868c2ecf20Sopenharmony_cistatic const struct of_device_id tegra30_pinctrl_of_match[] = {
24878c2ecf20Sopenharmony_ci	{ .compatible = "nvidia,tegra30-pinmux", },
24888c2ecf20Sopenharmony_ci	{ },
24898c2ecf20Sopenharmony_ci};
24908c2ecf20Sopenharmony_ci
24918c2ecf20Sopenharmony_cistatic struct platform_driver tegra30_pinctrl_driver = {
24928c2ecf20Sopenharmony_ci	.driver = {
24938c2ecf20Sopenharmony_ci		.name = "tegra30-pinctrl",
24948c2ecf20Sopenharmony_ci		.of_match_table = tegra30_pinctrl_of_match,
24958c2ecf20Sopenharmony_ci	},
24968c2ecf20Sopenharmony_ci	.probe = tegra30_pinctrl_probe,
24978c2ecf20Sopenharmony_ci};
24988c2ecf20Sopenharmony_ci
24998c2ecf20Sopenharmony_cistatic int __init tegra30_pinctrl_init(void)
25008c2ecf20Sopenharmony_ci{
25018c2ecf20Sopenharmony_ci	return platform_driver_register(&tegra30_pinctrl_driver);
25028c2ecf20Sopenharmony_ci}
25038c2ecf20Sopenharmony_ciarch_initcall(tegra30_pinctrl_init);
2504