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