162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0+ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Pinctrl data for the NVIDIA Tegra194 pinmux 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved. 662306a36Sopenharmony_ci * 762306a36Sopenharmony_ci * This program is free software; you can redistribute it and/or modify it 862306a36Sopenharmony_ci * under the terms and conditions of the GNU General Public License, 962306a36Sopenharmony_ci * version 2, as published by the Free Software Foundation. 1062306a36Sopenharmony_ci * 1162306a36Sopenharmony_ci * This program is distributed in the hope it will be useful, but WITHOUT 1262306a36Sopenharmony_ci * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1362306a36Sopenharmony_ci * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 1462306a36Sopenharmony_ci * more details. 1562306a36Sopenharmony_ci */ 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci#include <linux/init.h> 1862306a36Sopenharmony_ci#include <linux/of.h> 1962306a36Sopenharmony_ci#include <linux/platform_device.h> 2062306a36Sopenharmony_ci#include <linux/pinctrl/pinctrl.h> 2162306a36Sopenharmony_ci#include <linux/pinctrl/pinmux.h> 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci#include "pinctrl-tegra.h" 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci/* Define unique ID for each pins */ 2662306a36Sopenharmony_cienum { 2762306a36Sopenharmony_ci TEGRA_PIN_DAP6_SCLK_PA0, 2862306a36Sopenharmony_ci TEGRA_PIN_DAP6_DOUT_PA1, 2962306a36Sopenharmony_ci TEGRA_PIN_DAP6_DIN_PA2, 3062306a36Sopenharmony_ci TEGRA_PIN_DAP6_FS_PA3, 3162306a36Sopenharmony_ci TEGRA_PIN_DAP4_SCLK_PA4, 3262306a36Sopenharmony_ci TEGRA_PIN_DAP4_DOUT_PA5, 3362306a36Sopenharmony_ci TEGRA_PIN_DAP4_DIN_PA6, 3462306a36Sopenharmony_ci TEGRA_PIN_DAP4_FS_PA7, 3562306a36Sopenharmony_ci TEGRA_PIN_CPU_PWR_REQ_0_PB0, 3662306a36Sopenharmony_ci TEGRA_PIN_CPU_PWR_REQ_1_PB1, 3762306a36Sopenharmony_ci TEGRA_PIN_QSPI0_SCK_PC0, 3862306a36Sopenharmony_ci TEGRA_PIN_QSPI0_CS_N_PC1, 3962306a36Sopenharmony_ci TEGRA_PIN_QSPI0_IO0_PC2, 4062306a36Sopenharmony_ci TEGRA_PIN_QSPI0_IO1_PC3, 4162306a36Sopenharmony_ci TEGRA_PIN_QSPI0_IO2_PC4, 4262306a36Sopenharmony_ci TEGRA_PIN_QSPI0_IO3_PC5, 4362306a36Sopenharmony_ci TEGRA_PIN_QSPI1_SCK_PC6, 4462306a36Sopenharmony_ci TEGRA_PIN_QSPI1_CS_N_PC7, 4562306a36Sopenharmony_ci TEGRA_PIN_QSPI1_IO0_PD0, 4662306a36Sopenharmony_ci TEGRA_PIN_QSPI1_IO1_PD1, 4762306a36Sopenharmony_ci TEGRA_PIN_QSPI1_IO2_PD2, 4862306a36Sopenharmony_ci TEGRA_PIN_QSPI1_IO3_PD3, 4962306a36Sopenharmony_ci TEGRA_PIN_EQOS_TXC_PE0, 5062306a36Sopenharmony_ci TEGRA_PIN_EQOS_TD0_PE1, 5162306a36Sopenharmony_ci TEGRA_PIN_EQOS_TD1_PE2, 5262306a36Sopenharmony_ci TEGRA_PIN_EQOS_TD2_PE3, 5362306a36Sopenharmony_ci TEGRA_PIN_EQOS_TD3_PE4, 5462306a36Sopenharmony_ci TEGRA_PIN_EQOS_TX_CTL_PE5, 5562306a36Sopenharmony_ci TEGRA_PIN_EQOS_RD0_PE6, 5662306a36Sopenharmony_ci TEGRA_PIN_EQOS_RD1_PE7, 5762306a36Sopenharmony_ci TEGRA_PIN_EQOS_RD2_PF0, 5862306a36Sopenharmony_ci TEGRA_PIN_EQOS_RD3_PF1, 5962306a36Sopenharmony_ci TEGRA_PIN_EQOS_RX_CTL_PF2, 6062306a36Sopenharmony_ci TEGRA_PIN_EQOS_RXC_PF3, 6162306a36Sopenharmony_ci TEGRA_PIN_EQOS_SMA_MDIO_PF4, 6262306a36Sopenharmony_ci TEGRA_PIN_EQOS_SMA_MDC_PF5, 6362306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO00_PG0, 6462306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO01_PG1, 6562306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO02_PG2, 6662306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO03_PG3, 6762306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO08_PG4, 6862306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO09_PG5, 6962306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO10_PG6, 7062306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO11_PG7, 7162306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO12_PH0, 7262306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO13_PH1, 7362306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO14_PH2, 7462306a36Sopenharmony_ci TEGRA_PIN_UART4_TX_PH3, 7562306a36Sopenharmony_ci TEGRA_PIN_UART4_RX_PH4, 7662306a36Sopenharmony_ci TEGRA_PIN_UART4_RTS_PH5, 7762306a36Sopenharmony_ci TEGRA_PIN_UART4_CTS_PH6, 7862306a36Sopenharmony_ci TEGRA_PIN_DAP2_SCLK_PH7, 7962306a36Sopenharmony_ci TEGRA_PIN_DAP2_DOUT_PI0, 8062306a36Sopenharmony_ci TEGRA_PIN_DAP2_DIN_PI1, 8162306a36Sopenharmony_ci TEGRA_PIN_DAP2_FS_PI2, 8262306a36Sopenharmony_ci TEGRA_PIN_GEN1_I2C_SCL_PI3, 8362306a36Sopenharmony_ci TEGRA_PIN_GEN1_I2C_SDA_PI4, 8462306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_CLK_PJ0, 8562306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_CMD_PJ1, 8662306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT0_PJ2, 8762306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT1_PJ3, 8862306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT2_PJ4, 8962306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT3_PJ5, 9062306a36Sopenharmony_ci TEGRA_PIN_PEX_L0_CLKREQ_N_PK0, 9162306a36Sopenharmony_ci TEGRA_PIN_PEX_L0_RST_N_PK1, 9262306a36Sopenharmony_ci TEGRA_PIN_PEX_L1_CLKREQ_N_PK2, 9362306a36Sopenharmony_ci TEGRA_PIN_PEX_L1_RST_N_PK3, 9462306a36Sopenharmony_ci TEGRA_PIN_PEX_L2_CLKREQ_N_PK4, 9562306a36Sopenharmony_ci TEGRA_PIN_PEX_L2_RST_N_PK5, 9662306a36Sopenharmony_ci TEGRA_PIN_PEX_L3_CLKREQ_N_PK6, 9762306a36Sopenharmony_ci TEGRA_PIN_PEX_L3_RST_N_PK7, 9862306a36Sopenharmony_ci TEGRA_PIN_PEX_L4_CLKREQ_N_PL0, 9962306a36Sopenharmony_ci TEGRA_PIN_PEX_L4_RST_N_PL1, 10062306a36Sopenharmony_ci TEGRA_PIN_PEX_WAKE_N_PL2, 10162306a36Sopenharmony_ci TEGRA_PIN_SATA_DEV_SLP_PL3, 10262306a36Sopenharmony_ci TEGRA_PIN_DP_AUX_CH0_HPD_PM0, 10362306a36Sopenharmony_ci TEGRA_PIN_DP_AUX_CH1_HPD_PM1, 10462306a36Sopenharmony_ci TEGRA_PIN_DP_AUX_CH2_HPD_PM2, 10562306a36Sopenharmony_ci TEGRA_PIN_DP_AUX_CH3_HPD_PM3, 10662306a36Sopenharmony_ci TEGRA_PIN_HDMI_CEC_PM4, 10762306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO50_PM5, 10862306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO51_PM6, 10962306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO52_PM7, 11062306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO53_PN0, 11162306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO54_PN1, 11262306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO55_PN2, 11362306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_CLK_PO0, 11462306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_CMD_PO1, 11562306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT0_PO2, 11662306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT1_PO3, 11762306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT2_PO4, 11862306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT3_PO5, 11962306a36Sopenharmony_ci TEGRA_PIN_EXTPERIPH1_CLK_PP0, 12062306a36Sopenharmony_ci TEGRA_PIN_EXTPERIPH2_CLK_PP1, 12162306a36Sopenharmony_ci TEGRA_PIN_CAM_I2C_SCL_PP2, 12262306a36Sopenharmony_ci TEGRA_PIN_CAM_I2C_SDA_PP3, 12362306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO04_PP4, 12462306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO05_PP5, 12562306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO06_PP6, 12662306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO07_PP7, 12762306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO20_PQ0, 12862306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO21_PQ1, 12962306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO22_PQ2, 13062306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO23_PQ3, 13162306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO40_PQ4, 13262306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO41_PQ5, 13362306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO42_PQ6, 13462306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO43_PQ7, 13562306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO44_PR0, 13662306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO45_PR1, 13762306a36Sopenharmony_ci TEGRA_PIN_UART1_TX_PR2, 13862306a36Sopenharmony_ci TEGRA_PIN_UART1_RX_PR3, 13962306a36Sopenharmony_ci TEGRA_PIN_UART1_RTS_PR4, 14062306a36Sopenharmony_ci TEGRA_PIN_UART1_CTS_PR5, 14162306a36Sopenharmony_ci TEGRA_PIN_DAP1_SCLK_PS0, 14262306a36Sopenharmony_ci TEGRA_PIN_DAP1_DOUT_PS1, 14362306a36Sopenharmony_ci TEGRA_PIN_DAP1_DIN_PS2, 14462306a36Sopenharmony_ci TEGRA_PIN_DAP1_FS_PS3, 14562306a36Sopenharmony_ci TEGRA_PIN_AUD_MCLK_PS4, 14662306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO30_PS5, 14762306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO31_PS6, 14862306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO32_PS7, 14962306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO33_PT0, 15062306a36Sopenharmony_ci TEGRA_PIN_DAP3_SCLK_PT1, 15162306a36Sopenharmony_ci TEGRA_PIN_DAP3_DOUT_PT2, 15262306a36Sopenharmony_ci TEGRA_PIN_DAP3_DIN_PT3, 15362306a36Sopenharmony_ci TEGRA_PIN_DAP3_FS_PT4, 15462306a36Sopenharmony_ci TEGRA_PIN_DAP5_SCLK_PT5, 15562306a36Sopenharmony_ci TEGRA_PIN_DAP5_DOUT_PT6, 15662306a36Sopenharmony_ci TEGRA_PIN_DAP5_DIN_PT7, 15762306a36Sopenharmony_ci TEGRA_PIN_DAP5_FS_PU0, 15862306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_CLK_PV0, 15962306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_IN_PV1, 16062306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT0_PV2, 16162306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT1_PV3, 16262306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT2_PV4, 16362306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT3_PV5, 16462306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT4_PV6, 16562306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT5_PV7, 16662306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT6_PW0, 16762306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT7_PW1, 16862306a36Sopenharmony_ci TEGRA_PIN_GPU_PWR_REQ_PX0, 16962306a36Sopenharmony_ci TEGRA_PIN_CV_PWR_REQ_PX1, 17062306a36Sopenharmony_ci TEGRA_PIN_GP_PWM2_PX2, 17162306a36Sopenharmony_ci TEGRA_PIN_GP_PWM3_PX3, 17262306a36Sopenharmony_ci TEGRA_PIN_UART2_TX_PX4, 17362306a36Sopenharmony_ci TEGRA_PIN_UART2_RX_PX5, 17462306a36Sopenharmony_ci TEGRA_PIN_UART2_RTS_PX6, 17562306a36Sopenharmony_ci TEGRA_PIN_UART2_CTS_PX7, 17662306a36Sopenharmony_ci TEGRA_PIN_SPI3_SCK_PY0, 17762306a36Sopenharmony_ci TEGRA_PIN_SPI3_MISO_PY1, 17862306a36Sopenharmony_ci TEGRA_PIN_SPI3_MOSI_PY2, 17962306a36Sopenharmony_ci TEGRA_PIN_SPI3_CS0_PY3, 18062306a36Sopenharmony_ci TEGRA_PIN_SPI3_CS1_PY4, 18162306a36Sopenharmony_ci TEGRA_PIN_UART5_TX_PY5, 18262306a36Sopenharmony_ci TEGRA_PIN_UART5_RX_PY6, 18362306a36Sopenharmony_ci TEGRA_PIN_UART5_RTS_PY7, 18462306a36Sopenharmony_ci TEGRA_PIN_UART5_CTS_PZ0, 18562306a36Sopenharmony_ci TEGRA_PIN_USB_VBUS_EN0_PZ1, 18662306a36Sopenharmony_ci TEGRA_PIN_USB_VBUS_EN1_PZ2, 18762306a36Sopenharmony_ci TEGRA_PIN_SPI1_SCK_PZ3, 18862306a36Sopenharmony_ci TEGRA_PIN_SPI1_MISO_PZ4, 18962306a36Sopenharmony_ci TEGRA_PIN_SPI1_MOSI_PZ5, 19062306a36Sopenharmony_ci TEGRA_PIN_SPI1_CS0_PZ6, 19162306a36Sopenharmony_ci TEGRA_PIN_SPI1_CS1_PZ7, 19262306a36Sopenharmony_ci TEGRA_PIN_UFS0_REF_CLK_PFF0, 19362306a36Sopenharmony_ci TEGRA_PIN_UFS0_RST_PFF1, 19462306a36Sopenharmony_ci TEGRA_PIN_PEX_L5_CLKREQ_N_PGG0, 19562306a36Sopenharmony_ci TEGRA_PIN_PEX_L5_RST_N_PGG1, 19662306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC_COMP, 19762306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_CLK, 19862306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_CMD, 19962306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DQS, 20062306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT7, 20162306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT6, 20262306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT5, 20362306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT4, 20462306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT3, 20562306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT2, 20662306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT1, 20762306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT0, 20862306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_COMP, 20962306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_HV_TRIM, 21062306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_COMP, 21162306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_HV_TRIM, 21262306a36Sopenharmony_ci TEGRA_PIN_EQOS_COMP, 21362306a36Sopenharmony_ci TEGRA_PIN_QSPI_COMP, 21462306a36Sopenharmony_ci}; 21562306a36Sopenharmony_ci 21662306a36Sopenharmony_cienum { 21762306a36Sopenharmony_ci TEGRA_PIN_CAN1_DOUT_PAA0, 21862306a36Sopenharmony_ci TEGRA_PIN_CAN1_DIN_PAA1, 21962306a36Sopenharmony_ci TEGRA_PIN_CAN0_DOUT_PAA2, 22062306a36Sopenharmony_ci TEGRA_PIN_CAN0_DIN_PAA3, 22162306a36Sopenharmony_ci TEGRA_PIN_CAN0_STB_PAA4, 22262306a36Sopenharmony_ci TEGRA_PIN_CAN0_EN_PAA5, 22362306a36Sopenharmony_ci TEGRA_PIN_CAN0_WAKE_PAA6, 22462306a36Sopenharmony_ci TEGRA_PIN_CAN0_ERR_PAA7, 22562306a36Sopenharmony_ci TEGRA_PIN_CAN1_STB_PBB0, 22662306a36Sopenharmony_ci TEGRA_PIN_CAN1_EN_PBB1, 22762306a36Sopenharmony_ci TEGRA_PIN_CAN1_WAKE_PBB2, 22862306a36Sopenharmony_ci TEGRA_PIN_CAN1_ERR_PBB3, 22962306a36Sopenharmony_ci TEGRA_PIN_SPI2_SCK_PCC0, 23062306a36Sopenharmony_ci TEGRA_PIN_SPI2_MISO_PCC1, 23162306a36Sopenharmony_ci TEGRA_PIN_SPI2_MOSI_PCC2, 23262306a36Sopenharmony_ci TEGRA_PIN_SPI2_CS0_PCC3, 23362306a36Sopenharmony_ci TEGRA_PIN_TOUCH_CLK_PCC4, 23462306a36Sopenharmony_ci TEGRA_PIN_UART3_TX_PCC5, 23562306a36Sopenharmony_ci TEGRA_PIN_UART3_RX_PCC6, 23662306a36Sopenharmony_ci TEGRA_PIN_GEN2_I2C_SCL_PCC7, 23762306a36Sopenharmony_ci TEGRA_PIN_GEN2_I2C_SDA_PDD0, 23862306a36Sopenharmony_ci TEGRA_PIN_GEN8_I2C_SCL_PDD1, 23962306a36Sopenharmony_ci TEGRA_PIN_GEN8_I2C_SDA_PDD2, 24062306a36Sopenharmony_ci TEGRA_PIN_SAFE_STATE_PEE0, 24162306a36Sopenharmony_ci TEGRA_PIN_VCOMP_ALERT_PEE1, 24262306a36Sopenharmony_ci TEGRA_PIN_AO_RETENTION_N_PEE2, 24362306a36Sopenharmony_ci TEGRA_PIN_BATT_OC_PEE3, 24462306a36Sopenharmony_ci TEGRA_PIN_POWER_ON_PEE4, 24562306a36Sopenharmony_ci TEGRA_PIN_PWR_I2C_SCL_PEE5, 24662306a36Sopenharmony_ci TEGRA_PIN_PWR_I2C_SDA_PEE6, 24762306a36Sopenharmony_ci TEGRA_PIN_SYS_RESET_N, 24862306a36Sopenharmony_ci TEGRA_PIN_SHUTDOWN_N, 24962306a36Sopenharmony_ci TEGRA_PIN_PMU_INT_N, 25062306a36Sopenharmony_ci TEGRA_PIN_SOC_PWR_REQ, 25162306a36Sopenharmony_ci TEGRA_PIN_CLK_32K_IN, 25262306a36Sopenharmony_ci}; 25362306a36Sopenharmony_ci 25462306a36Sopenharmony_ci/* Table for pin descriptor */ 25562306a36Sopenharmony_cistatic const struct pinctrl_pin_desc tegra194_pins[] = { 25662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP6_SCLK_PA0, "DAP6_SCLK_PA0"), 25762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP6_DOUT_PA1, "DAP6_DOUT_PA1"), 25862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP6_DIN_PA2, "DAP6_DIN_PA2"), 25962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP6_FS_PA3, "DAP6_FS_PA3"), 26062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP4_SCLK_PA4, "DAP4_SCLK_PA4"), 26162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP4_DOUT_PA5, "DAP4_DOUT_PA5"), 26262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP4_DIN_PA6, "DAP4_DIN_PA6"), 26362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP4_FS_PA7, "DAP4_FS_PA7"), 26462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CPU_PWR_REQ_0_PB0, "CPU_PWR_REQ_0_PB0"), 26562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CPU_PWR_REQ_1_PB1, "CPU_PWR_REQ_1_PB1"), 26662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI0_SCK_PC0, "QSPI0_SCK_PC0"), 26762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI0_CS_N_PC1, "QSPI0_CS_N_PC1"), 26862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI0_IO0_PC2, "QSPI0_IO0_PC2"), 26962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI0_IO1_PC3, "QSPI0_IO1_PC3"), 27062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI0_IO2_PC4, "QSPI0_IO2_PC4"), 27162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI0_IO3_PC5, "QSPI0_IO3_PC5"), 27262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI1_SCK_PC6, "QSPI1_SCK_PC6"), 27362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI1_CS_N_PC7, "QSPI1_CS_N_PC7"), 27462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI1_IO0_PD0, "QSPI1_IO0_PD0"), 27562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI1_IO1_PD1, "QSPI1_IO1_PD1"), 27662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI1_IO2_PD2, "QSPI1_IO2_PD2"), 27762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI1_IO3_PD3, "QSPI1_IO3_PD3"), 27862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_TXC_PE0, "EQOS_TXC_PE0"), 27962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_TD0_PE1, "EQOS_TD0_PE1"), 28062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_TD1_PE2, "EQOS_TD1_PE2"), 28162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_TD2_PE3, "EQOS_TD2_PE3"), 28262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_TD3_PE4, "EQOS_TD3_PE4"), 28362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_TX_CTL_PE5, "EQOS_TX_CTL_PE5"), 28462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_RD0_PE6, "EQOS_RD0_PE6"), 28562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_RD1_PE7, "EQOS_RD1_PE7"), 28662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_RD2_PF0, "EQOS_RD2_PF0"), 28762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_RD3_PF1, "EQOS_RD3_PF1"), 28862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_RX_CTL_PF2, "EQOS_RX_CTL_PF2"), 28962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_RXC_PF3, "EQOS_RXC_PF3"), 29062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_SMA_MDIO_PF4, "EQOS_SMA_MDIO_PF4"), 29162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_SMA_MDC_PF5, "EQOS_SMA_MDC_PF5"), 29262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO00_PG0, "SOC_GPIO00_PG0"), 29362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO01_PG1, "SOC_GPIO01_PG1"), 29462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO02_PG2, "SOC_GPIO02_PG2"), 29562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO03_PG3, "SOC_GPIO03_PG3"), 29662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO08_PG4, "SOC_GPIO08_PG4"), 29762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO09_PG5, "SOC_GPIO09_PG5"), 29862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO10_PG6, "SOC_GPIO10_PG6"), 29962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO11_PG7, "SOC_GPIO11_PG7"), 30062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO12_PH0, "SOC_GPIO12_PH0"), 30162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO13_PH1, "SOC_GPIO13_PH1"), 30262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO14_PH2, "SOC_GPIO14_PH2"), 30362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART4_TX_PH3, "UART4_TX_PH3"), 30462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART4_RX_PH4, "UART4_RX_PH4"), 30562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART4_RTS_PH5, "UART4_RTS_PH5"), 30662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART4_CTS_PH6, "UART4_CTS_PH6"), 30762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP2_SCLK_PH7, "DAP2_SCLK_PH7"), 30862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP2_DOUT_PI0, "DAP2_DOUT_PI0"), 30962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP2_DIN_PI1, "DAP2_DIN_PI1"), 31062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP2_FS_PI2, "DAP2_FS_PI2"), 31162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SCL_PI3, "GEN1_I2C_SCL_PI3"), 31262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SDA_PI4, "GEN1_I2C_SDA_PI4"), 31362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_CLK_PJ0, "SDMMC1_CLK_PJ0"), 31462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_CMD_PJ1, "SDMMC1_CMD_PJ1"), 31562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT0_PJ2, "SDMMC1_DAT0_PJ2"), 31662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT1_PJ3, "SDMMC1_DAT1_PJ3"), 31762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT2_PJ4, "SDMMC1_DAT2_PJ4"), 31862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT3_PJ5, "SDMMC1_DAT3_PJ5"), 31962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L0_CLKREQ_N_PK0, "PEX_L0_CLKREQ_N_PK0"), 32062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L0_RST_N_PK1, "PEX_L0_RST_N_PK1"), 32162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L1_CLKREQ_N_PK2, "PEX_L1_CLKREQ_N_PK2"), 32262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L1_RST_N_PK3, "PEX_L1_RST_N_PK3"), 32362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L2_CLKREQ_N_PK4, "PEX_L2_CLKREQ_N_PK4"), 32462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L2_RST_N_PK5, "PEX_L2_RST_N_PK5"), 32562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L3_CLKREQ_N_PK6, "PEX_L3_CLKREQ_N_PK6"), 32662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L3_RST_N_PK7, "PEX_L3_RST_N_PK7"), 32762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L4_CLKREQ_N_PL0, "PEX_L4_CLKREQ_N_PL0"), 32862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L4_RST_N_PL1, "PEX_L4_RST_N_PL1"), 32962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_WAKE_N_PL2, "PEX_WAKE_N_PL2"), 33062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SATA_DEV_SLP_PL3, "SATA_DEV_SLP_PL3"), 33162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DP_AUX_CH0_HPD_PM0, "DP_AUX_CH0_HPD_PM0"), 33262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DP_AUX_CH1_HPD_PM1, "DP_AUX_CH1_HPD_PM1"), 33362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DP_AUX_CH2_HPD_PM2, "DP_AUX_CH2_HPD_PM2"), 33462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DP_AUX_CH3_HPD_PM3, "DP_AUX_CH3_HPD_PM3"), 33562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_HDMI_CEC_PM4, "HDMI_CEC_PM4"), 33662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO50_PM5, "SOC_GPIO50_PM5"), 33762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO51_PM6, "SOC_GPIO51_PM6"), 33862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO52_PM7, "SOC_GPIO52_PM7"), 33962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO53_PN0, "SOC_GPIO53_PN0"), 34062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO54_PN1, "SOC_GPIO54_PN1"), 34162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO55_PN2, "SOC_GPIO55_PN2"), 34262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_CLK_PO0, "SDMMC3_CLK_PO0"), 34362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_CMD_PO1, "SDMMC3_CMD_PO1"), 34462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT0_PO2, "SDMMC3_DAT0_PO2"), 34562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT1_PO3, "SDMMC3_DAT1_PO3"), 34662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT2_PO4, "SDMMC3_DAT2_PO4"), 34762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT3_PO5, "SDMMC3_DAT3_PO5"), 34862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EXTPERIPH1_CLK_PP0, "EXTPERIPH1_CLK_PP0"), 34962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EXTPERIPH2_CLK_PP1, "EXTPERIPH2_CLK_PP1"), 35062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SCL_PP2, "CAM_I2C_SCL_PP2"), 35162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SDA_PP3, "CAM_I2C_SDA_PP3"), 35262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO04_PP4, "SOC_GPIO04_PP4"), 35362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO05_PP5, "SOC_GPIO05_PP5"), 35462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO06_PP6, "SOC_GPIO06_PP6"), 35562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO07_PP7, "SOC_GPIO07_PP7"), 35662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO20_PQ0, "SOC_GPIO20_PQ0"), 35762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO21_PQ1, "SOC_GPIO21_PQ1"), 35862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO22_PQ2, "SOC_GPIO22_PQ2"), 35962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO23_PQ3, "SOC_GPIO23_PQ3"), 36062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO40_PQ4, "SOC_GPIO40_PQ4"), 36162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO41_PQ5, "SOC_GPIO41_PQ5"), 36262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO42_PQ6, "SOC_GPIO42_PQ6"), 36362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO43_PQ7, "SOC_GPIO43_PQ7"), 36462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO44_PR0, "SOC_GPIO44_PR0"), 36562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO45_PR1, "SOC_GPIO45_PR1"), 36662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART1_TX_PR2, "UART1_TX_PR2"), 36762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART1_RX_PR3, "UART1_RX_PR3"), 36862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART1_RTS_PR4, "UART1_RTS_PR4"), 36962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART1_CTS_PR5, "UART1_CTS_PR5"), 37062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP1_SCLK_PS0, "DAP1_SCLK_PS0"), 37162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP1_DOUT_PS1, "DAP1_DOUT_PS1"), 37262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP1_DIN_PS2, "DAP1_DIN_PS2"), 37362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP1_FS_PS3, "DAP1_FS_PS3"), 37462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_AUD_MCLK_PS4, "AUD_MCLK_PS4"), 37562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO30_PS5, "SOC_GPIO30_PS5"), 37662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO31_PS6, "SOC_GPIO31_PS6"), 37762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO32_PS7, "SOC_GPIO32_PS7"), 37862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_GPIO33_PT0, "SOC_GPIO33_PT0"), 37962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP3_SCLK_PT1, "DAP3_SCLK_PT1"), 38062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP3_DOUT_PT2, "DAP3_DOUT_PT2"), 38162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP3_DIN_PT3, "DAP3_DIN_PT3"), 38262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP3_FS_PT4, "DAP3_FS_PT4"), 38362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP5_SCLK_PT5, "DAP5_SCLK_PT5"), 38462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP5_DOUT_PT6, "DAP5_DOUT_PT6"), 38562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP5_DIN_PT7, "DAP5_DIN_PT7"), 38662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP5_FS_PU0, "DAP5_FS_PU0"), 38762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DIRECTDC1_CLK_PV0, "DIRECTDC1_CLK_PV0"), 38862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DIRECTDC1_IN_PV1, "DIRECTDC1_IN_PV1"), 38962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DIRECTDC1_OUT0_PV2, "DIRECTDC1_OUT0_PV2"), 39062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DIRECTDC1_OUT1_PV3, "DIRECTDC1_OUT1_PV3"), 39162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DIRECTDC1_OUT2_PV4, "DIRECTDC1_OUT2_PV4"), 39262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DIRECTDC1_OUT3_PV5, "DIRECTDC1_OUT3_PV5"), 39362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DIRECTDC1_OUT4_PV6, "DIRECTDC1_OUT4_PV6"), 39462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DIRECTDC1_OUT5_PV7, "DIRECTDC1_OUT5_PV7"), 39562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DIRECTDC1_OUT6_PW0, "DIRECTDC1_OUT6_PW0"), 39662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DIRECTDC1_OUT7_PW1, "DIRECTDC1_OUT7_PW1"), 39762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GPU_PWR_REQ_PX0, "GPU_PWR_REQ_PX0"), 39862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CV_PWR_REQ_PX1, "CV_PWR_REQ_PX1"), 39962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GP_PWM2_PX2, "GP_PWM2_PX2"), 40062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GP_PWM3_PX3, "GP_PWM3_PX3"), 40162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART2_TX_PX4, "UART2_TX_PX4"), 40262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART2_RX_PX5, "UART2_RX_PX5"), 40362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART2_RTS_PX6, "UART2_RTS_PX6"), 40462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART2_CTS_PX7, "UART2_CTS_PX7"), 40562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI3_SCK_PY0, "SPI3_SCK_PY0"), 40662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI3_MISO_PY1, "SPI3_MISO_PY1"), 40762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI3_MOSI_PY2, "SPI3_MOSI_PY2"), 40862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI3_CS0_PY3, "SPI3_CS0_PY3"), 40962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI3_CS1_PY4, "SPI3_CS1_PY4"), 41062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART5_TX_PY5, "UART5_TX_PY5"), 41162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART5_RX_PY6, "UART5_RX_PY6"), 41262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART5_RTS_PY7, "UART5_RTS_PY7"), 41362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART5_CTS_PZ0, "UART5_CTS_PZ0"), 41462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN0_PZ1, "USB_VBUS_EN0_PZ1"), 41562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN1_PZ2, "USB_VBUS_EN1_PZ2"), 41662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI1_SCK_PZ3, "SPI1_SCK_PZ3"), 41762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI1_MISO_PZ4, "SPI1_MISO_PZ4"), 41862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI1_MOSI_PZ5, "SPI1_MOSI_PZ5"), 41962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI1_CS0_PZ6, "SPI1_CS0_PZ6"), 42062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI1_CS1_PZ7, "SPI1_CS1_PZ7"), 42162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UFS0_REF_CLK_PFF0, "UFS0_REF_CLK_PFF0"), 42262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UFS0_RST_PFF1, "UFS0_RST_PFF1"), 42362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L5_CLKREQ_N_PGG0, "PEX_L5_CLKREQ_N_PGG0"), 42462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L5_RST_N_PGG1, "PEX_L5_RST_N_PGG1"), 42562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DIRECTDC_COMP, "DIRECTDC_COMP"), 42662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC4_CLK, "SDMMC4_CLK"), 42762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC4_CMD, "SDMMC4_CMD"), 42862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC4_DQS, "SDMMC4_DQS"), 42962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT7, "SDMMC4_DAT7"), 43062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT6, "SDMMC4_DAT6"), 43162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT5, "SDMMC4_DAT5"), 43262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT4, "SDMMC4_DAT4"), 43362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT3, "SDMMC4_DAT3"), 43462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT2, "SDMMC4_DAT2"), 43562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT1, "SDMMC4_DAT1"), 43662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC4_DAT0, "SDMMC4_DAT0"), 43762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_COMP, "SDMMC1_COMP"), 43862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_HV_TRIM, "SDMMC1_HV_TRIM"), 43962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_COMP, "SDMMC3_COMP"), 44062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_HV_TRIM, "SDMMC3_HV_TRIM"), 44162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_EQOS_COMP, "EQOS_COMP"), 44262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI_COMP, "QSPI_COMP"), 44362306a36Sopenharmony_ci}; 44462306a36Sopenharmony_ci 44562306a36Sopenharmony_cistatic const unsigned int dap6_sclk_pa0_pins[] = { 44662306a36Sopenharmony_ci TEGRA_PIN_DAP6_SCLK_PA0, 44762306a36Sopenharmony_ci}; 44862306a36Sopenharmony_cistatic const unsigned int dap6_dout_pa1_pins[] = { 44962306a36Sopenharmony_ci TEGRA_PIN_DAP6_DOUT_PA1, 45062306a36Sopenharmony_ci}; 45162306a36Sopenharmony_cistatic const unsigned int dap6_din_pa2_pins[] = { 45262306a36Sopenharmony_ci TEGRA_PIN_DAP6_DIN_PA2, 45362306a36Sopenharmony_ci}; 45462306a36Sopenharmony_cistatic const unsigned int dap6_fs_pa3_pins[] = { 45562306a36Sopenharmony_ci TEGRA_PIN_DAP6_FS_PA3, 45662306a36Sopenharmony_ci}; 45762306a36Sopenharmony_cistatic const unsigned int dap4_sclk_pa4_pins[] = { 45862306a36Sopenharmony_ci TEGRA_PIN_DAP4_SCLK_PA4, 45962306a36Sopenharmony_ci}; 46062306a36Sopenharmony_cistatic const unsigned int dap4_dout_pa5_pins[] = { 46162306a36Sopenharmony_ci TEGRA_PIN_DAP4_DOUT_PA5, 46262306a36Sopenharmony_ci}; 46362306a36Sopenharmony_cistatic const unsigned int dap4_din_pa6_pins[] = { 46462306a36Sopenharmony_ci TEGRA_PIN_DAP4_DIN_PA6, 46562306a36Sopenharmony_ci}; 46662306a36Sopenharmony_cistatic const unsigned int dap4_fs_pa7_pins[] = { 46762306a36Sopenharmony_ci TEGRA_PIN_DAP4_FS_PA7, 46862306a36Sopenharmony_ci}; 46962306a36Sopenharmony_cistatic const unsigned int cpu_pwr_req_0_pb0_pins[] = { 47062306a36Sopenharmony_ci TEGRA_PIN_CPU_PWR_REQ_0_PB0, 47162306a36Sopenharmony_ci}; 47262306a36Sopenharmony_cistatic const unsigned int cpu_pwr_req_1_pb1_pins[] = { 47362306a36Sopenharmony_ci TEGRA_PIN_CPU_PWR_REQ_1_PB1, 47462306a36Sopenharmony_ci}; 47562306a36Sopenharmony_cistatic const unsigned int qspi0_sck_pc0_pins[] = { 47662306a36Sopenharmony_ci TEGRA_PIN_QSPI0_SCK_PC0, 47762306a36Sopenharmony_ci}; 47862306a36Sopenharmony_cistatic const unsigned int qspi0_cs_n_pc1_pins[] = { 47962306a36Sopenharmony_ci TEGRA_PIN_QSPI0_CS_N_PC1, 48062306a36Sopenharmony_ci}; 48162306a36Sopenharmony_cistatic const unsigned int qspi0_io0_pc2_pins[] = { 48262306a36Sopenharmony_ci TEGRA_PIN_QSPI0_IO0_PC2, 48362306a36Sopenharmony_ci}; 48462306a36Sopenharmony_cistatic const unsigned int qspi0_io1_pc3_pins[] = { 48562306a36Sopenharmony_ci TEGRA_PIN_QSPI0_IO1_PC3, 48662306a36Sopenharmony_ci}; 48762306a36Sopenharmony_cistatic const unsigned int qspi0_io2_pc4_pins[] = { 48862306a36Sopenharmony_ci TEGRA_PIN_QSPI0_IO2_PC4, 48962306a36Sopenharmony_ci}; 49062306a36Sopenharmony_cistatic const unsigned int qspi0_io3_pc5_pins[] = { 49162306a36Sopenharmony_ci TEGRA_PIN_QSPI0_IO3_PC5, 49262306a36Sopenharmony_ci}; 49362306a36Sopenharmony_cistatic const unsigned int qspi1_sck_pc6_pins[] = { 49462306a36Sopenharmony_ci TEGRA_PIN_QSPI1_SCK_PC6, 49562306a36Sopenharmony_ci}; 49662306a36Sopenharmony_cistatic const unsigned int qspi1_cs_n_pc7_pins[] = { 49762306a36Sopenharmony_ci TEGRA_PIN_QSPI1_CS_N_PC7, 49862306a36Sopenharmony_ci}; 49962306a36Sopenharmony_cistatic const unsigned int qspi1_io0_pd0_pins[] = { 50062306a36Sopenharmony_ci TEGRA_PIN_QSPI1_IO0_PD0, 50162306a36Sopenharmony_ci}; 50262306a36Sopenharmony_cistatic const unsigned int qspi1_io1_pd1_pins[] = { 50362306a36Sopenharmony_ci TEGRA_PIN_QSPI1_IO1_PD1, 50462306a36Sopenharmony_ci}; 50562306a36Sopenharmony_cistatic const unsigned int qspi1_io2_pd2_pins[] = { 50662306a36Sopenharmony_ci TEGRA_PIN_QSPI1_IO2_PD2, 50762306a36Sopenharmony_ci}; 50862306a36Sopenharmony_cistatic const unsigned int qspi1_io3_pd3_pins[] = { 50962306a36Sopenharmony_ci TEGRA_PIN_QSPI1_IO3_PD3, 51062306a36Sopenharmony_ci}; 51162306a36Sopenharmony_cistatic const unsigned int eqos_txc_pe0_pins[] = { 51262306a36Sopenharmony_ci TEGRA_PIN_EQOS_TXC_PE0, 51362306a36Sopenharmony_ci}; 51462306a36Sopenharmony_cistatic const unsigned int eqos_td0_pe1_pins[] = { 51562306a36Sopenharmony_ci TEGRA_PIN_EQOS_TD0_PE1, 51662306a36Sopenharmony_ci}; 51762306a36Sopenharmony_cistatic const unsigned int eqos_td1_pe2_pins[] = { 51862306a36Sopenharmony_ci TEGRA_PIN_EQOS_TD1_PE2, 51962306a36Sopenharmony_ci}; 52062306a36Sopenharmony_cistatic const unsigned int eqos_td2_pe3_pins[] = { 52162306a36Sopenharmony_ci TEGRA_PIN_EQOS_TD2_PE3, 52262306a36Sopenharmony_ci}; 52362306a36Sopenharmony_cistatic const unsigned int eqos_td3_pe4_pins[] = { 52462306a36Sopenharmony_ci TEGRA_PIN_EQOS_TD3_PE4, 52562306a36Sopenharmony_ci}; 52662306a36Sopenharmony_cistatic const unsigned int eqos_tx_ctl_pe5_pins[] = { 52762306a36Sopenharmony_ci TEGRA_PIN_EQOS_TX_CTL_PE5, 52862306a36Sopenharmony_ci}; 52962306a36Sopenharmony_cistatic const unsigned int eqos_rd0_pe6_pins[] = { 53062306a36Sopenharmony_ci TEGRA_PIN_EQOS_RD0_PE6, 53162306a36Sopenharmony_ci}; 53262306a36Sopenharmony_cistatic const unsigned int eqos_rd1_pe7_pins[] = { 53362306a36Sopenharmony_ci TEGRA_PIN_EQOS_RD1_PE7, 53462306a36Sopenharmony_ci}; 53562306a36Sopenharmony_cistatic const unsigned int eqos_rd2_pf0_pins[] = { 53662306a36Sopenharmony_ci TEGRA_PIN_EQOS_RD2_PF0, 53762306a36Sopenharmony_ci}; 53862306a36Sopenharmony_cistatic const unsigned int eqos_rd3_pf1_pins[] = { 53962306a36Sopenharmony_ci TEGRA_PIN_EQOS_RD3_PF1, 54062306a36Sopenharmony_ci}; 54162306a36Sopenharmony_cistatic const unsigned int eqos_rx_ctl_pf2_pins[] = { 54262306a36Sopenharmony_ci TEGRA_PIN_EQOS_RX_CTL_PF2, 54362306a36Sopenharmony_ci}; 54462306a36Sopenharmony_cistatic const unsigned int eqos_rxc_pf3_pins[] = { 54562306a36Sopenharmony_ci TEGRA_PIN_EQOS_RXC_PF3, 54662306a36Sopenharmony_ci}; 54762306a36Sopenharmony_cistatic const unsigned int eqos_sma_mdio_pf4_pins[] = { 54862306a36Sopenharmony_ci TEGRA_PIN_EQOS_SMA_MDIO_PF4, 54962306a36Sopenharmony_ci}; 55062306a36Sopenharmony_cistatic const unsigned int eqos_sma_mdc_pf5_pins[] = { 55162306a36Sopenharmony_ci TEGRA_PIN_EQOS_SMA_MDC_PF5, 55262306a36Sopenharmony_ci}; 55362306a36Sopenharmony_cistatic const unsigned int soc_gpio00_pg0_pins[] = { 55462306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO00_PG0, 55562306a36Sopenharmony_ci}; 55662306a36Sopenharmony_cistatic const unsigned int soc_gpio01_pg1_pins[] = { 55762306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO01_PG1, 55862306a36Sopenharmony_ci}; 55962306a36Sopenharmony_cistatic const unsigned int soc_gpio02_pg2_pins[] = { 56062306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO02_PG2, 56162306a36Sopenharmony_ci}; 56262306a36Sopenharmony_cistatic const unsigned int soc_gpio03_pg3_pins[] = { 56362306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO03_PG3, 56462306a36Sopenharmony_ci}; 56562306a36Sopenharmony_cistatic const unsigned int soc_gpio08_pg4_pins[] = { 56662306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO08_PG4, 56762306a36Sopenharmony_ci}; 56862306a36Sopenharmony_cistatic const unsigned int soc_gpio09_pg5_pins[] = { 56962306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO09_PG5, 57062306a36Sopenharmony_ci}; 57162306a36Sopenharmony_cistatic const unsigned int soc_gpio10_pg6_pins[] = { 57262306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO10_PG6, 57362306a36Sopenharmony_ci}; 57462306a36Sopenharmony_cistatic const unsigned int soc_gpio11_pg7_pins[] = { 57562306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO11_PG7, 57662306a36Sopenharmony_ci}; 57762306a36Sopenharmony_cistatic const unsigned int soc_gpio12_ph0_pins[] = { 57862306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO12_PH0, 57962306a36Sopenharmony_ci}; 58062306a36Sopenharmony_cistatic const unsigned int soc_gpio13_ph1_pins[] = { 58162306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO13_PH1, 58262306a36Sopenharmony_ci}; 58362306a36Sopenharmony_cistatic const unsigned int soc_gpio14_ph2_pins[] = { 58462306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO14_PH2, 58562306a36Sopenharmony_ci}; 58662306a36Sopenharmony_cistatic const unsigned int uart4_tx_ph3_pins[] = { 58762306a36Sopenharmony_ci TEGRA_PIN_UART4_TX_PH3, 58862306a36Sopenharmony_ci}; 58962306a36Sopenharmony_cistatic const unsigned int uart4_rx_ph4_pins[] = { 59062306a36Sopenharmony_ci TEGRA_PIN_UART4_RX_PH4, 59162306a36Sopenharmony_ci}; 59262306a36Sopenharmony_cistatic const unsigned int uart4_rts_ph5_pins[] = { 59362306a36Sopenharmony_ci TEGRA_PIN_UART4_RTS_PH5, 59462306a36Sopenharmony_ci}; 59562306a36Sopenharmony_cistatic const unsigned int uart4_cts_ph6_pins[] = { 59662306a36Sopenharmony_ci TEGRA_PIN_UART4_CTS_PH6, 59762306a36Sopenharmony_ci}; 59862306a36Sopenharmony_cistatic const unsigned int dap2_sclk_ph7_pins[] = { 59962306a36Sopenharmony_ci TEGRA_PIN_DAP2_SCLK_PH7, 60062306a36Sopenharmony_ci}; 60162306a36Sopenharmony_cistatic const unsigned int dap2_dout_pi0_pins[] = { 60262306a36Sopenharmony_ci TEGRA_PIN_DAP2_DOUT_PI0, 60362306a36Sopenharmony_ci}; 60462306a36Sopenharmony_cistatic const unsigned int dap2_din_pi1_pins[] = { 60562306a36Sopenharmony_ci TEGRA_PIN_DAP2_DIN_PI1, 60662306a36Sopenharmony_ci}; 60762306a36Sopenharmony_cistatic const unsigned int dap2_fs_pi2_pins[] = { 60862306a36Sopenharmony_ci TEGRA_PIN_DAP2_FS_PI2, 60962306a36Sopenharmony_ci}; 61062306a36Sopenharmony_cistatic const unsigned int gen1_i2c_scl_pi3_pins[] = { 61162306a36Sopenharmony_ci TEGRA_PIN_GEN1_I2C_SCL_PI3, 61262306a36Sopenharmony_ci}; 61362306a36Sopenharmony_cistatic const unsigned int gen1_i2c_sda_pi4_pins[] = { 61462306a36Sopenharmony_ci TEGRA_PIN_GEN1_I2C_SDA_PI4, 61562306a36Sopenharmony_ci}; 61662306a36Sopenharmony_cistatic const unsigned int sdmmc1_clk_pj0_pins[] = { 61762306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_CLK_PJ0, 61862306a36Sopenharmony_ci}; 61962306a36Sopenharmony_cistatic const unsigned int sdmmc1_cmd_pj1_pins[] = { 62062306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_CMD_PJ1, 62162306a36Sopenharmony_ci}; 62262306a36Sopenharmony_cistatic const unsigned int sdmmc1_dat0_pj2_pins[] = { 62362306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT0_PJ2, 62462306a36Sopenharmony_ci}; 62562306a36Sopenharmony_cistatic const unsigned int sdmmc1_dat1_pj3_pins[] = { 62662306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT1_PJ3, 62762306a36Sopenharmony_ci}; 62862306a36Sopenharmony_cistatic const unsigned int sdmmc1_dat2_pj4_pins[] = { 62962306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT2_PJ4, 63062306a36Sopenharmony_ci}; 63162306a36Sopenharmony_cistatic const unsigned int sdmmc1_dat3_pj5_pins[] = { 63262306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT3_PJ5, 63362306a36Sopenharmony_ci}; 63462306a36Sopenharmony_cistatic const unsigned int pex_l0_clkreq_n_pk0_pins[] = { 63562306a36Sopenharmony_ci TEGRA_PIN_PEX_L0_CLKREQ_N_PK0, 63662306a36Sopenharmony_ci}; 63762306a36Sopenharmony_cistatic const unsigned int pex_l0_rst_n_pk1_pins[] = { 63862306a36Sopenharmony_ci TEGRA_PIN_PEX_L0_RST_N_PK1, 63962306a36Sopenharmony_ci}; 64062306a36Sopenharmony_cistatic const unsigned int pex_l1_clkreq_n_pk2_pins[] = { 64162306a36Sopenharmony_ci TEGRA_PIN_PEX_L1_CLKREQ_N_PK2, 64262306a36Sopenharmony_ci}; 64362306a36Sopenharmony_cistatic const unsigned int pex_l1_rst_n_pk3_pins[] = { 64462306a36Sopenharmony_ci TEGRA_PIN_PEX_L1_RST_N_PK3, 64562306a36Sopenharmony_ci}; 64662306a36Sopenharmony_cistatic const unsigned int pex_l2_clkreq_n_pk4_pins[] = { 64762306a36Sopenharmony_ci TEGRA_PIN_PEX_L2_CLKREQ_N_PK4, 64862306a36Sopenharmony_ci}; 64962306a36Sopenharmony_cistatic const unsigned int pex_l2_rst_n_pk5_pins[] = { 65062306a36Sopenharmony_ci TEGRA_PIN_PEX_L2_RST_N_PK5, 65162306a36Sopenharmony_ci}; 65262306a36Sopenharmony_cistatic const unsigned int pex_l3_clkreq_n_pk6_pins[] = { 65362306a36Sopenharmony_ci TEGRA_PIN_PEX_L3_CLKREQ_N_PK6, 65462306a36Sopenharmony_ci}; 65562306a36Sopenharmony_cistatic const unsigned int pex_l3_rst_n_pk7_pins[] = { 65662306a36Sopenharmony_ci TEGRA_PIN_PEX_L3_RST_N_PK7, 65762306a36Sopenharmony_ci}; 65862306a36Sopenharmony_cistatic const unsigned int pex_l4_clkreq_n_pl0_pins[] = { 65962306a36Sopenharmony_ci TEGRA_PIN_PEX_L4_CLKREQ_N_PL0, 66062306a36Sopenharmony_ci}; 66162306a36Sopenharmony_cistatic const unsigned int pex_l4_rst_n_pl1_pins[] = { 66262306a36Sopenharmony_ci TEGRA_PIN_PEX_L4_RST_N_PL1, 66362306a36Sopenharmony_ci}; 66462306a36Sopenharmony_cistatic const unsigned int pex_wake_n_pl2_pins[] = { 66562306a36Sopenharmony_ci TEGRA_PIN_PEX_WAKE_N_PL2, 66662306a36Sopenharmony_ci}; 66762306a36Sopenharmony_cistatic const unsigned int sata_dev_slp_pl3_pins[] = { 66862306a36Sopenharmony_ci TEGRA_PIN_SATA_DEV_SLP_PL3, 66962306a36Sopenharmony_ci}; 67062306a36Sopenharmony_cistatic const unsigned int dp_aux_ch0_hpd_pm0_pins[] = { 67162306a36Sopenharmony_ci TEGRA_PIN_DP_AUX_CH0_HPD_PM0, 67262306a36Sopenharmony_ci}; 67362306a36Sopenharmony_cistatic const unsigned int dp_aux_ch1_hpd_pm1_pins[] = { 67462306a36Sopenharmony_ci TEGRA_PIN_DP_AUX_CH1_HPD_PM1, 67562306a36Sopenharmony_ci}; 67662306a36Sopenharmony_cistatic const unsigned int dp_aux_ch2_hpd_pm2_pins[] = { 67762306a36Sopenharmony_ci TEGRA_PIN_DP_AUX_CH2_HPD_PM2, 67862306a36Sopenharmony_ci}; 67962306a36Sopenharmony_cistatic const unsigned int dp_aux_ch3_hpd_pm3_pins[] = { 68062306a36Sopenharmony_ci TEGRA_PIN_DP_AUX_CH3_HPD_PM3, 68162306a36Sopenharmony_ci}; 68262306a36Sopenharmony_cistatic const unsigned int hdmi_cec_pm4_pins[] = { 68362306a36Sopenharmony_ci TEGRA_PIN_HDMI_CEC_PM4, 68462306a36Sopenharmony_ci}; 68562306a36Sopenharmony_cistatic const unsigned int soc_gpio50_pm5_pins[] = { 68662306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO50_PM5, 68762306a36Sopenharmony_ci}; 68862306a36Sopenharmony_cistatic const unsigned int soc_gpio51_pm6_pins[] = { 68962306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO51_PM6, 69062306a36Sopenharmony_ci}; 69162306a36Sopenharmony_cistatic const unsigned int soc_gpio52_pm7_pins[] = { 69262306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO52_PM7, 69362306a36Sopenharmony_ci}; 69462306a36Sopenharmony_cistatic const unsigned int soc_gpio53_pn0_pins[] = { 69562306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO53_PN0, 69662306a36Sopenharmony_ci}; 69762306a36Sopenharmony_cistatic const unsigned int soc_gpio54_pn1_pins[] = { 69862306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO54_PN1, 69962306a36Sopenharmony_ci}; 70062306a36Sopenharmony_cistatic const unsigned int soc_gpio55_pn2_pins[] = { 70162306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO55_PN2, 70262306a36Sopenharmony_ci}; 70362306a36Sopenharmony_cistatic const unsigned int sdmmc3_clk_po0_pins[] = { 70462306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_CLK_PO0, 70562306a36Sopenharmony_ci}; 70662306a36Sopenharmony_cistatic const unsigned int sdmmc3_cmd_po1_pins[] = { 70762306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_CMD_PO1, 70862306a36Sopenharmony_ci}; 70962306a36Sopenharmony_cistatic const unsigned int sdmmc3_dat0_po2_pins[] = { 71062306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT0_PO2, 71162306a36Sopenharmony_ci}; 71262306a36Sopenharmony_cistatic const unsigned int sdmmc3_dat1_po3_pins[] = { 71362306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT1_PO3, 71462306a36Sopenharmony_ci}; 71562306a36Sopenharmony_cistatic const unsigned int sdmmc3_dat2_po4_pins[] = { 71662306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT2_PO4, 71762306a36Sopenharmony_ci}; 71862306a36Sopenharmony_cistatic const unsigned int sdmmc3_dat3_po5_pins[] = { 71962306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT3_PO5, 72062306a36Sopenharmony_ci}; 72162306a36Sopenharmony_cistatic const unsigned int extperiph1_clk_pp0_pins[] = { 72262306a36Sopenharmony_ci TEGRA_PIN_EXTPERIPH1_CLK_PP0, 72362306a36Sopenharmony_ci}; 72462306a36Sopenharmony_cistatic const unsigned int extperiph2_clk_pp1_pins[] = { 72562306a36Sopenharmony_ci TEGRA_PIN_EXTPERIPH2_CLK_PP1, 72662306a36Sopenharmony_ci}; 72762306a36Sopenharmony_cistatic const unsigned int cam_i2c_scl_pp2_pins[] = { 72862306a36Sopenharmony_ci TEGRA_PIN_CAM_I2C_SCL_PP2, 72962306a36Sopenharmony_ci}; 73062306a36Sopenharmony_cistatic const unsigned int cam_i2c_sda_pp3_pins[] = { 73162306a36Sopenharmony_ci TEGRA_PIN_CAM_I2C_SDA_PP3, 73262306a36Sopenharmony_ci}; 73362306a36Sopenharmony_cistatic const unsigned int soc_gpio04_pp4_pins[] = { 73462306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO04_PP4, 73562306a36Sopenharmony_ci}; 73662306a36Sopenharmony_cistatic const unsigned int soc_gpio05_pp5_pins[] = { 73762306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO05_PP5, 73862306a36Sopenharmony_ci}; 73962306a36Sopenharmony_cistatic const unsigned int soc_gpio06_pp6_pins[] = { 74062306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO06_PP6, 74162306a36Sopenharmony_ci}; 74262306a36Sopenharmony_cistatic const unsigned int soc_gpio07_pp7_pins[] = { 74362306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO07_PP7, 74462306a36Sopenharmony_ci}; 74562306a36Sopenharmony_cistatic const unsigned int soc_gpio20_pq0_pins[] = { 74662306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO20_PQ0, 74762306a36Sopenharmony_ci}; 74862306a36Sopenharmony_cistatic const unsigned int soc_gpio21_pq1_pins[] = { 74962306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO21_PQ1, 75062306a36Sopenharmony_ci}; 75162306a36Sopenharmony_cistatic const unsigned int soc_gpio22_pq2_pins[] = { 75262306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO22_PQ2, 75362306a36Sopenharmony_ci}; 75462306a36Sopenharmony_cistatic const unsigned int soc_gpio23_pq3_pins[] = { 75562306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO23_PQ3, 75662306a36Sopenharmony_ci}; 75762306a36Sopenharmony_cistatic const unsigned int soc_gpio40_pq4_pins[] = { 75862306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO40_PQ4, 75962306a36Sopenharmony_ci}; 76062306a36Sopenharmony_cistatic const unsigned int soc_gpio41_pq5_pins[] = { 76162306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO41_PQ5, 76262306a36Sopenharmony_ci}; 76362306a36Sopenharmony_cistatic const unsigned int soc_gpio42_pq6_pins[] = { 76462306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO42_PQ6, 76562306a36Sopenharmony_ci}; 76662306a36Sopenharmony_cistatic const unsigned int soc_gpio43_pq7_pins[] = { 76762306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO43_PQ7, 76862306a36Sopenharmony_ci}; 76962306a36Sopenharmony_cistatic const unsigned int soc_gpio44_pr0_pins[] = { 77062306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO44_PR0, 77162306a36Sopenharmony_ci}; 77262306a36Sopenharmony_cistatic const unsigned int soc_gpio45_pr1_pins[] = { 77362306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO45_PR1, 77462306a36Sopenharmony_ci}; 77562306a36Sopenharmony_cistatic const unsigned int uart1_tx_pr2_pins[] = { 77662306a36Sopenharmony_ci TEGRA_PIN_UART1_TX_PR2, 77762306a36Sopenharmony_ci}; 77862306a36Sopenharmony_cistatic const unsigned int uart1_rx_pr3_pins[] = { 77962306a36Sopenharmony_ci TEGRA_PIN_UART1_RX_PR3, 78062306a36Sopenharmony_ci}; 78162306a36Sopenharmony_cistatic const unsigned int uart1_rts_pr4_pins[] = { 78262306a36Sopenharmony_ci TEGRA_PIN_UART1_RTS_PR4, 78362306a36Sopenharmony_ci}; 78462306a36Sopenharmony_cistatic const unsigned int uart1_cts_pr5_pins[] = { 78562306a36Sopenharmony_ci TEGRA_PIN_UART1_CTS_PR5, 78662306a36Sopenharmony_ci}; 78762306a36Sopenharmony_cistatic const unsigned int dap1_sclk_ps0_pins[] = { 78862306a36Sopenharmony_ci TEGRA_PIN_DAP1_SCLK_PS0, 78962306a36Sopenharmony_ci}; 79062306a36Sopenharmony_cistatic const unsigned int dap1_dout_ps1_pins[] = { 79162306a36Sopenharmony_ci TEGRA_PIN_DAP1_DOUT_PS1, 79262306a36Sopenharmony_ci}; 79362306a36Sopenharmony_cistatic const unsigned int dap1_din_ps2_pins[] = { 79462306a36Sopenharmony_ci TEGRA_PIN_DAP1_DIN_PS2, 79562306a36Sopenharmony_ci}; 79662306a36Sopenharmony_cistatic const unsigned int dap1_fs_ps3_pins[] = { 79762306a36Sopenharmony_ci TEGRA_PIN_DAP1_FS_PS3, 79862306a36Sopenharmony_ci}; 79962306a36Sopenharmony_cistatic const unsigned int aud_mclk_ps4_pins[] = { 80062306a36Sopenharmony_ci TEGRA_PIN_AUD_MCLK_PS4, 80162306a36Sopenharmony_ci}; 80262306a36Sopenharmony_cistatic const unsigned int soc_gpio30_ps5_pins[] = { 80362306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO30_PS5, 80462306a36Sopenharmony_ci}; 80562306a36Sopenharmony_cistatic const unsigned int soc_gpio31_ps6_pins[] = { 80662306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO31_PS6, 80762306a36Sopenharmony_ci}; 80862306a36Sopenharmony_cistatic const unsigned int soc_gpio32_ps7_pins[] = { 80962306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO32_PS7, 81062306a36Sopenharmony_ci}; 81162306a36Sopenharmony_cistatic const unsigned int soc_gpio33_pt0_pins[] = { 81262306a36Sopenharmony_ci TEGRA_PIN_SOC_GPIO33_PT0, 81362306a36Sopenharmony_ci}; 81462306a36Sopenharmony_cistatic const unsigned int dap3_sclk_pt1_pins[] = { 81562306a36Sopenharmony_ci TEGRA_PIN_DAP3_SCLK_PT1, 81662306a36Sopenharmony_ci}; 81762306a36Sopenharmony_cistatic const unsigned int dap3_dout_pt2_pins[] = { 81862306a36Sopenharmony_ci TEGRA_PIN_DAP3_DOUT_PT2, 81962306a36Sopenharmony_ci}; 82062306a36Sopenharmony_cistatic const unsigned int dap3_din_pt3_pins[] = { 82162306a36Sopenharmony_ci TEGRA_PIN_DAP3_DIN_PT3, 82262306a36Sopenharmony_ci}; 82362306a36Sopenharmony_cistatic const unsigned int dap3_fs_pt4_pins[] = { 82462306a36Sopenharmony_ci TEGRA_PIN_DAP3_FS_PT4, 82562306a36Sopenharmony_ci}; 82662306a36Sopenharmony_cistatic const unsigned int dap5_sclk_pt5_pins[] = { 82762306a36Sopenharmony_ci TEGRA_PIN_DAP5_SCLK_PT5, 82862306a36Sopenharmony_ci}; 82962306a36Sopenharmony_cistatic const unsigned int dap5_dout_pt6_pins[] = { 83062306a36Sopenharmony_ci TEGRA_PIN_DAP5_DOUT_PT6, 83162306a36Sopenharmony_ci}; 83262306a36Sopenharmony_cistatic const unsigned int dap5_din_pt7_pins[] = { 83362306a36Sopenharmony_ci TEGRA_PIN_DAP5_DIN_PT7, 83462306a36Sopenharmony_ci}; 83562306a36Sopenharmony_cistatic const unsigned int dap5_fs_pu0_pins[] = { 83662306a36Sopenharmony_ci TEGRA_PIN_DAP5_FS_PU0, 83762306a36Sopenharmony_ci}; 83862306a36Sopenharmony_cistatic const unsigned int directdc1_clk_pv0_pins[] = { 83962306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_CLK_PV0, 84062306a36Sopenharmony_ci}; 84162306a36Sopenharmony_cistatic const unsigned int directdc1_in_pv1_pins[] = { 84262306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_IN_PV1, 84362306a36Sopenharmony_ci}; 84462306a36Sopenharmony_cistatic const unsigned int directdc1_out0_pv2_pins[] = { 84562306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT0_PV2, 84662306a36Sopenharmony_ci}; 84762306a36Sopenharmony_cistatic const unsigned int directdc1_out1_pv3_pins[] = { 84862306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT1_PV3, 84962306a36Sopenharmony_ci}; 85062306a36Sopenharmony_cistatic const unsigned int directdc1_out2_pv4_pins[] = { 85162306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT2_PV4, 85262306a36Sopenharmony_ci}; 85362306a36Sopenharmony_cistatic const unsigned int directdc1_out3_pv5_pins[] = { 85462306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT3_PV5, 85562306a36Sopenharmony_ci}; 85662306a36Sopenharmony_cistatic const unsigned int directdc1_out4_pv6_pins[] = { 85762306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT4_PV6, 85862306a36Sopenharmony_ci}; 85962306a36Sopenharmony_cistatic const unsigned int directdc1_out5_pv7_pins[] = { 86062306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT5_PV7, 86162306a36Sopenharmony_ci}; 86262306a36Sopenharmony_cistatic const unsigned int directdc1_out6_pw0_pins[] = { 86362306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT6_PW0, 86462306a36Sopenharmony_ci}; 86562306a36Sopenharmony_cistatic const unsigned int directdc1_out7_pw1_pins[] = { 86662306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC1_OUT7_PW1, 86762306a36Sopenharmony_ci}; 86862306a36Sopenharmony_cistatic const unsigned int gpu_pwr_req_px0_pins[] = { 86962306a36Sopenharmony_ci TEGRA_PIN_GPU_PWR_REQ_PX0, 87062306a36Sopenharmony_ci}; 87162306a36Sopenharmony_cistatic const unsigned int cv_pwr_req_px1_pins[] = { 87262306a36Sopenharmony_ci TEGRA_PIN_CV_PWR_REQ_PX1, 87362306a36Sopenharmony_ci}; 87462306a36Sopenharmony_cistatic const unsigned int gp_pwm2_px2_pins[] = { 87562306a36Sopenharmony_ci TEGRA_PIN_GP_PWM2_PX2, 87662306a36Sopenharmony_ci}; 87762306a36Sopenharmony_cistatic const unsigned int gp_pwm3_px3_pins[] = { 87862306a36Sopenharmony_ci TEGRA_PIN_GP_PWM3_PX3, 87962306a36Sopenharmony_ci}; 88062306a36Sopenharmony_cistatic const unsigned int uart2_tx_px4_pins[] = { 88162306a36Sopenharmony_ci TEGRA_PIN_UART2_TX_PX4, 88262306a36Sopenharmony_ci}; 88362306a36Sopenharmony_cistatic const unsigned int uart2_rx_px5_pins[] = { 88462306a36Sopenharmony_ci TEGRA_PIN_UART2_RX_PX5, 88562306a36Sopenharmony_ci}; 88662306a36Sopenharmony_cistatic const unsigned int uart2_rts_px6_pins[] = { 88762306a36Sopenharmony_ci TEGRA_PIN_UART2_RTS_PX6, 88862306a36Sopenharmony_ci}; 88962306a36Sopenharmony_cistatic const unsigned int uart2_cts_px7_pins[] = { 89062306a36Sopenharmony_ci TEGRA_PIN_UART2_CTS_PX7, 89162306a36Sopenharmony_ci}; 89262306a36Sopenharmony_cistatic const unsigned int spi3_sck_py0_pins[] = { 89362306a36Sopenharmony_ci TEGRA_PIN_SPI3_SCK_PY0, 89462306a36Sopenharmony_ci}; 89562306a36Sopenharmony_cistatic const unsigned int spi3_miso_py1_pins[] = { 89662306a36Sopenharmony_ci TEGRA_PIN_SPI3_MISO_PY1, 89762306a36Sopenharmony_ci}; 89862306a36Sopenharmony_cistatic const unsigned int spi3_mosi_py2_pins[] = { 89962306a36Sopenharmony_ci TEGRA_PIN_SPI3_MOSI_PY2, 90062306a36Sopenharmony_ci}; 90162306a36Sopenharmony_cistatic const unsigned int spi3_cs0_py3_pins[] = { 90262306a36Sopenharmony_ci TEGRA_PIN_SPI3_CS0_PY3, 90362306a36Sopenharmony_ci}; 90462306a36Sopenharmony_cistatic const unsigned int spi3_cs1_py4_pins[] = { 90562306a36Sopenharmony_ci TEGRA_PIN_SPI3_CS1_PY4, 90662306a36Sopenharmony_ci}; 90762306a36Sopenharmony_cistatic const unsigned int uart5_tx_py5_pins[] = { 90862306a36Sopenharmony_ci TEGRA_PIN_UART5_TX_PY5, 90962306a36Sopenharmony_ci}; 91062306a36Sopenharmony_cistatic const unsigned int uart5_rx_py6_pins[] = { 91162306a36Sopenharmony_ci TEGRA_PIN_UART5_RX_PY6, 91262306a36Sopenharmony_ci}; 91362306a36Sopenharmony_cistatic const unsigned int uart5_rts_py7_pins[] = { 91462306a36Sopenharmony_ci TEGRA_PIN_UART5_RTS_PY7, 91562306a36Sopenharmony_ci}; 91662306a36Sopenharmony_cistatic const unsigned int uart5_cts_pz0_pins[] = { 91762306a36Sopenharmony_ci TEGRA_PIN_UART5_CTS_PZ0, 91862306a36Sopenharmony_ci}; 91962306a36Sopenharmony_cistatic const unsigned int usb_vbus_en0_pz1_pins[] = { 92062306a36Sopenharmony_ci TEGRA_PIN_USB_VBUS_EN0_PZ1, 92162306a36Sopenharmony_ci}; 92262306a36Sopenharmony_cistatic const unsigned int usb_vbus_en1_pz2_pins[] = { 92362306a36Sopenharmony_ci TEGRA_PIN_USB_VBUS_EN1_PZ2, 92462306a36Sopenharmony_ci}; 92562306a36Sopenharmony_cistatic const unsigned int spi1_sck_pz3_pins[] = { 92662306a36Sopenharmony_ci TEGRA_PIN_SPI1_SCK_PZ3, 92762306a36Sopenharmony_ci}; 92862306a36Sopenharmony_cistatic const unsigned int spi1_miso_pz4_pins[] = { 92962306a36Sopenharmony_ci TEGRA_PIN_SPI1_MISO_PZ4, 93062306a36Sopenharmony_ci}; 93162306a36Sopenharmony_cistatic const unsigned int spi1_mosi_pz5_pins[] = { 93262306a36Sopenharmony_ci TEGRA_PIN_SPI1_MOSI_PZ5, 93362306a36Sopenharmony_ci}; 93462306a36Sopenharmony_cistatic const unsigned int spi1_cs0_pz6_pins[] = { 93562306a36Sopenharmony_ci TEGRA_PIN_SPI1_CS0_PZ6, 93662306a36Sopenharmony_ci}; 93762306a36Sopenharmony_cistatic const unsigned int spi1_cs1_pz7_pins[] = { 93862306a36Sopenharmony_ci TEGRA_PIN_SPI1_CS1_PZ7, 93962306a36Sopenharmony_ci}; 94062306a36Sopenharmony_cistatic const unsigned int can1_dout_paa0_pins[] = { 94162306a36Sopenharmony_ci TEGRA_PIN_CAN1_DOUT_PAA0, 94262306a36Sopenharmony_ci}; 94362306a36Sopenharmony_cistatic const unsigned int can1_din_paa1_pins[] = { 94462306a36Sopenharmony_ci TEGRA_PIN_CAN1_DIN_PAA1, 94562306a36Sopenharmony_ci}; 94662306a36Sopenharmony_cistatic const unsigned int can0_dout_paa2_pins[] = { 94762306a36Sopenharmony_ci TEGRA_PIN_CAN0_DOUT_PAA2, 94862306a36Sopenharmony_ci}; 94962306a36Sopenharmony_cistatic const unsigned int can0_din_paa3_pins[] = { 95062306a36Sopenharmony_ci TEGRA_PIN_CAN0_DIN_PAA3, 95162306a36Sopenharmony_ci}; 95262306a36Sopenharmony_cistatic const unsigned int can0_stb_paa4_pins[] = { 95362306a36Sopenharmony_ci TEGRA_PIN_CAN0_STB_PAA4, 95462306a36Sopenharmony_ci}; 95562306a36Sopenharmony_cistatic const unsigned int can0_en_paa5_pins[] = { 95662306a36Sopenharmony_ci TEGRA_PIN_CAN0_EN_PAA5, 95762306a36Sopenharmony_ci}; 95862306a36Sopenharmony_cistatic const unsigned int can0_wake_paa6_pins[] = { 95962306a36Sopenharmony_ci TEGRA_PIN_CAN0_WAKE_PAA6, 96062306a36Sopenharmony_ci}; 96162306a36Sopenharmony_cistatic const unsigned int can0_err_paa7_pins[] = { 96262306a36Sopenharmony_ci TEGRA_PIN_CAN0_ERR_PAA7, 96362306a36Sopenharmony_ci}; 96462306a36Sopenharmony_cistatic const unsigned int can1_stb_pbb0_pins[] = { 96562306a36Sopenharmony_ci TEGRA_PIN_CAN1_STB_PBB0, 96662306a36Sopenharmony_ci}; 96762306a36Sopenharmony_cistatic const unsigned int can1_en_pbb1_pins[] = { 96862306a36Sopenharmony_ci TEGRA_PIN_CAN1_EN_PBB1, 96962306a36Sopenharmony_ci}; 97062306a36Sopenharmony_cistatic const unsigned int can1_wake_pbb2_pins[] = { 97162306a36Sopenharmony_ci TEGRA_PIN_CAN1_WAKE_PBB2, 97262306a36Sopenharmony_ci}; 97362306a36Sopenharmony_cistatic const unsigned int can1_err_pbb3_pins[] = { 97462306a36Sopenharmony_ci TEGRA_PIN_CAN1_ERR_PBB3, 97562306a36Sopenharmony_ci}; 97662306a36Sopenharmony_cistatic const unsigned int spi2_sck_pcc0_pins[] = { 97762306a36Sopenharmony_ci TEGRA_PIN_SPI2_SCK_PCC0, 97862306a36Sopenharmony_ci}; 97962306a36Sopenharmony_cistatic const unsigned int spi2_miso_pcc1_pins[] = { 98062306a36Sopenharmony_ci TEGRA_PIN_SPI2_MISO_PCC1, 98162306a36Sopenharmony_ci}; 98262306a36Sopenharmony_cistatic const unsigned int spi2_mosi_pcc2_pins[] = { 98362306a36Sopenharmony_ci TEGRA_PIN_SPI2_MOSI_PCC2, 98462306a36Sopenharmony_ci}; 98562306a36Sopenharmony_cistatic const unsigned int spi2_cs0_pcc3_pins[] = { 98662306a36Sopenharmony_ci TEGRA_PIN_SPI2_CS0_PCC3, 98762306a36Sopenharmony_ci}; 98862306a36Sopenharmony_cistatic const unsigned int touch_clk_pcc4_pins[] = { 98962306a36Sopenharmony_ci TEGRA_PIN_TOUCH_CLK_PCC4, 99062306a36Sopenharmony_ci}; 99162306a36Sopenharmony_cistatic const unsigned int uart3_tx_pcc5_pins[] = { 99262306a36Sopenharmony_ci TEGRA_PIN_UART3_TX_PCC5, 99362306a36Sopenharmony_ci}; 99462306a36Sopenharmony_cistatic const unsigned int uart3_rx_pcc6_pins[] = { 99562306a36Sopenharmony_ci TEGRA_PIN_UART3_RX_PCC6, 99662306a36Sopenharmony_ci}; 99762306a36Sopenharmony_cistatic const unsigned int gen2_i2c_scl_pcc7_pins[] = { 99862306a36Sopenharmony_ci TEGRA_PIN_GEN2_I2C_SCL_PCC7, 99962306a36Sopenharmony_ci}; 100062306a36Sopenharmony_cistatic const unsigned int gen2_i2c_sda_pdd0_pins[] = { 100162306a36Sopenharmony_ci TEGRA_PIN_GEN2_I2C_SDA_PDD0, 100262306a36Sopenharmony_ci}; 100362306a36Sopenharmony_cistatic const unsigned int gen8_i2c_scl_pdd1_pins[] = { 100462306a36Sopenharmony_ci TEGRA_PIN_GEN8_I2C_SCL_PDD1, 100562306a36Sopenharmony_ci}; 100662306a36Sopenharmony_cistatic const unsigned int gen8_i2c_sda_pdd2_pins[] = { 100762306a36Sopenharmony_ci TEGRA_PIN_GEN8_I2C_SDA_PDD2, 100862306a36Sopenharmony_ci}; 100962306a36Sopenharmony_cistatic const unsigned int safe_state_pee0_pins[] = { 101062306a36Sopenharmony_ci TEGRA_PIN_SAFE_STATE_PEE0, 101162306a36Sopenharmony_ci}; 101262306a36Sopenharmony_cistatic const unsigned int vcomp_alert_pee1_pins[] = { 101362306a36Sopenharmony_ci TEGRA_PIN_VCOMP_ALERT_PEE1, 101462306a36Sopenharmony_ci}; 101562306a36Sopenharmony_cistatic const unsigned int ao_retention_n_pee2_pins[] = { 101662306a36Sopenharmony_ci TEGRA_PIN_AO_RETENTION_N_PEE2, 101762306a36Sopenharmony_ci}; 101862306a36Sopenharmony_cistatic const unsigned int batt_oc_pee3_pins[] = { 101962306a36Sopenharmony_ci TEGRA_PIN_BATT_OC_PEE3, 102062306a36Sopenharmony_ci}; 102162306a36Sopenharmony_cistatic const unsigned int power_on_pee4_pins[] = { 102262306a36Sopenharmony_ci TEGRA_PIN_POWER_ON_PEE4, 102362306a36Sopenharmony_ci}; 102462306a36Sopenharmony_cistatic const unsigned int pwr_i2c_scl_pee5_pins[] = { 102562306a36Sopenharmony_ci TEGRA_PIN_PWR_I2C_SCL_PEE5, 102662306a36Sopenharmony_ci}; 102762306a36Sopenharmony_cistatic const unsigned int pwr_i2c_sda_pee6_pins[] = { 102862306a36Sopenharmony_ci TEGRA_PIN_PWR_I2C_SDA_PEE6, 102962306a36Sopenharmony_ci}; 103062306a36Sopenharmony_cistatic const unsigned int ufs0_ref_clk_pff0_pins[] = { 103162306a36Sopenharmony_ci TEGRA_PIN_UFS0_REF_CLK_PFF0, 103262306a36Sopenharmony_ci}; 103362306a36Sopenharmony_cistatic const unsigned int ufs0_rst_pff1_pins[] = { 103462306a36Sopenharmony_ci TEGRA_PIN_UFS0_RST_PFF1, 103562306a36Sopenharmony_ci}; 103662306a36Sopenharmony_cistatic const unsigned int pex_l5_clkreq_n_pgg0_pins[] = { 103762306a36Sopenharmony_ci TEGRA_PIN_PEX_L5_CLKREQ_N_PGG0, 103862306a36Sopenharmony_ci}; 103962306a36Sopenharmony_cistatic const unsigned int pex_l5_rst_n_pgg1_pins[] = { 104062306a36Sopenharmony_ci TEGRA_PIN_PEX_L5_RST_N_PGG1, 104162306a36Sopenharmony_ci}; 104262306a36Sopenharmony_cistatic const unsigned int directdc_comp_pins[] = { 104362306a36Sopenharmony_ci TEGRA_PIN_DIRECTDC_COMP, 104462306a36Sopenharmony_ci}; 104562306a36Sopenharmony_cistatic const unsigned int sdmmc4_clk_pins[] = { 104662306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_CLK, 104762306a36Sopenharmony_ci}; 104862306a36Sopenharmony_cistatic const unsigned int sdmmc4_cmd_pins[] = { 104962306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_CMD, 105062306a36Sopenharmony_ci}; 105162306a36Sopenharmony_cistatic const unsigned int sdmmc4_dqs_pins[] = { 105262306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DQS, 105362306a36Sopenharmony_ci}; 105462306a36Sopenharmony_cistatic const unsigned int sdmmc4_dat7_pins[] = { 105562306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT7, 105662306a36Sopenharmony_ci}; 105762306a36Sopenharmony_cistatic const unsigned int sdmmc4_dat6_pins[] = { 105862306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT6, 105962306a36Sopenharmony_ci}; 106062306a36Sopenharmony_cistatic const unsigned int sdmmc4_dat5_pins[] = { 106162306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT5, 106262306a36Sopenharmony_ci}; 106362306a36Sopenharmony_cistatic const unsigned int sdmmc4_dat4_pins[] = { 106462306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT4, 106562306a36Sopenharmony_ci}; 106662306a36Sopenharmony_cistatic const unsigned int sdmmc4_dat3_pins[] = { 106762306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT3, 106862306a36Sopenharmony_ci}; 106962306a36Sopenharmony_cistatic const unsigned int sdmmc4_dat2_pins[] = { 107062306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT2, 107162306a36Sopenharmony_ci}; 107262306a36Sopenharmony_cistatic const unsigned int sdmmc4_dat1_pins[] = { 107362306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT1, 107462306a36Sopenharmony_ci}; 107562306a36Sopenharmony_cistatic const unsigned int sdmmc4_dat0_pins[] = { 107662306a36Sopenharmony_ci TEGRA_PIN_SDMMC4_DAT0, 107762306a36Sopenharmony_ci}; 107862306a36Sopenharmony_cistatic const unsigned int sdmmc1_comp_pins[] = { 107962306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_COMP, 108062306a36Sopenharmony_ci}; 108162306a36Sopenharmony_cistatic const unsigned int sdmmc3_comp_pins[] = { 108262306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_COMP, 108362306a36Sopenharmony_ci}; 108462306a36Sopenharmony_cistatic const unsigned int eqos_comp_pins[] = { 108562306a36Sopenharmony_ci TEGRA_PIN_EQOS_COMP, 108662306a36Sopenharmony_ci}; 108762306a36Sopenharmony_cistatic const unsigned int qspi_comp_pins[] = { 108862306a36Sopenharmony_ci TEGRA_PIN_QSPI_COMP, 108962306a36Sopenharmony_ci}; 109062306a36Sopenharmony_cistatic const unsigned int shutdown_n_pins[] = { 109162306a36Sopenharmony_ci TEGRA_PIN_SHUTDOWN_N, 109262306a36Sopenharmony_ci}; 109362306a36Sopenharmony_cistatic const unsigned int pmu_int_n_pins[] = { 109462306a36Sopenharmony_ci TEGRA_PIN_PMU_INT_N, 109562306a36Sopenharmony_ci}; 109662306a36Sopenharmony_cistatic const unsigned int soc_pwr_req_pins[] = { 109762306a36Sopenharmony_ci TEGRA_PIN_SOC_PWR_REQ, 109862306a36Sopenharmony_ci}; 109962306a36Sopenharmony_cistatic const unsigned int clk_32k_in_pins[] = { 110062306a36Sopenharmony_ci TEGRA_PIN_CLK_32K_IN, 110162306a36Sopenharmony_ci}; 110262306a36Sopenharmony_ci 110362306a36Sopenharmony_ci/* Define unique ID for each function */ 110462306a36Sopenharmony_cienum tegra_mux_dt { 110562306a36Sopenharmony_ci TEGRA_MUX_RSVD0, 110662306a36Sopenharmony_ci TEGRA_MUX_RSVD1, 110762306a36Sopenharmony_ci TEGRA_MUX_RSVD2, 110862306a36Sopenharmony_ci TEGRA_MUX_RSVD3, 110962306a36Sopenharmony_ci TEGRA_MUX_TOUCH, 111062306a36Sopenharmony_ci TEGRA_MUX_UARTC, 111162306a36Sopenharmony_ci TEGRA_MUX_I2C8, 111262306a36Sopenharmony_ci TEGRA_MUX_UARTG, 111362306a36Sopenharmony_ci TEGRA_MUX_SPI2, 111462306a36Sopenharmony_ci TEGRA_MUX_GP, 111562306a36Sopenharmony_ci TEGRA_MUX_DCA, 111662306a36Sopenharmony_ci TEGRA_MUX_WDT, 111762306a36Sopenharmony_ci TEGRA_MUX_I2C2, 111862306a36Sopenharmony_ci TEGRA_MUX_CAN1, 111962306a36Sopenharmony_ci TEGRA_MUX_CAN0, 112062306a36Sopenharmony_ci TEGRA_MUX_DMIC3, 112162306a36Sopenharmony_ci TEGRA_MUX_DMIC5, 112262306a36Sopenharmony_ci TEGRA_MUX_GPIO, 112362306a36Sopenharmony_ci TEGRA_MUX_DSPK1, 112462306a36Sopenharmony_ci TEGRA_MUX_DSPK0, 112562306a36Sopenharmony_ci TEGRA_MUX_SPDIF, 112662306a36Sopenharmony_ci TEGRA_MUX_AUD, 112762306a36Sopenharmony_ci TEGRA_MUX_I2S1, 112862306a36Sopenharmony_ci TEGRA_MUX_DMIC1, 112962306a36Sopenharmony_ci TEGRA_MUX_DMIC2, 113062306a36Sopenharmony_ci TEGRA_MUX_I2S3, 113162306a36Sopenharmony_ci TEGRA_MUX_DMIC4, 113262306a36Sopenharmony_ci TEGRA_MUX_I2S4, 113362306a36Sopenharmony_ci TEGRA_MUX_EXTPERIPH2, 113462306a36Sopenharmony_ci TEGRA_MUX_EXTPERIPH1, 113562306a36Sopenharmony_ci TEGRA_MUX_I2C3, 113662306a36Sopenharmony_ci TEGRA_MUX_VGP1, 113762306a36Sopenharmony_ci TEGRA_MUX_VGP2, 113862306a36Sopenharmony_ci TEGRA_MUX_VGP3, 113962306a36Sopenharmony_ci TEGRA_MUX_VGP4, 114062306a36Sopenharmony_ci TEGRA_MUX_VGP5, 114162306a36Sopenharmony_ci TEGRA_MUX_VGP6, 114262306a36Sopenharmony_ci TEGRA_MUX_SLVS, 114362306a36Sopenharmony_ci TEGRA_MUX_EXTPERIPH3, 114462306a36Sopenharmony_ci TEGRA_MUX_EXTPERIPH4, 114562306a36Sopenharmony_ci TEGRA_MUX_I2S2, 114662306a36Sopenharmony_ci TEGRA_MUX_UARTD, 114762306a36Sopenharmony_ci TEGRA_MUX_I2C1, 114862306a36Sopenharmony_ci TEGRA_MUX_UARTA, 114962306a36Sopenharmony_ci TEGRA_MUX_DIRECTDC1, 115062306a36Sopenharmony_ci TEGRA_MUX_DIRECTDC, 115162306a36Sopenharmony_ci TEGRA_MUX_IQC1, 115262306a36Sopenharmony_ci TEGRA_MUX_IQC2, 115362306a36Sopenharmony_ci TEGRA_MUX_I2S6, 115462306a36Sopenharmony_ci TEGRA_MUX_SDMMC3, 115562306a36Sopenharmony_ci TEGRA_MUX_SDMMC1, 115662306a36Sopenharmony_ci TEGRA_MUX_DP, 115762306a36Sopenharmony_ci TEGRA_MUX_HDMI, 115862306a36Sopenharmony_ci TEGRA_MUX_PE2, 115962306a36Sopenharmony_ci TEGRA_MUX_IGPU, 116062306a36Sopenharmony_ci TEGRA_MUX_SATA, 116162306a36Sopenharmony_ci TEGRA_MUX_PE1, 116262306a36Sopenharmony_ci TEGRA_MUX_PE0, 116362306a36Sopenharmony_ci TEGRA_MUX_PE3, 116462306a36Sopenharmony_ci TEGRA_MUX_PE4, 116562306a36Sopenharmony_ci TEGRA_MUX_PE5, 116662306a36Sopenharmony_ci TEGRA_MUX_SOC, 116762306a36Sopenharmony_ci TEGRA_MUX_EQOS, 116862306a36Sopenharmony_ci TEGRA_MUX_QSPI, 116962306a36Sopenharmony_ci TEGRA_MUX_QSPI0, 117062306a36Sopenharmony_ci TEGRA_MUX_QSPI1, 117162306a36Sopenharmony_ci TEGRA_MUX_MIPI, 117262306a36Sopenharmony_ci TEGRA_MUX_SCE, 117362306a36Sopenharmony_ci TEGRA_MUX_I2C5, 117462306a36Sopenharmony_ci TEGRA_MUX_DISPLAYA, 117562306a36Sopenharmony_ci TEGRA_MUX_DISPLAYB, 117662306a36Sopenharmony_ci TEGRA_MUX_DCB, 117762306a36Sopenharmony_ci TEGRA_MUX_SPI1, 117862306a36Sopenharmony_ci TEGRA_MUX_UARTB, 117962306a36Sopenharmony_ci TEGRA_MUX_UARTE, 118062306a36Sopenharmony_ci TEGRA_MUX_SPI3, 118162306a36Sopenharmony_ci TEGRA_MUX_NV, 118262306a36Sopenharmony_ci TEGRA_MUX_CCLA, 118362306a36Sopenharmony_ci TEGRA_MUX_I2S5, 118462306a36Sopenharmony_ci TEGRA_MUX_USB, 118562306a36Sopenharmony_ci TEGRA_MUX_UFS0, 118662306a36Sopenharmony_ci TEGRA_MUX_DGPU, 118762306a36Sopenharmony_ci TEGRA_MUX_SDMMC4, 118862306a36Sopenharmony_ci}; 118962306a36Sopenharmony_ci 119062306a36Sopenharmony_ci/* Make list of each function name */ 119162306a36Sopenharmony_ci#define TEGRA_PIN_FUNCTION(lid) #lid 119262306a36Sopenharmony_ci 119362306a36Sopenharmony_cistatic const char * const tegra194_functions[] = { 119462306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(rsvd0), 119562306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(rsvd1), 119662306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(rsvd2), 119762306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(rsvd3), 119862306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(touch), 119962306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(uartc), 120062306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(i2c8), 120162306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(uartg), 120262306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(spi2), 120362306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(gp), 120462306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(dca), 120562306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(wdt), 120662306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(i2c2), 120762306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(can1), 120862306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(can0), 120962306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(dmic3), 121062306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(dmic5), 121162306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(gpio), 121262306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(dspk1), 121362306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(dspk0), 121462306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(spdif), 121562306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(aud), 121662306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(i2s1), 121762306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(dmic1), 121862306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(dmic2), 121962306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(i2s3), 122062306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(dmic4), 122162306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(i2s4), 122262306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(extperiph2), 122362306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(extperiph1), 122462306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(i2c3), 122562306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(vgp1), 122662306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(vgp2), 122762306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(vgp3), 122862306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(vgp4), 122962306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(vgp5), 123062306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(vgp6), 123162306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(slvs), 123262306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(extperiph3), 123362306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(extperiph4), 123462306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(i2s2), 123562306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(uartd), 123662306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(i2c1), 123762306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(uarta), 123862306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(directdc1), 123962306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(directdc), 124062306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(iqc1), 124162306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(iqc2), 124262306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(i2s6), 124362306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(sdmmc3), 124462306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(sdmmc1), 124562306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(dp), 124662306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(hdmi), 124762306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(pe2), 124862306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(igpu), 124962306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(sata), 125062306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(pe1), 125162306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(pe0), 125262306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(pe3), 125362306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(pe4), 125462306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(pe5), 125562306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(soc), 125662306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(eqos), 125762306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(qspi), 125862306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(qspi0), 125962306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(qspi1), 126062306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(mipi), 126162306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(sce), 126262306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(i2c5), 126362306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(displaya), 126462306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(displayb), 126562306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(dcb), 126662306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(spi1), 126762306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(uartb), 126862306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(uarte), 126962306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(spi3), 127062306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(nv), 127162306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(ccla), 127262306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(i2s5), 127362306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(usb), 127462306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(ufs0), 127562306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(dgpu), 127662306a36Sopenharmony_ci TEGRA_PIN_FUNCTION(sdmmc4), 127762306a36Sopenharmony_ci 127862306a36Sopenharmony_ci}; 127962306a36Sopenharmony_ci 128062306a36Sopenharmony_ci#define PINGROUP_REG_Y(r) ((r)) 128162306a36Sopenharmony_ci#define PINGROUP_REG_N(r) -1 128262306a36Sopenharmony_ci 128362306a36Sopenharmony_ci#define DRV_PINGROUP_Y(r) ((r)) 128462306a36Sopenharmony_ci#define DRV_PINGROUP_N(r) -1 128562306a36Sopenharmony_ci 128662306a36Sopenharmony_ci#define DRV_PINGROUP_ENTRY_N(pg_name) \ 128762306a36Sopenharmony_ci .drv_reg = -1, \ 128862306a36Sopenharmony_ci .drv_bank = -1, \ 128962306a36Sopenharmony_ci .drvdn_bit = -1, \ 129062306a36Sopenharmony_ci .drvup_bit = -1, \ 129162306a36Sopenharmony_ci .slwr_bit = -1, \ 129262306a36Sopenharmony_ci .slwf_bit = -1 129362306a36Sopenharmony_ci 129462306a36Sopenharmony_ci#define DRV_PINGROUP_ENTRY_Y(r, drvdn_b, drvdn_w, drvup_b, \ 129562306a36Sopenharmony_ci drvup_w, slwr_b, slwr_w, slwf_b, \ 129662306a36Sopenharmony_ci slwf_w, bank) \ 129762306a36Sopenharmony_ci .drv_reg = ((r)), \ 129862306a36Sopenharmony_ci .drv_bank = bank, \ 129962306a36Sopenharmony_ci .drvdn_bit = drvdn_b, \ 130062306a36Sopenharmony_ci .drvdn_width = drvdn_w, \ 130162306a36Sopenharmony_ci .drvup_bit = drvup_b, \ 130262306a36Sopenharmony_ci .drvup_width = drvup_w, \ 130362306a36Sopenharmony_ci .slwr_bit = slwr_b, \ 130462306a36Sopenharmony_ci .slwr_width = slwr_w, \ 130562306a36Sopenharmony_ci .slwf_bit = slwf_b, \ 130662306a36Sopenharmony_ci .slwf_width = slwf_w 130762306a36Sopenharmony_ci 130862306a36Sopenharmony_ci#define PIN_PINGROUP_ENTRY_N(pg_name) \ 130962306a36Sopenharmony_ci .mux_reg = -1, \ 131062306a36Sopenharmony_ci .pupd_reg = -1, \ 131162306a36Sopenharmony_ci .tri_reg = -1, \ 131262306a36Sopenharmony_ci .einput_bit = -1, \ 131362306a36Sopenharmony_ci .e_io_hv_bit = -1, \ 131462306a36Sopenharmony_ci .odrain_bit = -1, \ 131562306a36Sopenharmony_ci .lock_bit = -1, \ 131662306a36Sopenharmony_ci .parked_bit = -1, \ 131762306a36Sopenharmony_ci .lpmd_bit = -1, \ 131862306a36Sopenharmony_ci .drvtype_bit = -1, \ 131962306a36Sopenharmony_ci .lpdr_bit = -1, \ 132062306a36Sopenharmony_ci .pbias_buf_bit = -1, \ 132162306a36Sopenharmony_ci .preemp_bit = -1, \ 132262306a36Sopenharmony_ci .rfu_in_bit = -1 132362306a36Sopenharmony_ci 132462306a36Sopenharmony_ci#define PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, e_input, \ 132562306a36Sopenharmony_ci e_lpdr, e_pbias_buf, gpio_sfio_sel, \ 132662306a36Sopenharmony_ci e_od, schmitt_b, drvtype, epreemp, \ 132762306a36Sopenharmony_ci io_reset, rfu_in, io_rail) \ 132862306a36Sopenharmony_ci .mux_reg = PINGROUP_REG_Y(r), \ 132962306a36Sopenharmony_ci .lpmd_bit = -1, \ 133062306a36Sopenharmony_ci .lock_bit = -1, \ 133162306a36Sopenharmony_ci .hsm_bit = -1, \ 133262306a36Sopenharmony_ci .mux_bank = bank, \ 133362306a36Sopenharmony_ci .mux_bit = 0, \ 133462306a36Sopenharmony_ci .pupd_reg = PINGROUP_REG_##pupd(r), \ 133562306a36Sopenharmony_ci .pupd_bank = bank, \ 133662306a36Sopenharmony_ci .pupd_bit = 2, \ 133762306a36Sopenharmony_ci .tri_reg = PINGROUP_REG_Y(r), \ 133862306a36Sopenharmony_ci .tri_bank = bank, \ 133962306a36Sopenharmony_ci .tri_bit = 4, \ 134062306a36Sopenharmony_ci .einput_bit = e_input, \ 134162306a36Sopenharmony_ci .sfsel_bit = gpio_sfio_sel, \ 134262306a36Sopenharmony_ci .odrain_bit = e_od, \ 134362306a36Sopenharmony_ci .schmitt_bit = schmitt_b, \ 134462306a36Sopenharmony_ci .drvtype_bit = 13, \ 134562306a36Sopenharmony_ci .lpdr_bit = e_lpdr, \ 134662306a36Sopenharmony_ci 134762306a36Sopenharmony_ci/* main drive pin groups */ 134862306a36Sopenharmony_ci#define drive_soc_gpio33_pt0 DRV_PINGROUP_ENTRY_Y(0x1004, 12, 5, 20, 5, -1, -1, -1, -1, 0) 134962306a36Sopenharmony_ci#define drive_soc_gpio32_ps7 DRV_PINGROUP_ENTRY_Y(0x100c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 135062306a36Sopenharmony_ci#define drive_soc_gpio31_ps6 DRV_PINGROUP_ENTRY_Y(0x1014, 12, 5, 20, 5, -1, -1, -1, -1, 0) 135162306a36Sopenharmony_ci#define drive_soc_gpio30_ps5 DRV_PINGROUP_ENTRY_Y(0x101c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 135262306a36Sopenharmony_ci#define drive_aud_mclk_ps4 DRV_PINGROUP_ENTRY_Y(0x1024, 12, 5, 20, 5, -1, -1, -1, -1, 0) 135362306a36Sopenharmony_ci#define drive_dap1_fs_ps3 DRV_PINGROUP_ENTRY_Y(0x102c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 135462306a36Sopenharmony_ci#define drive_dap1_din_ps2 DRV_PINGROUP_ENTRY_Y(0x1034, 12, 5, 20, 5, -1, -1, -1, -1, 0) 135562306a36Sopenharmony_ci#define drive_dap1_dout_ps1 DRV_PINGROUP_ENTRY_Y(0x103c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 135662306a36Sopenharmony_ci#define drive_dap1_sclk_ps0 DRV_PINGROUP_ENTRY_Y(0x1044, 12, 5, 20, 5, -1, -1, -1, -1, 0) 135762306a36Sopenharmony_ci#define drive_dap3_fs_pt4 DRV_PINGROUP_ENTRY_Y(0x104c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 135862306a36Sopenharmony_ci#define drive_dap3_din_pt3 DRV_PINGROUP_ENTRY_Y(0x1054, 12, 5, 20, 5, -1, -1, -1, -1, 0) 135962306a36Sopenharmony_ci#define drive_dap3_dout_pt2 DRV_PINGROUP_ENTRY_Y(0x105c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 136062306a36Sopenharmony_ci#define drive_dap3_sclk_pt1 DRV_PINGROUP_ENTRY_Y(0x1064, 12, 5, 20, 5, -1, -1, -1, -1, 0) 136162306a36Sopenharmony_ci#define drive_dap5_fs_pu0 DRV_PINGROUP_ENTRY_Y(0x106c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 136262306a36Sopenharmony_ci#define drive_dap5_din_pt7 DRV_PINGROUP_ENTRY_Y(0x1074, 12, 5, 20, 5, -1, -1, -1, -1, 0) 136362306a36Sopenharmony_ci#define drive_dap5_dout_pt6 DRV_PINGROUP_ENTRY_Y(0x107c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 136462306a36Sopenharmony_ci#define drive_dap5_sclk_pt5 DRV_PINGROUP_ENTRY_Y(0x1084, 12, 5, 20, 5, -1, -1, -1, -1, 0) 136562306a36Sopenharmony_ci#define drive_dap6_fs_pa3 DRV_PINGROUP_ENTRY_Y(0x2004, 28, 2, 30, 2, -1, -1, -1, -1, 0) 136662306a36Sopenharmony_ci#define drive_dap6_din_pa2 DRV_PINGROUP_ENTRY_Y(0x200c, 28, 2, 30, 2, -1, -1, -1, -1, 0) 136762306a36Sopenharmony_ci#define drive_dap6_dout_pa1 DRV_PINGROUP_ENTRY_Y(0x2014, 28, 2, 30, 2, -1, -1, -1, -1, 0) 136862306a36Sopenharmony_ci#define drive_dap6_sclk_pa0 DRV_PINGROUP_ENTRY_Y(0x201c, 28, 2, 30, 2, -1, -1, -1, -1, 0) 136962306a36Sopenharmony_ci#define drive_dap4_fs_pa7 DRV_PINGROUP_ENTRY_Y(0x2024, 28, 2, 30, 2, -1, -1, -1, -1, 0) 137062306a36Sopenharmony_ci#define drive_dap4_din_pa6 DRV_PINGROUP_ENTRY_Y(0x202c, 28, 2, 30, 2, -1, -1, -1, -1, 0) 137162306a36Sopenharmony_ci#define drive_dap4_dout_pa5 DRV_PINGROUP_ENTRY_Y(0x2034, 28, 2, 30, 2, -1, -1, -1, -1, 0) 137262306a36Sopenharmony_ci#define drive_dap4_sclk_pa4 DRV_PINGROUP_ENTRY_Y(0x203c, 28, 2, 30, 2, -1, -1, -1, -1, 0) 137362306a36Sopenharmony_ci#define drive_extperiph2_clk_pp1 DRV_PINGROUP_ENTRY_Y(0x0004, 12, 5, 20, 5, -1, -1, -1, -1, 0) 137462306a36Sopenharmony_ci#define drive_extperiph1_clk_pp0 DRV_PINGROUP_ENTRY_Y(0x000c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 137562306a36Sopenharmony_ci#define drive_cam_i2c_sda_pp3 DRV_PINGROUP_ENTRY_Y(0x0014, 12, 5, 20, 5, -1, -1, -1, -1, 0) 137662306a36Sopenharmony_ci#define drive_cam_i2c_scl_pp2 DRV_PINGROUP_ENTRY_Y(0x001c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 137762306a36Sopenharmony_ci#define drive_soc_gpio40_pq4 DRV_PINGROUP_ENTRY_Y(0x0024, 12, 5, 20, 5, -1, -1, -1, -1, 0) 137862306a36Sopenharmony_ci#define drive_soc_gpio41_pq5 DRV_PINGROUP_ENTRY_Y(0x002c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 137962306a36Sopenharmony_ci#define drive_soc_gpio42_pq6 DRV_PINGROUP_ENTRY_Y(0x0034, 12, 5, 20, 5, -1, -1, -1, -1, 0) 138062306a36Sopenharmony_ci#define drive_soc_gpio43_pq7 DRV_PINGROUP_ENTRY_Y(0x003c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 138162306a36Sopenharmony_ci#define drive_soc_gpio44_pr0 DRV_PINGROUP_ENTRY_Y(0x0044, 12, 5, 20, 5, -1, -1, -1, -1, 0) 138262306a36Sopenharmony_ci#define drive_soc_gpio45_pr1 DRV_PINGROUP_ENTRY_Y(0x004c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 138362306a36Sopenharmony_ci#define drive_soc_gpio20_pq0 DRV_PINGROUP_ENTRY_Y(0x0054, 12, 5, 20, 5, -1, -1, -1, -1, 0) 138462306a36Sopenharmony_ci#define drive_soc_gpio21_pq1 DRV_PINGROUP_ENTRY_Y(0x005c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 138562306a36Sopenharmony_ci#define drive_soc_gpio22_pq2 DRV_PINGROUP_ENTRY_Y(0x0064, 12, 5, 20, 5, -1, -1, -1, -1, 0) 138662306a36Sopenharmony_ci#define drive_soc_gpio23_pq3 DRV_PINGROUP_ENTRY_Y(0x006c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 138762306a36Sopenharmony_ci#define drive_soc_gpio04_pp4 DRV_PINGROUP_ENTRY_Y(0x0074, 12, 5, 20, 5, -1, -1, -1, -1, 0) 138862306a36Sopenharmony_ci#define drive_soc_gpio05_pp5 DRV_PINGROUP_ENTRY_Y(0x007c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 138962306a36Sopenharmony_ci#define drive_soc_gpio06_pp6 DRV_PINGROUP_ENTRY_Y(0x0084, 12, 5, 20, 5, -1, -1, -1, -1, 0) 139062306a36Sopenharmony_ci#define drive_soc_gpio07_pp7 DRV_PINGROUP_ENTRY_Y(0x008c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 139162306a36Sopenharmony_ci#define drive_uart1_cts_pr5 DRV_PINGROUP_ENTRY_Y(0x0094, 12, 5, 20, 5, -1, -1, -1, -1, 0) 139262306a36Sopenharmony_ci#define drive_uart1_rts_pr4 DRV_PINGROUP_ENTRY_Y(0x009c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 139362306a36Sopenharmony_ci#define drive_uart1_rx_pr3 DRV_PINGROUP_ENTRY_Y(0x00a4, 12, 5, 20, 5, -1, -1, -1, -1, 0) 139462306a36Sopenharmony_ci#define drive_uart1_tx_pr2 DRV_PINGROUP_ENTRY_Y(0x00ac, 12, 5, 20, 5, -1, -1, -1, -1, 0) 139562306a36Sopenharmony_ci#define drive_dap2_din_pi1 DRV_PINGROUP_ENTRY_Y(0x4004, 12, 5, 20, 5, -1, -1, -1, -1, 0) 139662306a36Sopenharmony_ci#define drive_dap2_dout_pi0 DRV_PINGROUP_ENTRY_Y(0x400c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 139762306a36Sopenharmony_ci#define drive_dap2_fs_pi2 DRV_PINGROUP_ENTRY_Y(0x4014, 12, 5, 20, 5, -1, -1, -1, -1, 0) 139862306a36Sopenharmony_ci#define drive_dap2_sclk_ph7 DRV_PINGROUP_ENTRY_Y(0x401c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 139962306a36Sopenharmony_ci#define drive_uart4_cts_ph6 DRV_PINGROUP_ENTRY_Y(0x4024, 12, 5, 20, 5, -1, -1, -1, -1, 0) 140062306a36Sopenharmony_ci#define drive_uart4_rts_ph5 DRV_PINGROUP_ENTRY_Y(0x402c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 140162306a36Sopenharmony_ci#define drive_uart4_rx_ph4 DRV_PINGROUP_ENTRY_Y(0x4034, 12, 5, 20, 5, -1, -1, -1, -1, 0) 140262306a36Sopenharmony_ci#define drive_uart4_tx_ph3 DRV_PINGROUP_ENTRY_Y(0x403c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 140362306a36Sopenharmony_ci#define drive_soc_gpio03_pg3 DRV_PINGROUP_ENTRY_Y(0x4044, 12, 5, 20, 5, -1, -1, -1, -1, 0) 140462306a36Sopenharmony_ci#define drive_soc_gpio02_pg2 DRV_PINGROUP_ENTRY_Y(0x404c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 140562306a36Sopenharmony_ci#define drive_soc_gpio01_pg1 DRV_PINGROUP_ENTRY_Y(0x4054, 12, 5, 20, 5, -1, -1, -1, -1, 0) 140662306a36Sopenharmony_ci#define drive_soc_gpio00_pg0 DRV_PINGROUP_ENTRY_Y(0x405c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 140762306a36Sopenharmony_ci#define drive_gen1_i2c_scl_pi3 DRV_PINGROUP_ENTRY_Y(0x4064, 12, 5, 20, 5, -1, -1, -1, -1, 0) 140862306a36Sopenharmony_ci#define drive_gen1_i2c_sda_pi4 DRV_PINGROUP_ENTRY_Y(0x406c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 140962306a36Sopenharmony_ci#define drive_soc_gpio08_pg4 DRV_PINGROUP_ENTRY_Y(0x4074, 12, 5, 20, 5, -1, -1, -1, -1, 0) 141062306a36Sopenharmony_ci#define drive_soc_gpio09_pg5 DRV_PINGROUP_ENTRY_Y(0x407c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 141162306a36Sopenharmony_ci#define drive_soc_gpio10_pg6 DRV_PINGROUP_ENTRY_Y(0x4084, 12, 5, 20, 5, -1, -1, -1, -1, 0) 141262306a36Sopenharmony_ci#define drive_soc_gpio11_pg7 DRV_PINGROUP_ENTRY_Y(0x408c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 141362306a36Sopenharmony_ci#define drive_soc_gpio12_ph0 DRV_PINGROUP_ENTRY_Y(0x4094, 12, 5, 20, 5, -1, -1, -1, -1, 0) 141462306a36Sopenharmony_ci#define drive_soc_gpio13_ph1 DRV_PINGROUP_ENTRY_Y(0x409c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 141562306a36Sopenharmony_ci#define drive_soc_gpio14_ph2 DRV_PINGROUP_ENTRY_Y(0x40a4, 12, 5, 20, 5, -1, -1, -1, -1, 0) 141662306a36Sopenharmony_ci#define drive_soc_gpio50_pm5 DRV_PINGROUP_ENTRY_Y(0x10004, 12, 5, 20, 5, -1, -1, -1, -1, 0) 141762306a36Sopenharmony_ci#define drive_soc_gpio51_pm6 DRV_PINGROUP_ENTRY_Y(0x1000c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 141862306a36Sopenharmony_ci#define drive_soc_gpio52_pm7 DRV_PINGROUP_ENTRY_Y(0x10014, 12, 5, 20, 5, -1, -1, -1, -1, 0) 141962306a36Sopenharmony_ci#define drive_soc_gpio53_pn0 DRV_PINGROUP_ENTRY_Y(0x1001c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 142062306a36Sopenharmony_ci#define drive_soc_gpio54_pn1 DRV_PINGROUP_ENTRY_Y(0x10024, 12, 5, 20, 5, -1, -1, -1, -1, 0) 142162306a36Sopenharmony_ci#define drive_soc_gpio55_pn2 DRV_PINGROUP_ENTRY_Y(0x1002c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 142262306a36Sopenharmony_ci#define drive_dp_aux_ch0_hpd_pm0 DRV_PINGROUP_ENTRY_Y(0x10034, 12, 5, 20, 5, -1, -1, -1, -1, 0) 142362306a36Sopenharmony_ci#define drive_dp_aux_ch1_hpd_pm1 DRV_PINGROUP_ENTRY_Y(0x1003c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 142462306a36Sopenharmony_ci#define drive_dp_aux_ch2_hpd_pm2 DRV_PINGROUP_ENTRY_Y(0x10044, 12, 5, 20, 5, -1, -1, -1, -1, 0) 142562306a36Sopenharmony_ci#define drive_dp_aux_ch3_hpd_pm3 DRV_PINGROUP_ENTRY_Y(0x1004c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 142662306a36Sopenharmony_ci#define drive_hdmi_cec_pm4 DRV_PINGROUP_ENTRY_Y(0x10054, 12, 5, 20, 5, -1, -1, -1, -1, 0) 142762306a36Sopenharmony_ci#define drive_pex_l2_clkreq_n_pk4 DRV_PINGROUP_ENTRY_Y(0x7004, 12, 5, 20, 5, -1, -1, -1, -1, 0) 142862306a36Sopenharmony_ci#define drive_pex_wake_n_pl2 DRV_PINGROUP_ENTRY_Y(0x700c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 142962306a36Sopenharmony_ci#define drive_pex_l1_clkreq_n_pk2 DRV_PINGROUP_ENTRY_Y(0x7014, 12, 5, 20, 5, -1, -1, -1, -1, 0) 143062306a36Sopenharmony_ci#define drive_pex_l1_rst_n_pk3 DRV_PINGROUP_ENTRY_Y(0x701c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 143162306a36Sopenharmony_ci#define drive_pex_l0_clkreq_n_pk0 DRV_PINGROUP_ENTRY_Y(0x7024, 12, 5, 20, 5, -1, -1, -1, -1, 0) 143262306a36Sopenharmony_ci#define drive_pex_l0_rst_n_pk1 DRV_PINGROUP_ENTRY_Y(0x702c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 143362306a36Sopenharmony_ci#define drive_pex_l2_rst_n_pk5 DRV_PINGROUP_ENTRY_Y(0x7034, 12, 5, 20, 5, -1, -1, -1, -1, 0) 143462306a36Sopenharmony_ci#define drive_pex_l3_clkreq_n_pk6 DRV_PINGROUP_ENTRY_Y(0x703c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 143562306a36Sopenharmony_ci#define drive_pex_l3_rst_n_pk7 DRV_PINGROUP_ENTRY_Y(0x7044, 12, 5, 20, 5, -1, -1, -1, -1, 0) 143662306a36Sopenharmony_ci#define drive_pex_l4_clkreq_n_pl0 DRV_PINGROUP_ENTRY_Y(0x704c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 143762306a36Sopenharmony_ci#define drive_pex_l4_rst_n_pl1 DRV_PINGROUP_ENTRY_Y(0x7054, 12, 5, 20, 5, -1, -1, -1, -1, 0) 143862306a36Sopenharmony_ci#define drive_sata_dev_slp_pl3 DRV_PINGROUP_ENTRY_Y(0x705c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 143962306a36Sopenharmony_ci#define drive_pex_l5_clkreq_n_pgg0 DRV_PINGROUP_ENTRY_Y(0x14004, 12, 5, 20, 5, -1, -1, -1, -1, 0) 144062306a36Sopenharmony_ci#define drive_pex_l5_rst_n_pgg1 DRV_PINGROUP_ENTRY_Y(0x1400c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 144162306a36Sopenharmony_ci#define drive_cpu_pwr_req_1_pb1 DRV_PINGROUP_ENTRY_Y(0x16004, 12, 5, 20, 5, -1, -1, -1, -1, 0) 144262306a36Sopenharmony_ci#define drive_cpu_pwr_req_0_pb0 DRV_PINGROUP_ENTRY_Y(0x1600c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 144362306a36Sopenharmony_ci#define drive_sdmmc1_clk_pj0 DRV_PINGROUP_ENTRY_Y(0x8004, -1, -1, -1, -1, 28, 2, 30, 2, 0) 144462306a36Sopenharmony_ci#define drive_sdmmc1_cmd_pj1 DRV_PINGROUP_ENTRY_Y(0x800c, -1, -1, -1, -1, 28, 2, 30, 2, 0) 144562306a36Sopenharmony_ci#define drive_sdmmc1_dat3_pj5 DRV_PINGROUP_ENTRY_Y(0x801c, -1, -1, -1, -1, 28, 2, 30, 2, 0) 144662306a36Sopenharmony_ci#define drive_sdmmc1_dat2_pj4 DRV_PINGROUP_ENTRY_Y(0x8024, -1, -1, -1, -1, 28, 2, 30, 2, 0) 144762306a36Sopenharmony_ci#define drive_sdmmc1_dat1_pj3 DRV_PINGROUP_ENTRY_Y(0x802c, -1, -1, -1, -1, 28, 2, 30, 2, 0) 144862306a36Sopenharmony_ci#define drive_sdmmc1_dat0_pj2 DRV_PINGROUP_ENTRY_Y(0x8034, -1, -1, -1, -1, 28, 2, 30, 2, 0) 144962306a36Sopenharmony_ci#define drive_sdmmc3_dat3_po5 DRV_PINGROUP_ENTRY_Y(0xa004, -1, -1, -1, -1, 28, 2, 30, 2, 0) 145062306a36Sopenharmony_ci#define drive_sdmmc3_dat2_po4 DRV_PINGROUP_ENTRY_Y(0xa00c, -1, -1, -1, -1, 28, 2, 30, 2, 0) 145162306a36Sopenharmony_ci#define drive_sdmmc3_dat1_po3 DRV_PINGROUP_ENTRY_Y(0xa014, -1, -1, -1, -1, 28, 2, 30, 2, 0) 145262306a36Sopenharmony_ci#define drive_sdmmc3_dat0_po2 DRV_PINGROUP_ENTRY_Y(0xa01c, -1, -1, -1, -1, 28, 2, 30, 2, 0) 145362306a36Sopenharmony_ci#define drive_sdmmc3_cmd_po1 DRV_PINGROUP_ENTRY_Y(0xa02c, -1, -1, -1, -1, 28, 2, 30, 2, 0) 145462306a36Sopenharmony_ci#define drive_sdmmc3_clk_po0 DRV_PINGROUP_ENTRY_Y(0xa034, -1, -1, -1, -1, 28, 2, 30, 2, 0) 145562306a36Sopenharmony_ci#define drive_gpu_pwr_req_px0 DRV_PINGROUP_ENTRY_Y(0xD004, 12, 5, 20, 5, -1, -1, -1, -1, 0) 145662306a36Sopenharmony_ci#define drive_spi3_miso_py1 DRV_PINGROUP_ENTRY_Y(0xD00c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 145762306a36Sopenharmony_ci#define drive_spi1_cs0_pz6 DRV_PINGROUP_ENTRY_Y(0xD014, 12, 5, 20, 5, -1, -1, -1, -1, 0) 145862306a36Sopenharmony_ci#define drive_spi3_cs0_py3 DRV_PINGROUP_ENTRY_Y(0xD01c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 145962306a36Sopenharmony_ci#define drive_spi1_miso_pz4 DRV_PINGROUP_ENTRY_Y(0xD024, 12, 5, 20, 5, -1, -1, -1, -1, 0) 146062306a36Sopenharmony_ci#define drive_spi3_cs1_py4 DRV_PINGROUP_ENTRY_Y(0xD02c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 146162306a36Sopenharmony_ci#define drive_gp_pwm3_px3 DRV_PINGROUP_ENTRY_Y(0xD034, 12, 5, 20, 5, -1, -1, -1, -1, 0) 146262306a36Sopenharmony_ci#define drive_gp_pwm2_px2 DRV_PINGROUP_ENTRY_Y(0xD03c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 146362306a36Sopenharmony_ci#define drive_spi1_sck_pz3 DRV_PINGROUP_ENTRY_Y(0xD044, 12, 5, 20, 5, -1, -1, -1, -1, 0) 146462306a36Sopenharmony_ci#define drive_spi3_sck_py0 DRV_PINGROUP_ENTRY_Y(0xD04c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 146562306a36Sopenharmony_ci#define drive_spi1_cs1_pz7 DRV_PINGROUP_ENTRY_Y(0xD054, 12, 5, 20, 5, -1, -1, -1, -1, 0) 146662306a36Sopenharmony_ci#define drive_spi1_mosi_pz5 DRV_PINGROUP_ENTRY_Y(0xD05c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 146762306a36Sopenharmony_ci#define drive_spi3_mosi_py2 DRV_PINGROUP_ENTRY_Y(0xD064, 12, 5, 20, 5, -1, -1, -1, -1, 0) 146862306a36Sopenharmony_ci#define drive_cv_pwr_req_px1 DRV_PINGROUP_ENTRY_Y(0xD06c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 146962306a36Sopenharmony_ci#define drive_uart2_tx_px4 DRV_PINGROUP_ENTRY_Y(0xD074, 12, 5, 20, 5, -1, -1, -1, -1, 0) 147062306a36Sopenharmony_ci#define drive_uart2_rx_px5 DRV_PINGROUP_ENTRY_Y(0xD07c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 147162306a36Sopenharmony_ci#define drive_uart2_rts_px6 DRV_PINGROUP_ENTRY_Y(0xD084, 12, 5, 20, 5, -1, -1, -1, -1, 0) 147262306a36Sopenharmony_ci#define drive_uart2_cts_px7 DRV_PINGROUP_ENTRY_Y(0xD08c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 147362306a36Sopenharmony_ci#define drive_uart5_rx_py6 DRV_PINGROUP_ENTRY_Y(0xD094, 12, 5, 20, 5, -1, -1, -1, -1, 0) 147462306a36Sopenharmony_ci#define drive_uart5_tx_py5 DRV_PINGROUP_ENTRY_Y(0xD09c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 147562306a36Sopenharmony_ci#define drive_uart5_rts_py7 DRV_PINGROUP_ENTRY_Y(0xD0a4, 12, 5, 20, 5, -1, -1, -1, -1, 0) 147662306a36Sopenharmony_ci#define drive_uart5_cts_pz0 DRV_PINGROUP_ENTRY_Y(0xD0ac, 12, 5, 20, 5, -1, -1, -1, -1, 0) 147762306a36Sopenharmony_ci#define drive_usb_vbus_en0_pz1 DRV_PINGROUP_ENTRY_Y(0xD0b4, 12, 5, 20, 5, -1, -1, -1, -1, 0) 147862306a36Sopenharmony_ci#define drive_usb_vbus_en1_pz2 DRV_PINGROUP_ENTRY_Y(0xD0bc, 12, 5, 20, 5, -1, -1, -1, -1, 0) 147962306a36Sopenharmony_ci#define drive_ufs0_rst_pff1 DRV_PINGROUP_ENTRY_Y(0x11004, 12, 9, 24, 8, -1, -1, -1, -1, 0) 148062306a36Sopenharmony_ci#define drive_ufs0_ref_clk_pff0 DRV_PINGROUP_ENTRY_Y(0x1100c, 12, 9, 24, 8, -1, -1, -1, -1, 0) 148162306a36Sopenharmony_ci 148262306a36Sopenharmony_ci#define drive_directdc_comp DRV_PINGROUP_ENTRY_N(no_entry) 148362306a36Sopenharmony_ci#define drive_sdmmc1_comp DRV_PINGROUP_ENTRY_N(no_entry) 148462306a36Sopenharmony_ci#define drive_eqos_comp DRV_PINGROUP_ENTRY_N(no_entry) 148562306a36Sopenharmony_ci#define drive_sdmmc3_comp DRV_PINGROUP_ENTRY_N(no_entry) 148662306a36Sopenharmony_ci#define drive_sdmmc4_clk DRV_PINGROUP_ENTRY_N(no_entry) 148762306a36Sopenharmony_ci#define drive_sdmmc4_cmd DRV_PINGROUP_ENTRY_N(no_entry) 148862306a36Sopenharmony_ci#define drive_sdmmc4_dqs DRV_PINGROUP_ENTRY_N(no_entry) 148962306a36Sopenharmony_ci#define drive_sdmmc4_dat7 DRV_PINGROUP_ENTRY_N(no_entry) 149062306a36Sopenharmony_ci#define drive_sdmmc4_dat6 DRV_PINGROUP_ENTRY_N(no_entry) 149162306a36Sopenharmony_ci#define drive_sdmmc4_dat5 DRV_PINGROUP_ENTRY_N(no_entry) 149262306a36Sopenharmony_ci#define drive_sdmmc4_dat4 DRV_PINGROUP_ENTRY_N(no_entry) 149362306a36Sopenharmony_ci#define drive_sdmmc4_dat3 DRV_PINGROUP_ENTRY_N(no_entry) 149462306a36Sopenharmony_ci#define drive_sdmmc4_dat2 DRV_PINGROUP_ENTRY_N(no_entry) 149562306a36Sopenharmony_ci#define drive_sdmmc4_dat1 DRV_PINGROUP_ENTRY_N(no_entry) 149662306a36Sopenharmony_ci#define drive_sdmmc4_dat0 DRV_PINGROUP_ENTRY_N(no_entry) 149762306a36Sopenharmony_ci#define drive_qspi_comp DRV_PINGROUP_ENTRY_N(no_entry) 149862306a36Sopenharmony_ci#define drive_qspi1_cs_n_pc7 DRV_PINGROUP_ENTRY_N(no_entry) 149962306a36Sopenharmony_ci#define drive_qspi1_sck_pc6 DRV_PINGROUP_ENTRY_N(no_entry) 150062306a36Sopenharmony_ci#define drive_qspi1_io0_pd0 DRV_PINGROUP_ENTRY_N(no_entry) 150162306a36Sopenharmony_ci#define drive_qspi1_io1_pd1 DRV_PINGROUP_ENTRY_N(no_entry) 150262306a36Sopenharmony_ci#define drive_qspi1_io2_pd2 DRV_PINGROUP_ENTRY_N(no_entry) 150362306a36Sopenharmony_ci#define drive_qspi1_io3_pd3 DRV_PINGROUP_ENTRY_N(no_entry) 150462306a36Sopenharmony_ci#define drive_qspi0_io0_pc2 DRV_PINGROUP_ENTRY_N(no_entry) 150562306a36Sopenharmony_ci#define drive_qspi0_io1_pc3 DRV_PINGROUP_ENTRY_N(no_entry) 150662306a36Sopenharmony_ci#define drive_qspi0_io2_pc4 DRV_PINGROUP_ENTRY_N(no_entry) 150762306a36Sopenharmony_ci#define drive_qspi0_io3_pc5 DRV_PINGROUP_ENTRY_N(no_entry) 150862306a36Sopenharmony_ci#define drive_qspi0_cs_n_pc1 DRV_PINGROUP_ENTRY_N(no_entry) 150962306a36Sopenharmony_ci#define drive_qspi0_sck_pc0 DRV_PINGROUP_ENTRY_N(no_entry) 151062306a36Sopenharmony_ci#define drive_eqos_rx_ctl_pf2 DRV_PINGROUP_ENTRY_N(no_entry) 151162306a36Sopenharmony_ci#define drive_eqos_tx_ctl_pe5 DRV_PINGROUP_ENTRY_N(no_entry) 151262306a36Sopenharmony_ci#define drive_eqos_rxc_pf3 DRV_PINGROUP_ENTRY_N(no_entry) 151362306a36Sopenharmony_ci#define drive_eqos_txc_pe0 DRV_PINGROUP_ENTRY_N(no_entry) 151462306a36Sopenharmony_ci#define drive_eqos_sma_mdc_pf5 DRV_PINGROUP_ENTRY_N(no_entry) 151562306a36Sopenharmony_ci#define drive_eqos_sma_mdio_pf4 DRV_PINGROUP_ENTRY_N(no_entry) 151662306a36Sopenharmony_ci#define drive_eqos_rd0_pe6 DRV_PINGROUP_ENTRY_N(no_entry) 151762306a36Sopenharmony_ci#define drive_eqos_rd1_pe7 DRV_PINGROUP_ENTRY_N(no_entry) 151862306a36Sopenharmony_ci#define drive_eqos_rd2_pf0 DRV_PINGROUP_ENTRY_N(no_entry) 151962306a36Sopenharmony_ci#define drive_eqos_rd3_pf1 DRV_PINGROUP_ENTRY_N(no_entry) 152062306a36Sopenharmony_ci#define drive_eqos_td0_pe1 DRV_PINGROUP_ENTRY_N(no_entry) 152162306a36Sopenharmony_ci#define drive_eqos_td1_pe2 DRV_PINGROUP_ENTRY_N(no_entry) 152262306a36Sopenharmony_ci#define drive_eqos_td2_pe3 DRV_PINGROUP_ENTRY_N(no_entry) 152362306a36Sopenharmony_ci#define drive_eqos_td3_pe4 DRV_PINGROUP_ENTRY_N(no_entry) 152462306a36Sopenharmony_ci#define drive_directdc1_out7_pw1 DRV_PINGROUP_ENTRY_N(no_entry) 152562306a36Sopenharmony_ci#define drive_directdc1_out6_pw0 DRV_PINGROUP_ENTRY_N(no_entry) 152662306a36Sopenharmony_ci#define drive_directdc1_out5_pv7 DRV_PINGROUP_ENTRY_N(no_entry) 152762306a36Sopenharmony_ci#define drive_directdc1_out4_pv6 DRV_PINGROUP_ENTRY_N(no_entry) 152862306a36Sopenharmony_ci#define drive_directdc1_out3_pv5 DRV_PINGROUP_ENTRY_N(no_entry) 152962306a36Sopenharmony_ci#define drive_directdc1_out2_pv4 DRV_PINGROUP_ENTRY_N(no_entry) 153062306a36Sopenharmony_ci#define drive_directdc1_out1_pv3 DRV_PINGROUP_ENTRY_N(no_entry) 153162306a36Sopenharmony_ci#define drive_directdc1_out0_pv2 DRV_PINGROUP_ENTRY_N(no_entry) 153262306a36Sopenharmony_ci#define drive_directdc1_in_pv1 DRV_PINGROUP_ENTRY_N(no_entry) 153362306a36Sopenharmony_ci#define drive_directdc1_clk_pv0 DRV_PINGROUP_ENTRY_N(no_entry) 153462306a36Sopenharmony_ci 153562306a36Sopenharmony_ci/* AON drive pin groups */ 153662306a36Sopenharmony_ci#define drive_shutdown_n DRV_PINGROUP_ENTRY_Y(0x1004, 12, 5, 20, 5, -1, -1, -1, -1, 0) 153762306a36Sopenharmony_ci#define drive_pmu_int_n DRV_PINGROUP_ENTRY_Y(0x100c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 153862306a36Sopenharmony_ci#define drive_safe_state_pee0 DRV_PINGROUP_ENTRY_Y(0x1014, 12, 5, 20, 5, -1, -1, -1, -1, 0) 153962306a36Sopenharmony_ci#define drive_vcomp_alert_pee1 DRV_PINGROUP_ENTRY_Y(0x101c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 154062306a36Sopenharmony_ci#define drive_soc_pwr_req DRV_PINGROUP_ENTRY_Y(0x1024, 12, 5, 20, 5, -1, -1, -1, -1, 0) 154162306a36Sopenharmony_ci#define drive_batt_oc_pee3 DRV_PINGROUP_ENTRY_Y(0x102c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 154262306a36Sopenharmony_ci#define drive_clk_32k_in DRV_PINGROUP_ENTRY_Y(0x1034, 12, 5, 20, 5, -1, -1, -1, -1, 0) 154362306a36Sopenharmony_ci#define drive_power_on_pee4 DRV_PINGROUP_ENTRY_Y(0x103c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 154462306a36Sopenharmony_ci#define drive_pwr_i2c_scl_pee5 DRV_PINGROUP_ENTRY_Y(0x1044, 12, 5, 20, 5, -1, -1, -1, -1, 0) 154562306a36Sopenharmony_ci#define drive_pwr_i2c_sda_pee6 DRV_PINGROUP_ENTRY_Y(0x104c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 154662306a36Sopenharmony_ci#define drive_ao_retention_n_pee2 DRV_PINGROUP_ENTRY_Y(0x1064, 12, 5, 20, 5, -1, -1, -1, -1, 0) 154762306a36Sopenharmony_ci#define drive_touch_clk_pcc4 DRV_PINGROUP_ENTRY_Y(0x2004, 12, 5, 20, 5, -1, -1, -1, -1, 0) 154862306a36Sopenharmony_ci#define drive_uart3_rx_pcc6 DRV_PINGROUP_ENTRY_Y(0x200c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 154962306a36Sopenharmony_ci#define drive_uart3_tx_pcc5 DRV_PINGROUP_ENTRY_Y(0x2014, 12, 5, 20, 5, -1, -1, -1, -1, 0) 155062306a36Sopenharmony_ci#define drive_gen8_i2c_sda_pdd2 DRV_PINGROUP_ENTRY_Y(0x201c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 155162306a36Sopenharmony_ci#define drive_gen8_i2c_scl_pdd1 DRV_PINGROUP_ENTRY_Y(0x2024, 12, 5, 20, 5, -1, -1, -1, -1, 0) 155262306a36Sopenharmony_ci#define drive_spi2_mosi_pcc2 DRV_PINGROUP_ENTRY_Y(0x202c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 155362306a36Sopenharmony_ci#define drive_gen2_i2c_scl_pcc7 DRV_PINGROUP_ENTRY_Y(0x2034, 12, 5, 20, 5, -1, -1, -1, -1, 0) 155462306a36Sopenharmony_ci#define drive_spi2_cs0_pcc3 DRV_PINGROUP_ENTRY_Y(0x203c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 155562306a36Sopenharmony_ci#define drive_gen2_i2c_sda_pdd0 DRV_PINGROUP_ENTRY_Y(0x2044, 12, 5, 20, 5, -1, -1, -1, -1, 0) 155662306a36Sopenharmony_ci#define drive_spi2_sck_pcc0 DRV_PINGROUP_ENTRY_Y(0x204c, 12, 5, 20, 5, -1, -1, -1, -1, 0) 155762306a36Sopenharmony_ci#define drive_spi2_miso_pcc1 DRV_PINGROUP_ENTRY_Y(0x2054, 12, 5, 20, 5, -1, -1, -1, -1, 0) 155862306a36Sopenharmony_ci#define drive_can1_dout_paa0 DRV_PINGROUP_ENTRY_Y(0x3004, 28, 2, 30, 2, -1, -1, -1, -1, 0) 155962306a36Sopenharmony_ci#define drive_can1_din_paa1 DRV_PINGROUP_ENTRY_Y(0x300c, 28, 2, 30, 2, -1, -1, -1, -1, 0) 156062306a36Sopenharmony_ci#define drive_can0_dout_paa2 DRV_PINGROUP_ENTRY_Y(0x3014, 28, 2, 30, 2, -1, -1, -1, -1, 0) 156162306a36Sopenharmony_ci#define drive_can0_din_paa3 DRV_PINGROUP_ENTRY_Y(0x301c, 28, 2, 30, 2, -1, -1, -1, -1, 0) 156262306a36Sopenharmony_ci#define drive_can0_stb_paa4 DRV_PINGROUP_ENTRY_Y(0x3024, 28, 2, 30, 2, -1, -1, -1, -1, 0) 156362306a36Sopenharmony_ci#define drive_can0_en_paa5 DRV_PINGROUP_ENTRY_Y(0x302c, 28, 2, 30, 2, -1, -1, -1, -1, 0) 156462306a36Sopenharmony_ci#define drive_can0_wake_paa6 DRV_PINGROUP_ENTRY_Y(0x3034, 28, 2, 30, 2, -1, -1, -1, -1, 0) 156562306a36Sopenharmony_ci#define drive_can0_err_paa7 DRV_PINGROUP_ENTRY_Y(0x303c, 28, 2, 30, 2, -1, -1, -1, -1, 0) 156662306a36Sopenharmony_ci#define drive_can1_stb_pbb0 DRV_PINGROUP_ENTRY_Y(0x3044, 28, 2, 30, 2, -1, -1, -1, -1, 0) 156762306a36Sopenharmony_ci#define drive_can1_en_pbb1 DRV_PINGROUP_ENTRY_Y(0x304c, 28, 2, 30, 2, -1, -1, -1, -1, 0) 156862306a36Sopenharmony_ci#define drive_can1_wake_pbb2 DRV_PINGROUP_ENTRY_Y(0x3054, 28, 2, 30, 2, -1, -1, -1, -1, 0) 156962306a36Sopenharmony_ci#define drive_can1_err_pbb3 DRV_PINGROUP_ENTRY_Y(0x305c, 28, 2, 30, 2, -1, -1, -1, -1, 0) 157062306a36Sopenharmony_ci 157162306a36Sopenharmony_ci#define PINGROUP(pg_name, f0, f1, f2, f3, r, bank, pupd, e_io_hv, e_lpbk, e_input, e_lpdr, e_pbias_buf, \ 157262306a36Sopenharmony_ci gpio_sfio_sel, e_od, schmitt_b, drvtype, epreemp, io_reset, rfu_in, io_rail) \ 157362306a36Sopenharmony_ci { \ 157462306a36Sopenharmony_ci .name = #pg_name, \ 157562306a36Sopenharmony_ci .pins = pg_name##_pins, \ 157662306a36Sopenharmony_ci .npins = ARRAY_SIZE(pg_name##_pins), \ 157762306a36Sopenharmony_ci .funcs = { \ 157862306a36Sopenharmony_ci TEGRA_MUX_##f0, \ 157962306a36Sopenharmony_ci TEGRA_MUX_##f1, \ 158062306a36Sopenharmony_ci TEGRA_MUX_##f2, \ 158162306a36Sopenharmony_ci TEGRA_MUX_##f3, \ 158262306a36Sopenharmony_ci }, \ 158362306a36Sopenharmony_ci PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, \ 158462306a36Sopenharmony_ci e_input, e_lpdr, e_pbias_buf, \ 158562306a36Sopenharmony_ci gpio_sfio_sel, e_od, \ 158662306a36Sopenharmony_ci schmitt_b, drvtype, \ 158762306a36Sopenharmony_ci epreemp, io_reset, \ 158862306a36Sopenharmony_ci rfu_in, io_rail) \ 158962306a36Sopenharmony_ci drive_##pg_name, \ 159062306a36Sopenharmony_ci } 159162306a36Sopenharmony_ci 159262306a36Sopenharmony_cistatic const struct tegra_pingroup tegra194_groups[] = { 159362306a36Sopenharmony_ci PINGROUP(soc_gpio33_pt0, RSVD0, SPDIF, RSVD2, RSVD3, 0x1000, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 159462306a36Sopenharmony_ci PINGROUP(soc_gpio32_ps7, RSVD0, SPDIF, RSVD2, RSVD3, 0x1008, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 159562306a36Sopenharmony_ci PINGROUP(soc_gpio31_ps6, RSVD0, SDMMC1, RSVD2, RSVD3, 0x1010, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 159662306a36Sopenharmony_ci PINGROUP(soc_gpio30_ps5, RSVD0, RSVD1, RSVD2, RSVD3, 0x1018, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 159762306a36Sopenharmony_ci PINGROUP(aud_mclk_ps4, AUD, RSVD1, RSVD2, RSVD3, 0x1020, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 159862306a36Sopenharmony_ci PINGROUP(dap1_fs_ps3, I2S1, RSVD1, RSVD2, RSVD3, 0x1028, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 159962306a36Sopenharmony_ci PINGROUP(dap1_din_ps2, I2S1, RSVD1, RSVD2, RSVD3, 0x1030, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 160062306a36Sopenharmony_ci PINGROUP(dap1_dout_ps1, I2S1, RSVD1, RSVD2, RSVD3, 0x1038, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 160162306a36Sopenharmony_ci PINGROUP(dap1_sclk_ps0, I2S1, RSVD1, RSVD2, RSVD3, 0x1040, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 160262306a36Sopenharmony_ci PINGROUP(dap3_fs_pt4, I2S3, DMIC2, RSVD2, RSVD3, 0x1048, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 160362306a36Sopenharmony_ci PINGROUP(dap3_din_pt3, I2S3, DMIC2, RSVD2, RSVD3, 0x1050, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 160462306a36Sopenharmony_ci PINGROUP(dap3_dout_pt2, I2S3, DMIC1, RSVD2, RSVD3, 0x1058, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 160562306a36Sopenharmony_ci PINGROUP(dap3_sclk_pt1, I2S3, DMIC1, RSVD2, RSVD3, 0x1060, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 160662306a36Sopenharmony_ci PINGROUP(dap5_fs_pu0, I2S5, DMIC4, DSPK1, RSVD3, 0x1068, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 160762306a36Sopenharmony_ci PINGROUP(dap5_din_pt7, I2S5, DMIC4, DSPK1, RSVD3, 0x1070, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 160862306a36Sopenharmony_ci PINGROUP(dap5_dout_pt6, I2S5, DSPK0, RSVD2, RSVD3, 0x1078, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 160962306a36Sopenharmony_ci PINGROUP(dap5_sclk_pt5, I2S5, DSPK0, RSVD2, RSVD3, 0x1080, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_audio"), 161062306a36Sopenharmony_ci PINGROUP(dap6_fs_pa3, I2S6, IQC1, RSVD2, RSVD3, 0x2000, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_audio_hv"), 161162306a36Sopenharmony_ci PINGROUP(dap6_din_pa2, I2S6, IQC1, RSVD2, RSVD3, 0x2008, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_audio_hv"), 161262306a36Sopenharmony_ci PINGROUP(dap6_dout_pa1, I2S6, IQC1, RSVD2, RSVD3, 0x2010, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_audio_hv"), 161362306a36Sopenharmony_ci PINGROUP(dap6_sclk_pa0, I2S6, IQC1, RSVD2, RSVD3, 0x2018, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_audio_hv"), 161462306a36Sopenharmony_ci PINGROUP(dap4_fs_pa7, I2S4, IQC2, RSVD2, RSVD3, 0x2020, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_audio_hv"), 161562306a36Sopenharmony_ci PINGROUP(dap4_din_pa6, I2S4, IQC2, RSVD2, RSVD3, 0x2028, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_audio_hv"), 161662306a36Sopenharmony_ci PINGROUP(dap4_dout_pa5, I2S4, IQC2, RSVD2, RSVD3, 0x2030, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_audio_hv"), 161762306a36Sopenharmony_ci PINGROUP(dap4_sclk_pa4, I2S4, IQC2, RSVD2, RSVD3, 0x2038, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_audio_hv"), 161862306a36Sopenharmony_ci PINGROUP(extperiph2_clk_pp1, EXTPERIPH2, RSVD1, RSVD2, RSVD3, 0x0000, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 161962306a36Sopenharmony_ci PINGROUP(extperiph1_clk_pp0, EXTPERIPH1, RSVD1, RSVD2, RSVD3, 0x0008, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 162062306a36Sopenharmony_ci PINGROUP(cam_i2c_sda_pp3, I2C3, RSVD1, RSVD2, RSVD3, 0x0010, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 162162306a36Sopenharmony_ci PINGROUP(cam_i2c_scl_pp2, I2C3, RSVD1, RSVD2, RSVD3, 0x0018, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 162262306a36Sopenharmony_ci PINGROUP(soc_gpio40_pq4, VGP1, SLVS, RSVD2, RSVD3, 0x0020, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 162362306a36Sopenharmony_ci PINGROUP(soc_gpio41_pq5, VGP2, EXTPERIPH3, RSVD2, RSVD3, 0x0028, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 162462306a36Sopenharmony_ci PINGROUP(soc_gpio42_pq6, VGP3, EXTPERIPH4, RSVD2, RSVD3, 0x0030, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 162562306a36Sopenharmony_ci PINGROUP(soc_gpio43_pq7, VGP4, SLVS, RSVD2, RSVD3, 0x0038, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 162662306a36Sopenharmony_ci PINGROUP(soc_gpio44_pr0, VGP5, GP, RSVD2, RSVD3, 0x0040, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 162762306a36Sopenharmony_ci PINGROUP(soc_gpio45_pr1, VGP6, RSVD1, RSVD2, RSVD3, 0x0048, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 162862306a36Sopenharmony_ci PINGROUP(soc_gpio20_pq0, RSVD0, RSVD1, RSVD2, RSVD3, 0x0050, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 162962306a36Sopenharmony_ci PINGROUP(soc_gpio21_pq1, RSVD0, RSVD1, RSVD2, RSVD3, 0x0058, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 163062306a36Sopenharmony_ci PINGROUP(soc_gpio22_pq2, RSVD0, NV, RSVD2, RSVD3, 0x0060, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 163162306a36Sopenharmony_ci PINGROUP(soc_gpio23_pq3, RSVD0, WDT, RSVD2, RSVD3, 0x0068, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 163262306a36Sopenharmony_ci PINGROUP(soc_gpio04_pp4, RSVD0, RSVD1, RSVD2, RSVD3, 0x0070, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 163362306a36Sopenharmony_ci PINGROUP(soc_gpio05_pp5, RSVD0, IGPU, RSVD2, RSVD3, 0x0078, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 163462306a36Sopenharmony_ci PINGROUP(soc_gpio06_pp6, RSVD0, RSVD1, RSVD2, RSVD3, 0x0080, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 163562306a36Sopenharmony_ci PINGROUP(soc_gpio07_pp7, RSVD0, SATA, SOC, RSVD3, 0x0088, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 163662306a36Sopenharmony_ci PINGROUP(uart1_cts_pr5, UARTA, RSVD1, RSVD2, RSVD3, 0x0090, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 163762306a36Sopenharmony_ci PINGROUP(uart1_rts_pr4, UARTA, RSVD1, RSVD2, RSVD3, 0x0098, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 163862306a36Sopenharmony_ci PINGROUP(uart1_rx_pr3, UARTA, RSVD1, RSVD2, RSVD3, 0x00a0, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 163962306a36Sopenharmony_ci PINGROUP(uart1_tx_pr2, UARTA, RSVD1, RSVD2, RSVD3, 0x00a8, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_cam"), 164062306a36Sopenharmony_ci PINGROUP(dap2_din_pi1, I2S2, RSVD1, RSVD2, RSVD3, 0x4000, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 164162306a36Sopenharmony_ci PINGROUP(dap2_dout_pi0, I2S2, RSVD1, RSVD2, RSVD3, 0x4008, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 164262306a36Sopenharmony_ci PINGROUP(dap2_fs_pi2, I2S2, RSVD1, RSVD2, RSVD3, 0x4010, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 164362306a36Sopenharmony_ci PINGROUP(dap2_sclk_ph7, I2S2, RSVD1, RSVD2, RSVD3, 0x4018, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 164462306a36Sopenharmony_ci PINGROUP(uart4_cts_ph6, UARTD, RSVD1, RSVD2, RSVD3, 0x4020, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 164562306a36Sopenharmony_ci PINGROUP(uart4_rts_ph5, UARTD, RSVD1, RSVD2, RSVD3, 0x4028, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 164662306a36Sopenharmony_ci PINGROUP(uart4_rx_ph4, UARTD, RSVD1, RSVD2, RSVD3, 0x4030, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 164762306a36Sopenharmony_ci PINGROUP(uart4_tx_ph3, UARTD, RSVD1, RSVD2, RSVD3, 0x4038, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 164862306a36Sopenharmony_ci PINGROUP(soc_gpio03_pg3, RSVD0, RSVD1, RSVD2, RSVD3, 0x4040, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 164962306a36Sopenharmony_ci PINGROUP(soc_gpio02_pg2, RSVD0, RSVD1, RSVD2, RSVD3, 0x4048, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 165062306a36Sopenharmony_ci PINGROUP(soc_gpio01_pg1, RSVD0, RSVD1, RSVD2, RSVD3, 0x4050, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 165162306a36Sopenharmony_ci PINGROUP(soc_gpio00_pg0, RSVD0, RSVD1, RSVD2, RSVD3, 0x4058, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 165262306a36Sopenharmony_ci PINGROUP(gen1_i2c_scl_pi3, I2C1, RSVD1, RSVD2, RSVD3, 0x4060, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 165362306a36Sopenharmony_ci PINGROUP(gen1_i2c_sda_pi4, I2C1, RSVD1, RSVD2, RSVD3, 0x4068, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 165462306a36Sopenharmony_ci PINGROUP(soc_gpio08_pg4, RSVD0, CCLA, RSVD2, RSVD3, 0x4070, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 165562306a36Sopenharmony_ci PINGROUP(soc_gpio09_pg5, RSVD0, RSVD1, RSVD2, RSVD3, 0x4078, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 165662306a36Sopenharmony_ci PINGROUP(soc_gpio10_pg6, GP, RSVD1, RSVD2, RSVD3, 0x4080, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 165762306a36Sopenharmony_ci PINGROUP(soc_gpio11_pg7, RSVD0, SDMMC1, RSVD2, RSVD3, 0x4088, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 165862306a36Sopenharmony_ci PINGROUP(soc_gpio12_ph0, RSVD0, GP, RSVD2, RSVD3, 0x4090, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 165962306a36Sopenharmony_ci PINGROUP(soc_gpio13_ph1, RSVD0, GP, RSVD2, RSVD3, 0x4098, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 166062306a36Sopenharmony_ci PINGROUP(soc_gpio14_ph2, RSVD0, SDMMC1, RSVD2, RSVD3, 0x40a0, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_conn"), 166162306a36Sopenharmony_ci PINGROUP(directdc1_out7_pw1, DIRECTDC1, RSVD1, RSVD2, RSVD3, 0x5008, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_debug"), 166262306a36Sopenharmony_ci PINGROUP(directdc1_out6_pw0, DIRECTDC1, RSVD1, RSVD2, RSVD3, 0x5010, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_debug"), 166362306a36Sopenharmony_ci PINGROUP(directdc1_out5_pv7, DIRECTDC1, RSVD1, RSVD2, RSVD3, 0x5018, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_debug"), 166462306a36Sopenharmony_ci PINGROUP(directdc1_out4_pv6, DIRECTDC1, RSVD1, RSVD2, RSVD3, 0x5020, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_debug"), 166562306a36Sopenharmony_ci PINGROUP(directdc1_out3_pv5, DIRECTDC1, RSVD1, RSVD2, RSVD3, 0x5028, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_debug"), 166662306a36Sopenharmony_ci PINGROUP(directdc1_out2_pv4, DIRECTDC1, RSVD1, RSVD2, RSVD3, 0x5030, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_debug"), 166762306a36Sopenharmony_ci PINGROUP(directdc1_out1_pv3, DIRECTDC1, RSVD1, RSVD2, RSVD3, 0x5038, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_debug"), 166862306a36Sopenharmony_ci PINGROUP(directdc1_out0_pv2, DIRECTDC1, RSVD1, RSVD2, RSVD3, 0x5040, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_debug"), 166962306a36Sopenharmony_ci PINGROUP(directdc1_in_pv1, DIRECTDC1, RSVD1, RSVD2, RSVD3, 0x5048, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_debug"), 167062306a36Sopenharmony_ci PINGROUP(directdc1_clk_pv0, DIRECTDC1, RSVD1, RSVD2, RSVD3, 0x5050, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_debug"), 167162306a36Sopenharmony_ci PINGROUP(directdc_comp, DIRECTDC, RSVD1, RSVD2, RSVD3, 0x5058, 0, N, -1, -1, -1, -1, -1, -1, -1, -1, Y, -1, -1, Y, "vddio_debug"), 167262306a36Sopenharmony_ci PINGROUP(soc_gpio50_pm5, RSVD0, DCA, RSVD2, RSVD3, 0x10000, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_edp"), 167362306a36Sopenharmony_ci PINGROUP(soc_gpio51_pm6, RSVD0, DCA, RSVD2, RSVD3, 0x10008, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_edp"), 167462306a36Sopenharmony_ci PINGROUP(soc_gpio52_pm7, RSVD0, DCB, DGPU, RSVD3, 0x10010, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_edp"), 167562306a36Sopenharmony_ci PINGROUP(soc_gpio53_pn0, RSVD0, DCB, RSVD2, RSVD3, 0x10018, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_edp"), 167662306a36Sopenharmony_ci PINGROUP(soc_gpio54_pn1, RSVD0, SDMMC3, GP, RSVD3, 0x10020, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_edp"), 167762306a36Sopenharmony_ci PINGROUP(soc_gpio55_pn2, RSVD0, SDMMC3, RSVD2, RSVD3, 0x10028, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_edp"), 167862306a36Sopenharmony_ci PINGROUP(dp_aux_ch0_hpd_pm0, DP, RSVD1, RSVD2, RSVD3, 0x10030, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_edp"), 167962306a36Sopenharmony_ci PINGROUP(dp_aux_ch1_hpd_pm1, DP, RSVD1, RSVD2, RSVD3, 0x10038, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_edp"), 168062306a36Sopenharmony_ci PINGROUP(dp_aux_ch2_hpd_pm2, DP, DISPLAYA, RSVD2, RSVD3, 0x10040, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_edp"), 168162306a36Sopenharmony_ci PINGROUP(dp_aux_ch3_hpd_pm3, DP, DISPLAYB, RSVD2, RSVD3, 0x10048, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_edp"), 168262306a36Sopenharmony_ci PINGROUP(hdmi_cec_pm4, HDMI, RSVD1, RSVD2, RSVD3, 0x10050, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_edp"), 168362306a36Sopenharmony_ci PINGROUP(eqos_td3_pe4, EQOS, RSVD1, RSVD2, RSVD3, 0x15000, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 168462306a36Sopenharmony_ci PINGROUP(eqos_td2_pe3, EQOS, RSVD1, RSVD2, RSVD3, 0x15008, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 168562306a36Sopenharmony_ci PINGROUP(eqos_td1_pe2, EQOS, RSVD1, RSVD2, RSVD3, 0x15010, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 168662306a36Sopenharmony_ci PINGROUP(eqos_td0_pe1, EQOS, RSVD1, RSVD2, RSVD3, 0x15018, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 168762306a36Sopenharmony_ci PINGROUP(eqos_rd3_pf1, EQOS, RSVD1, RSVD2, RSVD3, 0x15020, 0, Y, -1, 5, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 168862306a36Sopenharmony_ci PINGROUP(eqos_rd2_pf0, EQOS, RSVD1, RSVD2, RSVD3, 0x15028, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 168962306a36Sopenharmony_ci PINGROUP(eqos_rd1_pe7, EQOS, RSVD1, RSVD2, RSVD3, 0x15030, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 169062306a36Sopenharmony_ci PINGROUP(eqos_sma_mdio_pf4, EQOS, RSVD1, RSVD2, RSVD3, 0x15038, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 169162306a36Sopenharmony_ci PINGROUP(eqos_rd0_pe6, EQOS, RSVD1, RSVD2, RSVD3, 0x15040, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 169262306a36Sopenharmony_ci PINGROUP(eqos_sma_mdc_pf5, EQOS, RSVD1, RSVD2, RSVD3, 0x15048, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 169362306a36Sopenharmony_ci PINGROUP(eqos_comp, EQOS, RSVD1, RSVD2, RSVD3, 0x15050, 0, N, -1, -1, -1, -1, -1, -1, -1, -1, Y, -1, -1, Y, "vddio_eqos"), 169462306a36Sopenharmony_ci PINGROUP(eqos_txc_pe0, EQOS, RSVD1, RSVD2, RSVD3, 0x15058, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 169562306a36Sopenharmony_ci PINGROUP(eqos_rxc_pf3, EQOS, RSVD1, RSVD2, RSVD3, 0x15060, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 169662306a36Sopenharmony_ci PINGROUP(eqos_tx_ctl_pe5, EQOS, RSVD1, RSVD2, RSVD3, 0x15068, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 169762306a36Sopenharmony_ci PINGROUP(eqos_rx_ctl_pf2, EQOS, RSVD1, RSVD2, RSVD3, 0x15070, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_eqos"), 169862306a36Sopenharmony_ci PINGROUP(pex_l2_clkreq_n_pk4, PE2, RSVD1, RSVD2, RSVD3, 0x7000, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl"), 169962306a36Sopenharmony_ci PINGROUP(pex_wake_n_pl2, RSVD0, RSVD1, RSVD2, RSVD3, 0x7008, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl"), 170062306a36Sopenharmony_ci PINGROUP(pex_l1_clkreq_n_pk2, PE1, RSVD1, RSVD2, RSVD3, 0x7010, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl"), 170162306a36Sopenharmony_ci PINGROUP(pex_l1_rst_n_pk3, PE1, RSVD1, RSVD2, RSVD3, 0x7018, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl"), 170262306a36Sopenharmony_ci PINGROUP(pex_l0_clkreq_n_pk0, PE0, RSVD1, RSVD2, RSVD3, 0x7020, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl"), 170362306a36Sopenharmony_ci PINGROUP(pex_l0_rst_n_pk1, PE0, RSVD1, RSVD2, RSVD3, 0x7028, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl"), 170462306a36Sopenharmony_ci PINGROUP(pex_l2_rst_n_pk5, PE2, RSVD1, RSVD2, RSVD3, 0x7030, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl"), 170562306a36Sopenharmony_ci PINGROUP(pex_l3_clkreq_n_pk6, PE3, RSVD1, RSVD2, RSVD3, 0x7038, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl"), 170662306a36Sopenharmony_ci PINGROUP(pex_l3_rst_n_pk7, PE3, RSVD1, RSVD2, RSVD3, 0x7040, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl"), 170762306a36Sopenharmony_ci PINGROUP(pex_l4_clkreq_n_pl0, PE4, RSVD1, RSVD2, RSVD3, 0x7048, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl"), 170862306a36Sopenharmony_ci PINGROUP(pex_l4_rst_n_pl1, PE4, RSVD1, RSVD2, RSVD3, 0x7050, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl"), 170962306a36Sopenharmony_ci PINGROUP(sata_dev_slp_pl3, SATA, RSVD1, RSVD2, RSVD3, 0x7058, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl"), 171062306a36Sopenharmony_ci PINGROUP(pex_l5_clkreq_n_pgg0, PE5, RSVD1, RSVD2, RSVD3, 0x14000, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl_2"), 171162306a36Sopenharmony_ci PINGROUP(pex_l5_rst_n_pgg1, PE5, RSVD1, RSVD2, RSVD3, 0x14008, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pex_ctl_2"), 171262306a36Sopenharmony_ci PINGROUP(cpu_pwr_req_1_pb1, RSVD0, RSVD1, RSVD2, RSVD3, 0x16000, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pwr_ctl"), 171362306a36Sopenharmony_ci PINGROUP(cpu_pwr_req_0_pb0, RSVD0, RSVD1, RSVD2, RSVD3, 0x16008, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_pwr_ctl"), 171462306a36Sopenharmony_ci PINGROUP(qspi0_io3_pc5, QSPI0, RSVD1, RSVD2, RSVD3, 0xB000, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_qspi"), 171562306a36Sopenharmony_ci PINGROUP(qspi0_io2_pc4, QSPI0, RSVD1, RSVD2, RSVD3, 0xB008, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_qspi"), 171662306a36Sopenharmony_ci PINGROUP(qspi0_io1_pc3, QSPI0, RSVD1, RSVD2, RSVD3, 0xB010, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_qspi"), 171762306a36Sopenharmony_ci PINGROUP(qspi0_io0_pc2, QSPI0, RSVD1, RSVD2, RSVD3, 0xB018, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_qspi"), 171862306a36Sopenharmony_ci PINGROUP(qspi0_sck_pc0, QSPI0, RSVD1, RSVD2, RSVD3, 0xB020, 0, Y, -1, 5, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_qspi"), 171962306a36Sopenharmony_ci PINGROUP(qspi0_cs_n_pc1, QSPI0, RSVD1, RSVD2, RSVD3, 0xB028, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_qspi"), 172062306a36Sopenharmony_ci PINGROUP(qspi1_io3_pd3, QSPI1, RSVD1, RSVD2, RSVD3, 0xB030, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_qspi"), 172162306a36Sopenharmony_ci PINGROUP(qspi1_io2_pd2, QSPI1, RSVD1, RSVD2, RSVD3, 0xB038, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_qspi"), 172262306a36Sopenharmony_ci PINGROUP(qspi1_io1_pd1, QSPI1, RSVD1, RSVD2, RSVD3, 0xB040, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_qspi"), 172362306a36Sopenharmony_ci PINGROUP(qspi1_io0_pd0, QSPI1, RSVD1, RSVD2, RSVD3, 0xB048, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_qspi"), 172462306a36Sopenharmony_ci PINGROUP(qspi1_sck_pc6, QSPI1, RSVD1, RSVD2, RSVD3, 0xB050, 0, Y, -1, 5, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_qspi"), 172562306a36Sopenharmony_ci PINGROUP(qspi1_cs_n_pc7, QSPI1, RSVD1, RSVD2, RSVD3, 0xB058, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_qspi"), 172662306a36Sopenharmony_ci PINGROUP(qspi_comp, QSPI, RSVD1, RSVD2, RSVD3, 0xB060, 0, N, -1, -1, -1, -1, -1, -1, -1, -1, Y, -1, -1, Y, "vddio_qspi"), 172762306a36Sopenharmony_ci PINGROUP(sdmmc1_clk_pj0, SDMMC1, RSVD1, MIPI, RSVD3, 0x8000, 0, Y, -1, 5, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_sdmmc1_hv"), 172862306a36Sopenharmony_ci PINGROUP(sdmmc1_cmd_pj1, SDMMC1, RSVD1, MIPI, RSVD3, 0x8008, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_sdmmc1_hv"), 172962306a36Sopenharmony_ci PINGROUP(sdmmc1_comp, SDMMC1, RSVD1, RSVD2, RSVD3, 0x8010, 0, N, -1, -1, -1, -1, -1, -1, -1, -1, N, -1, -1, N, "vddio_sdmmc1_hv"), 173062306a36Sopenharmony_ci PINGROUP(sdmmc1_dat3_pj5, SDMMC1, RSVD1, MIPI, RSVD3, 0x8018, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_sdmmc1_hv"), 173162306a36Sopenharmony_ci PINGROUP(sdmmc1_dat2_pj4, SDMMC1, RSVD1, MIPI, RSVD3, 0x8020, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_sdmmc1_hv"), 173262306a36Sopenharmony_ci PINGROUP(sdmmc1_dat1_pj3, SDMMC1, RSVD1, MIPI, RSVD3, 0x8028, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_sdmmc1_hv"), 173362306a36Sopenharmony_ci PINGROUP(sdmmc1_dat0_pj2, SDMMC1, RSVD1, MIPI, RSVD3, 0x8030, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_sdmmc1_hv"), 173462306a36Sopenharmony_ci PINGROUP(sdmmc3_dat3_po5, SDMMC3, RSVD1, RSVD2, RSVD3, 0xA000, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_sdmmc3_hv"), 173562306a36Sopenharmony_ci PINGROUP(sdmmc3_dat2_po4, SDMMC3, RSVD1, RSVD2, RSVD3, 0xA008, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_sdmmc3_hv"), 173662306a36Sopenharmony_ci PINGROUP(sdmmc3_dat1_po3, SDMMC3, RSVD1, RSVD2, RSVD3, 0xA010, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_sdmmc3_hv"), 173762306a36Sopenharmony_ci PINGROUP(sdmmc3_dat0_po2, SDMMC3, RSVD1, RSVD2, RSVD3, 0xA018, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_sdmmc3_hv"), 173862306a36Sopenharmony_ci PINGROUP(sdmmc3_comp, SDMMC3, RSVD1, RSVD2, RSVD3, 0xA020, 0, N, -1, -1, -1, -1, -1, -1, -1, -1, N, -1, -1, N, "vddio_sdmmc3_hv"), 173962306a36Sopenharmony_ci PINGROUP(sdmmc3_cmd_po1, SDMMC3, RSVD1, RSVD2, RSVD3, 0xA028, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_sdmmc3_hv"), 174062306a36Sopenharmony_ci PINGROUP(sdmmc3_clk_po0, SDMMC3, RSVD1, RSVD2, RSVD3, 0xA030, 0, Y, -1, 5, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_sdmmc3_hv"), 174162306a36Sopenharmony_ci PINGROUP(sdmmc4_clk, SDMMC4, RSVD1, RSVD2, RSVD3, 0x6008, 0, Y, -1, 5, 6, -1, -1, -1, -1, -1, Y, -1, -1, N, "vddio_sdmmc4"), 174262306a36Sopenharmony_ci PINGROUP(sdmmc4_cmd, SDMMC4, RSVD1, RSVD2, RSVD3, 0x6010, 0, Y, -1, -1, 6, -1, -1, -1, -1, -1, Y, -1, -1, N, "vddio_sdmmc4"), 174362306a36Sopenharmony_ci PINGROUP(sdmmc4_dqs, SDMMC4, RSVD1, RSVD2, RSVD3, 0x6018, 0, Y, -1, -1, 6, -1, -1, -1, -1, -1, N, -1, -1, N, "vddio_sdmmc4"), 174462306a36Sopenharmony_ci PINGROUP(sdmmc4_dat7, SDMMC4, RSVD1, RSVD2, RSVD3, 0x6020, 0, Y, -1, -1, 6, -1, -1, -1, -1, -1, Y, -1, -1, N, "vddio_sdmmc4"), 174562306a36Sopenharmony_ci PINGROUP(sdmmc4_dat6, SDMMC4, RSVD1, RSVD2, RSVD3, 0x6028, 0, Y, -1, -1, 6, -1, -1, -1, -1, -1, Y, -1, -1, N, "vddio_sdmmc4"), 174662306a36Sopenharmony_ci PINGROUP(sdmmc4_dat5, SDMMC4, RSVD1, RSVD2, RSVD3, 0x6030, 0, Y, -1, -1, 6, -1, -1, -1, -1, -1, Y, -1, -1, N, "vddio_sdmmc4"), 174762306a36Sopenharmony_ci PINGROUP(sdmmc4_dat4, SDMMC4, RSVD1, RSVD2, RSVD3, 0x6038, 0, Y, -1, -1, 6, -1, -1, -1, -1, -1, Y, -1, -1, N, "vddio_sdmmc4"), 174862306a36Sopenharmony_ci PINGROUP(sdmmc4_dat3, SDMMC4, RSVD1, RSVD2, RSVD3, 0x6040, 0, Y, -1, -1, 6, -1, -1, -1, -1, -1, Y, -1, -1, N, "vddio_sdmmc4"), 174962306a36Sopenharmony_ci PINGROUP(sdmmc4_dat2, SDMMC4, RSVD1, RSVD2, RSVD3, 0x6048, 0, Y, -1, -1, 6, -1, -1, -1, -1, -1, Y, -1, -1, N, "vddio_sdmmc4"), 175062306a36Sopenharmony_ci PINGROUP(sdmmc4_dat1, SDMMC4, RSVD1, RSVD2, RSVD3, 0x6050, 0, Y, -1, -1, 6, -1, -1, -1, -1, -1, Y, -1, -1, N, "vddio_sdmmc4"), 175162306a36Sopenharmony_ci PINGROUP(sdmmc4_dat0, SDMMC4, RSVD1, RSVD2, RSVD3, 0x6058, 0, Y, -1, -1, 6, -1, -1, -1, -1, -1, Y, -1, -1, N, "vddio_sdmmc4"), 175262306a36Sopenharmony_ci PINGROUP(gpu_pwr_req_px0, RSVD0, RSVD1, RSVD2, RSVD3, 0xD000, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 175362306a36Sopenharmony_ci PINGROUP(spi3_miso_py1, SPI3, RSVD1, RSVD2, RSVD3, 0xD008, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 175462306a36Sopenharmony_ci PINGROUP(spi1_cs0_pz6, SPI1, RSVD1, RSVD2, RSVD3, 0xD010, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 175562306a36Sopenharmony_ci PINGROUP(spi3_cs0_py3, SPI3, RSVD1, RSVD2, RSVD3, 0xD018, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 175662306a36Sopenharmony_ci PINGROUP(spi1_miso_pz4, SPI1, RSVD1, RSVD2, RSVD3, 0xD020, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 175762306a36Sopenharmony_ci PINGROUP(spi3_cs1_py4, SPI3, RSVD1, RSVD2, RSVD3, 0xD028, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 175862306a36Sopenharmony_ci PINGROUP(gp_pwm3_px3, GP, RSVD1, RSVD2, RSVD3, 0xD030, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 175962306a36Sopenharmony_ci PINGROUP(gp_pwm2_px2, GP, RSVD1, RSVD2, RSVD3, 0xD038, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 176062306a36Sopenharmony_ci PINGROUP(spi1_sck_pz3, SPI1, RSVD1, RSVD2, RSVD3, 0xD040, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 176162306a36Sopenharmony_ci PINGROUP(spi3_sck_py0, SPI3, RSVD1, RSVD2, RSVD3, 0xD048, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 176262306a36Sopenharmony_ci PINGROUP(spi1_cs1_pz7, SPI1, RSVD1, RSVD2, RSVD3, 0xD050, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 176362306a36Sopenharmony_ci PINGROUP(spi1_mosi_pz5, SPI1, RSVD1, RSVD2, RSVD3, 0xD058, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 176462306a36Sopenharmony_ci PINGROUP(spi3_mosi_py2, SPI3, RSVD1, RSVD2, RSVD3, 0xD060, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 176562306a36Sopenharmony_ci PINGROUP(cv_pwr_req_px1, RSVD0, RSVD1, RSVD2, RSVD3, 0xD068, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 176662306a36Sopenharmony_ci PINGROUP(uart2_tx_px4, UARTB, RSVD1, RSVD2, RSVD3, 0xD070, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 176762306a36Sopenharmony_ci PINGROUP(uart2_rx_px5, UARTB, RSVD1, RSVD2, RSVD3, 0xD078, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 176862306a36Sopenharmony_ci PINGROUP(uart2_rts_px6, UARTB, RSVD1, RSVD2, RSVD3, 0xD080, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 176962306a36Sopenharmony_ci PINGROUP(uart2_cts_px7, UARTB, RSVD1, RSVD2, RSVD3, 0xD088, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 177062306a36Sopenharmony_ci PINGROUP(uart5_rx_py6, UARTE, RSVD1, RSVD2, RSVD3, 0xD090, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 177162306a36Sopenharmony_ci PINGROUP(uart5_tx_py5, UARTE, RSVD1, RSVD2, RSVD3, 0xD098, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 177262306a36Sopenharmony_ci PINGROUP(uart5_rts_py7, UARTE, RSVD1, RSVD2, RSVD3, 0xD0a0, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 177362306a36Sopenharmony_ci PINGROUP(uart5_cts_pz0, UARTE, RSVD1, RSVD2, RSVD3, 0xD0a8, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 177462306a36Sopenharmony_ci PINGROUP(usb_vbus_en0_pz1, USB, RSVD1, RSVD2, RSVD3, 0xD0b0, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 177562306a36Sopenharmony_ci PINGROUP(usb_vbus_en1_pz2, USB, RSVD1, RSVD2, RSVD3, 0xD0b8, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_uart"), 177662306a36Sopenharmony_ci PINGROUP(ufs0_rst_pff1, UFS0, RSVD1, RSVD2, RSVD3, 0x11000, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_ufs"), 177762306a36Sopenharmony_ci PINGROUP(ufs0_ref_clk_pff0, UFS0, RSVD1, RSVD2, RSVD3, 0x11008, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, 15, 17, Y, "vddio_ufs"), 177862306a36Sopenharmony_ci}; 177962306a36Sopenharmony_ci 178062306a36Sopenharmony_cistatic const struct tegra_pinctrl_soc_data tegra194_pinctrl = { 178162306a36Sopenharmony_ci .pins = tegra194_pins, 178262306a36Sopenharmony_ci .npins = ARRAY_SIZE(tegra194_pins), 178362306a36Sopenharmony_ci .functions = tegra194_functions, 178462306a36Sopenharmony_ci .nfunctions = ARRAY_SIZE(tegra194_functions), 178562306a36Sopenharmony_ci .groups = tegra194_groups, 178662306a36Sopenharmony_ci .ngroups = ARRAY_SIZE(tegra194_groups), 178762306a36Sopenharmony_ci .hsm_in_mux = true, 178862306a36Sopenharmony_ci .schmitt_in_mux = true, 178962306a36Sopenharmony_ci .drvtype_in_mux = true, 179062306a36Sopenharmony_ci .sfsel_in_mux = true, 179162306a36Sopenharmony_ci}; 179262306a36Sopenharmony_ci 179362306a36Sopenharmony_cistatic const struct pinctrl_pin_desc tegra194_aon_pins[] = { 179462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAN1_DOUT_PAA0, "CAN1_DOUT_PAA0"), 179562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAN1_DIN_PAA1, "CAN1_DIN_PAA1"), 179662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAN0_DOUT_PAA2, "CAN0_DOUT_PAA2"), 179762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAN0_DIN_PAA3, "CAN0_DIN_PAA3"), 179862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAN0_STB_PAA4, "CAN0_STB_PAA4"), 179962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAN0_EN_PAA5, "CAN0_EN_PAA5"), 180062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAN0_WAKE_PAA6, "CAN0_WAKE_PAA6"), 180162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAN0_ERR_PAA7, "CAN0_ERR_PAA7"), 180262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAN1_STB_PBB0, "CAN1_STB_PBB0"), 180362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAN1_EN_PBB1, "CAN1_EN_PBB1"), 180462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAN1_WAKE_PBB2, "CAN1_WAKE_PBB2"), 180562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAN1_ERR_PBB3, "CAN1_ERR_PBB3"), 180662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI2_SCK_PCC0, "SPI2_SCK_PCC0"), 180762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI2_MISO_PCC1, "SPI2_MISO_PCC1"), 180862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI2_MOSI_PCC2, "SPI2_MOSI_PCC2"), 180962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI2_CS0_PCC3, "SPI2_CS0_PCC3"), 181062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_TOUCH_CLK_PCC4, "TOUCH_CLK_PCC4"), 181162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART3_TX_PCC5, "UART3_TX_PCC5"), 181262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART3_RX_PCC6, "UART3_RX_PCC6"), 181362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SCL_PCC7, "GEN2_I2C_SCL_PCC7"), 181462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SDA_PDD0, "GEN2_I2C_SDA_PDD0"), 181562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GEN8_I2C_SCL_PDD1, "GEN8_I2C_SCL_PDD1"), 181662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GEN8_I2C_SDA_PDD2, "GEN8_I2C_SDA_PDD2"), 181762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SAFE_STATE_PEE0, "SAFE_STATE_PEE0"), 181862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_VCOMP_ALERT_PEE1, "VCOMP_ALERT_PEE1"), 181962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_AO_RETENTION_N_PEE2, "AO_RETENTION_N_PEE2"), 182062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_BATT_OC_PEE3, "BATT_OC_PEE3"), 182162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_POWER_ON_PEE4, "POWER_ON_PEE4"), 182262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SCL_PEE5, "PWR_I2C_SCL_PEE5"), 182362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SDA_PEE6, "PWR_I2C_SDA_PEE6"), 182462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SYS_RESET_N, "SYS_RESET_N"), 182562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SHUTDOWN_N, "SHUTDOWN_N"), 182662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PMU_INT_N, "PMU_INT_N"), 182762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SOC_PWR_REQ, "SOC_PWR_REQ"), 182862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CLK_32K_IN, "CLK_32K_IN"), 182962306a36Sopenharmony_ci}; 183062306a36Sopenharmony_ci 183162306a36Sopenharmony_cistatic const struct tegra_pingroup tegra194_aon_groups[] = { 183262306a36Sopenharmony_ci PINGROUP(shutdown_n, RSVD0, RSVD1, RSVD2, RSVD3, 0x1000, 0, Y, 5, -1, 6, 8, -1, -1, -1, 12, N, -1, -1, N, "vddio_sys"), 183362306a36Sopenharmony_ci PINGROUP(pmu_int_n, RSVD0, RSVD1, RSVD2, RSVD3, 0x1008, 0, Y, -1, -1, 6, 8, -1, -1, -1, 12, N, -1, -1, N, "vddio_sys"), 183462306a36Sopenharmony_ci PINGROUP(safe_state_pee0, SCE, RSVD1, RSVD2, RSVD3, 0x1010, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_sys"), 183562306a36Sopenharmony_ci PINGROUP(vcomp_alert_pee1, SOC, RSVD1, RSVD2, RSVD3, 0x1018, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_sys"), 183662306a36Sopenharmony_ci PINGROUP(soc_pwr_req, RSVD0, RSVD1, RSVD2, RSVD3, 0x1020, 0, Y, -1, -1, 6, 8, -1, -1, -1, 12, N, -1, -1, N, "vddio_sys"), 183762306a36Sopenharmony_ci PINGROUP(batt_oc_pee3, SOC, RSVD1, RSVD2, RSVD3, 0x1028, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_sys"), 183862306a36Sopenharmony_ci PINGROUP(clk_32k_in, RSVD0, RSVD1, RSVD2, RSVD3, 0x1030, 0, Y, -1, -1, -1, 8, -1, -1, -1, 12, N, -1, -1, N, "vddio_sys"), 183962306a36Sopenharmony_ci PINGROUP(power_on_pee4, RSVD0, RSVD1, RSVD2, RSVD3, 0x1038, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_sys"), 184062306a36Sopenharmony_ci PINGROUP(pwr_i2c_scl_pee5, I2C5, RSVD1, RSVD2, RSVD3, 0x1040, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_sys"), 184162306a36Sopenharmony_ci PINGROUP(pwr_i2c_sda_pee6, I2C5, RSVD1, RSVD2, RSVD3, 0x1048, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_sys"), 184262306a36Sopenharmony_ci PINGROUP(ao_retention_n_pee2, GPIO, RSVD1, RSVD2, RSVD3, 0x1060, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_sys"), 184362306a36Sopenharmony_ci PINGROUP(touch_clk_pcc4, GP, TOUCH, RSVD2, RSVD3, 0x2000, 0, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"), 184462306a36Sopenharmony_ci PINGROUP(uart3_rx_pcc6, UARTC, RSVD1, RSVD2, RSVD3, 0x2008, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"), 184562306a36Sopenharmony_ci PINGROUP(uart3_tx_pcc5, UARTC, RSVD1, RSVD2, RSVD3, 0x2010, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"), 184662306a36Sopenharmony_ci PINGROUP(gen8_i2c_sda_pdd2, I2C8, RSVD1, RSVD2, RSVD3, 0x2018, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"), 184762306a36Sopenharmony_ci PINGROUP(gen8_i2c_scl_pdd1, I2C8, RSVD1, RSVD2, RSVD3, 0x2020, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"), 184862306a36Sopenharmony_ci PINGROUP(spi2_mosi_pcc2, SPI2, UARTG, RSVD2, RSVD3, 0x2028, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"), 184962306a36Sopenharmony_ci PINGROUP(gen2_i2c_scl_pcc7, I2C2, RSVD1, RSVD2, RSVD3, 0x2030, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"), 185062306a36Sopenharmony_ci PINGROUP(spi2_cs0_pcc3, SPI2, UARTG, RSVD2, RSVD3, 0x2038, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"), 185162306a36Sopenharmony_ci PINGROUP(gen2_i2c_sda_pdd0, I2C2, RSVD1, RSVD2, RSVD3, 0x2040, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"), 185262306a36Sopenharmony_ci PINGROUP(spi2_sck_pcc0, SPI2, UARTG, RSVD2, RSVD3, 0x2048, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"), 185362306a36Sopenharmony_ci PINGROUP(spi2_miso_pcc1, SPI2, UARTG, RSVD2, RSVD3, 0x2050, 0, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"), 185462306a36Sopenharmony_ci PINGROUP(can1_dout_paa0, CAN1, RSVD1, RSVD2, RSVD3, 0x3000, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"), 185562306a36Sopenharmony_ci PINGROUP(can1_din_paa1, CAN1, RSVD1, RSVD2, RSVD3, 0x3008, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"), 185662306a36Sopenharmony_ci PINGROUP(can0_dout_paa2, CAN0, RSVD1, RSVD2, RSVD3, 0x3010, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"), 185762306a36Sopenharmony_ci PINGROUP(can0_din_paa3, CAN0, RSVD1, RSVD2, RSVD3, 0x3018, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"), 185862306a36Sopenharmony_ci PINGROUP(can0_stb_paa4, RSVD0, WDT, RSVD2, RSVD3, 0x3020, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"), 185962306a36Sopenharmony_ci PINGROUP(can0_en_paa5, RSVD0, RSVD1, RSVD2, RSVD3, 0x3028, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"), 186062306a36Sopenharmony_ci PINGROUP(can0_wake_paa6, RSVD0, RSVD1, RSVD2, RSVD3, 0x3030, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"), 186162306a36Sopenharmony_ci PINGROUP(can0_err_paa7, RSVD0, RSVD1, RSVD2, RSVD3, 0x3038, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"), 186262306a36Sopenharmony_ci PINGROUP(can1_stb_pbb0, RSVD0, DMIC3, DMIC5, RSVD3, 0x3040, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"), 186362306a36Sopenharmony_ci PINGROUP(can1_en_pbb1, RSVD0, DMIC3, DMIC5, RSVD3, 0x3048, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"), 186462306a36Sopenharmony_ci PINGROUP(can1_wake_pbb2, RSVD0, RSVD1, RSVD2, RSVD3, 0x3050, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"), 186562306a36Sopenharmony_ci PINGROUP(can1_err_pbb3, RSVD0, RSVD1, RSVD2, RSVD3, 0x3058, 0, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"), 186662306a36Sopenharmony_ci}; 186762306a36Sopenharmony_ci 186862306a36Sopenharmony_cistatic const struct tegra_pinctrl_soc_data tegra194_pinctrl_aon = { 186962306a36Sopenharmony_ci .pins = tegra194_aon_pins, 187062306a36Sopenharmony_ci .npins = ARRAY_SIZE(tegra194_aon_pins), 187162306a36Sopenharmony_ci .functions = tegra194_functions, 187262306a36Sopenharmony_ci .nfunctions = ARRAY_SIZE(tegra194_functions), 187362306a36Sopenharmony_ci .groups = tegra194_aon_groups, 187462306a36Sopenharmony_ci .ngroups = ARRAY_SIZE(tegra194_aon_groups), 187562306a36Sopenharmony_ci .hsm_in_mux = true, 187662306a36Sopenharmony_ci .schmitt_in_mux = true, 187762306a36Sopenharmony_ci .drvtype_in_mux = true, 187862306a36Sopenharmony_ci .sfsel_in_mux = true, 187962306a36Sopenharmony_ci}; 188062306a36Sopenharmony_ci 188162306a36Sopenharmony_cistatic int tegra194_pinctrl_probe(struct platform_device *pdev) 188262306a36Sopenharmony_ci{ 188362306a36Sopenharmony_ci const struct tegra_pinctrl_soc_data *soc = of_device_get_match_data(&pdev->dev); 188462306a36Sopenharmony_ci 188562306a36Sopenharmony_ci return tegra_pinctrl_probe(pdev, soc); 188662306a36Sopenharmony_ci} 188762306a36Sopenharmony_ci 188862306a36Sopenharmony_cistatic const struct of_device_id tegra194_pinctrl_of_match[] = { 188962306a36Sopenharmony_ci { .compatible = "nvidia,tegra194-pinmux", .data = &tegra194_pinctrl }, 189062306a36Sopenharmony_ci { .compatible = "nvidia,tegra194-pinmux-aon", .data = &tegra194_pinctrl_aon }, 189162306a36Sopenharmony_ci { }, 189262306a36Sopenharmony_ci}; 189362306a36Sopenharmony_ci 189462306a36Sopenharmony_cistatic struct platform_driver tegra194_pinctrl_driver = { 189562306a36Sopenharmony_ci .driver = { 189662306a36Sopenharmony_ci .name = "tegra194-pinctrl", 189762306a36Sopenharmony_ci .of_match_table = tegra194_pinctrl_of_match, 189862306a36Sopenharmony_ci }, 189962306a36Sopenharmony_ci .probe = tegra194_pinctrl_probe, 190062306a36Sopenharmony_ci}; 190162306a36Sopenharmony_ci 190262306a36Sopenharmony_cistatic int __init tegra194_pinctrl_init(void) 190362306a36Sopenharmony_ci{ 190462306a36Sopenharmony_ci return platform_driver_register(&tegra194_pinctrl_driver); 190562306a36Sopenharmony_ci} 190662306a36Sopenharmony_ciarch_initcall(tegra194_pinctrl_init); 1907