162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Pinctrl data for the NVIDIA Tegra30 pinmux
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Author: Stephen Warren <swarren@nvidia.com>
662306a36Sopenharmony_ci *
762306a36Sopenharmony_ci * Copyright (c) 2011-2012, NVIDIA CORPORATION.  All rights reserved.
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#include <linux/init.h>
1162306a36Sopenharmony_ci#include <linux/of.h>
1262306a36Sopenharmony_ci#include <linux/platform_device.h>
1362306a36Sopenharmony_ci#include <linux/pinctrl/pinctrl.h>
1462306a36Sopenharmony_ci#include <linux/pinctrl/pinmux.h>
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci#include "pinctrl-tegra.h"
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci/*
1962306a36Sopenharmony_ci * Most pins affected by the pinmux can also be GPIOs. Define these first.
2062306a36Sopenharmony_ci * These must match how the GPIO driver names/numbers its pins.
2162306a36Sopenharmony_ci */
2262306a36Sopenharmony_ci#define _GPIO(offset)			(offset)
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#define TEGRA_PIN_CLK_32K_OUT_PA0	_GPIO(0)
2562306a36Sopenharmony_ci#define TEGRA_PIN_UART3_CTS_N_PA1	_GPIO(1)
2662306a36Sopenharmony_ci#define TEGRA_PIN_DAP2_FS_PA2		_GPIO(2)
2762306a36Sopenharmony_ci#define TEGRA_PIN_DAP2_SCLK_PA3		_GPIO(3)
2862306a36Sopenharmony_ci#define TEGRA_PIN_DAP2_DIN_PA4		_GPIO(4)
2962306a36Sopenharmony_ci#define TEGRA_PIN_DAP2_DOUT_PA5		_GPIO(5)
3062306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CLK_PA6	_GPIO(6)
3162306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CMD_PA7	_GPIO(7)
3262306a36Sopenharmony_ci#define TEGRA_PIN_GMI_A17_PB0		_GPIO(8)
3362306a36Sopenharmony_ci#define TEGRA_PIN_GMI_A18_PB1		_GPIO(9)
3462306a36Sopenharmony_ci#define TEGRA_PIN_LCD_PWR0_PB2		_GPIO(10)
3562306a36Sopenharmony_ci#define TEGRA_PIN_LCD_PCLK_PB3		_GPIO(11)
3662306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT3_PB4	_GPIO(12)
3762306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT2_PB5	_GPIO(13)
3862306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT1_PB6	_GPIO(14)
3962306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT0_PB7	_GPIO(15)
4062306a36Sopenharmony_ci#define TEGRA_PIN_UART3_RTS_N_PC0	_GPIO(16)
4162306a36Sopenharmony_ci#define TEGRA_PIN_LCD_PWR1_PC1		_GPIO(17)
4262306a36Sopenharmony_ci#define TEGRA_PIN_UART2_TXD_PC2		_GPIO(18)
4362306a36Sopenharmony_ci#define TEGRA_PIN_UART2_RXD_PC3		_GPIO(19)
4462306a36Sopenharmony_ci#define TEGRA_PIN_GEN1_I2C_SCL_PC4	_GPIO(20)
4562306a36Sopenharmony_ci#define TEGRA_PIN_GEN1_I2C_SDA_PC5	_GPIO(21)
4662306a36Sopenharmony_ci#define TEGRA_PIN_LCD_PWR2_PC6		_GPIO(22)
4762306a36Sopenharmony_ci#define TEGRA_PIN_GMI_WP_N_PC7		_GPIO(23)
4862306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT5_PD0	_GPIO(24)
4962306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT4_PD1	_GPIO(25)
5062306a36Sopenharmony_ci#define TEGRA_PIN_LCD_DC1_PD2		_GPIO(26)
5162306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT6_PD3	_GPIO(27)
5262306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT7_PD4	_GPIO(28)
5362306a36Sopenharmony_ci#define TEGRA_PIN_VI_D1_PD5		_GPIO(29)
5462306a36Sopenharmony_ci#define TEGRA_PIN_VI_VSYNC_PD6		_GPIO(30)
5562306a36Sopenharmony_ci#define TEGRA_PIN_VI_HSYNC_PD7		_GPIO(31)
5662306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D0_PE0		_GPIO(32)
5762306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D1_PE1		_GPIO(33)
5862306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D2_PE2		_GPIO(34)
5962306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D3_PE3		_GPIO(35)
6062306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D4_PE4		_GPIO(36)
6162306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D5_PE5		_GPIO(37)
6262306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D6_PE6		_GPIO(38)
6362306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D7_PE7		_GPIO(39)
6462306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D8_PF0		_GPIO(40)
6562306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D9_PF1		_GPIO(41)
6662306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D10_PF2		_GPIO(42)
6762306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D11_PF3		_GPIO(43)
6862306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D12_PF4		_GPIO(44)
6962306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D13_PF5		_GPIO(45)
7062306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D14_PF6		_GPIO(46)
7162306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D15_PF7		_GPIO(47)
7262306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD0_PG0		_GPIO(48)
7362306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD1_PG1		_GPIO(49)
7462306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD2_PG2		_GPIO(50)
7562306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD3_PG3		_GPIO(51)
7662306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD4_PG4		_GPIO(52)
7762306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD5_PG5		_GPIO(53)
7862306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD6_PG6		_GPIO(54)
7962306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD7_PG7		_GPIO(55)
8062306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD8_PH0		_GPIO(56)
8162306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD9_PH1		_GPIO(57)
8262306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD10_PH2		_GPIO(58)
8362306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD11_PH3		_GPIO(59)
8462306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD12_PH4		_GPIO(60)
8562306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD13_PH5		_GPIO(61)
8662306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD14_PH6		_GPIO(62)
8762306a36Sopenharmony_ci#define TEGRA_PIN_GMI_AD15_PH7		_GPIO(63)
8862306a36Sopenharmony_ci#define TEGRA_PIN_GMI_WR_N_PI0		_GPIO(64)
8962306a36Sopenharmony_ci#define TEGRA_PIN_GMI_OE_N_PI1		_GPIO(65)
9062306a36Sopenharmony_ci#define TEGRA_PIN_GMI_DQS_PI2		_GPIO(66)
9162306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS6_N_PI3		_GPIO(67)
9262306a36Sopenharmony_ci#define TEGRA_PIN_GMI_RST_N_PI4		_GPIO(68)
9362306a36Sopenharmony_ci#define TEGRA_PIN_GMI_IORDY_PI5		_GPIO(69)
9462306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS7_N_PI6		_GPIO(70)
9562306a36Sopenharmony_ci#define TEGRA_PIN_GMI_WAIT_PI7		_GPIO(71)
9662306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS0_N_PJ0		_GPIO(72)
9762306a36Sopenharmony_ci#define TEGRA_PIN_LCD_DE_PJ1		_GPIO(73)
9862306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS1_N_PJ2		_GPIO(74)
9962306a36Sopenharmony_ci#define TEGRA_PIN_LCD_HSYNC_PJ3		_GPIO(75)
10062306a36Sopenharmony_ci#define TEGRA_PIN_LCD_VSYNC_PJ4		_GPIO(76)
10162306a36Sopenharmony_ci#define TEGRA_PIN_UART2_CTS_N_PJ5	_GPIO(77)
10262306a36Sopenharmony_ci#define TEGRA_PIN_UART2_RTS_N_PJ6	_GPIO(78)
10362306a36Sopenharmony_ci#define TEGRA_PIN_GMI_A16_PJ7		_GPIO(79)
10462306a36Sopenharmony_ci#define TEGRA_PIN_GMI_ADV_N_PK0		_GPIO(80)
10562306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CLK_PK1		_GPIO(81)
10662306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS4_N_PK2		_GPIO(82)
10762306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS2_N_PK3		_GPIO(83)
10862306a36Sopenharmony_ci#define TEGRA_PIN_GMI_CS3_N_PK4		_GPIO(84)
10962306a36Sopenharmony_ci#define TEGRA_PIN_SPDIF_OUT_PK5		_GPIO(85)
11062306a36Sopenharmony_ci#define TEGRA_PIN_SPDIF_IN_PK6		_GPIO(86)
11162306a36Sopenharmony_ci#define TEGRA_PIN_GMI_A19_PK7		_GPIO(87)
11262306a36Sopenharmony_ci#define TEGRA_PIN_VI_D2_PL0		_GPIO(88)
11362306a36Sopenharmony_ci#define TEGRA_PIN_VI_D3_PL1		_GPIO(89)
11462306a36Sopenharmony_ci#define TEGRA_PIN_VI_D4_PL2		_GPIO(90)
11562306a36Sopenharmony_ci#define TEGRA_PIN_VI_D5_PL3		_GPIO(91)
11662306a36Sopenharmony_ci#define TEGRA_PIN_VI_D6_PL4		_GPIO(92)
11762306a36Sopenharmony_ci#define TEGRA_PIN_VI_D7_PL5		_GPIO(93)
11862306a36Sopenharmony_ci#define TEGRA_PIN_VI_D8_PL6		_GPIO(94)
11962306a36Sopenharmony_ci#define TEGRA_PIN_VI_D9_PL7		_GPIO(95)
12062306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D16_PM0		_GPIO(96)
12162306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D17_PM1		_GPIO(97)
12262306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D18_PM2		_GPIO(98)
12362306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D19_PM3		_GPIO(99)
12462306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D20_PM4		_GPIO(100)
12562306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D21_PM5		_GPIO(101)
12662306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D22_PM6		_GPIO(102)
12762306a36Sopenharmony_ci#define TEGRA_PIN_LCD_D23_PM7		_GPIO(103)
12862306a36Sopenharmony_ci#define TEGRA_PIN_DAP1_FS_PN0		_GPIO(104)
12962306a36Sopenharmony_ci#define TEGRA_PIN_DAP1_DIN_PN1		_GPIO(105)
13062306a36Sopenharmony_ci#define TEGRA_PIN_DAP1_DOUT_PN2		_GPIO(106)
13162306a36Sopenharmony_ci#define TEGRA_PIN_DAP1_SCLK_PN3		_GPIO(107)
13262306a36Sopenharmony_ci#define TEGRA_PIN_LCD_CS0_N_PN4		_GPIO(108)
13362306a36Sopenharmony_ci#define TEGRA_PIN_LCD_SDOUT_PN5		_GPIO(109)
13462306a36Sopenharmony_ci#define TEGRA_PIN_LCD_DC0_PN6		_GPIO(110)
13562306a36Sopenharmony_ci#define TEGRA_PIN_HDMI_INT_PN7		_GPIO(111)
13662306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA7_PO0	_GPIO(112)
13762306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA0_PO1	_GPIO(113)
13862306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA1_PO2	_GPIO(114)
13962306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA2_PO3	_GPIO(115)
14062306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA3_PO4	_GPIO(116)
14162306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA4_PO5	_GPIO(117)
14262306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA5_PO6	_GPIO(118)
14362306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DATA6_PO7	_GPIO(119)
14462306a36Sopenharmony_ci#define TEGRA_PIN_DAP3_FS_PP0		_GPIO(120)
14562306a36Sopenharmony_ci#define TEGRA_PIN_DAP3_DIN_PP1		_GPIO(121)
14662306a36Sopenharmony_ci#define TEGRA_PIN_DAP3_DOUT_PP2		_GPIO(122)
14762306a36Sopenharmony_ci#define TEGRA_PIN_DAP3_SCLK_PP3		_GPIO(123)
14862306a36Sopenharmony_ci#define TEGRA_PIN_DAP4_FS_PP4		_GPIO(124)
14962306a36Sopenharmony_ci#define TEGRA_PIN_DAP4_DIN_PP5		_GPIO(125)
15062306a36Sopenharmony_ci#define TEGRA_PIN_DAP4_DOUT_PP6		_GPIO(126)
15162306a36Sopenharmony_ci#define TEGRA_PIN_DAP4_SCLK_PP7		_GPIO(127)
15262306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL0_PQ0		_GPIO(128)
15362306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL1_PQ1		_GPIO(129)
15462306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL2_PQ2		_GPIO(130)
15562306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL3_PQ3		_GPIO(131)
15662306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL4_PQ4		_GPIO(132)
15762306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL5_PQ5		_GPIO(133)
15862306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL6_PQ6		_GPIO(134)
15962306a36Sopenharmony_ci#define TEGRA_PIN_KB_COL7_PQ7		_GPIO(135)
16062306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW0_PR0		_GPIO(136)
16162306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW1_PR1		_GPIO(137)
16262306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW2_PR2		_GPIO(138)
16362306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW3_PR3		_GPIO(139)
16462306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW4_PR4		_GPIO(140)
16562306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW5_PR5		_GPIO(141)
16662306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW6_PR6		_GPIO(142)
16762306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW7_PR7		_GPIO(143)
16862306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW8_PS0		_GPIO(144)
16962306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW9_PS1		_GPIO(145)
17062306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW10_PS2		_GPIO(146)
17162306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW11_PS3		_GPIO(147)
17262306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW12_PS4		_GPIO(148)
17362306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW13_PS5		_GPIO(149)
17462306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW14_PS6		_GPIO(150)
17562306a36Sopenharmony_ci#define TEGRA_PIN_KB_ROW15_PS7		_GPIO(151)
17662306a36Sopenharmony_ci#define TEGRA_PIN_VI_PCLK_PT0		_GPIO(152)
17762306a36Sopenharmony_ci#define TEGRA_PIN_VI_MCLK_PT1		_GPIO(153)
17862306a36Sopenharmony_ci#define TEGRA_PIN_VI_D10_PT2		_GPIO(154)
17962306a36Sopenharmony_ci#define TEGRA_PIN_VI_D11_PT3		_GPIO(155)
18062306a36Sopenharmony_ci#define TEGRA_PIN_VI_D0_PT4		_GPIO(156)
18162306a36Sopenharmony_ci#define TEGRA_PIN_GEN2_I2C_SCL_PT5	_GPIO(157)
18262306a36Sopenharmony_ci#define TEGRA_PIN_GEN2_I2C_SDA_PT6	_GPIO(158)
18362306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_CMD_PT7	_GPIO(159)
18462306a36Sopenharmony_ci#define TEGRA_PIN_PU0			_GPIO(160)
18562306a36Sopenharmony_ci#define TEGRA_PIN_PU1			_GPIO(161)
18662306a36Sopenharmony_ci#define TEGRA_PIN_PU2			_GPIO(162)
18762306a36Sopenharmony_ci#define TEGRA_PIN_PU3			_GPIO(163)
18862306a36Sopenharmony_ci#define TEGRA_PIN_PU4			_GPIO(164)
18962306a36Sopenharmony_ci#define TEGRA_PIN_PU5			_GPIO(165)
19062306a36Sopenharmony_ci#define TEGRA_PIN_PU6			_GPIO(166)
19162306a36Sopenharmony_ci#define TEGRA_PIN_JTAG_RTCK_PU7		_GPIO(167)
19262306a36Sopenharmony_ci#define TEGRA_PIN_PV0			_GPIO(168)
19362306a36Sopenharmony_ci#define TEGRA_PIN_PV1			_GPIO(169)
19462306a36Sopenharmony_ci#define TEGRA_PIN_PV2			_GPIO(170)
19562306a36Sopenharmony_ci#define TEGRA_PIN_PV3			_GPIO(171)
19662306a36Sopenharmony_ci#define TEGRA_PIN_DDC_SCL_PV4		_GPIO(172)
19762306a36Sopenharmony_ci#define TEGRA_PIN_DDC_SDA_PV5		_GPIO(173)
19862306a36Sopenharmony_ci#define TEGRA_PIN_CRT_HSYNC_PV6		_GPIO(174)
19962306a36Sopenharmony_ci#define TEGRA_PIN_CRT_VSYNC_PV7		_GPIO(175)
20062306a36Sopenharmony_ci#define TEGRA_PIN_LCD_CS1_N_PW0		_GPIO(176)
20162306a36Sopenharmony_ci#define TEGRA_PIN_LCD_M1_PW1		_GPIO(177)
20262306a36Sopenharmony_ci#define TEGRA_PIN_SPI2_CS1_N_PW2	_GPIO(178)
20362306a36Sopenharmony_ci#define TEGRA_PIN_SPI2_CS2_N_PW3	_GPIO(179)
20462306a36Sopenharmony_ci#define TEGRA_PIN_CLK1_OUT_PW4		_GPIO(180)
20562306a36Sopenharmony_ci#define TEGRA_PIN_CLK2_OUT_PW5		_GPIO(181)
20662306a36Sopenharmony_ci#define TEGRA_PIN_UART3_TXD_PW6		_GPIO(182)
20762306a36Sopenharmony_ci#define TEGRA_PIN_UART3_RXD_PW7		_GPIO(183)
20862306a36Sopenharmony_ci#define TEGRA_PIN_SPI2_MOSI_PX0		_GPIO(184)
20962306a36Sopenharmony_ci#define TEGRA_PIN_SPI2_MISO_PX1		_GPIO(185)
21062306a36Sopenharmony_ci#define TEGRA_PIN_SPI2_SCK_PX2		_GPIO(186)
21162306a36Sopenharmony_ci#define TEGRA_PIN_SPI2_CS0_N_PX3	_GPIO(187)
21262306a36Sopenharmony_ci#define TEGRA_PIN_SPI1_MOSI_PX4		_GPIO(188)
21362306a36Sopenharmony_ci#define TEGRA_PIN_SPI1_SCK_PX5		_GPIO(189)
21462306a36Sopenharmony_ci#define TEGRA_PIN_SPI1_CS0_N_PX6	_GPIO(190)
21562306a36Sopenharmony_ci#define TEGRA_PIN_SPI1_MISO_PX7		_GPIO(191)
21662306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_CLK_PY0		_GPIO(192)
21762306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_DIR_PY1		_GPIO(193)
21862306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_NXT_PY2		_GPIO(194)
21962306a36Sopenharmony_ci#define TEGRA_PIN_ULPI_STP_PY3		_GPIO(195)
22062306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT3_PY4	_GPIO(196)
22162306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT2_PY5	_GPIO(197)
22262306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT1_PY6	_GPIO(198)
22362306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT0_PY7	_GPIO(199)
22462306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_CLK_PZ0	_GPIO(200)
22562306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_CMD_PZ1	_GPIO(201)
22662306a36Sopenharmony_ci#define TEGRA_PIN_LCD_SDIN_PZ2		_GPIO(202)
22762306a36Sopenharmony_ci#define TEGRA_PIN_LCD_WR_N_PZ3		_GPIO(203)
22862306a36Sopenharmony_ci#define TEGRA_PIN_LCD_SCK_PZ4		_GPIO(204)
22962306a36Sopenharmony_ci#define TEGRA_PIN_SYS_CLK_REQ_PZ5	_GPIO(205)
23062306a36Sopenharmony_ci#define TEGRA_PIN_PWR_I2C_SCL_PZ6	_GPIO(206)
23162306a36Sopenharmony_ci#define TEGRA_PIN_PWR_I2C_SDA_PZ7	_GPIO(207)
23262306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT0_PAA0	_GPIO(208)
23362306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT1_PAA1	_GPIO(209)
23462306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT2_PAA2	_GPIO(210)
23562306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT3_PAA3	_GPIO(211)
23662306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT4_PAA4	_GPIO(212)
23762306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT5_PAA5	_GPIO(213)
23862306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT6_PAA6	_GPIO(214)
23962306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_DAT7_PAA7	_GPIO(215)
24062306a36Sopenharmony_ci#define TEGRA_PIN_PBB0			_GPIO(216)
24162306a36Sopenharmony_ci#define TEGRA_PIN_CAM_I2C_SCL_PBB1	_GPIO(217)
24262306a36Sopenharmony_ci#define TEGRA_PIN_CAM_I2C_SDA_PBB2	_GPIO(218)
24362306a36Sopenharmony_ci#define TEGRA_PIN_PBB3			_GPIO(219)
24462306a36Sopenharmony_ci#define TEGRA_PIN_PBB4			_GPIO(220)
24562306a36Sopenharmony_ci#define TEGRA_PIN_PBB5			_GPIO(221)
24662306a36Sopenharmony_ci#define TEGRA_PIN_PBB6			_GPIO(222)
24762306a36Sopenharmony_ci#define TEGRA_PIN_PBB7			_GPIO(223)
24862306a36Sopenharmony_ci#define TEGRA_PIN_CAM_MCLK_PCC0		_GPIO(224)
24962306a36Sopenharmony_ci#define TEGRA_PIN_PCC1			_GPIO(225)
25062306a36Sopenharmony_ci#define TEGRA_PIN_PCC2			_GPIO(226)
25162306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_RST_N_PCC3	_GPIO(227)
25262306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC4_CLK_PCC4	_GPIO(228)
25362306a36Sopenharmony_ci#define TEGRA_PIN_CLK2_REQ_PCC5		_GPIO(229)
25462306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L2_RST_N_PCC6	_GPIO(230)
25562306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L2_CLKREQ_N_PCC7	_GPIO(231)
25662306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L0_PRSNT_N_PDD0	_GPIO(232)
25762306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L0_RST_N_PDD1	_GPIO(233)
25862306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L0_CLKREQ_N_PDD2	_GPIO(234)
25962306a36Sopenharmony_ci#define TEGRA_PIN_PEX_WAKE_N_PDD3	_GPIO(235)
26062306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L1_PRSNT_N_PDD4	_GPIO(236)
26162306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L1_RST_N_PDD5	_GPIO(237)
26262306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L1_CLKREQ_N_PDD6	_GPIO(238)
26362306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L2_PRSNT_N_PDD7	_GPIO(239)
26462306a36Sopenharmony_ci#define TEGRA_PIN_CLK3_OUT_PEE0		_GPIO(240)
26562306a36Sopenharmony_ci#define TEGRA_PIN_CLK3_REQ_PEE1		_GPIO(241)
26662306a36Sopenharmony_ci#define TEGRA_PIN_CLK1_REQ_PEE2		_GPIO(242)
26762306a36Sopenharmony_ci#define TEGRA_PIN_HDMI_CEC_PEE3		_GPIO(243)
26862306a36Sopenharmony_ci#define TEGRA_PIN_PEE4			_GPIO(244)
26962306a36Sopenharmony_ci#define TEGRA_PIN_PEE5			_GPIO(245)
27062306a36Sopenharmony_ci#define TEGRA_PIN_PEE6			_GPIO(246)
27162306a36Sopenharmony_ci#define TEGRA_PIN_PEE7			_GPIO(247)
27262306a36Sopenharmony_ci
27362306a36Sopenharmony_ci/* All non-GPIO pins follow */
27462306a36Sopenharmony_ci#define NUM_GPIOS			(TEGRA_PIN_PEE7 + 1)
27562306a36Sopenharmony_ci#define _PIN(offset)			(NUM_GPIOS + (offset))
27662306a36Sopenharmony_ci
27762306a36Sopenharmony_ci/* Non-GPIO pins */
27862306a36Sopenharmony_ci#define TEGRA_PIN_CLK_32K_IN		_PIN(0)
27962306a36Sopenharmony_ci#define TEGRA_PIN_CORE_PWR_REQ		_PIN(1)
28062306a36Sopenharmony_ci#define TEGRA_PIN_CPU_PWR_REQ		_PIN(2)
28162306a36Sopenharmony_ci#define TEGRA_PIN_JTAG_TCK		_PIN(3)
28262306a36Sopenharmony_ci#define TEGRA_PIN_JTAG_TDI		_PIN(4)
28362306a36Sopenharmony_ci#define TEGRA_PIN_JTAG_TDO		_PIN(5)
28462306a36Sopenharmony_ci#define TEGRA_PIN_JTAG_TMS		_PIN(6)
28562306a36Sopenharmony_ci#define TEGRA_PIN_JTAG_TRST_N		_PIN(7)
28662306a36Sopenharmony_ci#define TEGRA_PIN_OWR			_PIN(8)
28762306a36Sopenharmony_ci#define TEGRA_PIN_PWR_INT_N		_PIN(9)
28862306a36Sopenharmony_ci#define TEGRA_PIN_SYS_RESET_N		_PIN(10)
28962306a36Sopenharmony_ci#define TEGRA_PIN_TEST_MODE_EN		_PIN(11)
29062306a36Sopenharmony_ci
29162306a36Sopenharmony_cistatic const struct pinctrl_pin_desc tegra30_pins[] = {
29262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK_32K_OUT_PA0, "CLK_32K_OUT PA0"),
29362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_CTS_N_PA1, "UART3_CTS_N PA1"),
29462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_FS_PA2, "DAP2_FS PA2"),
29562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_SCLK_PA3, "DAP2_SCLK PA3"),
29662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_DIN_PA4, "DAP2_DIN PA4"),
29762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP2_DOUT_PA5, "DAP2_DOUT PA5"),
29862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CLK_PA6, "SDMMC3_CLK PA6"),
29962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_CMD_PA7, "SDMMC3_CMD PA7"),
30062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_A17_PB0, "GMI_A17 PB0"),
30162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_A18_PB1, "GMI_A18 PB1"),
30262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_PWR0_PB2, "LCD_PWR0 PB2"),
30362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_PCLK_PB3, "LCD_PCLK PB3"),
30462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT3_PB4, "SDMMC3_DAT3 PB4"),
30562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT2_PB5, "SDMMC3_DAT2 PB5"),
30662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT1_PB6, "SDMMC3_DAT1 PB6"),
30762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT0_PB7, "SDMMC3_DAT0 PB7"),
30862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_RTS_N_PC0, "UART3_RTS_N PC0"),
30962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_PWR1_PC1, "LCD_PWR1 PC1"),
31062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_TXD_PC2, "UART2_TXD PC2"),
31162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_RXD_PC3, "UART2_RXD PC3"),
31262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SCL_PC4, "GEN1_I2C_SCL PC4"),
31362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SDA_PC5, "GEN1_I2C_SDA PC5"),
31462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_PWR2_PC6, "LCD_PWR2 PC6"),
31562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_WP_N_PC7, "GMI_WP_N PC7"),
31662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT5_PD0, "SDMMC3_DAT5 PD0"),
31762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT4_PD1, "SDMMC3_DAT4 PD1"),
31862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_DC1_PD2, "LCD_DC1 PD2"),
31962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT6_PD3, "SDMMC3_DAT6 PD3"),
32062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT7_PD4, "SDMMC3_DAT7 PD4"),
32162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D1_PD5, "VI_D1 PD5"),
32262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_VSYNC_PD6, "VI_VSYNC PD6"),
32362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_HSYNC_PD7, "VI_HSYNC PD7"),
32462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D0_PE0, "LCD_D0 PE0"),
32562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D1_PE1, "LCD_D1 PE1"),
32662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D2_PE2, "LCD_D2 PE2"),
32762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D3_PE3, "LCD_D3 PE3"),
32862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D4_PE4, "LCD_D4 PE4"),
32962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D5_PE5, "LCD_D5 PE5"),
33062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D6_PE6, "LCD_D6 PE6"),
33162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D7_PE7, "LCD_D7 PE7"),
33262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D8_PF0, "LCD_D8 PF0"),
33362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D9_PF1, "LCD_D9 PF1"),
33462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D10_PF2, "LCD_D10 PF2"),
33562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D11_PF3, "LCD_D11 PF3"),
33662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D12_PF4, "LCD_D12 PF4"),
33762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D13_PF5, "LCD_D13 PF5"),
33862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D14_PF6, "LCD_D14 PF6"),
33962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D15_PF7, "LCD_D15 PF7"),
34062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD0_PG0, "GMI_AD0 PG0"),
34162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD1_PG1, "GMI_AD1 PG1"),
34262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD2_PG2, "GMI_AD2 PG2"),
34362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD3_PG3, "GMI_AD3 PG3"),
34462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD4_PG4, "GMI_AD4 PG4"),
34562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD5_PG5, "GMI_AD5 PG5"),
34662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD6_PG6, "GMI_AD6 PG6"),
34762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD7_PG7, "GMI_AD7 PG7"),
34862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD8_PH0, "GMI_AD8 PH0"),
34962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD9_PH1, "GMI_AD9 PH1"),
35062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD10_PH2, "GMI_AD10 PH2"),
35162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD11_PH3, "GMI_AD11 PH3"),
35262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD12_PH4, "GMI_AD12 PH4"),
35362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD13_PH5, "GMI_AD13 PH5"),
35462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD14_PH6, "GMI_AD14 PH6"),
35562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_AD15_PH7, "GMI_AD15 PH7"),
35662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_WR_N_PI0, "GMI_WR_N PI0"),
35762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_OE_N_PI1, "GMI_OE_N PI1"),
35862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_DQS_PI2, "GMI_DQS PI2"),
35962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS6_N_PI3, "GMI_CS6_N PI3"),
36062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_RST_N_PI4, "GMI_RST_N PI4"),
36162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_IORDY_PI5, "GMI_IORDY PI5"),
36262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS7_N_PI6, "GMI_CS7_N PI6"),
36362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_WAIT_PI7, "GMI_WAIT PI7"),
36462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS0_N_PJ0, "GMI_CS0_N PJ0"),
36562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_DE_PJ1, "LCD_DE PJ1"),
36662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS1_N_PJ2, "GMI_CS1_N PJ2"),
36762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_HSYNC_PJ3, "LCD_HSYNC PJ3"),
36862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_VSYNC_PJ4, "LCD_VSYNC PJ4"),
36962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_CTS_N_PJ5, "UART2_CTS_N PJ5"),
37062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART2_RTS_N_PJ6, "UART2_RTS_N PJ6"),
37162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_A16_PJ7, "GMI_A16 PJ7"),
37262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_ADV_N_PK0, "GMI_ADV_N PK0"),
37362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CLK_PK1, "GMI_CLK PK1"),
37462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS4_N_PK2, "GMI_CS4_N PK2"),
37562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS2_N_PK3, "GMI_CS2_N PK3"),
37662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_CS3_N_PK4, "GMI_CS3_N PK4"),
37762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPDIF_OUT_PK5, "SPDIF_OUT PK5"),
37862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPDIF_IN_PK6, "SPDIF_IN PK6"),
37962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GMI_A19_PK7, "GMI_A19 PK7"),
38062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D2_PL0, "VI_D2 PL0"),
38162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D3_PL1, "VI_D3 PL1"),
38262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D4_PL2, "VI_D4 PL2"),
38362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D5_PL3, "VI_D5 PL3"),
38462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D6_PL4, "VI_D6 PL4"),
38562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D7_PL5, "VI_D7 PL5"),
38662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D8_PL6, "VI_D8 PL6"),
38762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D9_PL7, "VI_D9 PL7"),
38862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D16_PM0, "LCD_D16 PM0"),
38962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D17_PM1, "LCD_D17 PM1"),
39062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D18_PM2, "LCD_D18 PM2"),
39162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D19_PM3, "LCD_D19 PM3"),
39262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D20_PM4, "LCD_D20 PM4"),
39362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D21_PM5, "LCD_D21 PM5"),
39462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D22_PM6, "LCD_D22 PM6"),
39562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_D23_PM7, "LCD_D23 PM7"),
39662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_FS_PN0, "DAP1_FS PN0"),
39762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_DIN_PN1, "DAP1_DIN PN1"),
39862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_DOUT_PN2, "DAP1_DOUT PN2"),
39962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP1_SCLK_PN3, "DAP1_SCLK PN3"),
40062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_CS0_N_PN4, "LCD_CS0_N PN4"),
40162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_SDOUT_PN5, "LCD_SDOUT PN5"),
40262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_DC0_PN6, "LCD_DC0 PN6"),
40362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_HDMI_INT_PN7, "HDMI_INT PN7"),
40462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA7_PO0, "ULPI_DATA7 PO0"),
40562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA0_PO1, "ULPI_DATA0 PO1"),
40662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA1_PO2, "ULPI_DATA1 PO2"),
40762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA2_PO3, "ULPI_DATA2 PO3"),
40862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA3_PO4, "ULPI_DATA3 PO4"),
40962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA4_PO5, "ULPI_DATA4 PO5"),
41062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA5_PO6, "ULPI_DATA5 PO6"),
41162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DATA6_PO7, "ULPI_DATA6 PO7"),
41262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_FS_PP0, "DAP3_FS PP0"),
41362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_DIN_PP1, "DAP3_DIN PP1"),
41462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_DOUT_PP2, "DAP3_DOUT PP2"),
41562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP3_SCLK_PP3, "DAP3_SCLK PP3"),
41662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_FS_PP4, "DAP4_FS PP4"),
41762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_DIN_PP5, "DAP4_DIN PP5"),
41862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_DOUT_PP6, "DAP4_DOUT PP6"),
41962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DAP4_SCLK_PP7, "DAP4_SCLK PP7"),
42062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL0_PQ0, "KB_COL0 PQ0"),
42162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL1_PQ1, "KB_COL1 PQ1"),
42262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL2_PQ2, "KB_COL2 PQ2"),
42362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL3_PQ3, "KB_COL3 PQ3"),
42462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL4_PQ4, "KB_COL4 PQ4"),
42562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL5_PQ5, "KB_COL5 PQ5"),
42662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL6_PQ6, "KB_COL6 PQ6"),
42762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_COL7_PQ7, "KB_COL7 PQ7"),
42862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW0_PR0, "KB_ROW0 PR0"),
42962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW1_PR1, "KB_ROW1 PR1"),
43062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW2_PR2, "KB_ROW2 PR2"),
43162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW3_PR3, "KB_ROW3 PR3"),
43262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW4_PR4, "KB_ROW4 PR4"),
43362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW5_PR5, "KB_ROW5 PR5"),
43462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW6_PR6, "KB_ROW6 PR6"),
43562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW7_PR7, "KB_ROW7 PR7"),
43662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW8_PS0, "KB_ROW8 PS0"),
43762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW9_PS1, "KB_ROW9 PS1"),
43862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW10_PS2, "KB_ROW10 PS2"),
43962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW11_PS3, "KB_ROW11 PS3"),
44062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW12_PS4, "KB_ROW12 PS4"),
44162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW13_PS5, "KB_ROW13 PS5"),
44262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW14_PS6, "KB_ROW14 PS6"),
44362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_KB_ROW15_PS7, "KB_ROW15 PS7"),
44462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_PCLK_PT0, "VI_PCLK PT0"),
44562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_MCLK_PT1, "VI_MCLK PT1"),
44662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D10_PT2, "VI_D10 PT2"),
44762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D11_PT3, "VI_D11 PT3"),
44862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_VI_D0_PT4, "VI_D0 PT4"),
44962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SCL_PT5, "GEN2_I2C_SCL PT5"),
45062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SDA_PT6, "GEN2_I2C_SDA PT6"),
45162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_CMD_PT7, "SDMMC4_CMD PT7"),
45262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU0, "PU0"),
45362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU1, "PU1"),
45462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU2, "PU2"),
45562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU3, "PU3"),
45662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU4, "PU4"),
45762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU5, "PU5"),
45862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PU6, "PU6"),
45962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_RTCK_PU7, "JTAG_RTCK PU7"),
46062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PV0, "PV0"),
46162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PV1, "PV1"),
46262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PV2, "PV2"),
46362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PV3, "PV3"),
46462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DDC_SCL_PV4, "DDC_SCL PV4"),
46562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_DDC_SDA_PV5, "DDC_SDA PV5"),
46662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CRT_HSYNC_PV6, "CRT_HSYNC PV6"),
46762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CRT_VSYNC_PV7, "CRT_VSYNC PV7"),
46862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_CS1_N_PW0, "LCD_CS1_N PW0"),
46962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_M1_PW1, "LCD_M1 PW1"),
47062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_CS1_N_PW2, "SPI2_CS1_N PW2"),
47162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_CS2_N_PW3, "SPI2_CS2_N PW3"),
47262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK1_OUT_PW4, "CLK1_OUT PW4"),
47362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK2_OUT_PW5, "CLK2_OUT PW5"),
47462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_TXD_PW6, "UART3_TXD PW6"),
47562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_UART3_RXD_PW7, "UART3_RXD PW7"),
47662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_MOSI_PX0, "SPI2_MOSI PX0"),
47762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_MISO_PX1, "SPI2_MISO PX1"),
47862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_SCK_PX2, "SPI2_SCK PX2"),
47962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI2_CS0_N_PX3, "SPI2_CS0_N PX3"),
48062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_MOSI_PX4, "SPI1_MOSI PX4"),
48162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_SCK_PX5, "SPI1_SCK PX5"),
48262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_CS0_N_PX6, "SPI1_CS0_N PX6"),
48362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SPI1_MISO_PX7, "SPI1_MISO PX7"),
48462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_CLK_PY0, "ULPI_CLK PY0"),
48562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_DIR_PY1, "ULPI_DIR PY1"),
48662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_NXT_PY2, "ULPI_NXT PY2"),
48762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_ULPI_STP_PY3, "ULPI_STP PY3"),
48862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT3_PY4, "SDMMC1_DAT3 PY4"),
48962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT2_PY5, "SDMMC1_DAT2 PY5"),
49062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT1_PY6, "SDMMC1_DAT1 PY6"),
49162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT0_PY7, "SDMMC1_DAT0 PY7"),
49262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CLK_PZ0, "SDMMC1_CLK PZ0"),
49362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC1_CMD_PZ1, "SDMMC1_CMD PZ1"),
49462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_SDIN_PZ2, "LCD_SDIN PZ2"),
49562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_WR_N_PZ3, "LCD_WR_N PZ3"),
49662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_LCD_SCK_PZ4, "LCD_SCK PZ4"),
49762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SYS_CLK_REQ_PZ5, "SYS_CLK_REQ PZ5"),
49862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SCL_PZ6, "PWR_I2C_SCL PZ6"),
49962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SDA_PZ7, "PWR_I2C_SDA PZ7"),
50062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT0_PAA0, "SDMMC4_DAT0 PAA0"),
50162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT1_PAA1, "SDMMC4_DAT1 PAA1"),
50262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT2_PAA2, "SDMMC4_DAT2 PAA2"),
50362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT3_PAA3, "SDMMC4_DAT3 PAA3"),
50462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT4_PAA4, "SDMMC4_DAT4 PAA4"),
50562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT5_PAA5, "SDMMC4_DAT5 PAA5"),
50662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT6_PAA6, "SDMMC4_DAT6 PAA6"),
50762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT7_PAA7, "SDMMC4_DAT7 PAA7"),
50862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB0, "PBB0"),
50962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SCL_PBB1, "CAM_I2C_SCL PBB1"),
51062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SDA_PBB2, "CAM_I2C_SDA PBB2"),
51162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB3, "PBB3"),
51262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB4, "PBB4"),
51362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB5, "PBB5"),
51462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB6, "PBB6"),
51562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PBB7, "PBB7"),
51662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CAM_MCLK_PCC0, "CAM_MCLK PCC0"),
51762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PCC1, "PCC1"),
51862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PCC2, "PCC2"),
51962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_RST_N_PCC3, "SDMMC4_RST_N PCC3"),
52062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SDMMC4_CLK_PCC4, "SDMMC4_CLK PCC4"),
52162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK2_REQ_PCC5, "CLK2_REQ PCC5"),
52262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L2_RST_N_PCC6, "PEX_L2_RST_N PCC6"),
52362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L2_CLKREQ_N_PCC7, "PEX_L2_CLKREQ_N PCC7"),
52462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L0_PRSNT_N_PDD0, "PEX_L0_PRSNT_N PDD0"),
52562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L0_RST_N_PDD1, "PEX_L0_RST_N PDD1"),
52662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L0_CLKREQ_N_PDD2, "PEX_L0_CLKREQ_N PDD2"),
52762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_WAKE_N_PDD3, "PEX_WAKE_N PDD3"),
52862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L1_PRSNT_N_PDD4, "PEX_L1_PRSNT_N PDD4"),
52962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L1_RST_N_PDD5, "PEX_L1_RST_N PDD5"),
53062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L1_CLKREQ_N_PDD6, "PEX_L1_CLKREQ_N PDD6"),
53162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEX_L2_PRSNT_N_PDD7, "PEX_L2_PRSNT_N PDD7"),
53262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK3_OUT_PEE0, "CLK3_OUT PEE0"),
53362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK3_REQ_PEE1, "CLK3_REQ PEE1"),
53462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK1_REQ_PEE2, "CLK1_REQ PEE2"),
53562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_HDMI_CEC_PEE3, "HDMI_CEC PEE3"),
53662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEE4, "PEE4"),
53762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEE5, "PEE5"),
53862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEE6, "PEE6"),
53962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PEE7, "PEE7"),
54062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CLK_32K_IN, "CLK_32K_IN"),
54162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CORE_PWR_REQ, "CORE_PWR_REQ"),
54262306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_CPU_PWR_REQ, "CPU_PWR_REQ"),
54362306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_TCK, "JTAG_TCK"),
54462306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_TDI, "JTAG_TDI"),
54562306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_TDO, "JTAG_TDO"),
54662306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_TMS, "JTAG_TMS"),
54762306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_JTAG_TRST_N, "JTAG_TRST_N"),
54862306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_OWR, "OWR"),
54962306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_PWR_INT_N, "PWR_INT_N"),
55062306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_SYS_RESET_N, "SYS_RESET_N"),
55162306a36Sopenharmony_ci	PINCTRL_PIN(TEGRA_PIN_TEST_MODE_EN, "TEST_MODE_EN"),
55262306a36Sopenharmony_ci};
55362306a36Sopenharmony_ci
55462306a36Sopenharmony_cistatic const unsigned clk_32k_out_pa0_pins[] = {
55562306a36Sopenharmony_ci	TEGRA_PIN_CLK_32K_OUT_PA0,
55662306a36Sopenharmony_ci};
55762306a36Sopenharmony_ci
55862306a36Sopenharmony_cistatic const unsigned uart3_cts_n_pa1_pins[] = {
55962306a36Sopenharmony_ci	TEGRA_PIN_UART3_CTS_N_PA1,
56062306a36Sopenharmony_ci};
56162306a36Sopenharmony_ci
56262306a36Sopenharmony_cistatic const unsigned dap2_fs_pa2_pins[] = {
56362306a36Sopenharmony_ci	TEGRA_PIN_DAP2_FS_PA2,
56462306a36Sopenharmony_ci};
56562306a36Sopenharmony_ci
56662306a36Sopenharmony_cistatic const unsigned dap2_sclk_pa3_pins[] = {
56762306a36Sopenharmony_ci	TEGRA_PIN_DAP2_SCLK_PA3,
56862306a36Sopenharmony_ci};
56962306a36Sopenharmony_ci
57062306a36Sopenharmony_cistatic const unsigned dap2_din_pa4_pins[] = {
57162306a36Sopenharmony_ci	TEGRA_PIN_DAP2_DIN_PA4,
57262306a36Sopenharmony_ci};
57362306a36Sopenharmony_ci
57462306a36Sopenharmony_cistatic const unsigned dap2_dout_pa5_pins[] = {
57562306a36Sopenharmony_ci	TEGRA_PIN_DAP2_DOUT_PA5,
57662306a36Sopenharmony_ci};
57762306a36Sopenharmony_ci
57862306a36Sopenharmony_cistatic const unsigned sdmmc3_clk_pa6_pins[] = {
57962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_PA6,
58062306a36Sopenharmony_ci};
58162306a36Sopenharmony_ci
58262306a36Sopenharmony_cistatic const unsigned sdmmc3_cmd_pa7_pins[] = {
58362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CMD_PA7,
58462306a36Sopenharmony_ci};
58562306a36Sopenharmony_ci
58662306a36Sopenharmony_cistatic const unsigned gmi_a17_pb0_pins[] = {
58762306a36Sopenharmony_ci	TEGRA_PIN_GMI_A17_PB0,
58862306a36Sopenharmony_ci};
58962306a36Sopenharmony_ci
59062306a36Sopenharmony_cistatic const unsigned gmi_a18_pb1_pins[] = {
59162306a36Sopenharmony_ci	TEGRA_PIN_GMI_A18_PB1,
59262306a36Sopenharmony_ci};
59362306a36Sopenharmony_ci
59462306a36Sopenharmony_cistatic const unsigned lcd_pwr0_pb2_pins[] = {
59562306a36Sopenharmony_ci	TEGRA_PIN_LCD_PWR0_PB2,
59662306a36Sopenharmony_ci};
59762306a36Sopenharmony_ci
59862306a36Sopenharmony_cistatic const unsigned lcd_pclk_pb3_pins[] = {
59962306a36Sopenharmony_ci	TEGRA_PIN_LCD_PCLK_PB3,
60062306a36Sopenharmony_ci};
60162306a36Sopenharmony_ci
60262306a36Sopenharmony_cistatic const unsigned sdmmc3_dat3_pb4_pins[] = {
60362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT3_PB4,
60462306a36Sopenharmony_ci};
60562306a36Sopenharmony_ci
60662306a36Sopenharmony_cistatic const unsigned sdmmc3_dat2_pb5_pins[] = {
60762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT2_PB5,
60862306a36Sopenharmony_ci};
60962306a36Sopenharmony_ci
61062306a36Sopenharmony_cistatic const unsigned sdmmc3_dat1_pb6_pins[] = {
61162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT1_PB6,
61262306a36Sopenharmony_ci};
61362306a36Sopenharmony_ci
61462306a36Sopenharmony_cistatic const unsigned sdmmc3_dat0_pb7_pins[] = {
61562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT0_PB7,
61662306a36Sopenharmony_ci};
61762306a36Sopenharmony_ci
61862306a36Sopenharmony_cistatic const unsigned uart3_rts_n_pc0_pins[] = {
61962306a36Sopenharmony_ci	TEGRA_PIN_UART3_RTS_N_PC0,
62062306a36Sopenharmony_ci};
62162306a36Sopenharmony_ci
62262306a36Sopenharmony_cistatic const unsigned lcd_pwr1_pc1_pins[] = {
62362306a36Sopenharmony_ci	TEGRA_PIN_LCD_PWR1_PC1,
62462306a36Sopenharmony_ci};
62562306a36Sopenharmony_ci
62662306a36Sopenharmony_cistatic const unsigned uart2_txd_pc2_pins[] = {
62762306a36Sopenharmony_ci	TEGRA_PIN_UART2_TXD_PC2,
62862306a36Sopenharmony_ci};
62962306a36Sopenharmony_ci
63062306a36Sopenharmony_cistatic const unsigned uart2_rxd_pc3_pins[] = {
63162306a36Sopenharmony_ci	TEGRA_PIN_UART2_RXD_PC3,
63262306a36Sopenharmony_ci};
63362306a36Sopenharmony_ci
63462306a36Sopenharmony_cistatic const unsigned gen1_i2c_scl_pc4_pins[] = {
63562306a36Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SCL_PC4,
63662306a36Sopenharmony_ci};
63762306a36Sopenharmony_ci
63862306a36Sopenharmony_cistatic const unsigned gen1_i2c_sda_pc5_pins[] = {
63962306a36Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SDA_PC5,
64062306a36Sopenharmony_ci};
64162306a36Sopenharmony_ci
64262306a36Sopenharmony_cistatic const unsigned lcd_pwr2_pc6_pins[] = {
64362306a36Sopenharmony_ci	TEGRA_PIN_LCD_PWR2_PC6,
64462306a36Sopenharmony_ci};
64562306a36Sopenharmony_ci
64662306a36Sopenharmony_cistatic const unsigned gmi_wp_n_pc7_pins[] = {
64762306a36Sopenharmony_ci	TEGRA_PIN_GMI_WP_N_PC7,
64862306a36Sopenharmony_ci};
64962306a36Sopenharmony_ci
65062306a36Sopenharmony_cistatic const unsigned sdmmc3_dat5_pd0_pins[] = {
65162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT5_PD0,
65262306a36Sopenharmony_ci};
65362306a36Sopenharmony_ci
65462306a36Sopenharmony_cistatic const unsigned sdmmc3_dat4_pd1_pins[] = {
65562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT4_PD1,
65662306a36Sopenharmony_ci};
65762306a36Sopenharmony_ci
65862306a36Sopenharmony_cistatic const unsigned lcd_dc1_pd2_pins[] = {
65962306a36Sopenharmony_ci	TEGRA_PIN_LCD_DC1_PD2,
66062306a36Sopenharmony_ci};
66162306a36Sopenharmony_ci
66262306a36Sopenharmony_cistatic const unsigned sdmmc3_dat6_pd3_pins[] = {
66362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT6_PD3,
66462306a36Sopenharmony_ci};
66562306a36Sopenharmony_ci
66662306a36Sopenharmony_cistatic const unsigned sdmmc3_dat7_pd4_pins[] = {
66762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT7_PD4,
66862306a36Sopenharmony_ci};
66962306a36Sopenharmony_ci
67062306a36Sopenharmony_cistatic const unsigned vi_d1_pd5_pins[] = {
67162306a36Sopenharmony_ci	TEGRA_PIN_VI_D1_PD5,
67262306a36Sopenharmony_ci};
67362306a36Sopenharmony_ci
67462306a36Sopenharmony_cistatic const unsigned vi_vsync_pd6_pins[] = {
67562306a36Sopenharmony_ci	TEGRA_PIN_VI_VSYNC_PD6,
67662306a36Sopenharmony_ci};
67762306a36Sopenharmony_ci
67862306a36Sopenharmony_cistatic const unsigned vi_hsync_pd7_pins[] = {
67962306a36Sopenharmony_ci	TEGRA_PIN_VI_HSYNC_PD7,
68062306a36Sopenharmony_ci};
68162306a36Sopenharmony_ci
68262306a36Sopenharmony_cistatic const unsigned lcd_d0_pe0_pins[] = {
68362306a36Sopenharmony_ci	TEGRA_PIN_LCD_D0_PE0,
68462306a36Sopenharmony_ci};
68562306a36Sopenharmony_ci
68662306a36Sopenharmony_cistatic const unsigned lcd_d1_pe1_pins[] = {
68762306a36Sopenharmony_ci	TEGRA_PIN_LCD_D1_PE1,
68862306a36Sopenharmony_ci};
68962306a36Sopenharmony_ci
69062306a36Sopenharmony_cistatic const unsigned lcd_d2_pe2_pins[] = {
69162306a36Sopenharmony_ci	TEGRA_PIN_LCD_D2_PE2,
69262306a36Sopenharmony_ci};
69362306a36Sopenharmony_ci
69462306a36Sopenharmony_cistatic const unsigned lcd_d3_pe3_pins[] = {
69562306a36Sopenharmony_ci	TEGRA_PIN_LCD_D3_PE3,
69662306a36Sopenharmony_ci};
69762306a36Sopenharmony_ci
69862306a36Sopenharmony_cistatic const unsigned lcd_d4_pe4_pins[] = {
69962306a36Sopenharmony_ci	TEGRA_PIN_LCD_D4_PE4,
70062306a36Sopenharmony_ci};
70162306a36Sopenharmony_ci
70262306a36Sopenharmony_cistatic const unsigned lcd_d5_pe5_pins[] = {
70362306a36Sopenharmony_ci	TEGRA_PIN_LCD_D5_PE5,
70462306a36Sopenharmony_ci};
70562306a36Sopenharmony_ci
70662306a36Sopenharmony_cistatic const unsigned lcd_d6_pe6_pins[] = {
70762306a36Sopenharmony_ci	TEGRA_PIN_LCD_D6_PE6,
70862306a36Sopenharmony_ci};
70962306a36Sopenharmony_ci
71062306a36Sopenharmony_cistatic const unsigned lcd_d7_pe7_pins[] = {
71162306a36Sopenharmony_ci	TEGRA_PIN_LCD_D7_PE7,
71262306a36Sopenharmony_ci};
71362306a36Sopenharmony_ci
71462306a36Sopenharmony_cistatic const unsigned lcd_d8_pf0_pins[] = {
71562306a36Sopenharmony_ci	TEGRA_PIN_LCD_D8_PF0,
71662306a36Sopenharmony_ci};
71762306a36Sopenharmony_ci
71862306a36Sopenharmony_cistatic const unsigned lcd_d9_pf1_pins[] = {
71962306a36Sopenharmony_ci	TEGRA_PIN_LCD_D9_PF1,
72062306a36Sopenharmony_ci};
72162306a36Sopenharmony_ci
72262306a36Sopenharmony_cistatic const unsigned lcd_d10_pf2_pins[] = {
72362306a36Sopenharmony_ci	TEGRA_PIN_LCD_D10_PF2,
72462306a36Sopenharmony_ci};
72562306a36Sopenharmony_ci
72662306a36Sopenharmony_cistatic const unsigned lcd_d11_pf3_pins[] = {
72762306a36Sopenharmony_ci	TEGRA_PIN_LCD_D11_PF3,
72862306a36Sopenharmony_ci};
72962306a36Sopenharmony_ci
73062306a36Sopenharmony_cistatic const unsigned lcd_d12_pf4_pins[] = {
73162306a36Sopenharmony_ci	TEGRA_PIN_LCD_D12_PF4,
73262306a36Sopenharmony_ci};
73362306a36Sopenharmony_ci
73462306a36Sopenharmony_cistatic const unsigned lcd_d13_pf5_pins[] = {
73562306a36Sopenharmony_ci	TEGRA_PIN_LCD_D13_PF5,
73662306a36Sopenharmony_ci};
73762306a36Sopenharmony_ci
73862306a36Sopenharmony_cistatic const unsigned lcd_d14_pf6_pins[] = {
73962306a36Sopenharmony_ci	TEGRA_PIN_LCD_D14_PF6,
74062306a36Sopenharmony_ci};
74162306a36Sopenharmony_ci
74262306a36Sopenharmony_cistatic const unsigned lcd_d15_pf7_pins[] = {
74362306a36Sopenharmony_ci	TEGRA_PIN_LCD_D15_PF7,
74462306a36Sopenharmony_ci};
74562306a36Sopenharmony_ci
74662306a36Sopenharmony_cistatic const unsigned gmi_ad0_pg0_pins[] = {
74762306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD0_PG0,
74862306a36Sopenharmony_ci};
74962306a36Sopenharmony_ci
75062306a36Sopenharmony_cistatic const unsigned gmi_ad1_pg1_pins[] = {
75162306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD1_PG1,
75262306a36Sopenharmony_ci};
75362306a36Sopenharmony_ci
75462306a36Sopenharmony_cistatic const unsigned gmi_ad2_pg2_pins[] = {
75562306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD2_PG2,
75662306a36Sopenharmony_ci};
75762306a36Sopenharmony_ci
75862306a36Sopenharmony_cistatic const unsigned gmi_ad3_pg3_pins[] = {
75962306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD3_PG3,
76062306a36Sopenharmony_ci};
76162306a36Sopenharmony_ci
76262306a36Sopenharmony_cistatic const unsigned gmi_ad4_pg4_pins[] = {
76362306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD4_PG4,
76462306a36Sopenharmony_ci};
76562306a36Sopenharmony_ci
76662306a36Sopenharmony_cistatic const unsigned gmi_ad5_pg5_pins[] = {
76762306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD5_PG5,
76862306a36Sopenharmony_ci};
76962306a36Sopenharmony_ci
77062306a36Sopenharmony_cistatic const unsigned gmi_ad6_pg6_pins[] = {
77162306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD6_PG6,
77262306a36Sopenharmony_ci};
77362306a36Sopenharmony_ci
77462306a36Sopenharmony_cistatic const unsigned gmi_ad7_pg7_pins[] = {
77562306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD7_PG7,
77662306a36Sopenharmony_ci};
77762306a36Sopenharmony_ci
77862306a36Sopenharmony_cistatic const unsigned gmi_ad8_ph0_pins[] = {
77962306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD8_PH0,
78062306a36Sopenharmony_ci};
78162306a36Sopenharmony_ci
78262306a36Sopenharmony_cistatic const unsigned gmi_ad9_ph1_pins[] = {
78362306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD9_PH1,
78462306a36Sopenharmony_ci};
78562306a36Sopenharmony_ci
78662306a36Sopenharmony_cistatic const unsigned gmi_ad10_ph2_pins[] = {
78762306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD10_PH2,
78862306a36Sopenharmony_ci};
78962306a36Sopenharmony_ci
79062306a36Sopenharmony_cistatic const unsigned gmi_ad11_ph3_pins[] = {
79162306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD11_PH3,
79262306a36Sopenharmony_ci};
79362306a36Sopenharmony_ci
79462306a36Sopenharmony_cistatic const unsigned gmi_ad12_ph4_pins[] = {
79562306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD12_PH4,
79662306a36Sopenharmony_ci};
79762306a36Sopenharmony_ci
79862306a36Sopenharmony_cistatic const unsigned gmi_ad13_ph5_pins[] = {
79962306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD13_PH5,
80062306a36Sopenharmony_ci};
80162306a36Sopenharmony_ci
80262306a36Sopenharmony_cistatic const unsigned gmi_ad14_ph6_pins[] = {
80362306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD14_PH6,
80462306a36Sopenharmony_ci};
80562306a36Sopenharmony_ci
80662306a36Sopenharmony_cistatic const unsigned gmi_ad15_ph7_pins[] = {
80762306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD15_PH7,
80862306a36Sopenharmony_ci};
80962306a36Sopenharmony_ci
81062306a36Sopenharmony_cistatic const unsigned gmi_wr_n_pi0_pins[] = {
81162306a36Sopenharmony_ci	TEGRA_PIN_GMI_WR_N_PI0,
81262306a36Sopenharmony_ci};
81362306a36Sopenharmony_ci
81462306a36Sopenharmony_cistatic const unsigned gmi_oe_n_pi1_pins[] = {
81562306a36Sopenharmony_ci	TEGRA_PIN_GMI_OE_N_PI1,
81662306a36Sopenharmony_ci};
81762306a36Sopenharmony_ci
81862306a36Sopenharmony_cistatic const unsigned gmi_dqs_pi2_pins[] = {
81962306a36Sopenharmony_ci	TEGRA_PIN_GMI_DQS_PI2,
82062306a36Sopenharmony_ci};
82162306a36Sopenharmony_ci
82262306a36Sopenharmony_cistatic const unsigned gmi_cs6_n_pi3_pins[] = {
82362306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS6_N_PI3,
82462306a36Sopenharmony_ci};
82562306a36Sopenharmony_ci
82662306a36Sopenharmony_cistatic const unsigned gmi_rst_n_pi4_pins[] = {
82762306a36Sopenharmony_ci	TEGRA_PIN_GMI_RST_N_PI4,
82862306a36Sopenharmony_ci};
82962306a36Sopenharmony_ci
83062306a36Sopenharmony_cistatic const unsigned gmi_iordy_pi5_pins[] = {
83162306a36Sopenharmony_ci	TEGRA_PIN_GMI_IORDY_PI5,
83262306a36Sopenharmony_ci};
83362306a36Sopenharmony_ci
83462306a36Sopenharmony_cistatic const unsigned gmi_cs7_n_pi6_pins[] = {
83562306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS7_N_PI6,
83662306a36Sopenharmony_ci};
83762306a36Sopenharmony_ci
83862306a36Sopenharmony_cistatic const unsigned gmi_wait_pi7_pins[] = {
83962306a36Sopenharmony_ci	TEGRA_PIN_GMI_WAIT_PI7,
84062306a36Sopenharmony_ci};
84162306a36Sopenharmony_ci
84262306a36Sopenharmony_cistatic const unsigned gmi_cs0_n_pj0_pins[] = {
84362306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS0_N_PJ0,
84462306a36Sopenharmony_ci};
84562306a36Sopenharmony_ci
84662306a36Sopenharmony_cistatic const unsigned lcd_de_pj1_pins[] = {
84762306a36Sopenharmony_ci	TEGRA_PIN_LCD_DE_PJ1,
84862306a36Sopenharmony_ci};
84962306a36Sopenharmony_ci
85062306a36Sopenharmony_cistatic const unsigned gmi_cs1_n_pj2_pins[] = {
85162306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS1_N_PJ2,
85262306a36Sopenharmony_ci};
85362306a36Sopenharmony_ci
85462306a36Sopenharmony_cistatic const unsigned lcd_hsync_pj3_pins[] = {
85562306a36Sopenharmony_ci	TEGRA_PIN_LCD_HSYNC_PJ3,
85662306a36Sopenharmony_ci};
85762306a36Sopenharmony_ci
85862306a36Sopenharmony_cistatic const unsigned lcd_vsync_pj4_pins[] = {
85962306a36Sopenharmony_ci	TEGRA_PIN_LCD_VSYNC_PJ4,
86062306a36Sopenharmony_ci};
86162306a36Sopenharmony_ci
86262306a36Sopenharmony_cistatic const unsigned uart2_cts_n_pj5_pins[] = {
86362306a36Sopenharmony_ci	TEGRA_PIN_UART2_CTS_N_PJ5,
86462306a36Sopenharmony_ci};
86562306a36Sopenharmony_ci
86662306a36Sopenharmony_cistatic const unsigned uart2_rts_n_pj6_pins[] = {
86762306a36Sopenharmony_ci	TEGRA_PIN_UART2_RTS_N_PJ6,
86862306a36Sopenharmony_ci};
86962306a36Sopenharmony_ci
87062306a36Sopenharmony_cistatic const unsigned gmi_a16_pj7_pins[] = {
87162306a36Sopenharmony_ci	TEGRA_PIN_GMI_A16_PJ7,
87262306a36Sopenharmony_ci};
87362306a36Sopenharmony_ci
87462306a36Sopenharmony_cistatic const unsigned gmi_adv_n_pk0_pins[] = {
87562306a36Sopenharmony_ci	TEGRA_PIN_GMI_ADV_N_PK0,
87662306a36Sopenharmony_ci};
87762306a36Sopenharmony_ci
87862306a36Sopenharmony_cistatic const unsigned gmi_clk_pk1_pins[] = {
87962306a36Sopenharmony_ci	TEGRA_PIN_GMI_CLK_PK1,
88062306a36Sopenharmony_ci};
88162306a36Sopenharmony_ci
88262306a36Sopenharmony_cistatic const unsigned gmi_cs4_n_pk2_pins[] = {
88362306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS4_N_PK2,
88462306a36Sopenharmony_ci};
88562306a36Sopenharmony_ci
88662306a36Sopenharmony_cistatic const unsigned gmi_cs2_n_pk3_pins[] = {
88762306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS2_N_PK3,
88862306a36Sopenharmony_ci};
88962306a36Sopenharmony_ci
89062306a36Sopenharmony_cistatic const unsigned gmi_cs3_n_pk4_pins[] = {
89162306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS3_N_PK4,
89262306a36Sopenharmony_ci};
89362306a36Sopenharmony_ci
89462306a36Sopenharmony_cistatic const unsigned spdif_out_pk5_pins[] = {
89562306a36Sopenharmony_ci	TEGRA_PIN_SPDIF_OUT_PK5,
89662306a36Sopenharmony_ci};
89762306a36Sopenharmony_ci
89862306a36Sopenharmony_cistatic const unsigned spdif_in_pk6_pins[] = {
89962306a36Sopenharmony_ci	TEGRA_PIN_SPDIF_IN_PK6,
90062306a36Sopenharmony_ci};
90162306a36Sopenharmony_ci
90262306a36Sopenharmony_cistatic const unsigned gmi_a19_pk7_pins[] = {
90362306a36Sopenharmony_ci	TEGRA_PIN_GMI_A19_PK7,
90462306a36Sopenharmony_ci};
90562306a36Sopenharmony_ci
90662306a36Sopenharmony_cistatic const unsigned vi_d2_pl0_pins[] = {
90762306a36Sopenharmony_ci	TEGRA_PIN_VI_D2_PL0,
90862306a36Sopenharmony_ci};
90962306a36Sopenharmony_ci
91062306a36Sopenharmony_cistatic const unsigned vi_d3_pl1_pins[] = {
91162306a36Sopenharmony_ci	TEGRA_PIN_VI_D3_PL1,
91262306a36Sopenharmony_ci};
91362306a36Sopenharmony_ci
91462306a36Sopenharmony_cistatic const unsigned vi_d4_pl2_pins[] = {
91562306a36Sopenharmony_ci	TEGRA_PIN_VI_D4_PL2,
91662306a36Sopenharmony_ci};
91762306a36Sopenharmony_ci
91862306a36Sopenharmony_cistatic const unsigned vi_d5_pl3_pins[] = {
91962306a36Sopenharmony_ci	TEGRA_PIN_VI_D5_PL3,
92062306a36Sopenharmony_ci};
92162306a36Sopenharmony_ci
92262306a36Sopenharmony_cistatic const unsigned vi_d6_pl4_pins[] = {
92362306a36Sopenharmony_ci	TEGRA_PIN_VI_D6_PL4,
92462306a36Sopenharmony_ci};
92562306a36Sopenharmony_ci
92662306a36Sopenharmony_cistatic const unsigned vi_d7_pl5_pins[] = {
92762306a36Sopenharmony_ci	TEGRA_PIN_VI_D7_PL5,
92862306a36Sopenharmony_ci};
92962306a36Sopenharmony_ci
93062306a36Sopenharmony_cistatic const unsigned vi_d8_pl6_pins[] = {
93162306a36Sopenharmony_ci	TEGRA_PIN_VI_D8_PL6,
93262306a36Sopenharmony_ci};
93362306a36Sopenharmony_ci
93462306a36Sopenharmony_cistatic const unsigned vi_d9_pl7_pins[] = {
93562306a36Sopenharmony_ci	TEGRA_PIN_VI_D9_PL7,
93662306a36Sopenharmony_ci};
93762306a36Sopenharmony_ci
93862306a36Sopenharmony_cistatic const unsigned lcd_d16_pm0_pins[] = {
93962306a36Sopenharmony_ci	TEGRA_PIN_LCD_D16_PM0,
94062306a36Sopenharmony_ci};
94162306a36Sopenharmony_ci
94262306a36Sopenharmony_cistatic const unsigned lcd_d17_pm1_pins[] = {
94362306a36Sopenharmony_ci	TEGRA_PIN_LCD_D17_PM1,
94462306a36Sopenharmony_ci};
94562306a36Sopenharmony_ci
94662306a36Sopenharmony_cistatic const unsigned lcd_d18_pm2_pins[] = {
94762306a36Sopenharmony_ci	TEGRA_PIN_LCD_D18_PM2,
94862306a36Sopenharmony_ci};
94962306a36Sopenharmony_ci
95062306a36Sopenharmony_cistatic const unsigned lcd_d19_pm3_pins[] = {
95162306a36Sopenharmony_ci	TEGRA_PIN_LCD_D19_PM3,
95262306a36Sopenharmony_ci};
95362306a36Sopenharmony_ci
95462306a36Sopenharmony_cistatic const unsigned lcd_d20_pm4_pins[] = {
95562306a36Sopenharmony_ci	TEGRA_PIN_LCD_D20_PM4,
95662306a36Sopenharmony_ci};
95762306a36Sopenharmony_ci
95862306a36Sopenharmony_cistatic const unsigned lcd_d21_pm5_pins[] = {
95962306a36Sopenharmony_ci	TEGRA_PIN_LCD_D21_PM5,
96062306a36Sopenharmony_ci};
96162306a36Sopenharmony_ci
96262306a36Sopenharmony_cistatic const unsigned lcd_d22_pm6_pins[] = {
96362306a36Sopenharmony_ci	TEGRA_PIN_LCD_D22_PM6,
96462306a36Sopenharmony_ci};
96562306a36Sopenharmony_ci
96662306a36Sopenharmony_cistatic const unsigned lcd_d23_pm7_pins[] = {
96762306a36Sopenharmony_ci	TEGRA_PIN_LCD_D23_PM7,
96862306a36Sopenharmony_ci};
96962306a36Sopenharmony_ci
97062306a36Sopenharmony_cistatic const unsigned dap1_fs_pn0_pins[] = {
97162306a36Sopenharmony_ci	TEGRA_PIN_DAP1_FS_PN0,
97262306a36Sopenharmony_ci};
97362306a36Sopenharmony_ci
97462306a36Sopenharmony_cistatic const unsigned dap1_din_pn1_pins[] = {
97562306a36Sopenharmony_ci	TEGRA_PIN_DAP1_DIN_PN1,
97662306a36Sopenharmony_ci};
97762306a36Sopenharmony_ci
97862306a36Sopenharmony_cistatic const unsigned dap1_dout_pn2_pins[] = {
97962306a36Sopenharmony_ci	TEGRA_PIN_DAP1_DOUT_PN2,
98062306a36Sopenharmony_ci};
98162306a36Sopenharmony_ci
98262306a36Sopenharmony_cistatic const unsigned dap1_sclk_pn3_pins[] = {
98362306a36Sopenharmony_ci	TEGRA_PIN_DAP1_SCLK_PN3,
98462306a36Sopenharmony_ci};
98562306a36Sopenharmony_ci
98662306a36Sopenharmony_cistatic const unsigned lcd_cs0_n_pn4_pins[] = {
98762306a36Sopenharmony_ci	TEGRA_PIN_LCD_CS0_N_PN4,
98862306a36Sopenharmony_ci};
98962306a36Sopenharmony_ci
99062306a36Sopenharmony_cistatic const unsigned lcd_sdout_pn5_pins[] = {
99162306a36Sopenharmony_ci	TEGRA_PIN_LCD_SDOUT_PN5,
99262306a36Sopenharmony_ci};
99362306a36Sopenharmony_ci
99462306a36Sopenharmony_cistatic const unsigned lcd_dc0_pn6_pins[] = {
99562306a36Sopenharmony_ci	TEGRA_PIN_LCD_DC0_PN6,
99662306a36Sopenharmony_ci};
99762306a36Sopenharmony_ci
99862306a36Sopenharmony_cistatic const unsigned hdmi_int_pn7_pins[] = {
99962306a36Sopenharmony_ci	TEGRA_PIN_HDMI_INT_PN7,
100062306a36Sopenharmony_ci};
100162306a36Sopenharmony_ci
100262306a36Sopenharmony_cistatic const unsigned ulpi_data7_po0_pins[] = {
100362306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA7_PO0,
100462306a36Sopenharmony_ci};
100562306a36Sopenharmony_ci
100662306a36Sopenharmony_cistatic const unsigned ulpi_data0_po1_pins[] = {
100762306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA0_PO1,
100862306a36Sopenharmony_ci};
100962306a36Sopenharmony_ci
101062306a36Sopenharmony_cistatic const unsigned ulpi_data1_po2_pins[] = {
101162306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA1_PO2,
101262306a36Sopenharmony_ci};
101362306a36Sopenharmony_ci
101462306a36Sopenharmony_cistatic const unsigned ulpi_data2_po3_pins[] = {
101562306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA2_PO3,
101662306a36Sopenharmony_ci};
101762306a36Sopenharmony_ci
101862306a36Sopenharmony_cistatic const unsigned ulpi_data3_po4_pins[] = {
101962306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA3_PO4,
102062306a36Sopenharmony_ci};
102162306a36Sopenharmony_ci
102262306a36Sopenharmony_cistatic const unsigned ulpi_data4_po5_pins[] = {
102362306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA4_PO5,
102462306a36Sopenharmony_ci};
102562306a36Sopenharmony_ci
102662306a36Sopenharmony_cistatic const unsigned ulpi_data5_po6_pins[] = {
102762306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA5_PO6,
102862306a36Sopenharmony_ci};
102962306a36Sopenharmony_ci
103062306a36Sopenharmony_cistatic const unsigned ulpi_data6_po7_pins[] = {
103162306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA6_PO7,
103262306a36Sopenharmony_ci};
103362306a36Sopenharmony_ci
103462306a36Sopenharmony_cistatic const unsigned dap3_fs_pp0_pins[] = {
103562306a36Sopenharmony_ci	TEGRA_PIN_DAP3_FS_PP0,
103662306a36Sopenharmony_ci};
103762306a36Sopenharmony_ci
103862306a36Sopenharmony_cistatic const unsigned dap3_din_pp1_pins[] = {
103962306a36Sopenharmony_ci	TEGRA_PIN_DAP3_DIN_PP1,
104062306a36Sopenharmony_ci};
104162306a36Sopenharmony_ci
104262306a36Sopenharmony_cistatic const unsigned dap3_dout_pp2_pins[] = {
104362306a36Sopenharmony_ci	TEGRA_PIN_DAP3_DOUT_PP2,
104462306a36Sopenharmony_ci};
104562306a36Sopenharmony_ci
104662306a36Sopenharmony_cistatic const unsigned dap3_sclk_pp3_pins[] = {
104762306a36Sopenharmony_ci	TEGRA_PIN_DAP3_SCLK_PP3,
104862306a36Sopenharmony_ci};
104962306a36Sopenharmony_ci
105062306a36Sopenharmony_cistatic const unsigned dap4_fs_pp4_pins[] = {
105162306a36Sopenharmony_ci	TEGRA_PIN_DAP4_FS_PP4,
105262306a36Sopenharmony_ci};
105362306a36Sopenharmony_ci
105462306a36Sopenharmony_cistatic const unsigned dap4_din_pp5_pins[] = {
105562306a36Sopenharmony_ci	TEGRA_PIN_DAP4_DIN_PP5,
105662306a36Sopenharmony_ci};
105762306a36Sopenharmony_ci
105862306a36Sopenharmony_cistatic const unsigned dap4_dout_pp6_pins[] = {
105962306a36Sopenharmony_ci	TEGRA_PIN_DAP4_DOUT_PP6,
106062306a36Sopenharmony_ci};
106162306a36Sopenharmony_ci
106262306a36Sopenharmony_cistatic const unsigned dap4_sclk_pp7_pins[] = {
106362306a36Sopenharmony_ci	TEGRA_PIN_DAP4_SCLK_PP7,
106462306a36Sopenharmony_ci};
106562306a36Sopenharmony_ci
106662306a36Sopenharmony_cistatic const unsigned kb_col0_pq0_pins[] = {
106762306a36Sopenharmony_ci	TEGRA_PIN_KB_COL0_PQ0,
106862306a36Sopenharmony_ci};
106962306a36Sopenharmony_ci
107062306a36Sopenharmony_cistatic const unsigned kb_col1_pq1_pins[] = {
107162306a36Sopenharmony_ci	TEGRA_PIN_KB_COL1_PQ1,
107262306a36Sopenharmony_ci};
107362306a36Sopenharmony_ci
107462306a36Sopenharmony_cistatic const unsigned kb_col2_pq2_pins[] = {
107562306a36Sopenharmony_ci	TEGRA_PIN_KB_COL2_PQ2,
107662306a36Sopenharmony_ci};
107762306a36Sopenharmony_ci
107862306a36Sopenharmony_cistatic const unsigned kb_col3_pq3_pins[] = {
107962306a36Sopenharmony_ci	TEGRA_PIN_KB_COL3_PQ3,
108062306a36Sopenharmony_ci};
108162306a36Sopenharmony_ci
108262306a36Sopenharmony_cistatic const unsigned kb_col4_pq4_pins[] = {
108362306a36Sopenharmony_ci	TEGRA_PIN_KB_COL4_PQ4,
108462306a36Sopenharmony_ci};
108562306a36Sopenharmony_ci
108662306a36Sopenharmony_cistatic const unsigned kb_col5_pq5_pins[] = {
108762306a36Sopenharmony_ci	TEGRA_PIN_KB_COL5_PQ5,
108862306a36Sopenharmony_ci};
108962306a36Sopenharmony_ci
109062306a36Sopenharmony_cistatic const unsigned kb_col6_pq6_pins[] = {
109162306a36Sopenharmony_ci	TEGRA_PIN_KB_COL6_PQ6,
109262306a36Sopenharmony_ci};
109362306a36Sopenharmony_ci
109462306a36Sopenharmony_cistatic const unsigned kb_col7_pq7_pins[] = {
109562306a36Sopenharmony_ci	TEGRA_PIN_KB_COL7_PQ7,
109662306a36Sopenharmony_ci};
109762306a36Sopenharmony_ci
109862306a36Sopenharmony_cistatic const unsigned kb_row0_pr0_pins[] = {
109962306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW0_PR0,
110062306a36Sopenharmony_ci};
110162306a36Sopenharmony_ci
110262306a36Sopenharmony_cistatic const unsigned kb_row1_pr1_pins[] = {
110362306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW1_PR1,
110462306a36Sopenharmony_ci};
110562306a36Sopenharmony_ci
110662306a36Sopenharmony_cistatic const unsigned kb_row2_pr2_pins[] = {
110762306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW2_PR2,
110862306a36Sopenharmony_ci};
110962306a36Sopenharmony_ci
111062306a36Sopenharmony_cistatic const unsigned kb_row3_pr3_pins[] = {
111162306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW3_PR3,
111262306a36Sopenharmony_ci};
111362306a36Sopenharmony_ci
111462306a36Sopenharmony_cistatic const unsigned kb_row4_pr4_pins[] = {
111562306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW4_PR4,
111662306a36Sopenharmony_ci};
111762306a36Sopenharmony_ci
111862306a36Sopenharmony_cistatic const unsigned kb_row5_pr5_pins[] = {
111962306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW5_PR5,
112062306a36Sopenharmony_ci};
112162306a36Sopenharmony_ci
112262306a36Sopenharmony_cistatic const unsigned kb_row6_pr6_pins[] = {
112362306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW6_PR6,
112462306a36Sopenharmony_ci};
112562306a36Sopenharmony_ci
112662306a36Sopenharmony_cistatic const unsigned kb_row7_pr7_pins[] = {
112762306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW7_PR7,
112862306a36Sopenharmony_ci};
112962306a36Sopenharmony_ci
113062306a36Sopenharmony_cistatic const unsigned kb_row8_ps0_pins[] = {
113162306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW8_PS0,
113262306a36Sopenharmony_ci};
113362306a36Sopenharmony_ci
113462306a36Sopenharmony_cistatic const unsigned kb_row9_ps1_pins[] = {
113562306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW9_PS1,
113662306a36Sopenharmony_ci};
113762306a36Sopenharmony_ci
113862306a36Sopenharmony_cistatic const unsigned kb_row10_ps2_pins[] = {
113962306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW10_PS2,
114062306a36Sopenharmony_ci};
114162306a36Sopenharmony_ci
114262306a36Sopenharmony_cistatic const unsigned kb_row11_ps3_pins[] = {
114362306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW11_PS3,
114462306a36Sopenharmony_ci};
114562306a36Sopenharmony_ci
114662306a36Sopenharmony_cistatic const unsigned kb_row12_ps4_pins[] = {
114762306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW12_PS4,
114862306a36Sopenharmony_ci};
114962306a36Sopenharmony_ci
115062306a36Sopenharmony_cistatic const unsigned kb_row13_ps5_pins[] = {
115162306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW13_PS5,
115262306a36Sopenharmony_ci};
115362306a36Sopenharmony_ci
115462306a36Sopenharmony_cistatic const unsigned kb_row14_ps6_pins[] = {
115562306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW14_PS6,
115662306a36Sopenharmony_ci};
115762306a36Sopenharmony_ci
115862306a36Sopenharmony_cistatic const unsigned kb_row15_ps7_pins[] = {
115962306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW15_PS7,
116062306a36Sopenharmony_ci};
116162306a36Sopenharmony_ci
116262306a36Sopenharmony_cistatic const unsigned vi_pclk_pt0_pins[] = {
116362306a36Sopenharmony_ci	TEGRA_PIN_VI_PCLK_PT0,
116462306a36Sopenharmony_ci};
116562306a36Sopenharmony_ci
116662306a36Sopenharmony_cistatic const unsigned vi_mclk_pt1_pins[] = {
116762306a36Sopenharmony_ci	TEGRA_PIN_VI_MCLK_PT1,
116862306a36Sopenharmony_ci};
116962306a36Sopenharmony_ci
117062306a36Sopenharmony_cistatic const unsigned vi_d10_pt2_pins[] = {
117162306a36Sopenharmony_ci	TEGRA_PIN_VI_D10_PT2,
117262306a36Sopenharmony_ci};
117362306a36Sopenharmony_ci
117462306a36Sopenharmony_cistatic const unsigned vi_d11_pt3_pins[] = {
117562306a36Sopenharmony_ci	TEGRA_PIN_VI_D11_PT3,
117662306a36Sopenharmony_ci};
117762306a36Sopenharmony_ci
117862306a36Sopenharmony_cistatic const unsigned vi_d0_pt4_pins[] = {
117962306a36Sopenharmony_ci	TEGRA_PIN_VI_D0_PT4,
118062306a36Sopenharmony_ci};
118162306a36Sopenharmony_ci
118262306a36Sopenharmony_cistatic const unsigned gen2_i2c_scl_pt5_pins[] = {
118362306a36Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SCL_PT5,
118462306a36Sopenharmony_ci};
118562306a36Sopenharmony_ci
118662306a36Sopenharmony_cistatic const unsigned gen2_i2c_sda_pt6_pins[] = {
118762306a36Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SDA_PT6,
118862306a36Sopenharmony_ci};
118962306a36Sopenharmony_ci
119062306a36Sopenharmony_cistatic const unsigned sdmmc4_cmd_pt7_pins[] = {
119162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_CMD_PT7,
119262306a36Sopenharmony_ci};
119362306a36Sopenharmony_ci
119462306a36Sopenharmony_cistatic const unsigned pu0_pins[] = {
119562306a36Sopenharmony_ci	TEGRA_PIN_PU0,
119662306a36Sopenharmony_ci};
119762306a36Sopenharmony_ci
119862306a36Sopenharmony_cistatic const unsigned pu1_pins[] = {
119962306a36Sopenharmony_ci	TEGRA_PIN_PU1,
120062306a36Sopenharmony_ci};
120162306a36Sopenharmony_ci
120262306a36Sopenharmony_cistatic const unsigned pu2_pins[] = {
120362306a36Sopenharmony_ci	TEGRA_PIN_PU2,
120462306a36Sopenharmony_ci};
120562306a36Sopenharmony_ci
120662306a36Sopenharmony_cistatic const unsigned pu3_pins[] = {
120762306a36Sopenharmony_ci	TEGRA_PIN_PU3,
120862306a36Sopenharmony_ci};
120962306a36Sopenharmony_ci
121062306a36Sopenharmony_cistatic const unsigned pu4_pins[] = {
121162306a36Sopenharmony_ci	TEGRA_PIN_PU4,
121262306a36Sopenharmony_ci};
121362306a36Sopenharmony_ci
121462306a36Sopenharmony_cistatic const unsigned pu5_pins[] = {
121562306a36Sopenharmony_ci	TEGRA_PIN_PU5,
121662306a36Sopenharmony_ci};
121762306a36Sopenharmony_ci
121862306a36Sopenharmony_cistatic const unsigned pu6_pins[] = {
121962306a36Sopenharmony_ci	TEGRA_PIN_PU6,
122062306a36Sopenharmony_ci};
122162306a36Sopenharmony_ci
122262306a36Sopenharmony_cistatic const unsigned jtag_rtck_pu7_pins[] = {
122362306a36Sopenharmony_ci	TEGRA_PIN_JTAG_RTCK_PU7,
122462306a36Sopenharmony_ci};
122562306a36Sopenharmony_ci
122662306a36Sopenharmony_cistatic const unsigned pv0_pins[] = {
122762306a36Sopenharmony_ci	TEGRA_PIN_PV0,
122862306a36Sopenharmony_ci};
122962306a36Sopenharmony_ci
123062306a36Sopenharmony_cistatic const unsigned pv1_pins[] = {
123162306a36Sopenharmony_ci	TEGRA_PIN_PV1,
123262306a36Sopenharmony_ci};
123362306a36Sopenharmony_ci
123462306a36Sopenharmony_cistatic const unsigned pv2_pins[] = {
123562306a36Sopenharmony_ci	TEGRA_PIN_PV2,
123662306a36Sopenharmony_ci};
123762306a36Sopenharmony_ci
123862306a36Sopenharmony_cistatic const unsigned pv3_pins[] = {
123962306a36Sopenharmony_ci	TEGRA_PIN_PV3,
124062306a36Sopenharmony_ci};
124162306a36Sopenharmony_ci
124262306a36Sopenharmony_cistatic const unsigned ddc_scl_pv4_pins[] = {
124362306a36Sopenharmony_ci	TEGRA_PIN_DDC_SCL_PV4,
124462306a36Sopenharmony_ci};
124562306a36Sopenharmony_ci
124662306a36Sopenharmony_cistatic const unsigned ddc_sda_pv5_pins[] = {
124762306a36Sopenharmony_ci	TEGRA_PIN_DDC_SDA_PV5,
124862306a36Sopenharmony_ci};
124962306a36Sopenharmony_ci
125062306a36Sopenharmony_cistatic const unsigned crt_hsync_pv6_pins[] = {
125162306a36Sopenharmony_ci	TEGRA_PIN_CRT_HSYNC_PV6,
125262306a36Sopenharmony_ci};
125362306a36Sopenharmony_ci
125462306a36Sopenharmony_cistatic const unsigned crt_vsync_pv7_pins[] = {
125562306a36Sopenharmony_ci	TEGRA_PIN_CRT_VSYNC_PV7,
125662306a36Sopenharmony_ci};
125762306a36Sopenharmony_ci
125862306a36Sopenharmony_cistatic const unsigned lcd_cs1_n_pw0_pins[] = {
125962306a36Sopenharmony_ci	TEGRA_PIN_LCD_CS1_N_PW0,
126062306a36Sopenharmony_ci};
126162306a36Sopenharmony_ci
126262306a36Sopenharmony_cistatic const unsigned lcd_m1_pw1_pins[] = {
126362306a36Sopenharmony_ci	TEGRA_PIN_LCD_M1_PW1,
126462306a36Sopenharmony_ci};
126562306a36Sopenharmony_ci
126662306a36Sopenharmony_cistatic const unsigned spi2_cs1_n_pw2_pins[] = {
126762306a36Sopenharmony_ci	TEGRA_PIN_SPI2_CS1_N_PW2,
126862306a36Sopenharmony_ci};
126962306a36Sopenharmony_ci
127062306a36Sopenharmony_cistatic const unsigned spi2_cs2_n_pw3_pins[] = {
127162306a36Sopenharmony_ci	TEGRA_PIN_SPI2_CS2_N_PW3,
127262306a36Sopenharmony_ci};
127362306a36Sopenharmony_ci
127462306a36Sopenharmony_cistatic const unsigned clk1_out_pw4_pins[] = {
127562306a36Sopenharmony_ci	TEGRA_PIN_CLK1_OUT_PW4,
127662306a36Sopenharmony_ci};
127762306a36Sopenharmony_ci
127862306a36Sopenharmony_cistatic const unsigned clk2_out_pw5_pins[] = {
127962306a36Sopenharmony_ci	TEGRA_PIN_CLK2_OUT_PW5,
128062306a36Sopenharmony_ci};
128162306a36Sopenharmony_ci
128262306a36Sopenharmony_cistatic const unsigned uart3_txd_pw6_pins[] = {
128362306a36Sopenharmony_ci	TEGRA_PIN_UART3_TXD_PW6,
128462306a36Sopenharmony_ci};
128562306a36Sopenharmony_ci
128662306a36Sopenharmony_cistatic const unsigned uart3_rxd_pw7_pins[] = {
128762306a36Sopenharmony_ci	TEGRA_PIN_UART3_RXD_PW7,
128862306a36Sopenharmony_ci};
128962306a36Sopenharmony_ci
129062306a36Sopenharmony_cistatic const unsigned spi2_mosi_px0_pins[] = {
129162306a36Sopenharmony_ci	TEGRA_PIN_SPI2_MOSI_PX0,
129262306a36Sopenharmony_ci};
129362306a36Sopenharmony_ci
129462306a36Sopenharmony_cistatic const unsigned spi2_miso_px1_pins[] = {
129562306a36Sopenharmony_ci	TEGRA_PIN_SPI2_MISO_PX1,
129662306a36Sopenharmony_ci};
129762306a36Sopenharmony_ci
129862306a36Sopenharmony_cistatic const unsigned spi2_sck_px2_pins[] = {
129962306a36Sopenharmony_ci	TEGRA_PIN_SPI2_SCK_PX2,
130062306a36Sopenharmony_ci};
130162306a36Sopenharmony_ci
130262306a36Sopenharmony_cistatic const unsigned spi2_cs0_n_px3_pins[] = {
130362306a36Sopenharmony_ci	TEGRA_PIN_SPI2_CS0_N_PX3,
130462306a36Sopenharmony_ci};
130562306a36Sopenharmony_ci
130662306a36Sopenharmony_cistatic const unsigned spi1_mosi_px4_pins[] = {
130762306a36Sopenharmony_ci	TEGRA_PIN_SPI1_MOSI_PX4,
130862306a36Sopenharmony_ci};
130962306a36Sopenharmony_ci
131062306a36Sopenharmony_cistatic const unsigned spi1_sck_px5_pins[] = {
131162306a36Sopenharmony_ci	TEGRA_PIN_SPI1_SCK_PX5,
131262306a36Sopenharmony_ci};
131362306a36Sopenharmony_ci
131462306a36Sopenharmony_cistatic const unsigned spi1_cs0_n_px6_pins[] = {
131562306a36Sopenharmony_ci	TEGRA_PIN_SPI1_CS0_N_PX6,
131662306a36Sopenharmony_ci};
131762306a36Sopenharmony_ci
131862306a36Sopenharmony_cistatic const unsigned spi1_miso_px7_pins[] = {
131962306a36Sopenharmony_ci	TEGRA_PIN_SPI1_MISO_PX7,
132062306a36Sopenharmony_ci};
132162306a36Sopenharmony_ci
132262306a36Sopenharmony_cistatic const unsigned ulpi_clk_py0_pins[] = {
132362306a36Sopenharmony_ci	TEGRA_PIN_ULPI_CLK_PY0,
132462306a36Sopenharmony_ci};
132562306a36Sopenharmony_ci
132662306a36Sopenharmony_cistatic const unsigned ulpi_dir_py1_pins[] = {
132762306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DIR_PY1,
132862306a36Sopenharmony_ci};
132962306a36Sopenharmony_ci
133062306a36Sopenharmony_cistatic const unsigned ulpi_nxt_py2_pins[] = {
133162306a36Sopenharmony_ci	TEGRA_PIN_ULPI_NXT_PY2,
133262306a36Sopenharmony_ci};
133362306a36Sopenharmony_ci
133462306a36Sopenharmony_cistatic const unsigned ulpi_stp_py3_pins[] = {
133562306a36Sopenharmony_ci	TEGRA_PIN_ULPI_STP_PY3,
133662306a36Sopenharmony_ci};
133762306a36Sopenharmony_ci
133862306a36Sopenharmony_cistatic const unsigned sdmmc1_dat3_py4_pins[] = {
133962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT3_PY4,
134062306a36Sopenharmony_ci};
134162306a36Sopenharmony_ci
134262306a36Sopenharmony_cistatic const unsigned sdmmc1_dat2_py5_pins[] = {
134362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT2_PY5,
134462306a36Sopenharmony_ci};
134562306a36Sopenharmony_ci
134662306a36Sopenharmony_cistatic const unsigned sdmmc1_dat1_py6_pins[] = {
134762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT1_PY6,
134862306a36Sopenharmony_ci};
134962306a36Sopenharmony_ci
135062306a36Sopenharmony_cistatic const unsigned sdmmc1_dat0_py7_pins[] = {
135162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT0_PY7,
135262306a36Sopenharmony_ci};
135362306a36Sopenharmony_ci
135462306a36Sopenharmony_cistatic const unsigned sdmmc1_clk_pz0_pins[] = {
135562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_CLK_PZ0,
135662306a36Sopenharmony_ci};
135762306a36Sopenharmony_ci
135862306a36Sopenharmony_cistatic const unsigned sdmmc1_cmd_pz1_pins[] = {
135962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_CMD_PZ1,
136062306a36Sopenharmony_ci};
136162306a36Sopenharmony_ci
136262306a36Sopenharmony_cistatic const unsigned lcd_sdin_pz2_pins[] = {
136362306a36Sopenharmony_ci	TEGRA_PIN_LCD_SDIN_PZ2,
136462306a36Sopenharmony_ci};
136562306a36Sopenharmony_ci
136662306a36Sopenharmony_cistatic const unsigned lcd_wr_n_pz3_pins[] = {
136762306a36Sopenharmony_ci	TEGRA_PIN_LCD_WR_N_PZ3,
136862306a36Sopenharmony_ci};
136962306a36Sopenharmony_ci
137062306a36Sopenharmony_cistatic const unsigned lcd_sck_pz4_pins[] = {
137162306a36Sopenharmony_ci	TEGRA_PIN_LCD_SCK_PZ4,
137262306a36Sopenharmony_ci};
137362306a36Sopenharmony_ci
137462306a36Sopenharmony_cistatic const unsigned sys_clk_req_pz5_pins[] = {
137562306a36Sopenharmony_ci	TEGRA_PIN_SYS_CLK_REQ_PZ5,
137662306a36Sopenharmony_ci};
137762306a36Sopenharmony_ci
137862306a36Sopenharmony_cistatic const unsigned pwr_i2c_scl_pz6_pins[] = {
137962306a36Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SCL_PZ6,
138062306a36Sopenharmony_ci};
138162306a36Sopenharmony_ci
138262306a36Sopenharmony_cistatic const unsigned pwr_i2c_sda_pz7_pins[] = {
138362306a36Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SDA_PZ7,
138462306a36Sopenharmony_ci};
138562306a36Sopenharmony_ci
138662306a36Sopenharmony_cistatic const unsigned sdmmc4_dat0_paa0_pins[] = {
138762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT0_PAA0,
138862306a36Sopenharmony_ci};
138962306a36Sopenharmony_ci
139062306a36Sopenharmony_cistatic const unsigned sdmmc4_dat1_paa1_pins[] = {
139162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT1_PAA1,
139262306a36Sopenharmony_ci};
139362306a36Sopenharmony_ci
139462306a36Sopenharmony_cistatic const unsigned sdmmc4_dat2_paa2_pins[] = {
139562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT2_PAA2,
139662306a36Sopenharmony_ci};
139762306a36Sopenharmony_ci
139862306a36Sopenharmony_cistatic const unsigned sdmmc4_dat3_paa3_pins[] = {
139962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT3_PAA3,
140062306a36Sopenharmony_ci};
140162306a36Sopenharmony_ci
140262306a36Sopenharmony_cistatic const unsigned sdmmc4_dat4_paa4_pins[] = {
140362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT4_PAA4,
140462306a36Sopenharmony_ci};
140562306a36Sopenharmony_ci
140662306a36Sopenharmony_cistatic const unsigned sdmmc4_dat5_paa5_pins[] = {
140762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT5_PAA5,
140862306a36Sopenharmony_ci};
140962306a36Sopenharmony_ci
141062306a36Sopenharmony_cistatic const unsigned sdmmc4_dat6_paa6_pins[] = {
141162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT6_PAA6,
141262306a36Sopenharmony_ci};
141362306a36Sopenharmony_ci
141462306a36Sopenharmony_cistatic const unsigned sdmmc4_dat7_paa7_pins[] = {
141562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT7_PAA7,
141662306a36Sopenharmony_ci};
141762306a36Sopenharmony_ci
141862306a36Sopenharmony_cistatic const unsigned pbb0_pins[] = {
141962306a36Sopenharmony_ci	TEGRA_PIN_PBB0,
142062306a36Sopenharmony_ci};
142162306a36Sopenharmony_ci
142262306a36Sopenharmony_cistatic const unsigned cam_i2c_scl_pbb1_pins[] = {
142362306a36Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SCL_PBB1,
142462306a36Sopenharmony_ci};
142562306a36Sopenharmony_ci
142662306a36Sopenharmony_cistatic const unsigned cam_i2c_sda_pbb2_pins[] = {
142762306a36Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SDA_PBB2,
142862306a36Sopenharmony_ci};
142962306a36Sopenharmony_ci
143062306a36Sopenharmony_cistatic const unsigned pbb3_pins[] = {
143162306a36Sopenharmony_ci	TEGRA_PIN_PBB3,
143262306a36Sopenharmony_ci};
143362306a36Sopenharmony_ci
143462306a36Sopenharmony_cistatic const unsigned pbb4_pins[] = {
143562306a36Sopenharmony_ci	TEGRA_PIN_PBB4,
143662306a36Sopenharmony_ci};
143762306a36Sopenharmony_ci
143862306a36Sopenharmony_cistatic const unsigned pbb5_pins[] = {
143962306a36Sopenharmony_ci	TEGRA_PIN_PBB5,
144062306a36Sopenharmony_ci};
144162306a36Sopenharmony_ci
144262306a36Sopenharmony_cistatic const unsigned pbb6_pins[] = {
144362306a36Sopenharmony_ci	TEGRA_PIN_PBB6,
144462306a36Sopenharmony_ci};
144562306a36Sopenharmony_ci
144662306a36Sopenharmony_cistatic const unsigned pbb7_pins[] = {
144762306a36Sopenharmony_ci	TEGRA_PIN_PBB7,
144862306a36Sopenharmony_ci};
144962306a36Sopenharmony_ci
145062306a36Sopenharmony_cistatic const unsigned cam_mclk_pcc0_pins[] = {
145162306a36Sopenharmony_ci	TEGRA_PIN_CAM_MCLK_PCC0,
145262306a36Sopenharmony_ci};
145362306a36Sopenharmony_ci
145462306a36Sopenharmony_cistatic const unsigned pcc1_pins[] = {
145562306a36Sopenharmony_ci	TEGRA_PIN_PCC1,
145662306a36Sopenharmony_ci};
145762306a36Sopenharmony_ci
145862306a36Sopenharmony_cistatic const unsigned pcc2_pins[] = {
145962306a36Sopenharmony_ci	TEGRA_PIN_PCC2,
146062306a36Sopenharmony_ci};
146162306a36Sopenharmony_ci
146262306a36Sopenharmony_cistatic const unsigned sdmmc4_rst_n_pcc3_pins[] = {
146362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_RST_N_PCC3,
146462306a36Sopenharmony_ci};
146562306a36Sopenharmony_ci
146662306a36Sopenharmony_cistatic const unsigned sdmmc4_clk_pcc4_pins[] = {
146762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_CLK_PCC4,
146862306a36Sopenharmony_ci};
146962306a36Sopenharmony_ci
147062306a36Sopenharmony_cistatic const unsigned clk2_req_pcc5_pins[] = {
147162306a36Sopenharmony_ci	TEGRA_PIN_CLK2_REQ_PCC5,
147262306a36Sopenharmony_ci};
147362306a36Sopenharmony_ci
147462306a36Sopenharmony_cistatic const unsigned pex_l2_rst_n_pcc6_pins[] = {
147562306a36Sopenharmony_ci	TEGRA_PIN_PEX_L2_RST_N_PCC6,
147662306a36Sopenharmony_ci};
147762306a36Sopenharmony_ci
147862306a36Sopenharmony_cistatic const unsigned pex_l2_clkreq_n_pcc7_pins[] = {
147962306a36Sopenharmony_ci	TEGRA_PIN_PEX_L2_CLKREQ_N_PCC7,
148062306a36Sopenharmony_ci};
148162306a36Sopenharmony_ci
148262306a36Sopenharmony_cistatic const unsigned pex_l0_prsnt_n_pdd0_pins[] = {
148362306a36Sopenharmony_ci	TEGRA_PIN_PEX_L0_PRSNT_N_PDD0,
148462306a36Sopenharmony_ci};
148562306a36Sopenharmony_ci
148662306a36Sopenharmony_cistatic const unsigned pex_l0_rst_n_pdd1_pins[] = {
148762306a36Sopenharmony_ci	TEGRA_PIN_PEX_L0_RST_N_PDD1,
148862306a36Sopenharmony_ci};
148962306a36Sopenharmony_ci
149062306a36Sopenharmony_cistatic const unsigned pex_l0_clkreq_n_pdd2_pins[] = {
149162306a36Sopenharmony_ci	TEGRA_PIN_PEX_L0_CLKREQ_N_PDD2,
149262306a36Sopenharmony_ci};
149362306a36Sopenharmony_ci
149462306a36Sopenharmony_cistatic const unsigned pex_wake_n_pdd3_pins[] = {
149562306a36Sopenharmony_ci	TEGRA_PIN_PEX_WAKE_N_PDD3,
149662306a36Sopenharmony_ci};
149762306a36Sopenharmony_ci
149862306a36Sopenharmony_cistatic const unsigned pex_l1_prsnt_n_pdd4_pins[] = {
149962306a36Sopenharmony_ci	TEGRA_PIN_PEX_L1_PRSNT_N_PDD4,
150062306a36Sopenharmony_ci};
150162306a36Sopenharmony_ci
150262306a36Sopenharmony_cistatic const unsigned pex_l1_rst_n_pdd5_pins[] = {
150362306a36Sopenharmony_ci	TEGRA_PIN_PEX_L1_RST_N_PDD5,
150462306a36Sopenharmony_ci};
150562306a36Sopenharmony_ci
150662306a36Sopenharmony_cistatic const unsigned pex_l1_clkreq_n_pdd6_pins[] = {
150762306a36Sopenharmony_ci	TEGRA_PIN_PEX_L1_CLKREQ_N_PDD6,
150862306a36Sopenharmony_ci};
150962306a36Sopenharmony_ci
151062306a36Sopenharmony_cistatic const unsigned pex_l2_prsnt_n_pdd7_pins[] = {
151162306a36Sopenharmony_ci	TEGRA_PIN_PEX_L2_PRSNT_N_PDD7,
151262306a36Sopenharmony_ci};
151362306a36Sopenharmony_ci
151462306a36Sopenharmony_cistatic const unsigned clk3_out_pee0_pins[] = {
151562306a36Sopenharmony_ci	TEGRA_PIN_CLK3_OUT_PEE0,
151662306a36Sopenharmony_ci};
151762306a36Sopenharmony_ci
151862306a36Sopenharmony_cistatic const unsigned clk3_req_pee1_pins[] = {
151962306a36Sopenharmony_ci	TEGRA_PIN_CLK3_REQ_PEE1,
152062306a36Sopenharmony_ci};
152162306a36Sopenharmony_ci
152262306a36Sopenharmony_cistatic const unsigned clk1_req_pee2_pins[] = {
152362306a36Sopenharmony_ci	TEGRA_PIN_CLK1_REQ_PEE2,
152462306a36Sopenharmony_ci};
152562306a36Sopenharmony_ci
152662306a36Sopenharmony_cistatic const unsigned hdmi_cec_pee3_pins[] = {
152762306a36Sopenharmony_ci	TEGRA_PIN_HDMI_CEC_PEE3,
152862306a36Sopenharmony_ci};
152962306a36Sopenharmony_ci
153062306a36Sopenharmony_cistatic const unsigned clk_32k_in_pins[] = {
153162306a36Sopenharmony_ci	TEGRA_PIN_CLK_32K_IN,
153262306a36Sopenharmony_ci};
153362306a36Sopenharmony_ci
153462306a36Sopenharmony_cistatic const unsigned core_pwr_req_pins[] = {
153562306a36Sopenharmony_ci	TEGRA_PIN_CORE_PWR_REQ,
153662306a36Sopenharmony_ci};
153762306a36Sopenharmony_ci
153862306a36Sopenharmony_cistatic const unsigned cpu_pwr_req_pins[] = {
153962306a36Sopenharmony_ci	TEGRA_PIN_CPU_PWR_REQ,
154062306a36Sopenharmony_ci};
154162306a36Sopenharmony_ci
154262306a36Sopenharmony_cistatic const unsigned owr_pins[] = {
154362306a36Sopenharmony_ci	TEGRA_PIN_OWR,
154462306a36Sopenharmony_ci};
154562306a36Sopenharmony_ci
154662306a36Sopenharmony_cistatic const unsigned pwr_int_n_pins[] = {
154762306a36Sopenharmony_ci	TEGRA_PIN_PWR_INT_N,
154862306a36Sopenharmony_ci};
154962306a36Sopenharmony_ci
155062306a36Sopenharmony_cistatic const unsigned drive_ao1_pins[] = {
155162306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW0_PR0,
155262306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW1_PR1,
155362306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW2_PR2,
155462306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW3_PR3,
155562306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW4_PR4,
155662306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW5_PR5,
155762306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW6_PR6,
155862306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW7_PR7,
155962306a36Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SCL_PZ6,
156062306a36Sopenharmony_ci	TEGRA_PIN_PWR_I2C_SDA_PZ7,
156162306a36Sopenharmony_ci	TEGRA_PIN_SYS_RESET_N,
156262306a36Sopenharmony_ci};
156362306a36Sopenharmony_ci
156462306a36Sopenharmony_cistatic const unsigned drive_ao2_pins[] = {
156562306a36Sopenharmony_ci	TEGRA_PIN_CLK_32K_OUT_PA0,
156662306a36Sopenharmony_ci	TEGRA_PIN_KB_COL0_PQ0,
156762306a36Sopenharmony_ci	TEGRA_PIN_KB_COL1_PQ1,
156862306a36Sopenharmony_ci	TEGRA_PIN_KB_COL2_PQ2,
156962306a36Sopenharmony_ci	TEGRA_PIN_KB_COL3_PQ3,
157062306a36Sopenharmony_ci	TEGRA_PIN_KB_COL4_PQ4,
157162306a36Sopenharmony_ci	TEGRA_PIN_KB_COL5_PQ5,
157262306a36Sopenharmony_ci	TEGRA_PIN_KB_COL6_PQ6,
157362306a36Sopenharmony_ci	TEGRA_PIN_KB_COL7_PQ7,
157462306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW8_PS0,
157562306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW9_PS1,
157662306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW10_PS2,
157762306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW11_PS3,
157862306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW12_PS4,
157962306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW13_PS5,
158062306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW14_PS6,
158162306a36Sopenharmony_ci	TEGRA_PIN_KB_ROW15_PS7,
158262306a36Sopenharmony_ci	TEGRA_PIN_SYS_CLK_REQ_PZ5,
158362306a36Sopenharmony_ci	TEGRA_PIN_CLK_32K_IN,
158462306a36Sopenharmony_ci	TEGRA_PIN_CORE_PWR_REQ,
158562306a36Sopenharmony_ci	TEGRA_PIN_CPU_PWR_REQ,
158662306a36Sopenharmony_ci	TEGRA_PIN_PWR_INT_N,
158762306a36Sopenharmony_ci};
158862306a36Sopenharmony_ci
158962306a36Sopenharmony_cistatic const unsigned drive_at1_pins[] = {
159062306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD8_PH0,
159162306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD9_PH1,
159262306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD10_PH2,
159362306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD11_PH3,
159462306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD12_PH4,
159562306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD13_PH5,
159662306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD14_PH6,
159762306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD15_PH7,
159862306a36Sopenharmony_ci	TEGRA_PIN_GMI_IORDY_PI5,
159962306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS7_N_PI6,
160062306a36Sopenharmony_ci};
160162306a36Sopenharmony_ci
160262306a36Sopenharmony_cistatic const unsigned drive_at2_pins[] = {
160362306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD0_PG0,
160462306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD1_PG1,
160562306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD2_PG2,
160662306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD3_PG3,
160762306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD4_PG4,
160862306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD5_PG5,
160962306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD6_PG6,
161062306a36Sopenharmony_ci	TEGRA_PIN_GMI_AD7_PG7,
161162306a36Sopenharmony_ci	TEGRA_PIN_GMI_WR_N_PI0,
161262306a36Sopenharmony_ci	TEGRA_PIN_GMI_OE_N_PI1,
161362306a36Sopenharmony_ci	TEGRA_PIN_GMI_DQS_PI2,
161462306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS6_N_PI3,
161562306a36Sopenharmony_ci	TEGRA_PIN_GMI_RST_N_PI4,
161662306a36Sopenharmony_ci	TEGRA_PIN_GMI_WAIT_PI7,
161762306a36Sopenharmony_ci	TEGRA_PIN_GMI_ADV_N_PK0,
161862306a36Sopenharmony_ci	TEGRA_PIN_GMI_CLK_PK1,
161962306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS4_N_PK2,
162062306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS2_N_PK3,
162162306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS3_N_PK4,
162262306a36Sopenharmony_ci};
162362306a36Sopenharmony_ci
162462306a36Sopenharmony_cistatic const unsigned drive_at3_pins[] = {
162562306a36Sopenharmony_ci	TEGRA_PIN_GMI_WP_N_PC7,
162662306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS0_N_PJ0,
162762306a36Sopenharmony_ci};
162862306a36Sopenharmony_ci
162962306a36Sopenharmony_cistatic const unsigned drive_at4_pins[] = {
163062306a36Sopenharmony_ci	TEGRA_PIN_GMI_A17_PB0,
163162306a36Sopenharmony_ci	TEGRA_PIN_GMI_A18_PB1,
163262306a36Sopenharmony_ci	TEGRA_PIN_GMI_CS1_N_PJ2,
163362306a36Sopenharmony_ci	TEGRA_PIN_GMI_A16_PJ7,
163462306a36Sopenharmony_ci	TEGRA_PIN_GMI_A19_PK7,
163562306a36Sopenharmony_ci};
163662306a36Sopenharmony_ci
163762306a36Sopenharmony_cistatic const unsigned drive_at5_pins[] = {
163862306a36Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SCL_PT5,
163962306a36Sopenharmony_ci	TEGRA_PIN_GEN2_I2C_SDA_PT6,
164062306a36Sopenharmony_ci};
164162306a36Sopenharmony_ci
164262306a36Sopenharmony_cistatic const unsigned drive_cdev1_pins[] = {
164362306a36Sopenharmony_ci	TEGRA_PIN_CLK1_OUT_PW4,
164462306a36Sopenharmony_ci	TEGRA_PIN_CLK1_REQ_PEE2,
164562306a36Sopenharmony_ci};
164662306a36Sopenharmony_ci
164762306a36Sopenharmony_cistatic const unsigned drive_cdev2_pins[] = {
164862306a36Sopenharmony_ci	TEGRA_PIN_CLK2_OUT_PW5,
164962306a36Sopenharmony_ci	TEGRA_PIN_CLK2_REQ_PCC5,
165062306a36Sopenharmony_ci};
165162306a36Sopenharmony_ci
165262306a36Sopenharmony_cistatic const unsigned drive_cec_pins[] = {
165362306a36Sopenharmony_ci	TEGRA_PIN_HDMI_CEC_PEE3,
165462306a36Sopenharmony_ci};
165562306a36Sopenharmony_ci
165662306a36Sopenharmony_cistatic const unsigned drive_crt_pins[] = {
165762306a36Sopenharmony_ci	TEGRA_PIN_CRT_HSYNC_PV6,
165862306a36Sopenharmony_ci	TEGRA_PIN_CRT_VSYNC_PV7,
165962306a36Sopenharmony_ci};
166062306a36Sopenharmony_ci
166162306a36Sopenharmony_cistatic const unsigned drive_csus_pins[] = {
166262306a36Sopenharmony_ci	TEGRA_PIN_VI_MCLK_PT1,
166362306a36Sopenharmony_ci};
166462306a36Sopenharmony_ci
166562306a36Sopenharmony_cistatic const unsigned drive_dap1_pins[] = {
166662306a36Sopenharmony_ci	TEGRA_PIN_SPDIF_OUT_PK5,
166762306a36Sopenharmony_ci	TEGRA_PIN_SPDIF_IN_PK6,
166862306a36Sopenharmony_ci	TEGRA_PIN_DAP1_FS_PN0,
166962306a36Sopenharmony_ci	TEGRA_PIN_DAP1_DIN_PN1,
167062306a36Sopenharmony_ci	TEGRA_PIN_DAP1_DOUT_PN2,
167162306a36Sopenharmony_ci	TEGRA_PIN_DAP1_SCLK_PN3,
167262306a36Sopenharmony_ci};
167362306a36Sopenharmony_ci
167462306a36Sopenharmony_cistatic const unsigned drive_dap2_pins[] = {
167562306a36Sopenharmony_ci	TEGRA_PIN_DAP2_FS_PA2,
167662306a36Sopenharmony_ci	TEGRA_PIN_DAP2_SCLK_PA3,
167762306a36Sopenharmony_ci	TEGRA_PIN_DAP2_DIN_PA4,
167862306a36Sopenharmony_ci	TEGRA_PIN_DAP2_DOUT_PA5,
167962306a36Sopenharmony_ci};
168062306a36Sopenharmony_ci
168162306a36Sopenharmony_cistatic const unsigned drive_dap3_pins[] = {
168262306a36Sopenharmony_ci	TEGRA_PIN_DAP3_FS_PP0,
168362306a36Sopenharmony_ci	TEGRA_PIN_DAP3_DIN_PP1,
168462306a36Sopenharmony_ci	TEGRA_PIN_DAP3_DOUT_PP2,
168562306a36Sopenharmony_ci	TEGRA_PIN_DAP3_SCLK_PP3,
168662306a36Sopenharmony_ci};
168762306a36Sopenharmony_ci
168862306a36Sopenharmony_cistatic const unsigned drive_dap4_pins[] = {
168962306a36Sopenharmony_ci	TEGRA_PIN_DAP4_FS_PP4,
169062306a36Sopenharmony_ci	TEGRA_PIN_DAP4_DIN_PP5,
169162306a36Sopenharmony_ci	TEGRA_PIN_DAP4_DOUT_PP6,
169262306a36Sopenharmony_ci	TEGRA_PIN_DAP4_SCLK_PP7,
169362306a36Sopenharmony_ci};
169462306a36Sopenharmony_ci
169562306a36Sopenharmony_cistatic const unsigned drive_dbg_pins[] = {
169662306a36Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SCL_PC4,
169762306a36Sopenharmony_ci	TEGRA_PIN_GEN1_I2C_SDA_PC5,
169862306a36Sopenharmony_ci	TEGRA_PIN_PU0,
169962306a36Sopenharmony_ci	TEGRA_PIN_PU1,
170062306a36Sopenharmony_ci	TEGRA_PIN_PU2,
170162306a36Sopenharmony_ci	TEGRA_PIN_PU3,
170262306a36Sopenharmony_ci	TEGRA_PIN_PU4,
170362306a36Sopenharmony_ci	TEGRA_PIN_PU5,
170462306a36Sopenharmony_ci	TEGRA_PIN_PU6,
170562306a36Sopenharmony_ci	TEGRA_PIN_JTAG_RTCK_PU7,
170662306a36Sopenharmony_ci	TEGRA_PIN_JTAG_TCK,
170762306a36Sopenharmony_ci	TEGRA_PIN_JTAG_TDI,
170862306a36Sopenharmony_ci	TEGRA_PIN_JTAG_TDO,
170962306a36Sopenharmony_ci	TEGRA_PIN_JTAG_TMS,
171062306a36Sopenharmony_ci	TEGRA_PIN_JTAG_TRST_N,
171162306a36Sopenharmony_ci	TEGRA_PIN_TEST_MODE_EN,
171262306a36Sopenharmony_ci};
171362306a36Sopenharmony_ci
171462306a36Sopenharmony_cistatic const unsigned drive_ddc_pins[] = {
171562306a36Sopenharmony_ci	TEGRA_PIN_DDC_SCL_PV4,
171662306a36Sopenharmony_ci	TEGRA_PIN_DDC_SDA_PV5,
171762306a36Sopenharmony_ci};
171862306a36Sopenharmony_ci
171962306a36Sopenharmony_cistatic const unsigned drive_dev3_pins[] = {
172062306a36Sopenharmony_ci	TEGRA_PIN_CLK3_OUT_PEE0,
172162306a36Sopenharmony_ci	TEGRA_PIN_CLK3_REQ_PEE1,
172262306a36Sopenharmony_ci};
172362306a36Sopenharmony_ci
172462306a36Sopenharmony_cistatic const unsigned drive_gma_pins[] = {
172562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT0_PAA0,
172662306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT1_PAA1,
172762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT2_PAA2,
172862306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT3_PAA3,
172962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_RST_N_PCC3,
173062306a36Sopenharmony_ci};
173162306a36Sopenharmony_ci
173262306a36Sopenharmony_cistatic const unsigned drive_gmb_pins[] = {
173362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT4_PAA4,
173462306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT5_PAA5,
173562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT6_PAA6,
173662306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_DAT7_PAA7,
173762306a36Sopenharmony_ci};
173862306a36Sopenharmony_ci
173962306a36Sopenharmony_cistatic const unsigned drive_gmc_pins[] = {
174062306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_CLK_PCC4,
174162306a36Sopenharmony_ci};
174262306a36Sopenharmony_ci
174362306a36Sopenharmony_cistatic const unsigned drive_gmd_pins[] = {
174462306a36Sopenharmony_ci	TEGRA_PIN_SDMMC4_CMD_PT7,
174562306a36Sopenharmony_ci};
174662306a36Sopenharmony_ci
174762306a36Sopenharmony_cistatic const unsigned drive_gme_pins[] = {
174862306a36Sopenharmony_ci	TEGRA_PIN_PBB0,
174962306a36Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SCL_PBB1,
175062306a36Sopenharmony_ci	TEGRA_PIN_CAM_I2C_SDA_PBB2,
175162306a36Sopenharmony_ci	TEGRA_PIN_PBB3,
175262306a36Sopenharmony_ci	TEGRA_PIN_PCC2,
175362306a36Sopenharmony_ci};
175462306a36Sopenharmony_ci
175562306a36Sopenharmony_cistatic const unsigned drive_gmf_pins[] = {
175662306a36Sopenharmony_ci	TEGRA_PIN_PBB4,
175762306a36Sopenharmony_ci	TEGRA_PIN_PBB5,
175862306a36Sopenharmony_ci	TEGRA_PIN_PBB6,
175962306a36Sopenharmony_ci	TEGRA_PIN_PBB7,
176062306a36Sopenharmony_ci};
176162306a36Sopenharmony_ci
176262306a36Sopenharmony_cistatic const unsigned drive_gmg_pins[] = {
176362306a36Sopenharmony_ci	TEGRA_PIN_CAM_MCLK_PCC0,
176462306a36Sopenharmony_ci};
176562306a36Sopenharmony_ci
176662306a36Sopenharmony_cistatic const unsigned drive_gmh_pins[] = {
176762306a36Sopenharmony_ci	TEGRA_PIN_PCC1,
176862306a36Sopenharmony_ci};
176962306a36Sopenharmony_ci
177062306a36Sopenharmony_cistatic const unsigned drive_gpv_pins[] = {
177162306a36Sopenharmony_ci	TEGRA_PIN_PEX_L2_RST_N_PCC6,
177262306a36Sopenharmony_ci	TEGRA_PIN_PEX_L2_CLKREQ_N_PCC7,
177362306a36Sopenharmony_ci	TEGRA_PIN_PEX_L0_PRSNT_N_PDD0,
177462306a36Sopenharmony_ci	TEGRA_PIN_PEX_L0_RST_N_PDD1,
177562306a36Sopenharmony_ci	TEGRA_PIN_PEX_L0_CLKREQ_N_PDD2,
177662306a36Sopenharmony_ci	TEGRA_PIN_PEX_WAKE_N_PDD3,
177762306a36Sopenharmony_ci	TEGRA_PIN_PEX_L1_PRSNT_N_PDD4,
177862306a36Sopenharmony_ci	TEGRA_PIN_PEX_L1_RST_N_PDD5,
177962306a36Sopenharmony_ci	TEGRA_PIN_PEX_L1_CLKREQ_N_PDD6,
178062306a36Sopenharmony_ci	TEGRA_PIN_PEX_L2_PRSNT_N_PDD7,
178162306a36Sopenharmony_ci};
178262306a36Sopenharmony_ci
178362306a36Sopenharmony_cistatic const unsigned drive_lcd1_pins[] = {
178462306a36Sopenharmony_ci	TEGRA_PIN_LCD_PWR1_PC1,
178562306a36Sopenharmony_ci	TEGRA_PIN_LCD_PWR2_PC6,
178662306a36Sopenharmony_ci	TEGRA_PIN_LCD_CS0_N_PN4,
178762306a36Sopenharmony_ci	TEGRA_PIN_LCD_SDOUT_PN5,
178862306a36Sopenharmony_ci	TEGRA_PIN_LCD_DC0_PN6,
178962306a36Sopenharmony_ci	TEGRA_PIN_LCD_SDIN_PZ2,
179062306a36Sopenharmony_ci	TEGRA_PIN_LCD_WR_N_PZ3,
179162306a36Sopenharmony_ci	TEGRA_PIN_LCD_SCK_PZ4,
179262306a36Sopenharmony_ci};
179362306a36Sopenharmony_ci
179462306a36Sopenharmony_cistatic const unsigned drive_lcd2_pins[] = {
179562306a36Sopenharmony_ci	TEGRA_PIN_LCD_PWR0_PB2,
179662306a36Sopenharmony_ci	TEGRA_PIN_LCD_PCLK_PB3,
179762306a36Sopenharmony_ci	TEGRA_PIN_LCD_DC1_PD2,
179862306a36Sopenharmony_ci	TEGRA_PIN_LCD_D0_PE0,
179962306a36Sopenharmony_ci	TEGRA_PIN_LCD_D1_PE1,
180062306a36Sopenharmony_ci	TEGRA_PIN_LCD_D2_PE2,
180162306a36Sopenharmony_ci	TEGRA_PIN_LCD_D3_PE3,
180262306a36Sopenharmony_ci	TEGRA_PIN_LCD_D4_PE4,
180362306a36Sopenharmony_ci	TEGRA_PIN_LCD_D5_PE5,
180462306a36Sopenharmony_ci	TEGRA_PIN_LCD_D6_PE6,
180562306a36Sopenharmony_ci	TEGRA_PIN_LCD_D7_PE7,
180662306a36Sopenharmony_ci	TEGRA_PIN_LCD_D8_PF0,
180762306a36Sopenharmony_ci	TEGRA_PIN_LCD_D9_PF1,
180862306a36Sopenharmony_ci	TEGRA_PIN_LCD_D10_PF2,
180962306a36Sopenharmony_ci	TEGRA_PIN_LCD_D11_PF3,
181062306a36Sopenharmony_ci	TEGRA_PIN_LCD_D12_PF4,
181162306a36Sopenharmony_ci	TEGRA_PIN_LCD_D13_PF5,
181262306a36Sopenharmony_ci	TEGRA_PIN_LCD_D14_PF6,
181362306a36Sopenharmony_ci	TEGRA_PIN_LCD_D15_PF7,
181462306a36Sopenharmony_ci	TEGRA_PIN_LCD_DE_PJ1,
181562306a36Sopenharmony_ci	TEGRA_PIN_LCD_HSYNC_PJ3,
181662306a36Sopenharmony_ci	TEGRA_PIN_LCD_VSYNC_PJ4,
181762306a36Sopenharmony_ci	TEGRA_PIN_LCD_D16_PM0,
181862306a36Sopenharmony_ci	TEGRA_PIN_LCD_D17_PM1,
181962306a36Sopenharmony_ci	TEGRA_PIN_LCD_D18_PM2,
182062306a36Sopenharmony_ci	TEGRA_PIN_LCD_D19_PM3,
182162306a36Sopenharmony_ci	TEGRA_PIN_LCD_D20_PM4,
182262306a36Sopenharmony_ci	TEGRA_PIN_LCD_D21_PM5,
182362306a36Sopenharmony_ci	TEGRA_PIN_LCD_D22_PM6,
182462306a36Sopenharmony_ci	TEGRA_PIN_LCD_D23_PM7,
182562306a36Sopenharmony_ci	TEGRA_PIN_HDMI_INT_PN7,
182662306a36Sopenharmony_ci	TEGRA_PIN_LCD_CS1_N_PW0,
182762306a36Sopenharmony_ci	TEGRA_PIN_LCD_M1_PW1,
182862306a36Sopenharmony_ci};
182962306a36Sopenharmony_ci
183062306a36Sopenharmony_cistatic const unsigned drive_owr_pins[] = {
183162306a36Sopenharmony_ci	TEGRA_PIN_OWR,
183262306a36Sopenharmony_ci};
183362306a36Sopenharmony_ci
183462306a36Sopenharmony_cistatic const unsigned drive_sdio1_pins[] = {
183562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT3_PY4,
183662306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT2_PY5,
183762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT1_PY6,
183862306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_DAT0_PY7,
183962306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_CLK_PZ0,
184062306a36Sopenharmony_ci	TEGRA_PIN_SDMMC1_CMD_PZ1,
184162306a36Sopenharmony_ci};
184262306a36Sopenharmony_ci
184362306a36Sopenharmony_cistatic const unsigned drive_sdio2_pins[] = {
184462306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT5_PD0,
184562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT4_PD1,
184662306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT6_PD3,
184762306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT7_PD4,
184862306a36Sopenharmony_ci};
184962306a36Sopenharmony_ci
185062306a36Sopenharmony_cistatic const unsigned drive_sdio3_pins[] = {
185162306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CLK_PA6,
185262306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_CMD_PA7,
185362306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT3_PB4,
185462306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT2_PB5,
185562306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT1_PB6,
185662306a36Sopenharmony_ci	TEGRA_PIN_SDMMC3_DAT0_PB7,
185762306a36Sopenharmony_ci};
185862306a36Sopenharmony_ci
185962306a36Sopenharmony_cistatic const unsigned drive_spi_pins[] = {
186062306a36Sopenharmony_ci	TEGRA_PIN_SPI2_CS1_N_PW2,
186162306a36Sopenharmony_ci	TEGRA_PIN_SPI2_CS2_N_PW3,
186262306a36Sopenharmony_ci	TEGRA_PIN_SPI2_MOSI_PX0,
186362306a36Sopenharmony_ci	TEGRA_PIN_SPI2_MISO_PX1,
186462306a36Sopenharmony_ci	TEGRA_PIN_SPI2_SCK_PX2,
186562306a36Sopenharmony_ci	TEGRA_PIN_SPI2_CS0_N_PX3,
186662306a36Sopenharmony_ci	TEGRA_PIN_SPI1_MOSI_PX4,
186762306a36Sopenharmony_ci	TEGRA_PIN_SPI1_SCK_PX5,
186862306a36Sopenharmony_ci	TEGRA_PIN_SPI1_CS0_N_PX6,
186962306a36Sopenharmony_ci	TEGRA_PIN_SPI1_MISO_PX7,
187062306a36Sopenharmony_ci};
187162306a36Sopenharmony_ci
187262306a36Sopenharmony_cistatic const unsigned drive_uaa_pins[] = {
187362306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA0_PO1,
187462306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA1_PO2,
187562306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA2_PO3,
187662306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA3_PO4,
187762306a36Sopenharmony_ci};
187862306a36Sopenharmony_ci
187962306a36Sopenharmony_cistatic const unsigned drive_uab_pins[] = {
188062306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA7_PO0,
188162306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA4_PO5,
188262306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA5_PO6,
188362306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DATA6_PO7,
188462306a36Sopenharmony_ci	TEGRA_PIN_PV0,
188562306a36Sopenharmony_ci	TEGRA_PIN_PV1,
188662306a36Sopenharmony_ci	TEGRA_PIN_PV2,
188762306a36Sopenharmony_ci	TEGRA_PIN_PV3,
188862306a36Sopenharmony_ci};
188962306a36Sopenharmony_ci
189062306a36Sopenharmony_cistatic const unsigned drive_uart2_pins[] = {
189162306a36Sopenharmony_ci	TEGRA_PIN_UART2_TXD_PC2,
189262306a36Sopenharmony_ci	TEGRA_PIN_UART2_RXD_PC3,
189362306a36Sopenharmony_ci	TEGRA_PIN_UART2_CTS_N_PJ5,
189462306a36Sopenharmony_ci	TEGRA_PIN_UART2_RTS_N_PJ6,
189562306a36Sopenharmony_ci};
189662306a36Sopenharmony_ci
189762306a36Sopenharmony_cistatic const unsigned drive_uart3_pins[] = {
189862306a36Sopenharmony_ci	TEGRA_PIN_UART3_CTS_N_PA1,
189962306a36Sopenharmony_ci	TEGRA_PIN_UART3_RTS_N_PC0,
190062306a36Sopenharmony_ci	TEGRA_PIN_UART3_TXD_PW6,
190162306a36Sopenharmony_ci	TEGRA_PIN_UART3_RXD_PW7,
190262306a36Sopenharmony_ci};
190362306a36Sopenharmony_ci
190462306a36Sopenharmony_cistatic const unsigned drive_uda_pins[] = {
190562306a36Sopenharmony_ci	TEGRA_PIN_ULPI_CLK_PY0,
190662306a36Sopenharmony_ci	TEGRA_PIN_ULPI_DIR_PY1,
190762306a36Sopenharmony_ci	TEGRA_PIN_ULPI_NXT_PY2,
190862306a36Sopenharmony_ci	TEGRA_PIN_ULPI_STP_PY3,
190962306a36Sopenharmony_ci};
191062306a36Sopenharmony_ci
191162306a36Sopenharmony_cistatic const unsigned drive_vi1_pins[] = {
191262306a36Sopenharmony_ci	TEGRA_PIN_VI_D1_PD5,
191362306a36Sopenharmony_ci	TEGRA_PIN_VI_VSYNC_PD6,
191462306a36Sopenharmony_ci	TEGRA_PIN_VI_HSYNC_PD7,
191562306a36Sopenharmony_ci	TEGRA_PIN_VI_D2_PL0,
191662306a36Sopenharmony_ci	TEGRA_PIN_VI_D3_PL1,
191762306a36Sopenharmony_ci	TEGRA_PIN_VI_D4_PL2,
191862306a36Sopenharmony_ci	TEGRA_PIN_VI_D5_PL3,
191962306a36Sopenharmony_ci	TEGRA_PIN_VI_D6_PL4,
192062306a36Sopenharmony_ci	TEGRA_PIN_VI_D7_PL5,
192162306a36Sopenharmony_ci	TEGRA_PIN_VI_D8_PL6,
192262306a36Sopenharmony_ci	TEGRA_PIN_VI_D9_PL7,
192362306a36Sopenharmony_ci	TEGRA_PIN_VI_PCLK_PT0,
192462306a36Sopenharmony_ci	TEGRA_PIN_VI_D10_PT2,
192562306a36Sopenharmony_ci	TEGRA_PIN_VI_D11_PT3,
192662306a36Sopenharmony_ci	TEGRA_PIN_VI_D0_PT4,
192762306a36Sopenharmony_ci};
192862306a36Sopenharmony_ci
192962306a36Sopenharmony_cienum tegra_mux {
193062306a36Sopenharmony_ci	TEGRA_MUX_BLINK,
193162306a36Sopenharmony_ci	TEGRA_MUX_CEC,
193262306a36Sopenharmony_ci	TEGRA_MUX_CLK_12M_OUT,
193362306a36Sopenharmony_ci	TEGRA_MUX_CLK_32K_IN,
193462306a36Sopenharmony_ci	TEGRA_MUX_CORE_PWR_REQ,
193562306a36Sopenharmony_ci	TEGRA_MUX_CPU_PWR_REQ,
193662306a36Sopenharmony_ci	TEGRA_MUX_CRT,
193762306a36Sopenharmony_ci	TEGRA_MUX_DAP,
193862306a36Sopenharmony_ci	TEGRA_MUX_DDR,
193962306a36Sopenharmony_ci	TEGRA_MUX_DEV3,
194062306a36Sopenharmony_ci	TEGRA_MUX_DISPLAYA,
194162306a36Sopenharmony_ci	TEGRA_MUX_DISPLAYB,
194262306a36Sopenharmony_ci	TEGRA_MUX_DTV,
194362306a36Sopenharmony_ci	TEGRA_MUX_EXTPERIPH1,
194462306a36Sopenharmony_ci	TEGRA_MUX_EXTPERIPH2,
194562306a36Sopenharmony_ci	TEGRA_MUX_EXTPERIPH3,
194662306a36Sopenharmony_ci	TEGRA_MUX_GMI,
194762306a36Sopenharmony_ci	TEGRA_MUX_GMI_ALT,
194862306a36Sopenharmony_ci	TEGRA_MUX_HDA,
194962306a36Sopenharmony_ci	TEGRA_MUX_HDCP,
195062306a36Sopenharmony_ci	TEGRA_MUX_HDMI,
195162306a36Sopenharmony_ci	TEGRA_MUX_HSI,
195262306a36Sopenharmony_ci	TEGRA_MUX_I2C1,
195362306a36Sopenharmony_ci	TEGRA_MUX_I2C2,
195462306a36Sopenharmony_ci	TEGRA_MUX_I2C3,
195562306a36Sopenharmony_ci	TEGRA_MUX_I2C4,
195662306a36Sopenharmony_ci	TEGRA_MUX_I2CPWR,
195762306a36Sopenharmony_ci	TEGRA_MUX_I2S0,
195862306a36Sopenharmony_ci	TEGRA_MUX_I2S1,
195962306a36Sopenharmony_ci	TEGRA_MUX_I2S2,
196062306a36Sopenharmony_ci	TEGRA_MUX_I2S3,
196162306a36Sopenharmony_ci	TEGRA_MUX_I2S4,
196262306a36Sopenharmony_ci	TEGRA_MUX_INVALID,
196362306a36Sopenharmony_ci	TEGRA_MUX_KBC,
196462306a36Sopenharmony_ci	TEGRA_MUX_MIO,
196562306a36Sopenharmony_ci	TEGRA_MUX_NAND,
196662306a36Sopenharmony_ci	TEGRA_MUX_NAND_ALT,
196762306a36Sopenharmony_ci	TEGRA_MUX_OWR,
196862306a36Sopenharmony_ci	TEGRA_MUX_PCIE,
196962306a36Sopenharmony_ci	TEGRA_MUX_PWM0,
197062306a36Sopenharmony_ci	TEGRA_MUX_PWM1,
197162306a36Sopenharmony_ci	TEGRA_MUX_PWM2,
197262306a36Sopenharmony_ci	TEGRA_MUX_PWM3,
197362306a36Sopenharmony_ci	TEGRA_MUX_PWR_INT_N,
197462306a36Sopenharmony_ci	TEGRA_MUX_RSVD1,
197562306a36Sopenharmony_ci	TEGRA_MUX_RSVD2,
197662306a36Sopenharmony_ci	TEGRA_MUX_RSVD3,
197762306a36Sopenharmony_ci	TEGRA_MUX_RSVD4,
197862306a36Sopenharmony_ci	TEGRA_MUX_RTCK,
197962306a36Sopenharmony_ci	TEGRA_MUX_SATA,
198062306a36Sopenharmony_ci	TEGRA_MUX_SDMMC1,
198162306a36Sopenharmony_ci	TEGRA_MUX_SDMMC2,
198262306a36Sopenharmony_ci	TEGRA_MUX_SDMMC3,
198362306a36Sopenharmony_ci	TEGRA_MUX_SDMMC4,
198462306a36Sopenharmony_ci	TEGRA_MUX_SPDIF,
198562306a36Sopenharmony_ci	TEGRA_MUX_SPI1,
198662306a36Sopenharmony_ci	TEGRA_MUX_SPI2,
198762306a36Sopenharmony_ci	TEGRA_MUX_SPI2_ALT,
198862306a36Sopenharmony_ci	TEGRA_MUX_SPI3,
198962306a36Sopenharmony_ci	TEGRA_MUX_SPI4,
199062306a36Sopenharmony_ci	TEGRA_MUX_SPI5,
199162306a36Sopenharmony_ci	TEGRA_MUX_SPI6,
199262306a36Sopenharmony_ci	TEGRA_MUX_SYSCLK,
199362306a36Sopenharmony_ci	TEGRA_MUX_TEST,
199462306a36Sopenharmony_ci	TEGRA_MUX_TRACE,
199562306a36Sopenharmony_ci	TEGRA_MUX_UARTA,
199662306a36Sopenharmony_ci	TEGRA_MUX_UARTB,
199762306a36Sopenharmony_ci	TEGRA_MUX_UARTC,
199862306a36Sopenharmony_ci	TEGRA_MUX_UARTD,
199962306a36Sopenharmony_ci	TEGRA_MUX_UARTE,
200062306a36Sopenharmony_ci	TEGRA_MUX_ULPI,
200162306a36Sopenharmony_ci	TEGRA_MUX_VGP1,
200262306a36Sopenharmony_ci	TEGRA_MUX_VGP2,
200362306a36Sopenharmony_ci	TEGRA_MUX_VGP3,
200462306a36Sopenharmony_ci	TEGRA_MUX_VGP4,
200562306a36Sopenharmony_ci	TEGRA_MUX_VGP5,
200662306a36Sopenharmony_ci	TEGRA_MUX_VGP6,
200762306a36Sopenharmony_ci	TEGRA_MUX_VI,
200862306a36Sopenharmony_ci	TEGRA_MUX_VI_ALT1,
200962306a36Sopenharmony_ci	TEGRA_MUX_VI_ALT2,
201062306a36Sopenharmony_ci	TEGRA_MUX_VI_ALT3,
201162306a36Sopenharmony_ci};
201262306a36Sopenharmony_ci
201362306a36Sopenharmony_ci#define FUNCTION(fname) #fname
201462306a36Sopenharmony_ci
201562306a36Sopenharmony_cistatic const char * const tegra30_functions[] = {
201662306a36Sopenharmony_ci	FUNCTION(blink),
201762306a36Sopenharmony_ci	FUNCTION(cec),
201862306a36Sopenharmony_ci	FUNCTION(clk_12m_out),
201962306a36Sopenharmony_ci	FUNCTION(clk_32k_in),
202062306a36Sopenharmony_ci	FUNCTION(core_pwr_req),
202162306a36Sopenharmony_ci	FUNCTION(cpu_pwr_req),
202262306a36Sopenharmony_ci	FUNCTION(crt),
202362306a36Sopenharmony_ci	FUNCTION(dap),
202462306a36Sopenharmony_ci	FUNCTION(ddr),
202562306a36Sopenharmony_ci	FUNCTION(dev3),
202662306a36Sopenharmony_ci	FUNCTION(displaya),
202762306a36Sopenharmony_ci	FUNCTION(displayb),
202862306a36Sopenharmony_ci	FUNCTION(dtv),
202962306a36Sopenharmony_ci	FUNCTION(extperiph1),
203062306a36Sopenharmony_ci	FUNCTION(extperiph2),
203162306a36Sopenharmony_ci	FUNCTION(extperiph3),
203262306a36Sopenharmony_ci	FUNCTION(gmi),
203362306a36Sopenharmony_ci	FUNCTION(gmi_alt),
203462306a36Sopenharmony_ci	FUNCTION(hda),
203562306a36Sopenharmony_ci	FUNCTION(hdcp),
203662306a36Sopenharmony_ci	FUNCTION(hdmi),
203762306a36Sopenharmony_ci	FUNCTION(hsi),
203862306a36Sopenharmony_ci	FUNCTION(i2c1),
203962306a36Sopenharmony_ci	FUNCTION(i2c2),
204062306a36Sopenharmony_ci	FUNCTION(i2c3),
204162306a36Sopenharmony_ci	FUNCTION(i2c4),
204262306a36Sopenharmony_ci	FUNCTION(i2cpwr),
204362306a36Sopenharmony_ci	FUNCTION(i2s0),
204462306a36Sopenharmony_ci	FUNCTION(i2s1),
204562306a36Sopenharmony_ci	FUNCTION(i2s2),
204662306a36Sopenharmony_ci	FUNCTION(i2s3),
204762306a36Sopenharmony_ci	FUNCTION(i2s4),
204862306a36Sopenharmony_ci	FUNCTION(invalid),
204962306a36Sopenharmony_ci	FUNCTION(kbc),
205062306a36Sopenharmony_ci	FUNCTION(mio),
205162306a36Sopenharmony_ci	FUNCTION(nand),
205262306a36Sopenharmony_ci	FUNCTION(nand_alt),
205362306a36Sopenharmony_ci	FUNCTION(owr),
205462306a36Sopenharmony_ci	FUNCTION(pcie),
205562306a36Sopenharmony_ci	FUNCTION(pwm0),
205662306a36Sopenharmony_ci	FUNCTION(pwm1),
205762306a36Sopenharmony_ci	FUNCTION(pwm2),
205862306a36Sopenharmony_ci	FUNCTION(pwm3),
205962306a36Sopenharmony_ci	FUNCTION(pwr_int_n),
206062306a36Sopenharmony_ci	FUNCTION(rsvd1),
206162306a36Sopenharmony_ci	FUNCTION(rsvd2),
206262306a36Sopenharmony_ci	FUNCTION(rsvd3),
206362306a36Sopenharmony_ci	FUNCTION(rsvd4),
206462306a36Sopenharmony_ci	FUNCTION(rtck),
206562306a36Sopenharmony_ci	FUNCTION(sata),
206662306a36Sopenharmony_ci	FUNCTION(sdmmc1),
206762306a36Sopenharmony_ci	FUNCTION(sdmmc2),
206862306a36Sopenharmony_ci	FUNCTION(sdmmc3),
206962306a36Sopenharmony_ci	FUNCTION(sdmmc4),
207062306a36Sopenharmony_ci	FUNCTION(spdif),
207162306a36Sopenharmony_ci	FUNCTION(spi1),
207262306a36Sopenharmony_ci	FUNCTION(spi2),
207362306a36Sopenharmony_ci	FUNCTION(spi2_alt),
207462306a36Sopenharmony_ci	FUNCTION(spi3),
207562306a36Sopenharmony_ci	FUNCTION(spi4),
207662306a36Sopenharmony_ci	FUNCTION(spi5),
207762306a36Sopenharmony_ci	FUNCTION(spi6),
207862306a36Sopenharmony_ci	FUNCTION(sysclk),
207962306a36Sopenharmony_ci	FUNCTION(test),
208062306a36Sopenharmony_ci	FUNCTION(trace),
208162306a36Sopenharmony_ci	FUNCTION(uarta),
208262306a36Sopenharmony_ci	FUNCTION(uartb),
208362306a36Sopenharmony_ci	FUNCTION(uartc),
208462306a36Sopenharmony_ci	FUNCTION(uartd),
208562306a36Sopenharmony_ci	FUNCTION(uarte),
208662306a36Sopenharmony_ci	FUNCTION(ulpi),
208762306a36Sopenharmony_ci	FUNCTION(vgp1),
208862306a36Sopenharmony_ci	FUNCTION(vgp2),
208962306a36Sopenharmony_ci	FUNCTION(vgp3),
209062306a36Sopenharmony_ci	FUNCTION(vgp4),
209162306a36Sopenharmony_ci	FUNCTION(vgp5),
209262306a36Sopenharmony_ci	FUNCTION(vgp6),
209362306a36Sopenharmony_ci	FUNCTION(vi),
209462306a36Sopenharmony_ci	FUNCTION(vi_alt1),
209562306a36Sopenharmony_ci	FUNCTION(vi_alt2),
209662306a36Sopenharmony_ci	FUNCTION(vi_alt3),
209762306a36Sopenharmony_ci};
209862306a36Sopenharmony_ci
209962306a36Sopenharmony_ci#define DRV_PINGROUP_REG_A		0x868	/* bank 0 */
210062306a36Sopenharmony_ci#define PINGROUP_REG_A			0x3000	/* bank 1 */
210162306a36Sopenharmony_ci
210262306a36Sopenharmony_ci#define DRV_PINGROUP_REG(r)		((r) - DRV_PINGROUP_REG_A)
210362306a36Sopenharmony_ci#define PINGROUP_REG(r)			((r) - PINGROUP_REG_A)
210462306a36Sopenharmony_ci
210562306a36Sopenharmony_ci#define PINGROUP_BIT_Y(b)		(b)
210662306a36Sopenharmony_ci#define PINGROUP_BIT_N(b)		(-1)
210762306a36Sopenharmony_ci
210862306a36Sopenharmony_ci#define PINGROUP(pg_name, f0, f1, f2, f3, r, od, ior)			\
210962306a36Sopenharmony_ci	{								\
211062306a36Sopenharmony_ci		.name = #pg_name,					\
211162306a36Sopenharmony_ci		.pins = pg_name##_pins,					\
211262306a36Sopenharmony_ci		.npins = ARRAY_SIZE(pg_name##_pins),			\
211362306a36Sopenharmony_ci		.funcs = {						\
211462306a36Sopenharmony_ci			TEGRA_MUX_##f0,					\
211562306a36Sopenharmony_ci			TEGRA_MUX_##f1,					\
211662306a36Sopenharmony_ci			TEGRA_MUX_##f2,					\
211762306a36Sopenharmony_ci			TEGRA_MUX_##f3,					\
211862306a36Sopenharmony_ci		},							\
211962306a36Sopenharmony_ci		.mux_reg = PINGROUP_REG(r),				\
212062306a36Sopenharmony_ci		.mux_bank = 1,						\
212162306a36Sopenharmony_ci		.mux_bit = 0,						\
212262306a36Sopenharmony_ci		.pupd_reg = PINGROUP_REG(r),				\
212362306a36Sopenharmony_ci		.pupd_bank = 1,						\
212462306a36Sopenharmony_ci		.pupd_bit = 2,						\
212562306a36Sopenharmony_ci		.tri_reg = PINGROUP_REG(r),				\
212662306a36Sopenharmony_ci		.tri_bank = 1,						\
212762306a36Sopenharmony_ci		.tri_bit = 4,						\
212862306a36Sopenharmony_ci		.einput_bit = 5,					\
212962306a36Sopenharmony_ci		.odrain_bit = PINGROUP_BIT_##od(6),			\
213062306a36Sopenharmony_ci		.lock_bit = 7,						\
213162306a36Sopenharmony_ci		.ioreset_bit = PINGROUP_BIT_##ior(8),			\
213262306a36Sopenharmony_ci		.rcv_sel_bit = -1,					\
213362306a36Sopenharmony_ci		.drv_reg = -1,						\
213462306a36Sopenharmony_ci		.parked_bitmask = 0,					\
213562306a36Sopenharmony_ci	}
213662306a36Sopenharmony_ci
213762306a36Sopenharmony_ci#define DRV_PINGROUP(pg_name, r, hsm_b, schmitt_b, lpmd_b, drvdn_b,	\
213862306a36Sopenharmony_ci		     drvdn_w, drvup_b, drvup_w, slwr_b, slwr_w,		\
213962306a36Sopenharmony_ci		     slwf_b, slwf_w)					\
214062306a36Sopenharmony_ci	{								\
214162306a36Sopenharmony_ci		.name = "drive_" #pg_name,				\
214262306a36Sopenharmony_ci		.pins = drive_##pg_name##_pins,				\
214362306a36Sopenharmony_ci		.npins = ARRAY_SIZE(drive_##pg_name##_pins),		\
214462306a36Sopenharmony_ci		.mux_reg = -1,						\
214562306a36Sopenharmony_ci		.pupd_reg = -1,						\
214662306a36Sopenharmony_ci		.tri_reg = -1,						\
214762306a36Sopenharmony_ci		.einput_bit = -1,					\
214862306a36Sopenharmony_ci		.odrain_bit = -1,					\
214962306a36Sopenharmony_ci		.lock_bit = -1,						\
215062306a36Sopenharmony_ci		.ioreset_bit = -1,					\
215162306a36Sopenharmony_ci		.rcv_sel_bit = -1,					\
215262306a36Sopenharmony_ci		.drv_reg = DRV_PINGROUP_REG(r),				\
215362306a36Sopenharmony_ci		.drv_bank = 0,						\
215462306a36Sopenharmony_ci		.hsm_bit = hsm_b,					\
215562306a36Sopenharmony_ci		.schmitt_bit = schmitt_b,				\
215662306a36Sopenharmony_ci		.lpmd_bit = lpmd_b,					\
215762306a36Sopenharmony_ci		.drvdn_bit = drvdn_b,					\
215862306a36Sopenharmony_ci		.drvdn_width = drvdn_w,					\
215962306a36Sopenharmony_ci		.drvup_bit = drvup_b,					\
216062306a36Sopenharmony_ci		.drvup_width = drvup_w,					\
216162306a36Sopenharmony_ci		.slwr_bit = slwr_b,					\
216262306a36Sopenharmony_ci		.slwr_width = slwr_w,					\
216362306a36Sopenharmony_ci		.slwf_bit = slwf_b,					\
216462306a36Sopenharmony_ci		.slwf_width = slwf_w,					\
216562306a36Sopenharmony_ci		.drvtype_bit = -1,					\
216662306a36Sopenharmony_ci		.parked_bitmask = 0,					\
216762306a36Sopenharmony_ci	}
216862306a36Sopenharmony_ci
216962306a36Sopenharmony_cistatic const struct tegra_pingroup tegra30_groups[] = {
217062306a36Sopenharmony_ci	/*       pg_name,              f0,           f1,           f2,           f3,           r,      od, ior */
217162306a36Sopenharmony_ci	PINGROUP(clk_32k_out_pa0,      BLINK,        RSVD2,        RSVD3,        RSVD4,        0x331c, N, N),
217262306a36Sopenharmony_ci	PINGROUP(uart3_cts_n_pa1,      UARTC,        RSVD2,        GMI,          RSVD4,        0x317c, N, N),
217362306a36Sopenharmony_ci	PINGROUP(dap2_fs_pa2,          I2S1,         HDA,          RSVD3,        GMI,          0x3358, N, N),
217462306a36Sopenharmony_ci	PINGROUP(dap2_sclk_pa3,        I2S1,         HDA,          RSVD3,        GMI,          0x3364, N, N),
217562306a36Sopenharmony_ci	PINGROUP(dap2_din_pa4,         I2S1,         HDA,          RSVD3,        GMI,          0x335c, N, N),
217662306a36Sopenharmony_ci	PINGROUP(dap2_dout_pa5,        I2S1,         HDA,          RSVD3,        GMI,          0x3360, N, N),
217762306a36Sopenharmony_ci	PINGROUP(sdmmc3_clk_pa6,       UARTA,        PWM2,         SDMMC3,       SPI3,         0x3390, N, N),
217862306a36Sopenharmony_ci	PINGROUP(sdmmc3_cmd_pa7,       UARTA,        PWM3,         SDMMC3,       SPI2,         0x3394, N, N),
217962306a36Sopenharmony_ci	PINGROUP(gmi_a17_pb0,          UARTD,        SPI4,         GMI,          DTV,          0x3234, N, N),
218062306a36Sopenharmony_ci	PINGROUP(gmi_a18_pb1,          UARTD,        SPI4,         GMI,          DTV,          0x3238, N, N),
218162306a36Sopenharmony_ci	PINGROUP(lcd_pwr0_pb2,         DISPLAYA,     DISPLAYB,     SPI5,         HDCP,         0x3090, N, N),
218262306a36Sopenharmony_ci	PINGROUP(lcd_pclk_pb3,         DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x3094, N, N),
218362306a36Sopenharmony_ci	PINGROUP(sdmmc3_dat3_pb4,      RSVD1,        PWM0,         SDMMC3,       SPI3,         0x33a4, N, N),
218462306a36Sopenharmony_ci	PINGROUP(sdmmc3_dat2_pb5,      RSVD1,        PWM1,         SDMMC3,       SPI3,         0x33a0, N, N),
218562306a36Sopenharmony_ci	PINGROUP(sdmmc3_dat1_pb6,      RSVD1,        RSVD2,        SDMMC3,       SPI3,         0x339c, N, N),
218662306a36Sopenharmony_ci	PINGROUP(sdmmc3_dat0_pb7,      RSVD1,        RSVD2,        SDMMC3,       SPI3,         0x3398, N, N),
218762306a36Sopenharmony_ci	PINGROUP(uart3_rts_n_pc0,      UARTC,        PWM0,         GMI,          RSVD4,        0x3180, N, N),
218862306a36Sopenharmony_ci	PINGROUP(lcd_pwr1_pc1,         DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x3070, N, N),
218962306a36Sopenharmony_ci	PINGROUP(uart2_txd_pc2,        UARTB,        SPDIF,        UARTA,        SPI4,         0x3168, N, N),
219062306a36Sopenharmony_ci	PINGROUP(uart2_rxd_pc3,        UARTB,        SPDIF,        UARTA,        SPI4,         0x3164, N, N),
219162306a36Sopenharmony_ci	PINGROUP(gen1_i2c_scl_pc4,     I2C1,         RSVD2,        RSVD3,        RSVD4,        0x31a4, Y, N),
219262306a36Sopenharmony_ci	PINGROUP(gen1_i2c_sda_pc5,     I2C1,         RSVD2,        RSVD3,        RSVD4,        0x31a0, Y, N),
219362306a36Sopenharmony_ci	PINGROUP(lcd_pwr2_pc6,         DISPLAYA,     DISPLAYB,     SPI5,         HDCP,         0x3074, N, N),
219462306a36Sopenharmony_ci	PINGROUP(gmi_wp_n_pc7,         RSVD1,        NAND,         GMI,          GMI_ALT,      0x31c0, N, N),
219562306a36Sopenharmony_ci	PINGROUP(sdmmc3_dat5_pd0,      PWM0,         SPI4,         SDMMC3,       SPI2,         0x33ac, N, N),
219662306a36Sopenharmony_ci	PINGROUP(sdmmc3_dat4_pd1,      PWM1,         SPI4,         SDMMC3,       SPI2,         0x33a8, N, N),
219762306a36Sopenharmony_ci	PINGROUP(lcd_dc1_pd2,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x310c, N, N),
219862306a36Sopenharmony_ci	PINGROUP(sdmmc3_dat6_pd3,      SPDIF,        SPI4,         SDMMC3,       SPI2,         0x33b0, N, N),
219962306a36Sopenharmony_ci	PINGROUP(sdmmc3_dat7_pd4,      SPDIF,        SPI4,         SDMMC3,       SPI2,         0x33b4, N, N),
220062306a36Sopenharmony_ci	PINGROUP(vi_d1_pd5,            DDR,          SDMMC2,       VI,           RSVD4,        0x3128, N, Y),
220162306a36Sopenharmony_ci	PINGROUP(vi_vsync_pd6,         DDR,          RSVD2,        VI,           RSVD4,        0x315c, N, Y),
220262306a36Sopenharmony_ci	PINGROUP(vi_hsync_pd7,         DDR,          RSVD2,        VI,           RSVD4,        0x3160, N, Y),
220362306a36Sopenharmony_ci	PINGROUP(lcd_d0_pe0,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30a4, N, N),
220462306a36Sopenharmony_ci	PINGROUP(lcd_d1_pe1,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30a8, N, N),
220562306a36Sopenharmony_ci	PINGROUP(lcd_d2_pe2,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30ac, N, N),
220662306a36Sopenharmony_ci	PINGROUP(lcd_d3_pe3,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30b0, N, N),
220762306a36Sopenharmony_ci	PINGROUP(lcd_d4_pe4,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30b4, N, N),
220862306a36Sopenharmony_ci	PINGROUP(lcd_d5_pe5,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30b8, N, N),
220962306a36Sopenharmony_ci	PINGROUP(lcd_d6_pe6,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30bc, N, N),
221062306a36Sopenharmony_ci	PINGROUP(lcd_d7_pe7,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30c0, N, N),
221162306a36Sopenharmony_ci	PINGROUP(lcd_d8_pf0,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30c4, N, N),
221262306a36Sopenharmony_ci	PINGROUP(lcd_d9_pf1,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30c8, N, N),
221362306a36Sopenharmony_ci	PINGROUP(lcd_d10_pf2,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30cc, N, N),
221462306a36Sopenharmony_ci	PINGROUP(lcd_d11_pf3,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30d0, N, N),
221562306a36Sopenharmony_ci	PINGROUP(lcd_d12_pf4,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30d4, N, N),
221662306a36Sopenharmony_ci	PINGROUP(lcd_d13_pf5,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30d8, N, N),
221762306a36Sopenharmony_ci	PINGROUP(lcd_d14_pf6,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30dc, N, N),
221862306a36Sopenharmony_ci	PINGROUP(lcd_d15_pf7,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30e0, N, N),
221962306a36Sopenharmony_ci	PINGROUP(gmi_ad0_pg0,          RSVD1,        NAND,         GMI,          RSVD4,        0x31f0, N, N),
222062306a36Sopenharmony_ci	PINGROUP(gmi_ad1_pg1,          RSVD1,        NAND,         GMI,          RSVD4,        0x31f4, N, N),
222162306a36Sopenharmony_ci	PINGROUP(gmi_ad2_pg2,          RSVD1,        NAND,         GMI,          RSVD4,        0x31f8, N, N),
222262306a36Sopenharmony_ci	PINGROUP(gmi_ad3_pg3,          RSVD1,        NAND,         GMI,          RSVD4,        0x31fc, N, N),
222362306a36Sopenharmony_ci	PINGROUP(gmi_ad4_pg4,          RSVD1,        NAND,         GMI,          RSVD4,        0x3200, N, N),
222462306a36Sopenharmony_ci	PINGROUP(gmi_ad5_pg5,          RSVD1,        NAND,         GMI,          RSVD4,        0x3204, N, N),
222562306a36Sopenharmony_ci	PINGROUP(gmi_ad6_pg6,          RSVD1,        NAND,         GMI,          RSVD4,        0x3208, N, N),
222662306a36Sopenharmony_ci	PINGROUP(gmi_ad7_pg7,          RSVD1,        NAND,         GMI,          RSVD4,        0x320c, N, N),
222762306a36Sopenharmony_ci	PINGROUP(gmi_ad8_ph0,          PWM0,         NAND,         GMI,          RSVD4,        0x3210, N, N),
222862306a36Sopenharmony_ci	PINGROUP(gmi_ad9_ph1,          PWM1,         NAND,         GMI,          RSVD4,        0x3214, N, N),
222962306a36Sopenharmony_ci	PINGROUP(gmi_ad10_ph2,         PWM2,         NAND,         GMI,          RSVD4,        0x3218, N, N),
223062306a36Sopenharmony_ci	PINGROUP(gmi_ad11_ph3,         PWM3,         NAND,         GMI,          RSVD4,        0x321c, N, N),
223162306a36Sopenharmony_ci	PINGROUP(gmi_ad12_ph4,         RSVD1,        NAND,         GMI,          RSVD4,        0x3220, N, N),
223262306a36Sopenharmony_ci	PINGROUP(gmi_ad13_ph5,         RSVD1,        NAND,         GMI,          RSVD4,        0x3224, N, N),
223362306a36Sopenharmony_ci	PINGROUP(gmi_ad14_ph6,         RSVD1,        NAND,         GMI,          RSVD4,        0x3228, N, N),
223462306a36Sopenharmony_ci	PINGROUP(gmi_ad15_ph7,         RSVD1,        NAND,         GMI,          RSVD4,        0x322c, N, N),
223562306a36Sopenharmony_ci	PINGROUP(gmi_wr_n_pi0,         RSVD1,        NAND,         GMI,          RSVD4,        0x3240, N, N),
223662306a36Sopenharmony_ci	PINGROUP(gmi_oe_n_pi1,         RSVD1,        NAND,         GMI,          RSVD4,        0x3244, N, N),
223762306a36Sopenharmony_ci	PINGROUP(gmi_dqs_pi2,          RSVD1,        NAND,         GMI,          RSVD4,        0x3248, N, N),
223862306a36Sopenharmony_ci	PINGROUP(gmi_cs6_n_pi3,        NAND,         NAND_ALT,     GMI,          SATA,         0x31e8, N, N),
223962306a36Sopenharmony_ci	PINGROUP(gmi_rst_n_pi4,        NAND,         NAND_ALT,     GMI,          RSVD4,        0x324c, N, N),
224062306a36Sopenharmony_ci	PINGROUP(gmi_iordy_pi5,        RSVD1,        NAND,         GMI,          RSVD4,        0x31c4, N, N),
224162306a36Sopenharmony_ci	PINGROUP(gmi_cs7_n_pi6,        NAND,         NAND_ALT,     GMI,          GMI_ALT,      0x31ec, N, N),
224262306a36Sopenharmony_ci	PINGROUP(gmi_wait_pi7,         RSVD1,        NAND,         GMI,          RSVD4,        0x31c8, N, N),
224362306a36Sopenharmony_ci	PINGROUP(gmi_cs0_n_pj0,        RSVD1,        NAND,         GMI,          DTV,          0x31d4, N, N),
224462306a36Sopenharmony_ci	PINGROUP(lcd_de_pj1,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x3098, N, N),
224562306a36Sopenharmony_ci	PINGROUP(gmi_cs1_n_pj2,        RSVD1,        NAND,         GMI,          DTV,          0x31d8, N, N),
224662306a36Sopenharmony_ci	PINGROUP(lcd_hsync_pj3,        DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x309c, N, N),
224762306a36Sopenharmony_ci	PINGROUP(lcd_vsync_pj4,        DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30a0, N, N),
224862306a36Sopenharmony_ci	PINGROUP(uart2_cts_n_pj5,      UARTA,        UARTB,        GMI,          SPI4,         0x3170, N, N),
224962306a36Sopenharmony_ci	PINGROUP(uart2_rts_n_pj6,      UARTA,        UARTB,        GMI,          SPI4,         0x316c, N, N),
225062306a36Sopenharmony_ci	PINGROUP(gmi_a16_pj7,          UARTD,        SPI4,         GMI,          GMI_ALT,      0x3230, N, N),
225162306a36Sopenharmony_ci	PINGROUP(gmi_adv_n_pk0,        RSVD1,        NAND,         GMI,          RSVD4,        0x31cc, N, N),
225262306a36Sopenharmony_ci	PINGROUP(gmi_clk_pk1,          RSVD1,        NAND,         GMI,          RSVD4,        0x31d0, N, N),
225362306a36Sopenharmony_ci	PINGROUP(gmi_cs4_n_pk2,        RSVD1,        NAND,         GMI,          RSVD4,        0x31e4, N, N),
225462306a36Sopenharmony_ci	PINGROUP(gmi_cs2_n_pk3,        RSVD1,        NAND,         GMI,          RSVD4,        0x31dc, N, N),
225562306a36Sopenharmony_ci	PINGROUP(gmi_cs3_n_pk4,        RSVD1,        NAND,         GMI,          GMI_ALT,      0x31e0, N, N),
225662306a36Sopenharmony_ci	PINGROUP(spdif_out_pk5,        SPDIF,        RSVD2,        I2C1,         SDMMC2,       0x3354, N, N),
225762306a36Sopenharmony_ci	PINGROUP(spdif_in_pk6,         SPDIF,        HDA,          I2C1,         SDMMC2,       0x3350, N, N),
225862306a36Sopenharmony_ci	PINGROUP(gmi_a19_pk7,          UARTD,        SPI4,         GMI,          RSVD4,        0x323c, N, N),
225962306a36Sopenharmony_ci	PINGROUP(vi_d2_pl0,            DDR,          SDMMC2,       VI,           RSVD4,        0x312c, N, Y),
226062306a36Sopenharmony_ci	PINGROUP(vi_d3_pl1,            DDR,          SDMMC2,       VI,           RSVD4,        0x3130, N, Y),
226162306a36Sopenharmony_ci	PINGROUP(vi_d4_pl2,            DDR,          SDMMC2,       VI,           RSVD4,        0x3134, N, Y),
226262306a36Sopenharmony_ci	PINGROUP(vi_d5_pl3,            DDR,          SDMMC2,       VI,           RSVD4,        0x3138, N, Y),
226362306a36Sopenharmony_ci	PINGROUP(vi_d6_pl4,            DDR,          SDMMC2,       VI,           RSVD4,        0x313c, N, Y),
226462306a36Sopenharmony_ci	PINGROUP(vi_d7_pl5,            DDR,          SDMMC2,       VI,           RSVD4,        0x3140, N, Y),
226562306a36Sopenharmony_ci	PINGROUP(vi_d8_pl6,            DDR,          SDMMC2,       VI,           RSVD4,        0x3144, N, Y),
226662306a36Sopenharmony_ci	PINGROUP(vi_d9_pl7,            DDR,          SDMMC2,       VI,           RSVD4,        0x3148, N, Y),
226762306a36Sopenharmony_ci	PINGROUP(lcd_d16_pm0,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30e4, N, N),
226862306a36Sopenharmony_ci	PINGROUP(lcd_d17_pm1,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30e8, N, N),
226962306a36Sopenharmony_ci	PINGROUP(lcd_d18_pm2,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30ec, N, N),
227062306a36Sopenharmony_ci	PINGROUP(lcd_d19_pm3,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30f0, N, N),
227162306a36Sopenharmony_ci	PINGROUP(lcd_d20_pm4,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30f4, N, N),
227262306a36Sopenharmony_ci	PINGROUP(lcd_d21_pm5,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30f8, N, N),
227362306a36Sopenharmony_ci	PINGROUP(lcd_d22_pm6,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x30fc, N, N),
227462306a36Sopenharmony_ci	PINGROUP(lcd_d23_pm7,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x3100, N, N),
227562306a36Sopenharmony_ci	PINGROUP(dap1_fs_pn0,          I2S0,         HDA,          GMI,          SDMMC2,       0x3338, N, N),
227662306a36Sopenharmony_ci	PINGROUP(dap1_din_pn1,         I2S0,         HDA,          GMI,          SDMMC2,       0x333c, N, N),
227762306a36Sopenharmony_ci	PINGROUP(dap1_dout_pn2,        I2S0,         HDA,          GMI,          SDMMC2,       0x3340, N, N),
227862306a36Sopenharmony_ci	PINGROUP(dap1_sclk_pn3,        I2S0,         HDA,          GMI,          SDMMC2,       0x3344, N, N),
227962306a36Sopenharmony_ci	PINGROUP(lcd_cs0_n_pn4,        DISPLAYA,     DISPLAYB,     SPI5,         RSVD4,        0x3084, N, N),
228062306a36Sopenharmony_ci	PINGROUP(lcd_sdout_pn5,        DISPLAYA,     DISPLAYB,     SPI5,         HDCP,         0x307c, N, N),
228162306a36Sopenharmony_ci	PINGROUP(lcd_dc0_pn6,          DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x3088, N, N),
228262306a36Sopenharmony_ci	PINGROUP(hdmi_int_pn7,         HDMI,         RSVD2,        RSVD3,        RSVD4,        0x3110, N, N),
228362306a36Sopenharmony_ci	PINGROUP(ulpi_data7_po0,       SPI2,         HSI,          UARTA,        ULPI,         0x301c, N, N),
228462306a36Sopenharmony_ci	PINGROUP(ulpi_data0_po1,       SPI3,         HSI,          UARTA,        ULPI,         0x3000, N, N),
228562306a36Sopenharmony_ci	PINGROUP(ulpi_data1_po2,       SPI3,         HSI,          UARTA,        ULPI,         0x3004, N, N),
228662306a36Sopenharmony_ci	PINGROUP(ulpi_data2_po3,       SPI3,         HSI,          UARTA,        ULPI,         0x3008, N, N),
228762306a36Sopenharmony_ci	PINGROUP(ulpi_data3_po4,       SPI3,         HSI,          UARTA,        ULPI,         0x300c, N, N),
228862306a36Sopenharmony_ci	PINGROUP(ulpi_data4_po5,       SPI2,         HSI,          UARTA,        ULPI,         0x3010, N, N),
228962306a36Sopenharmony_ci	PINGROUP(ulpi_data5_po6,       SPI2,         HSI,          UARTA,        ULPI,         0x3014, N, N),
229062306a36Sopenharmony_ci	PINGROUP(ulpi_data6_po7,       SPI2,         HSI,          UARTA,        ULPI,         0x3018, N, N),
229162306a36Sopenharmony_ci	PINGROUP(dap3_fs_pp0,          I2S2,         RSVD2,        DISPLAYA,     DISPLAYB,     0x3030, N, N),
229262306a36Sopenharmony_ci	PINGROUP(dap3_din_pp1,         I2S2,         RSVD2,        DISPLAYA,     DISPLAYB,     0x3034, N, N),
229362306a36Sopenharmony_ci	PINGROUP(dap3_dout_pp2,        I2S2,         RSVD2,        DISPLAYA,     DISPLAYB,     0x3038, N, N),
229462306a36Sopenharmony_ci	PINGROUP(dap3_sclk_pp3,        I2S2,         RSVD2,        DISPLAYA,     DISPLAYB,     0x303c, N, N),
229562306a36Sopenharmony_ci	PINGROUP(dap4_fs_pp4,          I2S3,         RSVD2,        GMI,          RSVD4,        0x31a8, N, N),
229662306a36Sopenharmony_ci	PINGROUP(dap4_din_pp5,         I2S3,         RSVD2,        GMI,          RSVD4,        0x31ac, N, N),
229762306a36Sopenharmony_ci	PINGROUP(dap4_dout_pp6,        I2S3,         RSVD2,        GMI,          RSVD4,        0x31b0, N, N),
229862306a36Sopenharmony_ci	PINGROUP(dap4_sclk_pp7,        I2S3,         RSVD2,        GMI,          RSVD4,        0x31b4, N, N),
229962306a36Sopenharmony_ci	PINGROUP(kb_col0_pq0,          KBC,          NAND,         TRACE,        TEST,         0x32fc, N, N),
230062306a36Sopenharmony_ci	PINGROUP(kb_col1_pq1,          KBC,          NAND,         TRACE,        TEST,         0x3300, N, N),
230162306a36Sopenharmony_ci	PINGROUP(kb_col2_pq2,          KBC,          NAND,         TRACE,        RSVD4,        0x3304, N, N),
230262306a36Sopenharmony_ci	PINGROUP(kb_col3_pq3,          KBC,          NAND,         TRACE,        RSVD4,        0x3308, N, N),
230362306a36Sopenharmony_ci	PINGROUP(kb_col4_pq4,          KBC,          NAND,         TRACE,        RSVD4,        0x330c, N, N),
230462306a36Sopenharmony_ci	PINGROUP(kb_col5_pq5,          KBC,          NAND,         TRACE,        RSVD4,        0x3310, N, N),
230562306a36Sopenharmony_ci	PINGROUP(kb_col6_pq6,          KBC,          NAND,         TRACE,        MIO,          0x3314, N, N),
230662306a36Sopenharmony_ci	PINGROUP(kb_col7_pq7,          KBC,          NAND,         TRACE,        MIO,          0x3318, N, N),
230762306a36Sopenharmony_ci	PINGROUP(kb_row0_pr0,          KBC,          NAND,         RSVD3,        RSVD4,        0x32bc, N, N),
230862306a36Sopenharmony_ci	PINGROUP(kb_row1_pr1,          KBC,          NAND,         RSVD3,        RSVD4,        0x32c0, N, N),
230962306a36Sopenharmony_ci	PINGROUP(kb_row2_pr2,          KBC,          NAND,         RSVD3,        RSVD4,        0x32c4, N, N),
231062306a36Sopenharmony_ci	PINGROUP(kb_row3_pr3,          KBC,          NAND,         RSVD3,        INVALID,      0x32c8, N, N),
231162306a36Sopenharmony_ci	PINGROUP(kb_row4_pr4,          KBC,          NAND,         TRACE,        RSVD4,        0x32cc, N, N),
231262306a36Sopenharmony_ci	PINGROUP(kb_row5_pr5,          KBC,          NAND,         TRACE,        OWR,          0x32d0, N, N),
231362306a36Sopenharmony_ci	PINGROUP(kb_row6_pr6,          KBC,          NAND,         SDMMC2,       MIO,          0x32d4, N, N),
231462306a36Sopenharmony_ci	PINGROUP(kb_row7_pr7,          KBC,          NAND,         SDMMC2,       MIO,          0x32d8, N, N),
231562306a36Sopenharmony_ci	PINGROUP(kb_row8_ps0,          KBC,          NAND,         SDMMC2,       MIO,          0x32dc, N, N),
231662306a36Sopenharmony_ci	PINGROUP(kb_row9_ps1,          KBC,          NAND,         SDMMC2,       MIO,          0x32e0, N, N),
231762306a36Sopenharmony_ci	PINGROUP(kb_row10_ps2,         KBC,          NAND,         SDMMC2,       MIO,          0x32e4, N, N),
231862306a36Sopenharmony_ci	PINGROUP(kb_row11_ps3,         KBC,          NAND,         SDMMC2,       MIO,          0x32e8, N, N),
231962306a36Sopenharmony_ci	PINGROUP(kb_row12_ps4,         KBC,          NAND,         SDMMC2,       MIO,          0x32ec, N, N),
232062306a36Sopenharmony_ci	PINGROUP(kb_row13_ps5,         KBC,          NAND,         SDMMC2,       MIO,          0x32f0, N, N),
232162306a36Sopenharmony_ci	PINGROUP(kb_row14_ps6,         KBC,          NAND,         SDMMC2,       MIO,          0x32f4, N, N),
232262306a36Sopenharmony_ci	PINGROUP(kb_row15_ps7,         KBC,          NAND,         SDMMC2,       MIO,          0x32f8, N, N),
232362306a36Sopenharmony_ci	PINGROUP(vi_pclk_pt0,          RSVD1,        SDMMC2,       VI,           RSVD4,        0x3154, N, Y),
232462306a36Sopenharmony_ci	PINGROUP(vi_mclk_pt1,          VI,           VI_ALT1,      VI_ALT2,      VI_ALT3,      0x3158, N, Y),
232562306a36Sopenharmony_ci	PINGROUP(vi_d10_pt2,           DDR,          RSVD2,        VI,           RSVD4,        0x314c, N, Y),
232662306a36Sopenharmony_ci	PINGROUP(vi_d11_pt3,           DDR,          RSVD2,        VI,           RSVD4,        0x3150, N, Y),
232762306a36Sopenharmony_ci	PINGROUP(vi_d0_pt4,            DDR,          RSVD2,        VI,           RSVD4,        0x3124, N, Y),
232862306a36Sopenharmony_ci	PINGROUP(gen2_i2c_scl_pt5,     I2C2,         HDCP,         GMI,          RSVD4,        0x3250, Y, N),
232962306a36Sopenharmony_ci	PINGROUP(gen2_i2c_sda_pt6,     I2C2,         HDCP,         GMI,          RSVD4,        0x3254, Y, N),
233062306a36Sopenharmony_ci	PINGROUP(sdmmc4_cmd_pt7,       I2C3,         NAND,         GMI,          SDMMC4,       0x325c, N, Y),
233162306a36Sopenharmony_ci	PINGROUP(pu0,                  OWR,          UARTA,        GMI,          RSVD4,        0x3184, N, N),
233262306a36Sopenharmony_ci	PINGROUP(pu1,                  RSVD1,        UARTA,        GMI,          RSVD4,        0x3188, N, N),
233362306a36Sopenharmony_ci	PINGROUP(pu2,                  RSVD1,        UARTA,        GMI,          RSVD4,        0x318c, N, N),
233462306a36Sopenharmony_ci	PINGROUP(pu3,                  PWM0,         UARTA,        GMI,          RSVD4,        0x3190, N, N),
233562306a36Sopenharmony_ci	PINGROUP(pu4,                  PWM1,         UARTA,        GMI,          RSVD4,        0x3194, N, N),
233662306a36Sopenharmony_ci	PINGROUP(pu5,                  PWM2,         UARTA,        GMI,          RSVD4,        0x3198, N, N),
233762306a36Sopenharmony_ci	PINGROUP(pu6,                  PWM3,         UARTA,        GMI,          RSVD4,        0x319c, N, N),
233862306a36Sopenharmony_ci	PINGROUP(jtag_rtck_pu7,        RTCK,         RSVD2,        RSVD3,        RSVD4,        0x32b0, N, N),
233962306a36Sopenharmony_ci	PINGROUP(pv0,                  RSVD1,        RSVD2,        RSVD3,        RSVD4,        0x3040, N, N),
234062306a36Sopenharmony_ci	PINGROUP(pv1,                  RSVD1,        RSVD2,        RSVD3,        RSVD4,        0x3044, N, N),
234162306a36Sopenharmony_ci	PINGROUP(pv2,                  OWR,          RSVD2,        RSVD3,        RSVD4,        0x3060, N, N),
234262306a36Sopenharmony_ci	PINGROUP(pv3,                  CLK_12M_OUT,  RSVD2,        RSVD3,        RSVD4,        0x3064, N, N),
234362306a36Sopenharmony_ci	PINGROUP(ddc_scl_pv4,          I2C4,         RSVD2,        RSVD3,        RSVD4,        0x3114, N, N),
234462306a36Sopenharmony_ci	PINGROUP(ddc_sda_pv5,          I2C4,         RSVD2,        RSVD3,        RSVD4,        0x3118, N, N),
234562306a36Sopenharmony_ci	PINGROUP(crt_hsync_pv6,        CRT,          RSVD2,        RSVD3,        RSVD4,        0x311c, N, N),
234662306a36Sopenharmony_ci	PINGROUP(crt_vsync_pv7,        CRT,          RSVD2,        RSVD3,        RSVD4,        0x3120, N, N),
234762306a36Sopenharmony_ci	PINGROUP(lcd_cs1_n_pw0,        DISPLAYA,     DISPLAYB,     SPI5,         RSVD4,        0x3104, N, N),
234862306a36Sopenharmony_ci	PINGROUP(lcd_m1_pw1,           DISPLAYA,     DISPLAYB,     RSVD3,        RSVD4,        0x3108, N, N),
234962306a36Sopenharmony_ci	PINGROUP(spi2_cs1_n_pw2,       SPI3,         SPI2,         SPI2_ALT,     I2C1,         0x3388, N, N),
235062306a36Sopenharmony_ci	PINGROUP(spi2_cs2_n_pw3,       SPI3,         SPI2,         SPI2_ALT,     I2C1,         0x338c, N, N),
235162306a36Sopenharmony_ci	PINGROUP(clk1_out_pw4,         EXTPERIPH1,   RSVD2,        RSVD3,        RSVD4,        0x334c, N, N),
235262306a36Sopenharmony_ci	PINGROUP(clk2_out_pw5,         EXTPERIPH2,   RSVD2,        RSVD3,        RSVD4,        0x3068, N, N),
235362306a36Sopenharmony_ci	PINGROUP(uart3_txd_pw6,        UARTC,        RSVD2,        GMI,          RSVD4,        0x3174, N, N),
235462306a36Sopenharmony_ci	PINGROUP(uart3_rxd_pw7,        UARTC,        RSVD2,        GMI,          RSVD4,        0x3178, N, N),
235562306a36Sopenharmony_ci	PINGROUP(spi2_mosi_px0,        SPI6,         SPI2,         SPI3,         GMI,          0x3368, N, N),
235662306a36Sopenharmony_ci	PINGROUP(spi2_miso_px1,        SPI6,         SPI2,         SPI3,         GMI,          0x336c, N, N),
235762306a36Sopenharmony_ci	PINGROUP(spi2_sck_px2,         SPI6,         SPI2,         SPI3,         GMI,          0x3374, N, N),
235862306a36Sopenharmony_ci	PINGROUP(spi2_cs0_n_px3,       SPI6,         SPI2,         SPI3,         GMI,          0x3370, N, N),
235962306a36Sopenharmony_ci	PINGROUP(spi1_mosi_px4,        SPI2,         SPI1,         SPI2_ALT,     GMI,          0x3378, N, N),
236062306a36Sopenharmony_ci	PINGROUP(spi1_sck_px5,         SPI2,         SPI1,         SPI2_ALT,     GMI,          0x337c, N, N),
236162306a36Sopenharmony_ci	PINGROUP(spi1_cs0_n_px6,       SPI2,         SPI1,         SPI2_ALT,     GMI,          0x3380, N, N),
236262306a36Sopenharmony_ci	PINGROUP(spi1_miso_px7,        SPI3,         SPI1,         SPI2_ALT,     RSVD4,        0x3384, N, N),
236362306a36Sopenharmony_ci	PINGROUP(ulpi_clk_py0,         SPI1,         RSVD2,        UARTD,        ULPI,         0x3020, N, N),
236462306a36Sopenharmony_ci	PINGROUP(ulpi_dir_py1,         SPI1,         RSVD2,        UARTD,        ULPI,         0x3024, N, N),
236562306a36Sopenharmony_ci	PINGROUP(ulpi_nxt_py2,         SPI1,         RSVD2,        UARTD,        ULPI,         0x3028, N, N),
236662306a36Sopenharmony_ci	PINGROUP(ulpi_stp_py3,         SPI1,         RSVD2,        UARTD,        ULPI,         0x302c, N, N),
236762306a36Sopenharmony_ci	PINGROUP(sdmmc1_dat3_py4,      SDMMC1,       RSVD2,        UARTE,        UARTA,        0x3050, N, N),
236862306a36Sopenharmony_ci	PINGROUP(sdmmc1_dat2_py5,      SDMMC1,       RSVD2,        UARTE,        UARTA,        0x3054, N, N),
236962306a36Sopenharmony_ci	PINGROUP(sdmmc1_dat1_py6,      SDMMC1,       RSVD2,        UARTE,        UARTA,        0x3058, N, N),
237062306a36Sopenharmony_ci	PINGROUP(sdmmc1_dat0_py7,      SDMMC1,       RSVD2,        UARTE,        UARTA,        0x305c, N, N),
237162306a36Sopenharmony_ci	PINGROUP(sdmmc1_clk_pz0,       SDMMC1,       RSVD2,        RSVD3,        UARTA,        0x3048, N, N),
237262306a36Sopenharmony_ci	PINGROUP(sdmmc1_cmd_pz1,       SDMMC1,       RSVD2,        RSVD3,        UARTA,        0x304c, N, N),
237362306a36Sopenharmony_ci	PINGROUP(lcd_sdin_pz2,         DISPLAYA,     DISPLAYB,     SPI5,         RSVD4,        0x3078, N, N),
237462306a36Sopenharmony_ci	PINGROUP(lcd_wr_n_pz3,         DISPLAYA,     DISPLAYB,     SPI5,         HDCP,         0x3080, N, N),
237562306a36Sopenharmony_ci	PINGROUP(lcd_sck_pz4,          DISPLAYA,     DISPLAYB,     SPI5,         HDCP,         0x308c, N, N),
237662306a36Sopenharmony_ci	PINGROUP(sys_clk_req_pz5,      SYSCLK,       RSVD2,        RSVD3,        RSVD4,        0x3320, N, N),
237762306a36Sopenharmony_ci	PINGROUP(pwr_i2c_scl_pz6,      I2CPWR,       RSVD2,        RSVD3,        RSVD4,        0x32b4, Y, N),
237862306a36Sopenharmony_ci	PINGROUP(pwr_i2c_sda_pz7,      I2CPWR,       RSVD2,        RSVD3,        RSVD4,        0x32b8, Y, N),
237962306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat0_paa0,     UARTE,        SPI3,         GMI,          SDMMC4,       0x3260, N, Y),
238062306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat1_paa1,     UARTE,        SPI3,         GMI,          SDMMC4,       0x3264, N, Y),
238162306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat2_paa2,     UARTE,        SPI3,         GMI,          SDMMC4,       0x3268, N, Y),
238262306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat3_paa3,     UARTE,        SPI3,         GMI,          SDMMC4,       0x326c, N, Y),
238362306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat4_paa4,     I2C3,         I2S4,         GMI,          SDMMC4,       0x3270, N, Y),
238462306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat5_paa5,     VGP3,         I2S4,         GMI,          SDMMC4,       0x3274, N, Y),
238562306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat6_paa6,     VGP4,         I2S4,         GMI,          SDMMC4,       0x3278, N, Y),
238662306a36Sopenharmony_ci	PINGROUP(sdmmc4_dat7_paa7,     VGP5,         I2S4,         GMI,          SDMMC4,       0x327c, N, Y),
238762306a36Sopenharmony_ci	PINGROUP(pbb0,                 I2S4,         RSVD2,        RSVD3,        SDMMC4,       0x328c, N, N),
238862306a36Sopenharmony_ci	PINGROUP(cam_i2c_scl_pbb1,     VGP1,         I2C3,         RSVD3,        SDMMC4,       0x3290, Y, N),
238962306a36Sopenharmony_ci	PINGROUP(cam_i2c_sda_pbb2,     VGP2,         I2C3,         RSVD3,        SDMMC4,       0x3294, Y, N),
239062306a36Sopenharmony_ci	PINGROUP(pbb3,                 VGP3,         DISPLAYA,     DISPLAYB,     SDMMC4,       0x3298, N, N),
239162306a36Sopenharmony_ci	PINGROUP(pbb4,                 VGP4,         DISPLAYA,     DISPLAYB,     SDMMC4,       0x329c, N, N),
239262306a36Sopenharmony_ci	PINGROUP(pbb5,                 VGP5,         DISPLAYA,     DISPLAYB,     SDMMC4,       0x32a0, N, N),
239362306a36Sopenharmony_ci	PINGROUP(pbb6,                 VGP6,         DISPLAYA,     DISPLAYB,     SDMMC4,       0x32a4, N, N),
239462306a36Sopenharmony_ci	PINGROUP(pbb7,                 I2S4,         RSVD2,        RSVD3,        SDMMC4,       0x32a8, N, N),
239562306a36Sopenharmony_ci	PINGROUP(cam_mclk_pcc0,        VI,           VI_ALT1,      VI_ALT3,      SDMMC4,       0x3284, N, N),
239662306a36Sopenharmony_ci	PINGROUP(pcc1,                 I2S4,         RSVD2,        RSVD3,        SDMMC4,       0x3288, N, N),
239762306a36Sopenharmony_ci	PINGROUP(pcc2,                 I2S4,         RSVD2,        RSVD3,        RSVD4,        0x32ac, N, N),
239862306a36Sopenharmony_ci	PINGROUP(sdmmc4_rst_n_pcc3,    VGP6,         RSVD2,        RSVD3,        SDMMC4,       0x3280, N, Y),
239962306a36Sopenharmony_ci	PINGROUP(sdmmc4_clk_pcc4,      INVALID,      NAND,         GMI,          SDMMC4,       0x3258, N, Y),
240062306a36Sopenharmony_ci	PINGROUP(clk2_req_pcc5,        DAP,          RSVD2,        RSVD3,        RSVD4,        0x306c, N, N),
240162306a36Sopenharmony_ci	PINGROUP(pex_l2_rst_n_pcc6,    PCIE,         HDA,          RSVD3,        RSVD4,        0x33d8, N, N),
240262306a36Sopenharmony_ci	PINGROUP(pex_l2_clkreq_n_pcc7, PCIE,         HDA,          RSVD3,        RSVD4,        0x33dc, N, N),
240362306a36Sopenharmony_ci	PINGROUP(pex_l0_prsnt_n_pdd0,  PCIE,         HDA,          RSVD3,        RSVD4,        0x33b8, N, N),
240462306a36Sopenharmony_ci	PINGROUP(pex_l0_rst_n_pdd1,    PCIE,         HDA,          RSVD3,        RSVD4,        0x33bc, N, N),
240562306a36Sopenharmony_ci	PINGROUP(pex_l0_clkreq_n_pdd2, PCIE,         HDA,          RSVD3,        RSVD4,        0x33c0, N, N),
240662306a36Sopenharmony_ci	PINGROUP(pex_wake_n_pdd3,      PCIE,         HDA,          RSVD3,        RSVD4,        0x33c4, N, N),
240762306a36Sopenharmony_ci	PINGROUP(pex_l1_prsnt_n_pdd4,  PCIE,         HDA,          RSVD3,        RSVD4,        0x33c8, N, N),
240862306a36Sopenharmony_ci	PINGROUP(pex_l1_rst_n_pdd5,    PCIE,         HDA,          RSVD3,        RSVD4,        0x33cc, N, N),
240962306a36Sopenharmony_ci	PINGROUP(pex_l1_clkreq_n_pdd6, PCIE,         HDA,          RSVD3,        RSVD4,        0x33d0, N, N),
241062306a36Sopenharmony_ci	PINGROUP(pex_l2_prsnt_n_pdd7,  PCIE,         HDA,          RSVD3,        RSVD4,        0x33d4, N, N),
241162306a36Sopenharmony_ci	PINGROUP(clk3_out_pee0,        EXTPERIPH3,   RSVD2,        RSVD3,        RSVD4,        0x31b8, N, N),
241262306a36Sopenharmony_ci	PINGROUP(clk3_req_pee1,        DEV3,         RSVD2,        RSVD3,        RSVD4,        0x31bc, N, N),
241362306a36Sopenharmony_ci	PINGROUP(clk1_req_pee2,        DAP,          HDA,          RSVD3,        RSVD4,        0x3348, N, N),
241462306a36Sopenharmony_ci	PINGROUP(hdmi_cec_pee3,        CEC,          RSVD2,        RSVD3,        RSVD4,        0x33e0, Y, N),
241562306a36Sopenharmony_ci	PINGROUP(clk_32k_in,           CLK_32K_IN,   RSVD2,        RSVD3,        RSVD4,        0x3330, N, N),
241662306a36Sopenharmony_ci	PINGROUP(core_pwr_req,         CORE_PWR_REQ, RSVD2,        RSVD3,        RSVD4,        0x3324, N, N),
241762306a36Sopenharmony_ci	PINGROUP(cpu_pwr_req,          CPU_PWR_REQ,  RSVD2,        RSVD3,        RSVD4,        0x3328, N, N),
241862306a36Sopenharmony_ci	PINGROUP(owr,                  OWR,          CEC,          RSVD3,        RSVD4,        0x3334, N, N),
241962306a36Sopenharmony_ci	PINGROUP(pwr_int_n,            PWR_INT_N,    RSVD2,        RSVD3,        RSVD4,        0x332c, N, N),
242062306a36Sopenharmony_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 */
242162306a36Sopenharmony_ci	DRV_PINGROUP(ao1,   0x868,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
242262306a36Sopenharmony_ci	DRV_PINGROUP(ao2,   0x86c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
242362306a36Sopenharmony_ci	DRV_PINGROUP(at1,   0x870,  2,  3,  4,  14,  5,  19,  5,  24,  2,  28,  2),
242462306a36Sopenharmony_ci	DRV_PINGROUP(at2,   0x874,  2,  3,  4,  14,  5,  19,  5,  24,  2,  28,  2),
242562306a36Sopenharmony_ci	DRV_PINGROUP(at3,   0x878,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
242662306a36Sopenharmony_ci	DRV_PINGROUP(at4,   0x87c,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
242762306a36Sopenharmony_ci	DRV_PINGROUP(at5,   0x880,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
242862306a36Sopenharmony_ci	DRV_PINGROUP(cdev1, 0x884,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
242962306a36Sopenharmony_ci	DRV_PINGROUP(cdev2, 0x888,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
243062306a36Sopenharmony_ci	DRV_PINGROUP(cec,   0x938,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
243162306a36Sopenharmony_ci	DRV_PINGROUP(crt,   0x8f8,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
243262306a36Sopenharmony_ci	DRV_PINGROUP(csus,  0x88c, -1, -1, -1,  12,  5,  19,  5,  24,  4,  28,  4),
243362306a36Sopenharmony_ci	DRV_PINGROUP(dap1,  0x890,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
243462306a36Sopenharmony_ci	DRV_PINGROUP(dap2,  0x894,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
243562306a36Sopenharmony_ci	DRV_PINGROUP(dap3,  0x898,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
243662306a36Sopenharmony_ci	DRV_PINGROUP(dap4,  0x89c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
243762306a36Sopenharmony_ci	DRV_PINGROUP(dbg,   0x8a0,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
243862306a36Sopenharmony_ci	DRV_PINGROUP(ddc,   0x8fc,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
243962306a36Sopenharmony_ci	DRV_PINGROUP(dev3,  0x92c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
244062306a36Sopenharmony_ci	DRV_PINGROUP(gma,   0x900, -1, -1, -1,  14,  5,  19,  5,  24,  4,  28,  4),
244162306a36Sopenharmony_ci	DRV_PINGROUP(gmb,   0x904, -1, -1, -1,  14,  5,  19,  5,  24,  4,  28,  4),
244262306a36Sopenharmony_ci	DRV_PINGROUP(gmc,   0x908, -1, -1, -1,  14,  5,  19,  5,  24,  4,  28,  4),
244362306a36Sopenharmony_ci	DRV_PINGROUP(gmd,   0x90c, -1, -1, -1,  14,  5,  19,  5,  24,  4,  28,  4),
244462306a36Sopenharmony_ci	DRV_PINGROUP(gme,   0x910,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
244562306a36Sopenharmony_ci	DRV_PINGROUP(gmf,   0x914,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
244662306a36Sopenharmony_ci	DRV_PINGROUP(gmg,   0x918,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
244762306a36Sopenharmony_ci	DRV_PINGROUP(gmh,   0x91c,  2,  3,  4,  14,  5,  19,  5,  28,  2,  30,  2),
244862306a36Sopenharmony_ci	DRV_PINGROUP(gpv,   0x928,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
244962306a36Sopenharmony_ci	DRV_PINGROUP(lcd1,  0x8a4,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
245062306a36Sopenharmony_ci	DRV_PINGROUP(lcd2,  0x8a8,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
245162306a36Sopenharmony_ci	DRV_PINGROUP(owr,   0x920,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
245262306a36Sopenharmony_ci	DRV_PINGROUP(sdio1, 0x8ec,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2),
245362306a36Sopenharmony_ci	DRV_PINGROUP(sdio2, 0x8ac,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2),
245462306a36Sopenharmony_ci	DRV_PINGROUP(sdio3, 0x8b0,  2,  3, -1,  12,  7,  20,  7,  28,  2,  30,  2),
245562306a36Sopenharmony_ci	DRV_PINGROUP(spi,   0x8b4,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
245662306a36Sopenharmony_ci	DRV_PINGROUP(uaa,   0x8b8,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
245762306a36Sopenharmony_ci	DRV_PINGROUP(uab,   0x8bc,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
245862306a36Sopenharmony_ci	DRV_PINGROUP(uart2, 0x8c0,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
245962306a36Sopenharmony_ci	DRV_PINGROUP(uart3, 0x8c4,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
246062306a36Sopenharmony_ci	DRV_PINGROUP(uda,   0x924,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2),
246162306a36Sopenharmony_ci	DRV_PINGROUP(vi1,   0x8c8, -1, -1, -1,  14,  5,  19,  5,  24,  4,  28,  4),
246262306a36Sopenharmony_ci};
246362306a36Sopenharmony_ci
246462306a36Sopenharmony_cistatic const struct tegra_pinctrl_soc_data tegra30_pinctrl = {
246562306a36Sopenharmony_ci	.ngpios = NUM_GPIOS,
246662306a36Sopenharmony_ci	.gpio_compatible = "nvidia,tegra30-gpio",
246762306a36Sopenharmony_ci	.pins = tegra30_pins,
246862306a36Sopenharmony_ci	.npins = ARRAY_SIZE(tegra30_pins),
246962306a36Sopenharmony_ci	.functions = tegra30_functions,
247062306a36Sopenharmony_ci	.nfunctions = ARRAY_SIZE(tegra30_functions),
247162306a36Sopenharmony_ci	.groups = tegra30_groups,
247262306a36Sopenharmony_ci	.ngroups = ARRAY_SIZE(tegra30_groups),
247362306a36Sopenharmony_ci	.hsm_in_mux = false,
247462306a36Sopenharmony_ci	.schmitt_in_mux = false,
247562306a36Sopenharmony_ci	.drvtype_in_mux = false,
247662306a36Sopenharmony_ci};
247762306a36Sopenharmony_ci
247862306a36Sopenharmony_cistatic int tegra30_pinctrl_probe(struct platform_device *pdev)
247962306a36Sopenharmony_ci{
248062306a36Sopenharmony_ci	return tegra_pinctrl_probe(pdev, &tegra30_pinctrl);
248162306a36Sopenharmony_ci}
248262306a36Sopenharmony_ci
248362306a36Sopenharmony_cistatic const struct of_device_id tegra30_pinctrl_of_match[] = {
248462306a36Sopenharmony_ci	{ .compatible = "nvidia,tegra30-pinmux", },
248562306a36Sopenharmony_ci	{ },
248662306a36Sopenharmony_ci};
248762306a36Sopenharmony_ci
248862306a36Sopenharmony_cistatic struct platform_driver tegra30_pinctrl_driver = {
248962306a36Sopenharmony_ci	.driver = {
249062306a36Sopenharmony_ci		.name = "tegra30-pinctrl",
249162306a36Sopenharmony_ci		.of_match_table = tegra30_pinctrl_of_match,
249262306a36Sopenharmony_ci	},
249362306a36Sopenharmony_ci	.probe = tegra30_pinctrl_probe,
249462306a36Sopenharmony_ci};
249562306a36Sopenharmony_ci
249662306a36Sopenharmony_cistatic int __init tegra30_pinctrl_init(void)
249762306a36Sopenharmony_ci{
249862306a36Sopenharmony_ci	return platform_driver_register(&tegra30_pinctrl_driver);
249962306a36Sopenharmony_ci}
250062306a36Sopenharmony_ciarch_initcall(tegra30_pinctrl_init);
2501