162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Pinctrl data for the NVIDIA Tegra210 pinmux 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#include <linux/init.h> 962306a36Sopenharmony_ci#include <linux/of.h> 1062306a36Sopenharmony_ci#include <linux/platform_device.h> 1162306a36Sopenharmony_ci#include <linux/pinctrl/pinctrl.h> 1262306a36Sopenharmony_ci#include <linux/pinctrl/pinmux.h> 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#include "pinctrl-tegra.h" 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci/* 1762306a36Sopenharmony_ci * Most pins affected by the pinmux can also be GPIOs. Define these first. 1862306a36Sopenharmony_ci * These must match how the GPIO driver names/numbers its pins. 1962306a36Sopenharmony_ci */ 2062306a36Sopenharmony_ci#define _GPIO(offset) (offset) 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L0_RST_N_PA0 _GPIO(0) 2362306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L0_CLKREQ_N_PA1 _GPIO(1) 2462306a36Sopenharmony_ci#define TEGRA_PIN_PEX_WAKE_N_PA2 _GPIO(2) 2562306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L1_RST_N_PA3 _GPIO(3) 2662306a36Sopenharmony_ci#define TEGRA_PIN_PEX_L1_CLKREQ_N_PA4 _GPIO(4) 2762306a36Sopenharmony_ci#define TEGRA_PIN_SATA_LED_ACTIVE_PA5 _GPIO(5) 2862306a36Sopenharmony_ci#define TEGRA_PIN_PA6 _GPIO(6) 2962306a36Sopenharmony_ci#define TEGRA_PIN_DAP1_FS_PB0 _GPIO(8) 3062306a36Sopenharmony_ci#define TEGRA_PIN_DAP1_DIN_PB1 _GPIO(9) 3162306a36Sopenharmony_ci#define TEGRA_PIN_DAP1_DOUT_PB2 _GPIO(10) 3262306a36Sopenharmony_ci#define TEGRA_PIN_DAP1_SCLK_PB3 _GPIO(11) 3362306a36Sopenharmony_ci#define TEGRA_PIN_SPI2_MOSI_PB4 _GPIO(12) 3462306a36Sopenharmony_ci#define TEGRA_PIN_SPI2_MISO_PB5 _GPIO(13) 3562306a36Sopenharmony_ci#define TEGRA_PIN_SPI2_SCK_PB6 _GPIO(14) 3662306a36Sopenharmony_ci#define TEGRA_PIN_SPI2_CS0_PB7 _GPIO(15) 3762306a36Sopenharmony_ci#define TEGRA_PIN_SPI1_MOSI_PC0 _GPIO(16) 3862306a36Sopenharmony_ci#define TEGRA_PIN_SPI1_MISO_PC1 _GPIO(17) 3962306a36Sopenharmony_ci#define TEGRA_PIN_SPI1_SCK_PC2 _GPIO(18) 4062306a36Sopenharmony_ci#define TEGRA_PIN_SPI1_CS0_PC3 _GPIO(19) 4162306a36Sopenharmony_ci#define TEGRA_PIN_SPI1_CS1_PC4 _GPIO(20) 4262306a36Sopenharmony_ci#define TEGRA_PIN_SPI4_SCK_PC5 _GPIO(21) 4362306a36Sopenharmony_ci#define TEGRA_PIN_SPI4_CS0_PC6 _GPIO(22) 4462306a36Sopenharmony_ci#define TEGRA_PIN_SPI4_MOSI_PC7 _GPIO(23) 4562306a36Sopenharmony_ci#define TEGRA_PIN_SPI4_MISO_PD0 _GPIO(24) 4662306a36Sopenharmony_ci#define TEGRA_PIN_UART3_TX_PD1 _GPIO(25) 4762306a36Sopenharmony_ci#define TEGRA_PIN_UART3_RX_PD2 _GPIO(26) 4862306a36Sopenharmony_ci#define TEGRA_PIN_UART3_RTS_PD3 _GPIO(27) 4962306a36Sopenharmony_ci#define TEGRA_PIN_UART3_CTS_PD4 _GPIO(28) 5062306a36Sopenharmony_ci#define TEGRA_PIN_DMIC1_CLK_PE0 _GPIO(32) 5162306a36Sopenharmony_ci#define TEGRA_PIN_DMIC1_DAT_PE1 _GPIO(33) 5262306a36Sopenharmony_ci#define TEGRA_PIN_DMIC2_CLK_PE2 _GPIO(34) 5362306a36Sopenharmony_ci#define TEGRA_PIN_DMIC2_DAT_PE3 _GPIO(35) 5462306a36Sopenharmony_ci#define TEGRA_PIN_DMIC3_CLK_PE4 _GPIO(36) 5562306a36Sopenharmony_ci#define TEGRA_PIN_DMIC3_DAT_PE5 _GPIO(37) 5662306a36Sopenharmony_ci#define TEGRA_PIN_PE6 _GPIO(38) 5762306a36Sopenharmony_ci#define TEGRA_PIN_PE7 _GPIO(39) 5862306a36Sopenharmony_ci#define TEGRA_PIN_GEN3_I2C_SCL_PF0 _GPIO(40) 5962306a36Sopenharmony_ci#define TEGRA_PIN_GEN3_I2C_SDA_PF1 _GPIO(41) 6062306a36Sopenharmony_ci#define TEGRA_PIN_UART2_TX_PG0 _GPIO(48) 6162306a36Sopenharmony_ci#define TEGRA_PIN_UART2_RX_PG1 _GPIO(49) 6262306a36Sopenharmony_ci#define TEGRA_PIN_UART2_RTS_PG2 _GPIO(50) 6362306a36Sopenharmony_ci#define TEGRA_PIN_UART2_CTS_PG3 _GPIO(51) 6462306a36Sopenharmony_ci#define TEGRA_PIN_WIFI_EN_PH0 _GPIO(56) 6562306a36Sopenharmony_ci#define TEGRA_PIN_WIFI_RST_PH1 _GPIO(57) 6662306a36Sopenharmony_ci#define TEGRA_PIN_WIFI_WAKE_AP_PH2 _GPIO(58) 6762306a36Sopenharmony_ci#define TEGRA_PIN_AP_WAKE_BT_PH3 _GPIO(59) 6862306a36Sopenharmony_ci#define TEGRA_PIN_BT_RST_PH4 _GPIO(60) 6962306a36Sopenharmony_ci#define TEGRA_PIN_BT_WAKE_AP_PH5 _GPIO(61) 7062306a36Sopenharmony_ci#define TEGRA_PIN_PH6 _GPIO(62) 7162306a36Sopenharmony_ci#define TEGRA_PIN_AP_WAKE_NFC_PH7 _GPIO(63) 7262306a36Sopenharmony_ci#define TEGRA_PIN_NFC_EN_PI0 _GPIO(64) 7362306a36Sopenharmony_ci#define TEGRA_PIN_NFC_INT_PI1 _GPIO(65) 7462306a36Sopenharmony_ci#define TEGRA_PIN_GPS_EN_PI2 _GPIO(66) 7562306a36Sopenharmony_ci#define TEGRA_PIN_GPS_RST_PI3 _GPIO(67) 7662306a36Sopenharmony_ci#define TEGRA_PIN_UART4_TX_PI4 _GPIO(68) 7762306a36Sopenharmony_ci#define TEGRA_PIN_UART4_RX_PI5 _GPIO(69) 7862306a36Sopenharmony_ci#define TEGRA_PIN_UART4_RTS_PI6 _GPIO(70) 7962306a36Sopenharmony_ci#define TEGRA_PIN_UART4_CTS_PI7 _GPIO(71) 8062306a36Sopenharmony_ci#define TEGRA_PIN_GEN1_I2C_SDA_PJ0 _GPIO(72) 8162306a36Sopenharmony_ci#define TEGRA_PIN_GEN1_I2C_SCL_PJ1 _GPIO(73) 8262306a36Sopenharmony_ci#define TEGRA_PIN_GEN2_I2C_SCL_PJ2 _GPIO(74) 8362306a36Sopenharmony_ci#define TEGRA_PIN_GEN2_I2C_SDA_PJ3 _GPIO(75) 8462306a36Sopenharmony_ci#define TEGRA_PIN_DAP4_FS_PJ4 _GPIO(76) 8562306a36Sopenharmony_ci#define TEGRA_PIN_DAP4_DIN_PJ5 _GPIO(77) 8662306a36Sopenharmony_ci#define TEGRA_PIN_DAP4_DOUT_PJ6 _GPIO(78) 8762306a36Sopenharmony_ci#define TEGRA_PIN_DAP4_SCLK_PJ7 _GPIO(79) 8862306a36Sopenharmony_ci#define TEGRA_PIN_PK0 _GPIO(80) 8962306a36Sopenharmony_ci#define TEGRA_PIN_PK1 _GPIO(81) 9062306a36Sopenharmony_ci#define TEGRA_PIN_PK2 _GPIO(82) 9162306a36Sopenharmony_ci#define TEGRA_PIN_PK3 _GPIO(83) 9262306a36Sopenharmony_ci#define TEGRA_PIN_PK4 _GPIO(84) 9362306a36Sopenharmony_ci#define TEGRA_PIN_PK5 _GPIO(85) 9462306a36Sopenharmony_ci#define TEGRA_PIN_PK6 _GPIO(86) 9562306a36Sopenharmony_ci#define TEGRA_PIN_PK7 _GPIO(87) 9662306a36Sopenharmony_ci#define TEGRA_PIN_PL0 _GPIO(88) 9762306a36Sopenharmony_ci#define TEGRA_PIN_PL1 _GPIO(89) 9862306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_CLK_PM0 _GPIO(96) 9962306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_CMD_PM1 _GPIO(97) 10062306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT3_PM2 _GPIO(98) 10162306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT2_PM3 _GPIO(99) 10262306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT1_PM4 _GPIO(100) 10362306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC1_DAT0_PM5 _GPIO(101) 10462306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CLK_PP0 _GPIO(120) 10562306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_CMD_PP1 _GPIO(121) 10662306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT3_PP2 _GPIO(122) 10762306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT2_PP3 _GPIO(123) 10862306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT1_PP4 _GPIO(124) 10962306a36Sopenharmony_ci#define TEGRA_PIN_SDMMC3_DAT0_PP5 _GPIO(125) 11062306a36Sopenharmony_ci#define TEGRA_PIN_CAM1_MCLK_PS0 _GPIO(144) 11162306a36Sopenharmony_ci#define TEGRA_PIN_CAM2_MCLK_PS1 _GPIO(145) 11262306a36Sopenharmony_ci#define TEGRA_PIN_CAM_I2C_SCL_PS2 _GPIO(146) 11362306a36Sopenharmony_ci#define TEGRA_PIN_CAM_I2C_SDA_PS3 _GPIO(147) 11462306a36Sopenharmony_ci#define TEGRA_PIN_CAM_RST_PS4 _GPIO(148) 11562306a36Sopenharmony_ci#define TEGRA_PIN_CAM_AF_EN_PS5 _GPIO(149) 11662306a36Sopenharmony_ci#define TEGRA_PIN_CAM_FLASH_EN_PS6 _GPIO(150) 11762306a36Sopenharmony_ci#define TEGRA_PIN_CAM1_PWDN_PS7 _GPIO(151) 11862306a36Sopenharmony_ci#define TEGRA_PIN_CAM2_PWDN_PT0 _GPIO(152) 11962306a36Sopenharmony_ci#define TEGRA_PIN_CAM1_STROBE_PT1 _GPIO(153) 12062306a36Sopenharmony_ci#define TEGRA_PIN_UART1_TX_PU0 _GPIO(160) 12162306a36Sopenharmony_ci#define TEGRA_PIN_UART1_RX_PU1 _GPIO(161) 12262306a36Sopenharmony_ci#define TEGRA_PIN_UART1_RTS_PU2 _GPIO(162) 12362306a36Sopenharmony_ci#define TEGRA_PIN_UART1_CTS_PU3 _GPIO(163) 12462306a36Sopenharmony_ci#define TEGRA_PIN_LCD_BL_PWM_PV0 _GPIO(168) 12562306a36Sopenharmony_ci#define TEGRA_PIN_LCD_BL_EN_PV1 _GPIO(169) 12662306a36Sopenharmony_ci#define TEGRA_PIN_LCD_RST_PV2 _GPIO(170) 12762306a36Sopenharmony_ci#define TEGRA_PIN_LCD_GPIO1_PV3 _GPIO(171) 12862306a36Sopenharmony_ci#define TEGRA_PIN_LCD_GPIO2_PV4 _GPIO(172) 12962306a36Sopenharmony_ci#define TEGRA_PIN_AP_READY_PV5 _GPIO(173) 13062306a36Sopenharmony_ci#define TEGRA_PIN_TOUCH_RST_PV6 _GPIO(174) 13162306a36Sopenharmony_ci#define TEGRA_PIN_TOUCH_CLK_PV7 _GPIO(175) 13262306a36Sopenharmony_ci#define TEGRA_PIN_MODEM_WAKE_AP_PX0 _GPIO(184) 13362306a36Sopenharmony_ci#define TEGRA_PIN_TOUCH_INT_PX1 _GPIO(185) 13462306a36Sopenharmony_ci#define TEGRA_PIN_MOTION_INT_PX2 _GPIO(186) 13562306a36Sopenharmony_ci#define TEGRA_PIN_ALS_PROX_INT_PX3 _GPIO(187) 13662306a36Sopenharmony_ci#define TEGRA_PIN_TEMP_ALERT_PX4 _GPIO(188) 13762306a36Sopenharmony_ci#define TEGRA_PIN_BUTTON_POWER_ON_PX5 _GPIO(189) 13862306a36Sopenharmony_ci#define TEGRA_PIN_BUTTON_VOL_UP_PX6 _GPIO(190) 13962306a36Sopenharmony_ci#define TEGRA_PIN_BUTTON_VOL_DOWN_PX7 _GPIO(191) 14062306a36Sopenharmony_ci#define TEGRA_PIN_BUTTON_SLIDE_SW_PY0 _GPIO(192) 14162306a36Sopenharmony_ci#define TEGRA_PIN_BUTTON_HOME_PY1 _GPIO(193) 14262306a36Sopenharmony_ci#define TEGRA_PIN_LCD_TE_PY2 _GPIO(194) 14362306a36Sopenharmony_ci#define TEGRA_PIN_PWR_I2C_SCL_PY3 _GPIO(195) 14462306a36Sopenharmony_ci#define TEGRA_PIN_PWR_I2C_SDA_PY4 _GPIO(196) 14562306a36Sopenharmony_ci#define TEGRA_PIN_CLK_32K_OUT_PY5 _GPIO(197) 14662306a36Sopenharmony_ci#define TEGRA_PIN_PZ0 _GPIO(200) 14762306a36Sopenharmony_ci#define TEGRA_PIN_PZ1 _GPIO(201) 14862306a36Sopenharmony_ci#define TEGRA_PIN_PZ2 _GPIO(202) 14962306a36Sopenharmony_ci#define TEGRA_PIN_PZ3 _GPIO(203) 15062306a36Sopenharmony_ci#define TEGRA_PIN_PZ4 _GPIO(204) 15162306a36Sopenharmony_ci#define TEGRA_PIN_PZ5 _GPIO(205) 15262306a36Sopenharmony_ci#define TEGRA_PIN_DAP2_FS_PAA0 _GPIO(208) 15362306a36Sopenharmony_ci#define TEGRA_PIN_DAP2_SCLK_PAA1 _GPIO(209) 15462306a36Sopenharmony_ci#define TEGRA_PIN_DAP2_DIN_PAA2 _GPIO(210) 15562306a36Sopenharmony_ci#define TEGRA_PIN_DAP2_DOUT_PAA3 _GPIO(211) 15662306a36Sopenharmony_ci#define TEGRA_PIN_AUD_MCLK_PBB0 _GPIO(216) 15762306a36Sopenharmony_ci#define TEGRA_PIN_DVFS_PWM_PBB1 _GPIO(217) 15862306a36Sopenharmony_ci#define TEGRA_PIN_DVFS_CLK_PBB2 _GPIO(218) 15962306a36Sopenharmony_ci#define TEGRA_PIN_GPIO_X1_AUD_PBB3 _GPIO(219) 16062306a36Sopenharmony_ci#define TEGRA_PIN_GPIO_X3_AUD_PBB4 _GPIO(220) 16162306a36Sopenharmony_ci#define TEGRA_PIN_HDMI_CEC_PCC0 _GPIO(224) 16262306a36Sopenharmony_ci#define TEGRA_PIN_HDMI_INT_DP_HPD_PCC1 _GPIO(225) 16362306a36Sopenharmony_ci#define TEGRA_PIN_SPDIF_OUT_PCC2 _GPIO(226) 16462306a36Sopenharmony_ci#define TEGRA_PIN_SPDIF_IN_PCC3 _GPIO(227) 16562306a36Sopenharmony_ci#define TEGRA_PIN_USB_VBUS_EN0_PCC4 _GPIO(228) 16662306a36Sopenharmony_ci#define TEGRA_PIN_USB_VBUS_EN1_PCC5 _GPIO(229) 16762306a36Sopenharmony_ci#define TEGRA_PIN_DP_HPD0_PCC6 _GPIO(230) 16862306a36Sopenharmony_ci#define TEGRA_PIN_PCC7 _GPIO(231) 16962306a36Sopenharmony_ci#define TEGRA_PIN_SPI2_CS1_PDD0 _GPIO(232) 17062306a36Sopenharmony_ci#define TEGRA_PIN_QSPI_SCK_PEE0 _GPIO(240) 17162306a36Sopenharmony_ci#define TEGRA_PIN_QSPI_CS_N_PEE1 _GPIO(241) 17262306a36Sopenharmony_ci#define TEGRA_PIN_QSPI_IO0_PEE2 _GPIO(242) 17362306a36Sopenharmony_ci#define TEGRA_PIN_QSPI_IO1_PEE3 _GPIO(243) 17462306a36Sopenharmony_ci#define TEGRA_PIN_QSPI_IO2_PEE4 _GPIO(244) 17562306a36Sopenharmony_ci#define TEGRA_PIN_QSPI_IO3_PEE5 _GPIO(245) 17662306a36Sopenharmony_ci 17762306a36Sopenharmony_ci/* All non-GPIO pins follow */ 17862306a36Sopenharmony_ci#define NUM_GPIOS (TEGRA_PIN_QSPI_IO3_PEE5 + 1) 17962306a36Sopenharmony_ci#define _PIN(offset) (NUM_GPIOS + (offset)) 18062306a36Sopenharmony_ci 18162306a36Sopenharmony_ci/* Non-GPIO pins */ 18262306a36Sopenharmony_ci#define TEGRA_PIN_CORE_PWR_REQ _PIN(0) 18362306a36Sopenharmony_ci#define TEGRA_PIN_CPU_PWR_REQ _PIN(1) 18462306a36Sopenharmony_ci#define TEGRA_PIN_PWR_INT_N _PIN(2) 18562306a36Sopenharmony_ci#define TEGRA_PIN_CLK_32K_IN _PIN(3) 18662306a36Sopenharmony_ci#define TEGRA_PIN_JTAG_RTCK _PIN(4) 18762306a36Sopenharmony_ci#define TEGRA_PIN_BATT_BCL _PIN(5) 18862306a36Sopenharmony_ci#define TEGRA_PIN_CLK_REQ _PIN(6) 18962306a36Sopenharmony_ci#define TEGRA_PIN_SHUTDOWN _PIN(7) 19062306a36Sopenharmony_ci 19162306a36Sopenharmony_cistatic const struct pinctrl_pin_desc tegra210_pins[] = { 19262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L0_RST_N_PA0, "PEX_L0_RST_N PA0"), 19362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L0_CLKREQ_N_PA1, "PEX_L0_CLKREQ_N PA1"), 19462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_WAKE_N_PA2, "PEX_WAKE_N PA2"), 19562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L1_RST_N_PA3, "PEX_L1_RST_N PA3"), 19662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PEX_L1_CLKREQ_N_PA4, "PEX_L1_CLKREQ_N PA4"), 19762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SATA_LED_ACTIVE_PA5, "SATA_LED_ACTIVE PA5"), 19862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PA6, "PA6"), 19962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP1_FS_PB0, "DAP1_FS PB0"), 20062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP1_DIN_PB1, "DAP1_DIN PB1"), 20162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP1_DOUT_PB2, "DAP1_DOUT PB2"), 20262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP1_SCLK_PB3, "DAP1_SCLK PB3"), 20362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI2_MOSI_PB4, "SPI2_MOSI PB4"), 20462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI2_MISO_PB5, "SPI2_MISO PB5"), 20562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI2_SCK_PB6, "SPI2_SCK PB6"), 20662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI2_CS0_PB7, "SPI2_CS0 PB7"), 20762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI1_MOSI_PC0, "SPI1_MOSI PC0"), 20862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI1_MISO_PC1, "SPI1_MISO PC1"), 20962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI1_SCK_PC2, "SPI1_SCK PC2"), 21062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI1_CS0_PC3, "SPI1_CS0 PC3"), 21162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI1_CS1_PC4, "SPI1_CS1 PC4"), 21262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI4_SCK_PC5, "SPI4_SCK PC5"), 21362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI4_CS0_PC6, "SPI4_CS0 PC6"), 21462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI4_MOSI_PC7, "SPI4_MOSI PC7"), 21562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI4_MISO_PD0, "SPI4_MISO PD0"), 21662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART3_TX_PD1, "UART3_TX PD1"), 21762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART3_RX_PD2, "UART3_RX PD2"), 21862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART3_RTS_PD3, "UART3_RTS PD3"), 21962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART3_CTS_PD4, "UART3_CTS PD4"), 22062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DMIC1_CLK_PE0, "DMIC1_CLK PE0"), 22162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DMIC1_DAT_PE1, "DMIC1_DAT PE1"), 22262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DMIC2_CLK_PE2, "DMIC2_CLK PE2"), 22362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DMIC2_DAT_PE3, "DMIC2_DAT PE3"), 22462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DMIC3_CLK_PE4, "DMIC3_CLK PE4"), 22562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DMIC3_DAT_PE5, "DMIC3_DAT PE5"), 22662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PE6, "PE6"), 22762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PE7, "PE7"), 22862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GEN3_I2C_SCL_PF0, "GEN3_I2C_SCL PF0"), 22962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GEN3_I2C_SDA_PF1, "GEN3_I2C_SDA PF1"), 23062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART2_TX_PG0, "UART2_TX PG0"), 23162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART2_RX_PG1, "UART2_RX PG1"), 23262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART2_RTS_PG2, "UART2_RTS PG2"), 23362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART2_CTS_PG3, "UART2_CTS PG3"), 23462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_WIFI_EN_PH0, "WIFI_EN PH0"), 23562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_WIFI_RST_PH1, "WIFI_RST PH1"), 23662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_WIFI_WAKE_AP_PH2, "WIFI_WAKE_AP PH2"), 23762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_AP_WAKE_BT_PH3, "AP_WAKE_BT PH3"), 23862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_BT_RST_PH4, "BT_RST PH4"), 23962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_BT_WAKE_AP_PH5, "BT_WAKE_AP PH5"), 24062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PH6, "PH6"), 24162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_AP_WAKE_NFC_PH7, "AP_WAKE_NFC PH7"), 24262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_NFC_EN_PI0, "NFC_EN PI0"), 24362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_NFC_INT_PI1, "NFC_INT PI1"), 24462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GPS_EN_PI2, "GPS_EN PI2"), 24562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GPS_RST_PI3, "GPS_RST PI3"), 24662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART4_TX_PI4, "UART4_TX PI4"), 24762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART4_RX_PI5, "UART4_RX PI5"), 24862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART4_RTS_PI6, "UART4_RTS PI6"), 24962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART4_CTS_PI7, "UART4_CTS PI7"), 25062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SDA_PJ0, "GEN1_I2C_SDA PJ0"), 25162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GEN1_I2C_SCL_PJ1, "GEN1_I2C_SCL PJ1"), 25262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SCL_PJ2, "GEN2_I2C_SCL PJ2"), 25362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GEN2_I2C_SDA_PJ3, "GEN2_I2C_SDA PJ3"), 25462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP4_FS_PJ4, "DAP4_FS PJ4"), 25562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP4_DIN_PJ5, "DAP4_DIN PJ5"), 25662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP4_DOUT_PJ6, "DAP4_DOUT PJ6"), 25762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP4_SCLK_PJ7, "DAP4_SCLK PJ7"), 25862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PK0, "PK0"), 25962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PK1, "PK1"), 26062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PK2, "PK2"), 26162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PK3, "PK3"), 26262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PK4, "PK4"), 26362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PK5, "PK5"), 26462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PK6, "PK6"), 26562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PK7, "PK7"), 26662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PL0, "PL0"), 26762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PL1, "PL1"), 26862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_CLK_PM0, "SDMMC1_CLK PM0"), 26962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_CMD_PM1, "SDMMC1_CMD PM1"), 27062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT3_PM2, "SDMMC1_DAT3 PM2"), 27162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT2_PM3, "SDMMC1_DAT2 PM3"), 27262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT1_PM4, "SDMMC1_DAT1 PM4"), 27362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC1_DAT0_PM5, "SDMMC1_DAT0 PM5"), 27462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_CLK_PP0, "SDMMC3_CLK PP0"), 27562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_CMD_PP1, "SDMMC3_CMD PP1"), 27662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT3_PP2, "SDMMC3_DAT3 PP2"), 27762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT2_PP3, "SDMMC3_DAT2 PP3"), 27862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT1_PP4, "SDMMC3_DAT1 PP4"), 27962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SDMMC3_DAT0_PP5, "SDMMC3_DAT0 PP5"), 28062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAM1_MCLK_PS0, "CAM1_MCLK PS0"), 28162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAM2_MCLK_PS1, "CAM2_MCLK PS1"), 28262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SCL_PS2, "CAM_I2C_SCL PS2"), 28362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAM_I2C_SDA_PS3, "CAM_I2C_SDA PS3"), 28462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAM_RST_PS4, "CAM_RST PS4"), 28562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAM_AF_EN_PS5, "CAM_AF_EN PS5"), 28662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAM_FLASH_EN_PS6, "CAM_FLASH_EN PS6"), 28762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAM1_PWDN_PS7, "CAM1_PWDN PS7"), 28862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAM2_PWDN_PT0, "CAM2_PWDN PT0"), 28962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CAM1_STROBE_PT1, "CAM1_STROBE PT1"), 29062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART1_TX_PU0, "UART1_TX PU0"), 29162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART1_RX_PU1, "UART1_RX PU1"), 29262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART1_RTS_PU2, "UART1_RTS PU2"), 29362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_UART1_CTS_PU3, "UART1_CTS PU3"), 29462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_LCD_BL_PWM_PV0, "LCD_BL_PWM PV0"), 29562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_LCD_BL_EN_PV1, "LCD_BL_EN PV1"), 29662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_LCD_RST_PV2, "LCD_RST PV2"), 29762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_LCD_GPIO1_PV3, "LCD_GPIO1 PV3"), 29862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_LCD_GPIO2_PV4, "LCD_GPIO2 PV4"), 29962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_AP_READY_PV5, "AP_READY PV5"), 30062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_TOUCH_RST_PV6, "TOUCH_RST PV6"), 30162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_TOUCH_CLK_PV7, "TOUCH_CLK PV7"), 30262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_MODEM_WAKE_AP_PX0, "MODEM_WAKE_AP PX0"), 30362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_TOUCH_INT_PX1, "TOUCH_INT PX1"), 30462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_MOTION_INT_PX2, "MOTION_INT PX2"), 30562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_ALS_PROX_INT_PX3, "ALS_PROX_INT PX3"), 30662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_TEMP_ALERT_PX4, "TEMP_ALERT PX4"), 30762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_BUTTON_POWER_ON_PX5, "BUTTON_POWER_ON PX5"), 30862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_BUTTON_VOL_UP_PX6, "BUTTON_VOL_UP PX6"), 30962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_BUTTON_VOL_DOWN_PX7, "BUTTON_VOL_DOWN PX7"), 31062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_BUTTON_SLIDE_SW_PY0, "BUTTON_SLIDE_SW PY0"), 31162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_BUTTON_HOME_PY1, "BUTTON_HOME PY1"), 31262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_LCD_TE_PY2, "LCD_TE PY2"), 31362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SCL_PY3, "PWR_I2C_SCL PY3"), 31462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PWR_I2C_SDA_PY4, "PWR_I2C_SDA PY4"), 31562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CLK_32K_OUT_PY5, "CLK_32K_OUT PY5"), 31662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PZ0, "PZ0"), 31762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PZ1, "PZ1"), 31862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PZ2, "PZ2"), 31962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PZ3, "PZ3"), 32062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PZ4, "PZ4"), 32162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PZ5, "PZ5"), 32262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP2_FS_PAA0, "DAP2_FS PAA0"), 32362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP2_SCLK_PAA1, "DAP2_SCLK PAA1"), 32462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP2_DIN_PAA2, "DAP2_DIN PAA2"), 32562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DAP2_DOUT_PAA3, "DAP2_DOUT PAA3"), 32662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_AUD_MCLK_PBB0, "AUD_MCLK PBB0"), 32762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DVFS_PWM_PBB1, "DVFS_PWM PBB1"), 32862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DVFS_CLK_PBB2, "DVFS_CLK PBB2"), 32962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GPIO_X1_AUD_PBB3, "GPIO_X1_AUD PBB3"), 33062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_GPIO_X3_AUD_PBB4, "GPIO_X3_AUD PBB4"), 33162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_HDMI_CEC_PCC0, "HDMI_CEC PCC0"), 33262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_HDMI_INT_DP_HPD_PCC1, "HDMI_INT_DP_HPD PCC1"), 33362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPDIF_OUT_PCC2, "SPDIF_OUT PCC2"), 33462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPDIF_IN_PCC3, "SPDIF_IN PCC3"), 33562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN0_PCC4, "USB_VBUS_EN0 PCC4"), 33662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_USB_VBUS_EN1_PCC5, "USB_VBUS_EN1 PCC5"), 33762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_DP_HPD0_PCC6, "DP_HPD0 PCC6"), 33862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PCC7, "PCC7"), 33962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SPI2_CS1_PDD0, "SPI2_CS1 PDD0"), 34062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI_SCK_PEE0, "QSPI_SCK PEE0"), 34162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI_CS_N_PEE1, "QSPI_CS_N PEE1"), 34262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI_IO0_PEE2, "QSPI_IO0 PEE2"), 34362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI_IO1_PEE3, "QSPI_IO1 PEE3"), 34462306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI_IO2_PEE4, "QSPI_IO2 PEE4"), 34562306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_QSPI_IO3_PEE5, "QSPI_IO3 PEE5"), 34662306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CORE_PWR_REQ, "CORE_PWR_REQ"), 34762306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CPU_PWR_REQ, "CPU_PWR_REQ"), 34862306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_PWR_INT_N, "PWR_INT_N"), 34962306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CLK_32K_IN, "CLK_32K_IN"), 35062306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_JTAG_RTCK, "JTAG_RTCK"), 35162306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_BATT_BCL, "BATT_BCL"), 35262306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_CLK_REQ, "CLK_REQ"), 35362306a36Sopenharmony_ci PINCTRL_PIN(TEGRA_PIN_SHUTDOWN, "SHUTDOWN"), 35462306a36Sopenharmony_ci}; 35562306a36Sopenharmony_ci 35662306a36Sopenharmony_cistatic const unsigned pex_l0_rst_n_pa0_pins[] = { 35762306a36Sopenharmony_ci TEGRA_PIN_PEX_L0_RST_N_PA0, 35862306a36Sopenharmony_ci}; 35962306a36Sopenharmony_ci 36062306a36Sopenharmony_cistatic const unsigned pex_l0_clkreq_n_pa1_pins[] = { 36162306a36Sopenharmony_ci TEGRA_PIN_PEX_L0_CLKREQ_N_PA1, 36262306a36Sopenharmony_ci}; 36362306a36Sopenharmony_ci 36462306a36Sopenharmony_cistatic const unsigned pex_wake_n_pa2_pins[] = { 36562306a36Sopenharmony_ci TEGRA_PIN_PEX_WAKE_N_PA2, 36662306a36Sopenharmony_ci}; 36762306a36Sopenharmony_ci 36862306a36Sopenharmony_cistatic const unsigned pex_l1_rst_n_pa3_pins[] = { 36962306a36Sopenharmony_ci TEGRA_PIN_PEX_L1_RST_N_PA3, 37062306a36Sopenharmony_ci}; 37162306a36Sopenharmony_ci 37262306a36Sopenharmony_cistatic const unsigned pex_l1_clkreq_n_pa4_pins[] = { 37362306a36Sopenharmony_ci TEGRA_PIN_PEX_L1_CLKREQ_N_PA4, 37462306a36Sopenharmony_ci}; 37562306a36Sopenharmony_ci 37662306a36Sopenharmony_cistatic const unsigned sata_led_active_pa5_pins[] = { 37762306a36Sopenharmony_ci TEGRA_PIN_SATA_LED_ACTIVE_PA5, 37862306a36Sopenharmony_ci}; 37962306a36Sopenharmony_ci 38062306a36Sopenharmony_cistatic const unsigned pa6_pins[] = { 38162306a36Sopenharmony_ci TEGRA_PIN_PA6, 38262306a36Sopenharmony_ci}; 38362306a36Sopenharmony_ci 38462306a36Sopenharmony_cistatic const unsigned dap1_fs_pb0_pins[] = { 38562306a36Sopenharmony_ci TEGRA_PIN_DAP1_FS_PB0, 38662306a36Sopenharmony_ci}; 38762306a36Sopenharmony_ci 38862306a36Sopenharmony_cistatic const unsigned dap1_din_pb1_pins[] = { 38962306a36Sopenharmony_ci TEGRA_PIN_DAP1_DIN_PB1, 39062306a36Sopenharmony_ci}; 39162306a36Sopenharmony_ci 39262306a36Sopenharmony_cistatic const unsigned dap1_dout_pb2_pins[] = { 39362306a36Sopenharmony_ci TEGRA_PIN_DAP1_DOUT_PB2, 39462306a36Sopenharmony_ci}; 39562306a36Sopenharmony_ci 39662306a36Sopenharmony_cistatic const unsigned dap1_sclk_pb3_pins[] = { 39762306a36Sopenharmony_ci TEGRA_PIN_DAP1_SCLK_PB3, 39862306a36Sopenharmony_ci}; 39962306a36Sopenharmony_ci 40062306a36Sopenharmony_cistatic const unsigned spi2_mosi_pb4_pins[] = { 40162306a36Sopenharmony_ci TEGRA_PIN_SPI2_MOSI_PB4, 40262306a36Sopenharmony_ci}; 40362306a36Sopenharmony_ci 40462306a36Sopenharmony_cistatic const unsigned spi2_miso_pb5_pins[] = { 40562306a36Sopenharmony_ci TEGRA_PIN_SPI2_MISO_PB5, 40662306a36Sopenharmony_ci}; 40762306a36Sopenharmony_ci 40862306a36Sopenharmony_cistatic const unsigned spi2_sck_pb6_pins[] = { 40962306a36Sopenharmony_ci TEGRA_PIN_SPI2_SCK_PB6, 41062306a36Sopenharmony_ci}; 41162306a36Sopenharmony_ci 41262306a36Sopenharmony_cistatic const unsigned spi2_cs0_pb7_pins[] = { 41362306a36Sopenharmony_ci TEGRA_PIN_SPI2_CS0_PB7, 41462306a36Sopenharmony_ci}; 41562306a36Sopenharmony_ci 41662306a36Sopenharmony_cistatic const unsigned spi1_mosi_pc0_pins[] = { 41762306a36Sopenharmony_ci TEGRA_PIN_SPI1_MOSI_PC0, 41862306a36Sopenharmony_ci}; 41962306a36Sopenharmony_ci 42062306a36Sopenharmony_cistatic const unsigned spi1_miso_pc1_pins[] = { 42162306a36Sopenharmony_ci TEGRA_PIN_SPI1_MISO_PC1, 42262306a36Sopenharmony_ci}; 42362306a36Sopenharmony_ci 42462306a36Sopenharmony_cistatic const unsigned spi1_sck_pc2_pins[] = { 42562306a36Sopenharmony_ci TEGRA_PIN_SPI1_SCK_PC2, 42662306a36Sopenharmony_ci}; 42762306a36Sopenharmony_ci 42862306a36Sopenharmony_cistatic const unsigned spi1_cs0_pc3_pins[] = { 42962306a36Sopenharmony_ci TEGRA_PIN_SPI1_CS0_PC3, 43062306a36Sopenharmony_ci}; 43162306a36Sopenharmony_ci 43262306a36Sopenharmony_cistatic const unsigned spi1_cs1_pc4_pins[] = { 43362306a36Sopenharmony_ci TEGRA_PIN_SPI1_CS1_PC4, 43462306a36Sopenharmony_ci}; 43562306a36Sopenharmony_ci 43662306a36Sopenharmony_cistatic const unsigned spi4_sck_pc5_pins[] = { 43762306a36Sopenharmony_ci TEGRA_PIN_SPI4_SCK_PC5, 43862306a36Sopenharmony_ci}; 43962306a36Sopenharmony_ci 44062306a36Sopenharmony_cistatic const unsigned spi4_cs0_pc6_pins[] = { 44162306a36Sopenharmony_ci TEGRA_PIN_SPI4_CS0_PC6, 44262306a36Sopenharmony_ci}; 44362306a36Sopenharmony_ci 44462306a36Sopenharmony_cistatic const unsigned spi4_mosi_pc7_pins[] = { 44562306a36Sopenharmony_ci TEGRA_PIN_SPI4_MOSI_PC7, 44662306a36Sopenharmony_ci}; 44762306a36Sopenharmony_ci 44862306a36Sopenharmony_cistatic const unsigned spi4_miso_pd0_pins[] = { 44962306a36Sopenharmony_ci TEGRA_PIN_SPI4_MISO_PD0, 45062306a36Sopenharmony_ci}; 45162306a36Sopenharmony_ci 45262306a36Sopenharmony_cistatic const unsigned uart3_tx_pd1_pins[] = { 45362306a36Sopenharmony_ci TEGRA_PIN_UART3_TX_PD1, 45462306a36Sopenharmony_ci}; 45562306a36Sopenharmony_ci 45662306a36Sopenharmony_cistatic const unsigned uart3_rx_pd2_pins[] = { 45762306a36Sopenharmony_ci TEGRA_PIN_UART3_RX_PD2, 45862306a36Sopenharmony_ci}; 45962306a36Sopenharmony_ci 46062306a36Sopenharmony_cistatic const unsigned uart3_rts_pd3_pins[] = { 46162306a36Sopenharmony_ci TEGRA_PIN_UART3_RTS_PD3, 46262306a36Sopenharmony_ci}; 46362306a36Sopenharmony_ci 46462306a36Sopenharmony_cistatic const unsigned uart3_cts_pd4_pins[] = { 46562306a36Sopenharmony_ci TEGRA_PIN_UART3_CTS_PD4, 46662306a36Sopenharmony_ci}; 46762306a36Sopenharmony_ci 46862306a36Sopenharmony_cistatic const unsigned dmic1_clk_pe0_pins[] = { 46962306a36Sopenharmony_ci TEGRA_PIN_DMIC1_CLK_PE0, 47062306a36Sopenharmony_ci}; 47162306a36Sopenharmony_ci 47262306a36Sopenharmony_cistatic const unsigned dmic1_dat_pe1_pins[] = { 47362306a36Sopenharmony_ci TEGRA_PIN_DMIC1_DAT_PE1, 47462306a36Sopenharmony_ci}; 47562306a36Sopenharmony_ci 47662306a36Sopenharmony_cistatic const unsigned dmic2_clk_pe2_pins[] = { 47762306a36Sopenharmony_ci TEGRA_PIN_DMIC2_CLK_PE2, 47862306a36Sopenharmony_ci}; 47962306a36Sopenharmony_ci 48062306a36Sopenharmony_cistatic const unsigned dmic2_dat_pe3_pins[] = { 48162306a36Sopenharmony_ci TEGRA_PIN_DMIC2_DAT_PE3, 48262306a36Sopenharmony_ci}; 48362306a36Sopenharmony_ci 48462306a36Sopenharmony_cistatic const unsigned dmic3_clk_pe4_pins[] = { 48562306a36Sopenharmony_ci TEGRA_PIN_DMIC3_CLK_PE4, 48662306a36Sopenharmony_ci}; 48762306a36Sopenharmony_ci 48862306a36Sopenharmony_cistatic const unsigned dmic3_dat_pe5_pins[] = { 48962306a36Sopenharmony_ci TEGRA_PIN_DMIC3_DAT_PE5, 49062306a36Sopenharmony_ci}; 49162306a36Sopenharmony_ci 49262306a36Sopenharmony_cistatic const unsigned pe6_pins[] = { 49362306a36Sopenharmony_ci TEGRA_PIN_PE6, 49462306a36Sopenharmony_ci}; 49562306a36Sopenharmony_ci 49662306a36Sopenharmony_cistatic const unsigned pe7_pins[] = { 49762306a36Sopenharmony_ci TEGRA_PIN_PE7, 49862306a36Sopenharmony_ci}; 49962306a36Sopenharmony_ci 50062306a36Sopenharmony_cistatic const unsigned gen3_i2c_scl_pf0_pins[] = { 50162306a36Sopenharmony_ci TEGRA_PIN_GEN3_I2C_SCL_PF0, 50262306a36Sopenharmony_ci}; 50362306a36Sopenharmony_ci 50462306a36Sopenharmony_cistatic const unsigned gen3_i2c_sda_pf1_pins[] = { 50562306a36Sopenharmony_ci TEGRA_PIN_GEN3_I2C_SDA_PF1, 50662306a36Sopenharmony_ci}; 50762306a36Sopenharmony_ci 50862306a36Sopenharmony_cistatic const unsigned uart2_tx_pg0_pins[] = { 50962306a36Sopenharmony_ci TEGRA_PIN_UART2_TX_PG0, 51062306a36Sopenharmony_ci}; 51162306a36Sopenharmony_ci 51262306a36Sopenharmony_cistatic const unsigned uart2_rx_pg1_pins[] = { 51362306a36Sopenharmony_ci TEGRA_PIN_UART2_RX_PG1, 51462306a36Sopenharmony_ci}; 51562306a36Sopenharmony_ci 51662306a36Sopenharmony_cistatic const unsigned uart2_rts_pg2_pins[] = { 51762306a36Sopenharmony_ci TEGRA_PIN_UART2_RTS_PG2, 51862306a36Sopenharmony_ci}; 51962306a36Sopenharmony_ci 52062306a36Sopenharmony_cistatic const unsigned uart2_cts_pg3_pins[] = { 52162306a36Sopenharmony_ci TEGRA_PIN_UART2_CTS_PG3, 52262306a36Sopenharmony_ci}; 52362306a36Sopenharmony_ci 52462306a36Sopenharmony_cistatic const unsigned wifi_en_ph0_pins[] = { 52562306a36Sopenharmony_ci TEGRA_PIN_WIFI_EN_PH0, 52662306a36Sopenharmony_ci}; 52762306a36Sopenharmony_ci 52862306a36Sopenharmony_cistatic const unsigned wifi_rst_ph1_pins[] = { 52962306a36Sopenharmony_ci TEGRA_PIN_WIFI_RST_PH1, 53062306a36Sopenharmony_ci}; 53162306a36Sopenharmony_ci 53262306a36Sopenharmony_cistatic const unsigned wifi_wake_ap_ph2_pins[] = { 53362306a36Sopenharmony_ci TEGRA_PIN_WIFI_WAKE_AP_PH2, 53462306a36Sopenharmony_ci}; 53562306a36Sopenharmony_ci 53662306a36Sopenharmony_cistatic const unsigned ap_wake_bt_ph3_pins[] = { 53762306a36Sopenharmony_ci TEGRA_PIN_AP_WAKE_BT_PH3, 53862306a36Sopenharmony_ci}; 53962306a36Sopenharmony_ci 54062306a36Sopenharmony_cistatic const unsigned bt_rst_ph4_pins[] = { 54162306a36Sopenharmony_ci TEGRA_PIN_BT_RST_PH4, 54262306a36Sopenharmony_ci}; 54362306a36Sopenharmony_ci 54462306a36Sopenharmony_cistatic const unsigned bt_wake_ap_ph5_pins[] = { 54562306a36Sopenharmony_ci TEGRA_PIN_BT_WAKE_AP_PH5, 54662306a36Sopenharmony_ci}; 54762306a36Sopenharmony_ci 54862306a36Sopenharmony_cistatic const unsigned ph6_pins[] = { 54962306a36Sopenharmony_ci TEGRA_PIN_PH6, 55062306a36Sopenharmony_ci}; 55162306a36Sopenharmony_ci 55262306a36Sopenharmony_cistatic const unsigned ap_wake_nfc_ph7_pins[] = { 55362306a36Sopenharmony_ci TEGRA_PIN_AP_WAKE_NFC_PH7, 55462306a36Sopenharmony_ci}; 55562306a36Sopenharmony_ci 55662306a36Sopenharmony_cistatic const unsigned nfc_en_pi0_pins[] = { 55762306a36Sopenharmony_ci TEGRA_PIN_NFC_EN_PI0, 55862306a36Sopenharmony_ci}; 55962306a36Sopenharmony_ci 56062306a36Sopenharmony_cistatic const unsigned nfc_int_pi1_pins[] = { 56162306a36Sopenharmony_ci TEGRA_PIN_NFC_INT_PI1, 56262306a36Sopenharmony_ci}; 56362306a36Sopenharmony_ci 56462306a36Sopenharmony_cistatic const unsigned gps_en_pi2_pins[] = { 56562306a36Sopenharmony_ci TEGRA_PIN_GPS_EN_PI2, 56662306a36Sopenharmony_ci}; 56762306a36Sopenharmony_ci 56862306a36Sopenharmony_cistatic const unsigned gps_rst_pi3_pins[] = { 56962306a36Sopenharmony_ci TEGRA_PIN_GPS_RST_PI3, 57062306a36Sopenharmony_ci}; 57162306a36Sopenharmony_ci 57262306a36Sopenharmony_cistatic const unsigned uart4_tx_pi4_pins[] = { 57362306a36Sopenharmony_ci TEGRA_PIN_UART4_TX_PI4, 57462306a36Sopenharmony_ci}; 57562306a36Sopenharmony_ci 57662306a36Sopenharmony_cistatic const unsigned uart4_rx_pi5_pins[] = { 57762306a36Sopenharmony_ci TEGRA_PIN_UART4_RX_PI5, 57862306a36Sopenharmony_ci}; 57962306a36Sopenharmony_ci 58062306a36Sopenharmony_cistatic const unsigned uart4_rts_pi6_pins[] = { 58162306a36Sopenharmony_ci TEGRA_PIN_UART4_RTS_PI6, 58262306a36Sopenharmony_ci}; 58362306a36Sopenharmony_ci 58462306a36Sopenharmony_cistatic const unsigned uart4_cts_pi7_pins[] = { 58562306a36Sopenharmony_ci TEGRA_PIN_UART4_CTS_PI7, 58662306a36Sopenharmony_ci}; 58762306a36Sopenharmony_ci 58862306a36Sopenharmony_cistatic const unsigned gen1_i2c_sda_pj0_pins[] = { 58962306a36Sopenharmony_ci TEGRA_PIN_GEN1_I2C_SDA_PJ0, 59062306a36Sopenharmony_ci}; 59162306a36Sopenharmony_ci 59262306a36Sopenharmony_cistatic const unsigned gen1_i2c_scl_pj1_pins[] = { 59362306a36Sopenharmony_ci TEGRA_PIN_GEN1_I2C_SCL_PJ1, 59462306a36Sopenharmony_ci}; 59562306a36Sopenharmony_ci 59662306a36Sopenharmony_cistatic const unsigned gen2_i2c_scl_pj2_pins[] = { 59762306a36Sopenharmony_ci TEGRA_PIN_GEN2_I2C_SCL_PJ2, 59862306a36Sopenharmony_ci}; 59962306a36Sopenharmony_ci 60062306a36Sopenharmony_cistatic const unsigned gen2_i2c_sda_pj3_pins[] = { 60162306a36Sopenharmony_ci TEGRA_PIN_GEN2_I2C_SDA_PJ3, 60262306a36Sopenharmony_ci}; 60362306a36Sopenharmony_ci 60462306a36Sopenharmony_cistatic const unsigned dap4_fs_pj4_pins[] = { 60562306a36Sopenharmony_ci TEGRA_PIN_DAP4_FS_PJ4, 60662306a36Sopenharmony_ci}; 60762306a36Sopenharmony_ci 60862306a36Sopenharmony_cistatic const unsigned dap4_din_pj5_pins[] = { 60962306a36Sopenharmony_ci TEGRA_PIN_DAP4_DIN_PJ5, 61062306a36Sopenharmony_ci}; 61162306a36Sopenharmony_ci 61262306a36Sopenharmony_cistatic const unsigned dap4_dout_pj6_pins[] = { 61362306a36Sopenharmony_ci TEGRA_PIN_DAP4_DOUT_PJ6, 61462306a36Sopenharmony_ci}; 61562306a36Sopenharmony_ci 61662306a36Sopenharmony_cistatic const unsigned dap4_sclk_pj7_pins[] = { 61762306a36Sopenharmony_ci TEGRA_PIN_DAP4_SCLK_PJ7, 61862306a36Sopenharmony_ci}; 61962306a36Sopenharmony_ci 62062306a36Sopenharmony_cistatic const unsigned pk0_pins[] = { 62162306a36Sopenharmony_ci TEGRA_PIN_PK0, 62262306a36Sopenharmony_ci}; 62362306a36Sopenharmony_ci 62462306a36Sopenharmony_cistatic const unsigned pk1_pins[] = { 62562306a36Sopenharmony_ci TEGRA_PIN_PK1, 62662306a36Sopenharmony_ci}; 62762306a36Sopenharmony_ci 62862306a36Sopenharmony_cistatic const unsigned pk2_pins[] = { 62962306a36Sopenharmony_ci TEGRA_PIN_PK2, 63062306a36Sopenharmony_ci}; 63162306a36Sopenharmony_ci 63262306a36Sopenharmony_cistatic const unsigned pk3_pins[] = { 63362306a36Sopenharmony_ci TEGRA_PIN_PK3, 63462306a36Sopenharmony_ci}; 63562306a36Sopenharmony_ci 63662306a36Sopenharmony_cistatic const unsigned pk4_pins[] = { 63762306a36Sopenharmony_ci TEGRA_PIN_PK4, 63862306a36Sopenharmony_ci}; 63962306a36Sopenharmony_ci 64062306a36Sopenharmony_cistatic const unsigned pk5_pins[] = { 64162306a36Sopenharmony_ci TEGRA_PIN_PK5, 64262306a36Sopenharmony_ci}; 64362306a36Sopenharmony_ci 64462306a36Sopenharmony_cistatic const unsigned pk6_pins[] = { 64562306a36Sopenharmony_ci TEGRA_PIN_PK6, 64662306a36Sopenharmony_ci}; 64762306a36Sopenharmony_ci 64862306a36Sopenharmony_cistatic const unsigned pk7_pins[] = { 64962306a36Sopenharmony_ci TEGRA_PIN_PK7, 65062306a36Sopenharmony_ci}; 65162306a36Sopenharmony_ci 65262306a36Sopenharmony_cistatic const unsigned pl0_pins[] = { 65362306a36Sopenharmony_ci TEGRA_PIN_PL0, 65462306a36Sopenharmony_ci}; 65562306a36Sopenharmony_ci 65662306a36Sopenharmony_cistatic const unsigned pl1_pins[] = { 65762306a36Sopenharmony_ci TEGRA_PIN_PL1, 65862306a36Sopenharmony_ci}; 65962306a36Sopenharmony_ci 66062306a36Sopenharmony_cistatic const unsigned sdmmc1_clk_pm0_pins[] = { 66162306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_CLK_PM0, 66262306a36Sopenharmony_ci}; 66362306a36Sopenharmony_ci 66462306a36Sopenharmony_cistatic const unsigned sdmmc1_cmd_pm1_pins[] = { 66562306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_CMD_PM1, 66662306a36Sopenharmony_ci}; 66762306a36Sopenharmony_ci 66862306a36Sopenharmony_cistatic const unsigned sdmmc1_dat3_pm2_pins[] = { 66962306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT3_PM2, 67062306a36Sopenharmony_ci}; 67162306a36Sopenharmony_ci 67262306a36Sopenharmony_cistatic const unsigned sdmmc1_dat2_pm3_pins[] = { 67362306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT2_PM3, 67462306a36Sopenharmony_ci}; 67562306a36Sopenharmony_ci 67662306a36Sopenharmony_cistatic const unsigned sdmmc1_dat1_pm4_pins[] = { 67762306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT1_PM4, 67862306a36Sopenharmony_ci}; 67962306a36Sopenharmony_ci 68062306a36Sopenharmony_cistatic const unsigned sdmmc1_dat0_pm5_pins[] = { 68162306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT0_PM5, 68262306a36Sopenharmony_ci}; 68362306a36Sopenharmony_ci 68462306a36Sopenharmony_cistatic const unsigned sdmmc3_clk_pp0_pins[] = { 68562306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_CLK_PP0, 68662306a36Sopenharmony_ci}; 68762306a36Sopenharmony_ci 68862306a36Sopenharmony_cistatic const unsigned sdmmc3_cmd_pp1_pins[] = { 68962306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_CMD_PP1, 69062306a36Sopenharmony_ci}; 69162306a36Sopenharmony_ci 69262306a36Sopenharmony_cistatic const unsigned sdmmc3_dat3_pp2_pins[] = { 69362306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT3_PP2, 69462306a36Sopenharmony_ci}; 69562306a36Sopenharmony_ci 69662306a36Sopenharmony_cistatic const unsigned sdmmc3_dat2_pp3_pins[] = { 69762306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT2_PP3, 69862306a36Sopenharmony_ci}; 69962306a36Sopenharmony_ci 70062306a36Sopenharmony_cistatic const unsigned sdmmc3_dat1_pp4_pins[] = { 70162306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT1_PP4, 70262306a36Sopenharmony_ci}; 70362306a36Sopenharmony_ci 70462306a36Sopenharmony_cistatic const unsigned sdmmc3_dat0_pp5_pins[] = { 70562306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT0_PP5, 70662306a36Sopenharmony_ci}; 70762306a36Sopenharmony_ci 70862306a36Sopenharmony_cistatic const unsigned cam1_mclk_ps0_pins[] = { 70962306a36Sopenharmony_ci TEGRA_PIN_CAM1_MCLK_PS0, 71062306a36Sopenharmony_ci}; 71162306a36Sopenharmony_ci 71262306a36Sopenharmony_cistatic const unsigned cam2_mclk_ps1_pins[] = { 71362306a36Sopenharmony_ci TEGRA_PIN_CAM2_MCLK_PS1, 71462306a36Sopenharmony_ci}; 71562306a36Sopenharmony_ci 71662306a36Sopenharmony_cistatic const unsigned cam_i2c_scl_ps2_pins[] = { 71762306a36Sopenharmony_ci TEGRA_PIN_CAM_I2C_SCL_PS2, 71862306a36Sopenharmony_ci}; 71962306a36Sopenharmony_ci 72062306a36Sopenharmony_cistatic const unsigned cam_i2c_sda_ps3_pins[] = { 72162306a36Sopenharmony_ci TEGRA_PIN_CAM_I2C_SDA_PS3, 72262306a36Sopenharmony_ci}; 72362306a36Sopenharmony_ci 72462306a36Sopenharmony_cistatic const unsigned cam_rst_ps4_pins[] = { 72562306a36Sopenharmony_ci TEGRA_PIN_CAM_RST_PS4, 72662306a36Sopenharmony_ci}; 72762306a36Sopenharmony_ci 72862306a36Sopenharmony_cistatic const unsigned cam_af_en_ps5_pins[] = { 72962306a36Sopenharmony_ci TEGRA_PIN_CAM_AF_EN_PS5, 73062306a36Sopenharmony_ci}; 73162306a36Sopenharmony_ci 73262306a36Sopenharmony_cistatic const unsigned cam_flash_en_ps6_pins[] = { 73362306a36Sopenharmony_ci TEGRA_PIN_CAM_FLASH_EN_PS6, 73462306a36Sopenharmony_ci}; 73562306a36Sopenharmony_ci 73662306a36Sopenharmony_cistatic const unsigned cam1_pwdn_ps7_pins[] = { 73762306a36Sopenharmony_ci TEGRA_PIN_CAM1_PWDN_PS7, 73862306a36Sopenharmony_ci}; 73962306a36Sopenharmony_ci 74062306a36Sopenharmony_cistatic const unsigned cam2_pwdn_pt0_pins[] = { 74162306a36Sopenharmony_ci TEGRA_PIN_CAM2_PWDN_PT0, 74262306a36Sopenharmony_ci}; 74362306a36Sopenharmony_ci 74462306a36Sopenharmony_cistatic const unsigned cam1_strobe_pt1_pins[] = { 74562306a36Sopenharmony_ci TEGRA_PIN_CAM1_STROBE_PT1, 74662306a36Sopenharmony_ci}; 74762306a36Sopenharmony_ci 74862306a36Sopenharmony_cistatic const unsigned uart1_tx_pu0_pins[] = { 74962306a36Sopenharmony_ci TEGRA_PIN_UART1_TX_PU0, 75062306a36Sopenharmony_ci}; 75162306a36Sopenharmony_ci 75262306a36Sopenharmony_cistatic const unsigned uart1_rx_pu1_pins[] = { 75362306a36Sopenharmony_ci TEGRA_PIN_UART1_RX_PU1, 75462306a36Sopenharmony_ci}; 75562306a36Sopenharmony_ci 75662306a36Sopenharmony_cistatic const unsigned uart1_rts_pu2_pins[] = { 75762306a36Sopenharmony_ci TEGRA_PIN_UART1_RTS_PU2, 75862306a36Sopenharmony_ci}; 75962306a36Sopenharmony_ci 76062306a36Sopenharmony_cistatic const unsigned uart1_cts_pu3_pins[] = { 76162306a36Sopenharmony_ci TEGRA_PIN_UART1_CTS_PU3, 76262306a36Sopenharmony_ci}; 76362306a36Sopenharmony_ci 76462306a36Sopenharmony_cistatic const unsigned lcd_bl_pwm_pv0_pins[] = { 76562306a36Sopenharmony_ci TEGRA_PIN_LCD_BL_PWM_PV0, 76662306a36Sopenharmony_ci}; 76762306a36Sopenharmony_ci 76862306a36Sopenharmony_cistatic const unsigned lcd_bl_en_pv1_pins[] = { 76962306a36Sopenharmony_ci TEGRA_PIN_LCD_BL_EN_PV1, 77062306a36Sopenharmony_ci}; 77162306a36Sopenharmony_ci 77262306a36Sopenharmony_cistatic const unsigned lcd_rst_pv2_pins[] = { 77362306a36Sopenharmony_ci TEGRA_PIN_LCD_RST_PV2, 77462306a36Sopenharmony_ci}; 77562306a36Sopenharmony_ci 77662306a36Sopenharmony_cistatic const unsigned lcd_gpio1_pv3_pins[] = { 77762306a36Sopenharmony_ci TEGRA_PIN_LCD_GPIO1_PV3, 77862306a36Sopenharmony_ci}; 77962306a36Sopenharmony_ci 78062306a36Sopenharmony_cistatic const unsigned lcd_gpio2_pv4_pins[] = { 78162306a36Sopenharmony_ci TEGRA_PIN_LCD_GPIO2_PV4, 78262306a36Sopenharmony_ci}; 78362306a36Sopenharmony_ci 78462306a36Sopenharmony_cistatic const unsigned ap_ready_pv5_pins[] = { 78562306a36Sopenharmony_ci TEGRA_PIN_AP_READY_PV5, 78662306a36Sopenharmony_ci}; 78762306a36Sopenharmony_ci 78862306a36Sopenharmony_cistatic const unsigned touch_rst_pv6_pins[] = { 78962306a36Sopenharmony_ci TEGRA_PIN_TOUCH_RST_PV6, 79062306a36Sopenharmony_ci}; 79162306a36Sopenharmony_ci 79262306a36Sopenharmony_cistatic const unsigned touch_clk_pv7_pins[] = { 79362306a36Sopenharmony_ci TEGRA_PIN_TOUCH_CLK_PV7, 79462306a36Sopenharmony_ci}; 79562306a36Sopenharmony_ci 79662306a36Sopenharmony_cistatic const unsigned modem_wake_ap_px0_pins[] = { 79762306a36Sopenharmony_ci TEGRA_PIN_MODEM_WAKE_AP_PX0, 79862306a36Sopenharmony_ci}; 79962306a36Sopenharmony_ci 80062306a36Sopenharmony_cistatic const unsigned touch_int_px1_pins[] = { 80162306a36Sopenharmony_ci TEGRA_PIN_TOUCH_INT_PX1, 80262306a36Sopenharmony_ci}; 80362306a36Sopenharmony_ci 80462306a36Sopenharmony_cistatic const unsigned motion_int_px2_pins[] = { 80562306a36Sopenharmony_ci TEGRA_PIN_MOTION_INT_PX2, 80662306a36Sopenharmony_ci}; 80762306a36Sopenharmony_ci 80862306a36Sopenharmony_cistatic const unsigned als_prox_int_px3_pins[] = { 80962306a36Sopenharmony_ci TEGRA_PIN_ALS_PROX_INT_PX3, 81062306a36Sopenharmony_ci}; 81162306a36Sopenharmony_ci 81262306a36Sopenharmony_cistatic const unsigned temp_alert_px4_pins[] = { 81362306a36Sopenharmony_ci TEGRA_PIN_TEMP_ALERT_PX4, 81462306a36Sopenharmony_ci}; 81562306a36Sopenharmony_ci 81662306a36Sopenharmony_cistatic const unsigned button_power_on_px5_pins[] = { 81762306a36Sopenharmony_ci TEGRA_PIN_BUTTON_POWER_ON_PX5, 81862306a36Sopenharmony_ci}; 81962306a36Sopenharmony_ci 82062306a36Sopenharmony_cistatic const unsigned button_vol_up_px6_pins[] = { 82162306a36Sopenharmony_ci TEGRA_PIN_BUTTON_VOL_UP_PX6, 82262306a36Sopenharmony_ci}; 82362306a36Sopenharmony_ci 82462306a36Sopenharmony_cistatic const unsigned button_vol_down_px7_pins[] = { 82562306a36Sopenharmony_ci TEGRA_PIN_BUTTON_VOL_DOWN_PX7, 82662306a36Sopenharmony_ci}; 82762306a36Sopenharmony_ci 82862306a36Sopenharmony_cistatic const unsigned button_slide_sw_py0_pins[] = { 82962306a36Sopenharmony_ci TEGRA_PIN_BUTTON_SLIDE_SW_PY0, 83062306a36Sopenharmony_ci}; 83162306a36Sopenharmony_ci 83262306a36Sopenharmony_cistatic const unsigned button_home_py1_pins[] = { 83362306a36Sopenharmony_ci TEGRA_PIN_BUTTON_HOME_PY1, 83462306a36Sopenharmony_ci}; 83562306a36Sopenharmony_ci 83662306a36Sopenharmony_cistatic const unsigned lcd_te_py2_pins[] = { 83762306a36Sopenharmony_ci TEGRA_PIN_LCD_TE_PY2, 83862306a36Sopenharmony_ci}; 83962306a36Sopenharmony_ci 84062306a36Sopenharmony_cistatic const unsigned pwr_i2c_scl_py3_pins[] = { 84162306a36Sopenharmony_ci TEGRA_PIN_PWR_I2C_SCL_PY3, 84262306a36Sopenharmony_ci}; 84362306a36Sopenharmony_ci 84462306a36Sopenharmony_cistatic const unsigned pwr_i2c_sda_py4_pins[] = { 84562306a36Sopenharmony_ci TEGRA_PIN_PWR_I2C_SDA_PY4, 84662306a36Sopenharmony_ci}; 84762306a36Sopenharmony_ci 84862306a36Sopenharmony_cistatic const unsigned clk_32k_out_py5_pins[] = { 84962306a36Sopenharmony_ci TEGRA_PIN_CLK_32K_OUT_PY5, 85062306a36Sopenharmony_ci}; 85162306a36Sopenharmony_ci 85262306a36Sopenharmony_cistatic const unsigned pz0_pins[] = { 85362306a36Sopenharmony_ci TEGRA_PIN_PZ0, 85462306a36Sopenharmony_ci}; 85562306a36Sopenharmony_ci 85662306a36Sopenharmony_cistatic const unsigned pz1_pins[] = { 85762306a36Sopenharmony_ci TEGRA_PIN_PZ1, 85862306a36Sopenharmony_ci}; 85962306a36Sopenharmony_ci 86062306a36Sopenharmony_cistatic const unsigned pz2_pins[] = { 86162306a36Sopenharmony_ci TEGRA_PIN_PZ2, 86262306a36Sopenharmony_ci}; 86362306a36Sopenharmony_ci 86462306a36Sopenharmony_cistatic const unsigned pz3_pins[] = { 86562306a36Sopenharmony_ci TEGRA_PIN_PZ3, 86662306a36Sopenharmony_ci}; 86762306a36Sopenharmony_ci 86862306a36Sopenharmony_cistatic const unsigned pz4_pins[] = { 86962306a36Sopenharmony_ci TEGRA_PIN_PZ4, 87062306a36Sopenharmony_ci}; 87162306a36Sopenharmony_ci 87262306a36Sopenharmony_cistatic const unsigned pz5_pins[] = { 87362306a36Sopenharmony_ci TEGRA_PIN_PZ5, 87462306a36Sopenharmony_ci}; 87562306a36Sopenharmony_ci 87662306a36Sopenharmony_cistatic const unsigned dap2_fs_paa0_pins[] = { 87762306a36Sopenharmony_ci TEGRA_PIN_DAP2_FS_PAA0, 87862306a36Sopenharmony_ci}; 87962306a36Sopenharmony_ci 88062306a36Sopenharmony_cistatic const unsigned dap2_sclk_paa1_pins[] = { 88162306a36Sopenharmony_ci TEGRA_PIN_DAP2_SCLK_PAA1, 88262306a36Sopenharmony_ci}; 88362306a36Sopenharmony_ci 88462306a36Sopenharmony_cistatic const unsigned dap2_din_paa2_pins[] = { 88562306a36Sopenharmony_ci TEGRA_PIN_DAP2_DIN_PAA2, 88662306a36Sopenharmony_ci}; 88762306a36Sopenharmony_ci 88862306a36Sopenharmony_cistatic const unsigned dap2_dout_paa3_pins[] = { 88962306a36Sopenharmony_ci TEGRA_PIN_DAP2_DOUT_PAA3, 89062306a36Sopenharmony_ci}; 89162306a36Sopenharmony_ci 89262306a36Sopenharmony_cistatic const unsigned aud_mclk_pbb0_pins[] = { 89362306a36Sopenharmony_ci TEGRA_PIN_AUD_MCLK_PBB0, 89462306a36Sopenharmony_ci}; 89562306a36Sopenharmony_ci 89662306a36Sopenharmony_cistatic const unsigned dvfs_pwm_pbb1_pins[] = { 89762306a36Sopenharmony_ci TEGRA_PIN_DVFS_PWM_PBB1, 89862306a36Sopenharmony_ci}; 89962306a36Sopenharmony_ci 90062306a36Sopenharmony_cistatic const unsigned dvfs_clk_pbb2_pins[] = { 90162306a36Sopenharmony_ci TEGRA_PIN_DVFS_CLK_PBB2, 90262306a36Sopenharmony_ci}; 90362306a36Sopenharmony_ci 90462306a36Sopenharmony_cistatic const unsigned gpio_x1_aud_pbb3_pins[] = { 90562306a36Sopenharmony_ci TEGRA_PIN_GPIO_X1_AUD_PBB3, 90662306a36Sopenharmony_ci}; 90762306a36Sopenharmony_ci 90862306a36Sopenharmony_cistatic const unsigned gpio_x3_aud_pbb4_pins[] = { 90962306a36Sopenharmony_ci TEGRA_PIN_GPIO_X3_AUD_PBB4, 91062306a36Sopenharmony_ci}; 91162306a36Sopenharmony_ci 91262306a36Sopenharmony_cistatic const unsigned hdmi_cec_pcc0_pins[] = { 91362306a36Sopenharmony_ci TEGRA_PIN_HDMI_CEC_PCC0, 91462306a36Sopenharmony_ci}; 91562306a36Sopenharmony_ci 91662306a36Sopenharmony_cistatic const unsigned hdmi_int_dp_hpd_pcc1_pins[] = { 91762306a36Sopenharmony_ci TEGRA_PIN_HDMI_INT_DP_HPD_PCC1, 91862306a36Sopenharmony_ci}; 91962306a36Sopenharmony_ci 92062306a36Sopenharmony_cistatic const unsigned spdif_out_pcc2_pins[] = { 92162306a36Sopenharmony_ci TEGRA_PIN_SPDIF_OUT_PCC2, 92262306a36Sopenharmony_ci}; 92362306a36Sopenharmony_ci 92462306a36Sopenharmony_cistatic const unsigned spdif_in_pcc3_pins[] = { 92562306a36Sopenharmony_ci TEGRA_PIN_SPDIF_IN_PCC3, 92662306a36Sopenharmony_ci}; 92762306a36Sopenharmony_ci 92862306a36Sopenharmony_cistatic const unsigned usb_vbus_en0_pcc4_pins[] = { 92962306a36Sopenharmony_ci TEGRA_PIN_USB_VBUS_EN0_PCC4, 93062306a36Sopenharmony_ci}; 93162306a36Sopenharmony_ci 93262306a36Sopenharmony_cistatic const unsigned usb_vbus_en1_pcc5_pins[] = { 93362306a36Sopenharmony_ci TEGRA_PIN_USB_VBUS_EN1_PCC5, 93462306a36Sopenharmony_ci}; 93562306a36Sopenharmony_ci 93662306a36Sopenharmony_cistatic const unsigned dp_hpd0_pcc6_pins[] = { 93762306a36Sopenharmony_ci TEGRA_PIN_DP_HPD0_PCC6, 93862306a36Sopenharmony_ci}; 93962306a36Sopenharmony_ci 94062306a36Sopenharmony_cistatic const unsigned pcc7_pins[] = { 94162306a36Sopenharmony_ci TEGRA_PIN_PCC7, 94262306a36Sopenharmony_ci}; 94362306a36Sopenharmony_ci 94462306a36Sopenharmony_cistatic const unsigned spi2_cs1_pdd0_pins[] = { 94562306a36Sopenharmony_ci TEGRA_PIN_SPI2_CS1_PDD0, 94662306a36Sopenharmony_ci}; 94762306a36Sopenharmony_ci 94862306a36Sopenharmony_cistatic const unsigned qspi_sck_pee0_pins[] = { 94962306a36Sopenharmony_ci TEGRA_PIN_QSPI_SCK_PEE0, 95062306a36Sopenharmony_ci}; 95162306a36Sopenharmony_ci 95262306a36Sopenharmony_cistatic const unsigned qspi_cs_n_pee1_pins[] = { 95362306a36Sopenharmony_ci TEGRA_PIN_QSPI_CS_N_PEE1, 95462306a36Sopenharmony_ci}; 95562306a36Sopenharmony_ci 95662306a36Sopenharmony_cistatic const unsigned qspi_io0_pee2_pins[] = { 95762306a36Sopenharmony_ci TEGRA_PIN_QSPI_IO0_PEE2, 95862306a36Sopenharmony_ci}; 95962306a36Sopenharmony_ci 96062306a36Sopenharmony_cistatic const unsigned qspi_io1_pee3_pins[] = { 96162306a36Sopenharmony_ci TEGRA_PIN_QSPI_IO1_PEE3, 96262306a36Sopenharmony_ci}; 96362306a36Sopenharmony_ci 96462306a36Sopenharmony_cistatic const unsigned qspi_io2_pee4_pins[] = { 96562306a36Sopenharmony_ci TEGRA_PIN_QSPI_IO2_PEE4, 96662306a36Sopenharmony_ci}; 96762306a36Sopenharmony_ci 96862306a36Sopenharmony_cistatic const unsigned qspi_io3_pee5_pins[] = { 96962306a36Sopenharmony_ci TEGRA_PIN_QSPI_IO3_PEE5, 97062306a36Sopenharmony_ci}; 97162306a36Sopenharmony_ci 97262306a36Sopenharmony_cistatic const unsigned core_pwr_req_pins[] = { 97362306a36Sopenharmony_ci TEGRA_PIN_CORE_PWR_REQ, 97462306a36Sopenharmony_ci}; 97562306a36Sopenharmony_ci 97662306a36Sopenharmony_cistatic const unsigned cpu_pwr_req_pins[] = { 97762306a36Sopenharmony_ci TEGRA_PIN_CPU_PWR_REQ, 97862306a36Sopenharmony_ci}; 97962306a36Sopenharmony_ci 98062306a36Sopenharmony_cistatic const unsigned pwr_int_n_pins[] = { 98162306a36Sopenharmony_ci TEGRA_PIN_PWR_INT_N, 98262306a36Sopenharmony_ci}; 98362306a36Sopenharmony_ci 98462306a36Sopenharmony_cistatic const unsigned clk_32k_in_pins[] = { 98562306a36Sopenharmony_ci TEGRA_PIN_CLK_32K_IN, 98662306a36Sopenharmony_ci}; 98762306a36Sopenharmony_ci 98862306a36Sopenharmony_cistatic const unsigned jtag_rtck_pins[] = { 98962306a36Sopenharmony_ci TEGRA_PIN_JTAG_RTCK, 99062306a36Sopenharmony_ci}; 99162306a36Sopenharmony_ci 99262306a36Sopenharmony_cistatic const unsigned batt_bcl_pins[] = { 99362306a36Sopenharmony_ci TEGRA_PIN_BATT_BCL, 99462306a36Sopenharmony_ci}; 99562306a36Sopenharmony_ci 99662306a36Sopenharmony_cistatic const unsigned clk_req_pins[] = { 99762306a36Sopenharmony_ci TEGRA_PIN_CLK_REQ, 99862306a36Sopenharmony_ci}; 99962306a36Sopenharmony_ci 100062306a36Sopenharmony_cistatic const unsigned shutdown_pins[] = { 100162306a36Sopenharmony_ci TEGRA_PIN_SHUTDOWN, 100262306a36Sopenharmony_ci}; 100362306a36Sopenharmony_ci 100462306a36Sopenharmony_cistatic const unsigned drive_pa6_pins[] = { 100562306a36Sopenharmony_ci TEGRA_PIN_PA6, 100662306a36Sopenharmony_ci}; 100762306a36Sopenharmony_ci 100862306a36Sopenharmony_cistatic const unsigned drive_pcc7_pins[] = { 100962306a36Sopenharmony_ci TEGRA_PIN_PCC7, 101062306a36Sopenharmony_ci}; 101162306a36Sopenharmony_ci 101262306a36Sopenharmony_cistatic const unsigned drive_pe6_pins[] = { 101362306a36Sopenharmony_ci TEGRA_PIN_PE6, 101462306a36Sopenharmony_ci}; 101562306a36Sopenharmony_ci 101662306a36Sopenharmony_cistatic const unsigned drive_pe7_pins[] = { 101762306a36Sopenharmony_ci TEGRA_PIN_PE7, 101862306a36Sopenharmony_ci}; 101962306a36Sopenharmony_ci 102062306a36Sopenharmony_cistatic const unsigned drive_ph6_pins[] = { 102162306a36Sopenharmony_ci TEGRA_PIN_PH6, 102262306a36Sopenharmony_ci}; 102362306a36Sopenharmony_ci 102462306a36Sopenharmony_cistatic const unsigned drive_pk0_pins[] = { 102562306a36Sopenharmony_ci TEGRA_PIN_PK0, 102662306a36Sopenharmony_ci}; 102762306a36Sopenharmony_ci 102862306a36Sopenharmony_cistatic const unsigned drive_pk1_pins[] = { 102962306a36Sopenharmony_ci TEGRA_PIN_PK1, 103062306a36Sopenharmony_ci}; 103162306a36Sopenharmony_ci 103262306a36Sopenharmony_cistatic const unsigned drive_pk2_pins[] = { 103362306a36Sopenharmony_ci TEGRA_PIN_PK2, 103462306a36Sopenharmony_ci}; 103562306a36Sopenharmony_ci 103662306a36Sopenharmony_cistatic const unsigned drive_pk3_pins[] = { 103762306a36Sopenharmony_ci TEGRA_PIN_PK3, 103862306a36Sopenharmony_ci}; 103962306a36Sopenharmony_ci 104062306a36Sopenharmony_cistatic const unsigned drive_pk4_pins[] = { 104162306a36Sopenharmony_ci TEGRA_PIN_PK4, 104262306a36Sopenharmony_ci}; 104362306a36Sopenharmony_ci 104462306a36Sopenharmony_cistatic const unsigned drive_pk5_pins[] = { 104562306a36Sopenharmony_ci TEGRA_PIN_PK5, 104662306a36Sopenharmony_ci}; 104762306a36Sopenharmony_ci 104862306a36Sopenharmony_cistatic const unsigned drive_pk6_pins[] = { 104962306a36Sopenharmony_ci TEGRA_PIN_PK6, 105062306a36Sopenharmony_ci}; 105162306a36Sopenharmony_ci 105262306a36Sopenharmony_cistatic const unsigned drive_pk7_pins[] = { 105362306a36Sopenharmony_ci TEGRA_PIN_PK7, 105462306a36Sopenharmony_ci}; 105562306a36Sopenharmony_ci 105662306a36Sopenharmony_cistatic const unsigned drive_pl0_pins[] = { 105762306a36Sopenharmony_ci TEGRA_PIN_PL0, 105862306a36Sopenharmony_ci}; 105962306a36Sopenharmony_ci 106062306a36Sopenharmony_cistatic const unsigned drive_pl1_pins[] = { 106162306a36Sopenharmony_ci TEGRA_PIN_PL1, 106262306a36Sopenharmony_ci}; 106362306a36Sopenharmony_ci 106462306a36Sopenharmony_cistatic const unsigned drive_pz0_pins[] = { 106562306a36Sopenharmony_ci TEGRA_PIN_PZ0, 106662306a36Sopenharmony_ci}; 106762306a36Sopenharmony_ci 106862306a36Sopenharmony_cistatic const unsigned drive_pz1_pins[] = { 106962306a36Sopenharmony_ci TEGRA_PIN_PZ1, 107062306a36Sopenharmony_ci}; 107162306a36Sopenharmony_ci 107262306a36Sopenharmony_cistatic const unsigned drive_pz2_pins[] = { 107362306a36Sopenharmony_ci TEGRA_PIN_PZ2, 107462306a36Sopenharmony_ci}; 107562306a36Sopenharmony_ci 107662306a36Sopenharmony_cistatic const unsigned drive_pz3_pins[] = { 107762306a36Sopenharmony_ci TEGRA_PIN_PZ3, 107862306a36Sopenharmony_ci}; 107962306a36Sopenharmony_ci 108062306a36Sopenharmony_cistatic const unsigned drive_pz4_pins[] = { 108162306a36Sopenharmony_ci TEGRA_PIN_PZ4, 108262306a36Sopenharmony_ci}; 108362306a36Sopenharmony_ci 108462306a36Sopenharmony_cistatic const unsigned drive_pz5_pins[] = { 108562306a36Sopenharmony_ci TEGRA_PIN_PZ5, 108662306a36Sopenharmony_ci}; 108762306a36Sopenharmony_ci 108862306a36Sopenharmony_cistatic const unsigned drive_sdmmc1_pins[] = { 108962306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_CLK_PM0, 109062306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_CMD_PM1, 109162306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT3_PM2, 109262306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT2_PM3, 109362306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT1_PM4, 109462306a36Sopenharmony_ci TEGRA_PIN_SDMMC1_DAT0_PM5, 109562306a36Sopenharmony_ci}; 109662306a36Sopenharmony_ci 109762306a36Sopenharmony_cistatic const unsigned drive_sdmmc2_pins[] = { 109862306a36Sopenharmony_ci}; 109962306a36Sopenharmony_ci 110062306a36Sopenharmony_cistatic const unsigned drive_sdmmc3_pins[] = { 110162306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_CLK_PP0, 110262306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_CMD_PP1, 110362306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT3_PP2, 110462306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT2_PP3, 110562306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT1_PP4, 110662306a36Sopenharmony_ci TEGRA_PIN_SDMMC3_DAT0_PP5, 110762306a36Sopenharmony_ci}; 110862306a36Sopenharmony_ci 110962306a36Sopenharmony_cistatic const unsigned drive_sdmmc4_pins[] = { 111062306a36Sopenharmony_ci}; 111162306a36Sopenharmony_ci 111262306a36Sopenharmony_cienum tegra_mux { 111362306a36Sopenharmony_ci TEGRA_MUX_AUD, 111462306a36Sopenharmony_ci TEGRA_MUX_BCL, 111562306a36Sopenharmony_ci TEGRA_MUX_BLINK, 111662306a36Sopenharmony_ci TEGRA_MUX_CCLA, 111762306a36Sopenharmony_ci TEGRA_MUX_CEC, 111862306a36Sopenharmony_ci TEGRA_MUX_CLDVFS, 111962306a36Sopenharmony_ci TEGRA_MUX_CLK, 112062306a36Sopenharmony_ci TEGRA_MUX_CORE, 112162306a36Sopenharmony_ci TEGRA_MUX_CPU, 112262306a36Sopenharmony_ci TEGRA_MUX_DISPLAYA, 112362306a36Sopenharmony_ci TEGRA_MUX_DISPLAYB, 112462306a36Sopenharmony_ci TEGRA_MUX_DMIC1, 112562306a36Sopenharmony_ci TEGRA_MUX_DMIC2, 112662306a36Sopenharmony_ci TEGRA_MUX_DMIC3, 112762306a36Sopenharmony_ci TEGRA_MUX_DP, 112862306a36Sopenharmony_ci TEGRA_MUX_DTV, 112962306a36Sopenharmony_ci TEGRA_MUX_EXTPERIPH3, 113062306a36Sopenharmony_ci TEGRA_MUX_I2C1, 113162306a36Sopenharmony_ci TEGRA_MUX_I2C2, 113262306a36Sopenharmony_ci TEGRA_MUX_I2C3, 113362306a36Sopenharmony_ci TEGRA_MUX_I2CPMU, 113462306a36Sopenharmony_ci TEGRA_MUX_I2CVI, 113562306a36Sopenharmony_ci TEGRA_MUX_I2S1, 113662306a36Sopenharmony_ci TEGRA_MUX_I2S2, 113762306a36Sopenharmony_ci TEGRA_MUX_I2S3, 113862306a36Sopenharmony_ci TEGRA_MUX_I2S4A, 113962306a36Sopenharmony_ci TEGRA_MUX_I2S4B, 114062306a36Sopenharmony_ci TEGRA_MUX_I2S5A, 114162306a36Sopenharmony_ci TEGRA_MUX_I2S5B, 114262306a36Sopenharmony_ci TEGRA_MUX_IQC0, 114362306a36Sopenharmony_ci TEGRA_MUX_IQC1, 114462306a36Sopenharmony_ci TEGRA_MUX_JTAG, 114562306a36Sopenharmony_ci TEGRA_MUX_PE, 114662306a36Sopenharmony_ci TEGRA_MUX_PE0, 114762306a36Sopenharmony_ci TEGRA_MUX_PE1, 114862306a36Sopenharmony_ci TEGRA_MUX_PMI, 114962306a36Sopenharmony_ci TEGRA_MUX_PWM0, 115062306a36Sopenharmony_ci TEGRA_MUX_PWM1, 115162306a36Sopenharmony_ci TEGRA_MUX_PWM2, 115262306a36Sopenharmony_ci TEGRA_MUX_PWM3, 115362306a36Sopenharmony_ci TEGRA_MUX_QSPI, 115462306a36Sopenharmony_ci TEGRA_MUX_RSVD0, 115562306a36Sopenharmony_ci TEGRA_MUX_RSVD1, 115662306a36Sopenharmony_ci TEGRA_MUX_RSVD2, 115762306a36Sopenharmony_ci TEGRA_MUX_RSVD3, 115862306a36Sopenharmony_ci TEGRA_MUX_SATA, 115962306a36Sopenharmony_ci TEGRA_MUX_SDMMC1, 116062306a36Sopenharmony_ci TEGRA_MUX_SDMMC3, 116162306a36Sopenharmony_ci TEGRA_MUX_SHUTDOWN, 116262306a36Sopenharmony_ci TEGRA_MUX_SOC, 116362306a36Sopenharmony_ci TEGRA_MUX_SOR0, 116462306a36Sopenharmony_ci TEGRA_MUX_SOR1, 116562306a36Sopenharmony_ci TEGRA_MUX_SPDIF, 116662306a36Sopenharmony_ci TEGRA_MUX_SPI1, 116762306a36Sopenharmony_ci TEGRA_MUX_SPI2, 116862306a36Sopenharmony_ci TEGRA_MUX_SPI3, 116962306a36Sopenharmony_ci TEGRA_MUX_SPI4, 117062306a36Sopenharmony_ci TEGRA_MUX_SYS, 117162306a36Sopenharmony_ci TEGRA_MUX_TOUCH, 117262306a36Sopenharmony_ci TEGRA_MUX_UART, 117362306a36Sopenharmony_ci TEGRA_MUX_UARTA, 117462306a36Sopenharmony_ci TEGRA_MUX_UARTB, 117562306a36Sopenharmony_ci TEGRA_MUX_UARTC, 117662306a36Sopenharmony_ci TEGRA_MUX_UARTD, 117762306a36Sopenharmony_ci TEGRA_MUX_USB, 117862306a36Sopenharmony_ci TEGRA_MUX_VGP1, 117962306a36Sopenharmony_ci TEGRA_MUX_VGP2, 118062306a36Sopenharmony_ci TEGRA_MUX_VGP3, 118162306a36Sopenharmony_ci TEGRA_MUX_VGP4, 118262306a36Sopenharmony_ci TEGRA_MUX_VGP5, 118362306a36Sopenharmony_ci TEGRA_MUX_VGP6, 118462306a36Sopenharmony_ci TEGRA_MUX_VIMCLK, 118562306a36Sopenharmony_ci TEGRA_MUX_VIMCLK2, 118662306a36Sopenharmony_ci}; 118762306a36Sopenharmony_ci 118862306a36Sopenharmony_ci#define FUNCTION(fname) #fname 118962306a36Sopenharmony_ci 119062306a36Sopenharmony_cistatic const char * const tegra210_functions[] = { 119162306a36Sopenharmony_ci FUNCTION(aud), 119262306a36Sopenharmony_ci FUNCTION(bcl), 119362306a36Sopenharmony_ci FUNCTION(blink), 119462306a36Sopenharmony_ci FUNCTION(ccla), 119562306a36Sopenharmony_ci FUNCTION(cec), 119662306a36Sopenharmony_ci FUNCTION(cldvfs), 119762306a36Sopenharmony_ci FUNCTION(clk), 119862306a36Sopenharmony_ci FUNCTION(core), 119962306a36Sopenharmony_ci FUNCTION(cpu), 120062306a36Sopenharmony_ci FUNCTION(displaya), 120162306a36Sopenharmony_ci FUNCTION(displayb), 120262306a36Sopenharmony_ci FUNCTION(dmic1), 120362306a36Sopenharmony_ci FUNCTION(dmic2), 120462306a36Sopenharmony_ci FUNCTION(dmic3), 120562306a36Sopenharmony_ci FUNCTION(dp), 120662306a36Sopenharmony_ci FUNCTION(dtv), 120762306a36Sopenharmony_ci FUNCTION(extperiph3), 120862306a36Sopenharmony_ci FUNCTION(i2c1), 120962306a36Sopenharmony_ci FUNCTION(i2c2), 121062306a36Sopenharmony_ci FUNCTION(i2c3), 121162306a36Sopenharmony_ci FUNCTION(i2cpmu), 121262306a36Sopenharmony_ci FUNCTION(i2cvi), 121362306a36Sopenharmony_ci FUNCTION(i2s1), 121462306a36Sopenharmony_ci FUNCTION(i2s2), 121562306a36Sopenharmony_ci FUNCTION(i2s3), 121662306a36Sopenharmony_ci FUNCTION(i2s4a), 121762306a36Sopenharmony_ci FUNCTION(i2s4b), 121862306a36Sopenharmony_ci FUNCTION(i2s5a), 121962306a36Sopenharmony_ci FUNCTION(i2s5b), 122062306a36Sopenharmony_ci FUNCTION(iqc0), 122162306a36Sopenharmony_ci FUNCTION(iqc1), 122262306a36Sopenharmony_ci FUNCTION(jtag), 122362306a36Sopenharmony_ci FUNCTION(pe), 122462306a36Sopenharmony_ci FUNCTION(pe0), 122562306a36Sopenharmony_ci FUNCTION(pe1), 122662306a36Sopenharmony_ci FUNCTION(pmi), 122762306a36Sopenharmony_ci FUNCTION(pwm0), 122862306a36Sopenharmony_ci FUNCTION(pwm1), 122962306a36Sopenharmony_ci FUNCTION(pwm2), 123062306a36Sopenharmony_ci FUNCTION(pwm3), 123162306a36Sopenharmony_ci FUNCTION(qspi), 123262306a36Sopenharmony_ci FUNCTION(rsvd0), 123362306a36Sopenharmony_ci FUNCTION(rsvd1), 123462306a36Sopenharmony_ci FUNCTION(rsvd2), 123562306a36Sopenharmony_ci FUNCTION(rsvd3), 123662306a36Sopenharmony_ci FUNCTION(sata), 123762306a36Sopenharmony_ci FUNCTION(sdmmc1), 123862306a36Sopenharmony_ci FUNCTION(sdmmc3), 123962306a36Sopenharmony_ci FUNCTION(shutdown), 124062306a36Sopenharmony_ci FUNCTION(soc), 124162306a36Sopenharmony_ci FUNCTION(sor0), 124262306a36Sopenharmony_ci FUNCTION(sor1), 124362306a36Sopenharmony_ci FUNCTION(spdif), 124462306a36Sopenharmony_ci FUNCTION(spi1), 124562306a36Sopenharmony_ci FUNCTION(spi2), 124662306a36Sopenharmony_ci FUNCTION(spi3), 124762306a36Sopenharmony_ci FUNCTION(spi4), 124862306a36Sopenharmony_ci FUNCTION(sys), 124962306a36Sopenharmony_ci FUNCTION(touch), 125062306a36Sopenharmony_ci FUNCTION(uart), 125162306a36Sopenharmony_ci FUNCTION(uarta), 125262306a36Sopenharmony_ci FUNCTION(uartb), 125362306a36Sopenharmony_ci FUNCTION(uartc), 125462306a36Sopenharmony_ci FUNCTION(uartd), 125562306a36Sopenharmony_ci FUNCTION(usb), 125662306a36Sopenharmony_ci FUNCTION(vgp1), 125762306a36Sopenharmony_ci FUNCTION(vgp2), 125862306a36Sopenharmony_ci FUNCTION(vgp3), 125962306a36Sopenharmony_ci FUNCTION(vgp4), 126062306a36Sopenharmony_ci FUNCTION(vgp5), 126162306a36Sopenharmony_ci FUNCTION(vgp6), 126262306a36Sopenharmony_ci FUNCTION(vimclk), 126362306a36Sopenharmony_ci FUNCTION(vimclk2), 126462306a36Sopenharmony_ci}; 126562306a36Sopenharmony_ci 126662306a36Sopenharmony_ci#define DRV_PINGROUP_REG_A 0x8d4 /* bank 0 */ 126762306a36Sopenharmony_ci#define PINGROUP_REG_A 0x3000 /* bank 1 */ 126862306a36Sopenharmony_ci 126962306a36Sopenharmony_ci#define DRV_PINGROUP_REG(r) ((r) - DRV_PINGROUP_REG_A) 127062306a36Sopenharmony_ci#define PINGROUP_REG(r) ((r) - PINGROUP_REG_A) 127162306a36Sopenharmony_ci 127262306a36Sopenharmony_ci#define PINGROUP_BIT_Y(b) (b) 127362306a36Sopenharmony_ci#define PINGROUP_BIT_N(b) (-1) 127462306a36Sopenharmony_ci 127562306a36Sopenharmony_ci#define PINGROUP(pg_name, f0, f1, f2, f3, r, hsm, drvtype, e_io_hv, \ 127662306a36Sopenharmony_ci lpdr, rdrv, drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b,\ 127762306a36Sopenharmony_ci slwr_w, slwf_b, slwf_w) \ 127862306a36Sopenharmony_ci { \ 127962306a36Sopenharmony_ci .name = #pg_name, \ 128062306a36Sopenharmony_ci .pins = pg_name##_pins, \ 128162306a36Sopenharmony_ci .npins = ARRAY_SIZE(pg_name##_pins), \ 128262306a36Sopenharmony_ci .funcs = { \ 128362306a36Sopenharmony_ci TEGRA_MUX_##f0, \ 128462306a36Sopenharmony_ci TEGRA_MUX_##f1, \ 128562306a36Sopenharmony_ci TEGRA_MUX_##f2, \ 128662306a36Sopenharmony_ci TEGRA_MUX_##f3, \ 128762306a36Sopenharmony_ci }, \ 128862306a36Sopenharmony_ci .mux_reg = PINGROUP_REG(r), \ 128962306a36Sopenharmony_ci .mux_bank = 1, \ 129062306a36Sopenharmony_ci .mux_bit = 0, \ 129162306a36Sopenharmony_ci .pupd_reg = PINGROUP_REG(r), \ 129262306a36Sopenharmony_ci .pupd_bank = 1, \ 129362306a36Sopenharmony_ci .pupd_bit = 2, \ 129462306a36Sopenharmony_ci .tri_reg = PINGROUP_REG(r), \ 129562306a36Sopenharmony_ci .tri_bank = 1, \ 129662306a36Sopenharmony_ci .tri_bit = 4, \ 129762306a36Sopenharmony_ci .einput_bit = 6, \ 129862306a36Sopenharmony_ci .odrain_bit = 11, \ 129962306a36Sopenharmony_ci .lock_bit = 7, \ 130062306a36Sopenharmony_ci .ioreset_bit = -1, \ 130162306a36Sopenharmony_ci .rcv_sel_bit = PINGROUP_BIT_##e_io_hv(10), \ 130262306a36Sopenharmony_ci .hsm_bit = PINGROUP_BIT_##hsm(9), \ 130362306a36Sopenharmony_ci .schmitt_bit = 12, \ 130462306a36Sopenharmony_ci .drvtype_bit = PINGROUP_BIT_##drvtype(13), \ 130562306a36Sopenharmony_ci .drv_reg = DRV_PINGROUP_REG(rdrv), \ 130662306a36Sopenharmony_ci .drv_bank = 0, \ 130762306a36Sopenharmony_ci .lpmd_bit = -1, \ 130862306a36Sopenharmony_ci .drvdn_bit = drvdn_b, \ 130962306a36Sopenharmony_ci .drvdn_width = drvdn_w, \ 131062306a36Sopenharmony_ci .drvup_bit = drvup_b, \ 131162306a36Sopenharmony_ci .drvup_width = drvup_w, \ 131262306a36Sopenharmony_ci .slwr_bit = slwr_b, \ 131362306a36Sopenharmony_ci .slwr_width = slwr_w, \ 131462306a36Sopenharmony_ci .slwf_bit = slwf_b, \ 131562306a36Sopenharmony_ci .slwf_width = slwf_w, \ 131662306a36Sopenharmony_ci .parked_bitmask = BIT(5), \ 131762306a36Sopenharmony_ci .lpdr_bit = PINGROUP_BIT_##lpdr(8), \ 131862306a36Sopenharmony_ci } 131962306a36Sopenharmony_ci 132062306a36Sopenharmony_ci#define DRV_PINGROUP(pg_name, r, prk_mask, drvdn_b, drvdn_w, drvup_b, \ 132162306a36Sopenharmony_ci drvup_w, slwr_b, slwr_w, slwf_b, slwf_w) \ 132262306a36Sopenharmony_ci { \ 132362306a36Sopenharmony_ci .name = "drive_" #pg_name, \ 132462306a36Sopenharmony_ci .pins = drive_##pg_name##_pins, \ 132562306a36Sopenharmony_ci .npins = ARRAY_SIZE(drive_##pg_name##_pins), \ 132662306a36Sopenharmony_ci .mux_reg = -1, \ 132762306a36Sopenharmony_ci .pupd_reg = -1, \ 132862306a36Sopenharmony_ci .tri_reg = -1, \ 132962306a36Sopenharmony_ci .einput_bit = -1, \ 133062306a36Sopenharmony_ci .odrain_bit = -1, \ 133162306a36Sopenharmony_ci .lock_bit = -1, \ 133262306a36Sopenharmony_ci .ioreset_bit = -1, \ 133362306a36Sopenharmony_ci .rcv_sel_bit = -1, \ 133462306a36Sopenharmony_ci .drv_reg = DRV_PINGROUP_REG(r), \ 133562306a36Sopenharmony_ci .drv_bank = 0, \ 133662306a36Sopenharmony_ci .hsm_bit = -1, \ 133762306a36Sopenharmony_ci .schmitt_bit = -1, \ 133862306a36Sopenharmony_ci .lpdr_bit = -1, \ 133962306a36Sopenharmony_ci .lpmd_bit = -1, \ 134062306a36Sopenharmony_ci .drvdn_bit = drvdn_b, \ 134162306a36Sopenharmony_ci .drvdn_width = drvdn_w, \ 134262306a36Sopenharmony_ci .drvup_bit = drvup_b, \ 134362306a36Sopenharmony_ci .drvup_width = drvup_w, \ 134462306a36Sopenharmony_ci .slwr_bit = slwr_b, \ 134562306a36Sopenharmony_ci .slwr_width = slwr_w, \ 134662306a36Sopenharmony_ci .slwf_bit = slwf_b, \ 134762306a36Sopenharmony_ci .slwf_width = slwf_w, \ 134862306a36Sopenharmony_ci .drvtype_bit = -1, \ 134962306a36Sopenharmony_ci .parked_bitmask = prk_mask, \ 135062306a36Sopenharmony_ci } 135162306a36Sopenharmony_ci 135262306a36Sopenharmony_cistatic const struct tegra_pingroup tegra210_groups[] = { 135362306a36Sopenharmony_ci /* pg_name, f0, f1, f2, f3, r, hsm, drvtype, e_io_hv, lpdr, rdrv, drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b, slwr_w, slwf_b, slwf_w */ 135462306a36Sopenharmony_ci PINGROUP(sdmmc1_clk_pm0, SDMMC1, RSVD1, RSVD2, RSVD3, 0x3000, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 135562306a36Sopenharmony_ci PINGROUP(sdmmc1_cmd_pm1, SDMMC1, SPI3, RSVD2, RSVD3, 0x3004, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 135662306a36Sopenharmony_ci PINGROUP(sdmmc1_dat3_pm2, SDMMC1, SPI3, RSVD2, RSVD3, 0x3008, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 135762306a36Sopenharmony_ci PINGROUP(sdmmc1_dat2_pm3, SDMMC1, SPI3, RSVD2, RSVD3, 0x300c, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 135862306a36Sopenharmony_ci PINGROUP(sdmmc1_dat1_pm4, SDMMC1, SPI3, RSVD2, RSVD3, 0x3010, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 135962306a36Sopenharmony_ci PINGROUP(sdmmc1_dat0_pm5, SDMMC1, RSVD1, RSVD2, RSVD3, 0x3014, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 136062306a36Sopenharmony_ci PINGROUP(sdmmc3_clk_pp0, SDMMC3, RSVD1, RSVD2, RSVD3, 0x301c, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 136162306a36Sopenharmony_ci PINGROUP(sdmmc3_cmd_pp1, SDMMC3, RSVD1, RSVD2, RSVD3, 0x3020, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 136262306a36Sopenharmony_ci PINGROUP(sdmmc3_dat0_pp5, SDMMC3, RSVD1, RSVD2, RSVD3, 0x3024, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 136362306a36Sopenharmony_ci PINGROUP(sdmmc3_dat1_pp4, SDMMC3, RSVD1, RSVD2, RSVD3, 0x3028, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 136462306a36Sopenharmony_ci PINGROUP(sdmmc3_dat2_pp3, SDMMC3, RSVD1, RSVD2, RSVD3, 0x302c, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 136562306a36Sopenharmony_ci PINGROUP(sdmmc3_dat3_pp2, SDMMC3, RSVD1, RSVD2, RSVD3, 0x3030, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 136662306a36Sopenharmony_ci PINGROUP(pex_l0_rst_n_pa0, PE0, RSVD1, RSVD2, RSVD3, 0x3038, N, N, Y, Y, 0xa5c, 12, 5, 20, 5, -1, -1, -1, -1), 136762306a36Sopenharmony_ci PINGROUP(pex_l0_clkreq_n_pa1, PE0, RSVD1, RSVD2, RSVD3, 0x303c, N, N, Y, Y, 0xa58, 12, 5, 20, 5, -1, -1, -1, -1), 136862306a36Sopenharmony_ci PINGROUP(pex_wake_n_pa2, PE, RSVD1, RSVD2, RSVD3, 0x3040, N, N, Y, Y, 0xa68, 12, 5, 20, 5, -1, -1, -1, -1), 136962306a36Sopenharmony_ci PINGROUP(pex_l1_rst_n_pa3, PE1, RSVD1, RSVD2, RSVD3, 0x3044, N, N, Y, Y, 0xa64, 12, 5, 20, 5, -1, -1, -1, -1), 137062306a36Sopenharmony_ci PINGROUP(pex_l1_clkreq_n_pa4, PE1, RSVD1, RSVD2, RSVD3, 0x3048, N, N, Y, Y, 0xa60, 12, 5, 20, 5, -1, -1, -1, -1), 137162306a36Sopenharmony_ci PINGROUP(sata_led_active_pa5, SATA, RSVD1, RSVD2, RSVD3, 0x304c, N, N, N, Y, 0xa94, 12, 5, 20, 5, -1, -1, -1, -1), 137262306a36Sopenharmony_ci PINGROUP(spi1_mosi_pc0, SPI1, RSVD1, RSVD2, RSVD3, 0x3050, Y, Y, N, N, 0xae0, -1, -1, -1, -1, 28, 2, 30, 2), 137362306a36Sopenharmony_ci PINGROUP(spi1_miso_pc1, SPI1, RSVD1, RSVD2, RSVD3, 0x3054, Y, Y, N, N, 0xadc, -1, -1, -1, -1, 28, 2, 30, 2), 137462306a36Sopenharmony_ci PINGROUP(spi1_sck_pc2, SPI1, RSVD1, RSVD2, RSVD3, 0x3058, Y, Y, N, N, 0xae4, -1, -1, -1, -1, 28, 2, 30, 2), 137562306a36Sopenharmony_ci PINGROUP(spi1_cs0_pc3, SPI1, RSVD1, RSVD2, RSVD3, 0x305c, Y, Y, N, N, 0xad4, -1, -1, -1, -1, 28, 2, 30, 2), 137662306a36Sopenharmony_ci PINGROUP(spi1_cs1_pc4, SPI1, RSVD1, RSVD2, RSVD3, 0x3060, Y, Y, N, N, 0xad8, -1, -1, -1, -1, 28, 2, 30, 2), 137762306a36Sopenharmony_ci PINGROUP(spi2_mosi_pb4, SPI2, DTV, RSVD2, RSVD3, 0x3064, Y, Y, N, N, 0xaf4, -1, -1, -1, -1, 28, 2, 30, 2), 137862306a36Sopenharmony_ci PINGROUP(spi2_miso_pb5, SPI2, DTV, RSVD2, RSVD3, 0x3068, Y, Y, N, N, 0xaf0, -1, -1, -1, -1, 28, 2, 30, 2), 137962306a36Sopenharmony_ci PINGROUP(spi2_sck_pb6, SPI2, DTV, RSVD2, RSVD3, 0x306c, Y, Y, N, N, 0xaf8, -1, -1, -1, -1, 28, 2, 30, 2), 138062306a36Sopenharmony_ci PINGROUP(spi2_cs0_pb7, SPI2, DTV, RSVD2, RSVD3, 0x3070, Y, Y, N, N, 0xae8, -1, -1, -1, -1, 28, 2, 30, 2), 138162306a36Sopenharmony_ci PINGROUP(spi2_cs1_pdd0, SPI2, RSVD1, RSVD2, RSVD3, 0x3074, Y, Y, N, N, 0xaec, -1, -1, -1, -1, 28, 2, 30, 2), 138262306a36Sopenharmony_ci PINGROUP(spi4_mosi_pc7, SPI4, RSVD1, RSVD2, RSVD3, 0x3078, Y, Y, N, N, 0xb04, -1, -1, -1, -1, 28, 2, 30, 2), 138362306a36Sopenharmony_ci PINGROUP(spi4_miso_pd0, SPI4, RSVD1, RSVD2, RSVD3, 0x307c, Y, Y, N, N, 0xb00, -1, -1, -1, -1, 28, 2, 30, 2), 138462306a36Sopenharmony_ci PINGROUP(spi4_sck_pc5, SPI4, RSVD1, RSVD2, RSVD3, 0x3080, Y, Y, N, N, 0xb08, -1, -1, -1, -1, 28, 2, 30, 2), 138562306a36Sopenharmony_ci PINGROUP(spi4_cs0_pc6, SPI4, RSVD1, RSVD2, RSVD3, 0x3084, Y, Y, N, N, 0xafc, -1, -1, -1, -1, 28, 2, 30, 2), 138662306a36Sopenharmony_ci PINGROUP(qspi_sck_pee0, QSPI, RSVD1, RSVD2, RSVD3, 0x3088, Y, Y, N, N, 0xa90, -1, -1, -1, -1, 28, 2, 30, 2), 138762306a36Sopenharmony_ci PINGROUP(qspi_cs_n_pee1, QSPI, RSVD1, RSVD2, RSVD3, 0x308c, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 138862306a36Sopenharmony_ci PINGROUP(qspi_io0_pee2, QSPI, RSVD1, RSVD2, RSVD3, 0x3090, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 138962306a36Sopenharmony_ci PINGROUP(qspi_io1_pee3, QSPI, RSVD1, RSVD2, RSVD3, 0x3094, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 139062306a36Sopenharmony_ci PINGROUP(qspi_io2_pee4, QSPI, RSVD1, RSVD2, RSVD3, 0x3098, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 139162306a36Sopenharmony_ci PINGROUP(qspi_io3_pee5, QSPI, RSVD1, RSVD2, RSVD3, 0x309c, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 139262306a36Sopenharmony_ci PINGROUP(dmic1_clk_pe0, DMIC1, I2S3, RSVD2, RSVD3, 0x30a4, N, N, N, Y, 0x984, 12, 5, 20, 5, -1, -1, -1, -1), 139362306a36Sopenharmony_ci PINGROUP(dmic1_dat_pe1, DMIC1, I2S3, RSVD2, RSVD3, 0x30a8, N, N, N, Y, 0x988, 12, 5, 20, 5, -1, -1, -1, -1), 139462306a36Sopenharmony_ci PINGROUP(dmic2_clk_pe2, DMIC2, I2S3, RSVD2, RSVD3, 0x30ac, N, N, N, Y, 0x98c, 12, 5, 20, 5, -1, -1, -1, -1), 139562306a36Sopenharmony_ci PINGROUP(dmic2_dat_pe3, DMIC2, I2S3, RSVD2, RSVD3, 0x30b0, N, N, N, Y, 0x990, 12, 5, 20, 5, -1, -1, -1, -1), 139662306a36Sopenharmony_ci PINGROUP(dmic3_clk_pe4, DMIC3, I2S5A, RSVD2, RSVD3, 0x30b4, N, N, N, Y, 0x994, 12, 5, 20, 5, -1, -1, -1, -1), 139762306a36Sopenharmony_ci PINGROUP(dmic3_dat_pe5, DMIC3, I2S5A, RSVD2, RSVD3, 0x30b8, N, N, N, Y, 0x998, 12, 5, 20, 5, -1, -1, -1, -1), 139862306a36Sopenharmony_ci PINGROUP(gen1_i2c_scl_pj1, I2C1, RSVD1, RSVD2, RSVD3, 0x30bc, N, N, Y, Y, 0x9a8, 12, 5, 20, 5, -1, -1, -1, -1), 139962306a36Sopenharmony_ci PINGROUP(gen1_i2c_sda_pj0, I2C1, RSVD1, RSVD2, RSVD3, 0x30c0, N, N, Y, Y, 0x9ac, 12, 5, 20, 5, -1, -1, -1, -1), 140062306a36Sopenharmony_ci PINGROUP(gen2_i2c_scl_pj2, I2C2, RSVD1, RSVD2, RSVD3, 0x30c4, N, N, Y, Y, 0x9b0, 12, 5, 20, 5, -1, -1, -1, -1), 140162306a36Sopenharmony_ci PINGROUP(gen2_i2c_sda_pj3, I2C2, RSVD1, RSVD2, RSVD3, 0x30c8, N, N, Y, Y, 0x9b4, 12, 5, 20, 5, -1, -1, -1, -1), 140262306a36Sopenharmony_ci PINGROUP(gen3_i2c_scl_pf0, I2C3, RSVD1, RSVD2, RSVD3, 0x30cc, N, N, Y, Y, 0x9b8, 12, 5, 20, 5, -1, -1, -1, -1), 140362306a36Sopenharmony_ci PINGROUP(gen3_i2c_sda_pf1, I2C3, RSVD1, RSVD2, RSVD3, 0x30d0, N, N, Y, Y, 0x9bc, 12, 5, 20, 5, -1, -1, -1, -1), 140462306a36Sopenharmony_ci PINGROUP(cam_i2c_scl_ps2, I2C3, I2CVI, RSVD2, RSVD3, 0x30d4, N, N, Y, Y, 0x934, 12, 5, 20, 5, -1, -1, -1, -1), 140562306a36Sopenharmony_ci PINGROUP(cam_i2c_sda_ps3, I2C3, I2CVI, RSVD2, RSVD3, 0x30d8, N, N, Y, Y, 0x938, 12, 5, 20, 5, -1, -1, -1, -1), 140662306a36Sopenharmony_ci PINGROUP(pwr_i2c_scl_py3, I2CPMU, RSVD1, RSVD2, RSVD3, 0x30dc, N, N, Y, Y, 0xa6c, 12, 5, 20, 5, -1, -1, -1, -1), 140762306a36Sopenharmony_ci PINGROUP(pwr_i2c_sda_py4, I2CPMU, RSVD1, RSVD2, RSVD3, 0x30e0, N, N, Y, Y, 0xa70, 12, 5, 20, 5, -1, -1, -1, -1), 140862306a36Sopenharmony_ci PINGROUP(uart1_tx_pu0, UARTA, RSVD1, RSVD2, RSVD3, 0x30e4, N, N, N, Y, 0xb28, 12, 5, 20, 5, -1, -1, -1, -1), 140962306a36Sopenharmony_ci PINGROUP(uart1_rx_pu1, UARTA, RSVD1, RSVD2, RSVD3, 0x30e8, N, N, N, Y, 0xb24, 12, 5, 20, 5, -1, -1, -1, -1), 141062306a36Sopenharmony_ci PINGROUP(uart1_rts_pu2, UARTA, RSVD1, RSVD2, RSVD3, 0x30ec, N, N, N, Y, 0xb20, 12, 5, 20, 5, -1, -1, -1, -1), 141162306a36Sopenharmony_ci PINGROUP(uart1_cts_pu3, UARTA, RSVD1, RSVD2, RSVD3, 0x30f0, N, N, N, Y, 0xb1c, 12, 5, 20, 5, -1, -1, -1, -1), 141262306a36Sopenharmony_ci PINGROUP(uart2_tx_pg0, UARTB, I2S4A, SPDIF, UART, 0x30f4, N, N, N, Y, 0xb38, 12, 5, 20, 5, -1, -1, -1, -1), 141362306a36Sopenharmony_ci PINGROUP(uart2_rx_pg1, UARTB, I2S4A, SPDIF, UART, 0x30f8, N, N, N, Y, 0xb34, 12, 5, 20, 5, -1, -1, -1, -1), 141462306a36Sopenharmony_ci PINGROUP(uart2_rts_pg2, UARTB, I2S4A, RSVD2, UART, 0x30fc, N, N, N, Y, 0xb30, 12, 5, 20, 5, -1, -1, -1, -1), 141562306a36Sopenharmony_ci PINGROUP(uart2_cts_pg3, UARTB, I2S4A, RSVD2, UART, 0x3100, N, N, N, Y, 0xb2c, 12, 5, 20, 5, -1, -1, -1, -1), 141662306a36Sopenharmony_ci PINGROUP(uart3_tx_pd1, UARTC, SPI4, RSVD2, RSVD3, 0x3104, N, N, N, Y, 0xb48, 12, 5, 20, 5, -1, -1, -1, -1), 141762306a36Sopenharmony_ci PINGROUP(uart3_rx_pd2, UARTC, SPI4, RSVD2, RSVD3, 0x3108, N, N, N, Y, 0xb44, 12, 5, 20, 5, -1, -1, -1, -1), 141862306a36Sopenharmony_ci PINGROUP(uart3_rts_pd3, UARTC, SPI4, RSVD2, RSVD3, 0x310c, N, N, N, Y, 0xb40, 12, 5, 20, 5, -1, -1, -1, -1), 141962306a36Sopenharmony_ci PINGROUP(uart3_cts_pd4, UARTC, SPI4, RSVD2, RSVD3, 0x3110, N, N, N, Y, 0xb3c, 12, 5, 20, 5, -1, -1, -1, -1), 142062306a36Sopenharmony_ci PINGROUP(uart4_tx_pi4, UARTD, UART, RSVD2, RSVD3, 0x3114, N, N, N, Y, 0xb58, 12, 5, 20, 5, -1, -1, -1, -1), 142162306a36Sopenharmony_ci PINGROUP(uart4_rx_pi5, UARTD, UART, RSVD2, RSVD3, 0x3118, N, N, N, Y, 0xb54, 12, 5, 20, 5, -1, -1, -1, -1), 142262306a36Sopenharmony_ci PINGROUP(uart4_rts_pi6, UARTD, UART, RSVD2, RSVD3, 0x311c, N, N, N, Y, 0xb50, 12, 5, 20, 5, -1, -1, -1, -1), 142362306a36Sopenharmony_ci PINGROUP(uart4_cts_pi7, UARTD, UART, RSVD2, RSVD3, 0x3120, N, N, N, Y, 0xb4c, 12, 5, 20, 5, -1, -1, -1, -1), 142462306a36Sopenharmony_ci PINGROUP(dap1_fs_pb0, I2S1, RSVD1, RSVD2, RSVD3, 0x3124, Y, Y, N, Y, 0x95c, -1, -1, -1, -1, 28, 2, 30, 2), 142562306a36Sopenharmony_ci PINGROUP(dap1_din_pb1, I2S1, RSVD1, RSVD2, RSVD3, 0x3128, Y, Y, N, N, 0x954, -1, -1, -1, -1, 28, 2, 30, 2), 142662306a36Sopenharmony_ci PINGROUP(dap1_dout_pb2, I2S1, RSVD1, RSVD2, RSVD3, 0x312c, Y, Y, N, N, 0x958, -1, -1, -1, -1, 28, 2, 30, 2), 142762306a36Sopenharmony_ci PINGROUP(dap1_sclk_pb3, I2S1, RSVD1, RSVD2, RSVD3, 0x3130, Y, Y, N, N, 0x960, -1, -1, -1, -1, 28, 2, 30, 2), 142862306a36Sopenharmony_ci PINGROUP(dap2_fs_paa0, I2S2, RSVD1, RSVD2, RSVD3, 0x3134, Y, Y, N, N, 0x96c, -1, -1, -1, -1, 28, 2, 30, 2), 142962306a36Sopenharmony_ci PINGROUP(dap2_din_paa2, I2S2, RSVD1, RSVD2, RSVD3, 0x3138, Y, Y, N, N, 0x964, -1, -1, -1, -1, 28, 2, 30, 2), 143062306a36Sopenharmony_ci PINGROUP(dap2_dout_paa3, I2S2, RSVD1, RSVD2, RSVD3, 0x313c, Y, Y, N, N, 0x968, -1, -1, -1, -1, 28, 2, 30, 2), 143162306a36Sopenharmony_ci PINGROUP(dap2_sclk_paa1, I2S2, RSVD1, RSVD2, RSVD3, 0x3140, Y, Y, N, N, 0x970, -1, -1, -1, -1, 28, 2, 30, 2), 143262306a36Sopenharmony_ci PINGROUP(dap4_fs_pj4, I2S4B, RSVD1, RSVD2, RSVD3, 0x3144, N, N, N, Y, 0x97c, 12, 5, 20, 5, -1, -1, -1, -1), 143362306a36Sopenharmony_ci PINGROUP(dap4_din_pj5, I2S4B, RSVD1, RSVD2, RSVD3, 0x3148, N, N, N, Y, 0x974, 12, 5, 20, 5, -1, -1, -1, -1), 143462306a36Sopenharmony_ci PINGROUP(dap4_dout_pj6, I2S4B, RSVD1, RSVD2, RSVD3, 0x314c, N, N, N, Y, 0x978, 12, 5, 20, 5, -1, -1, -1, -1), 143562306a36Sopenharmony_ci PINGROUP(dap4_sclk_pj7, I2S4B, RSVD1, RSVD2, RSVD3, 0x3150, N, N, N, Y, 0x980, 12, 5, 20, 5, -1, -1, -1, -1), 143662306a36Sopenharmony_ci PINGROUP(cam1_mclk_ps0, EXTPERIPH3, RSVD1, RSVD2, RSVD3, 0x3154, N, N, N, Y, 0x918, 12, 5, 20, 5, -1, -1, -1, -1), 143762306a36Sopenharmony_ci PINGROUP(cam2_mclk_ps1, EXTPERIPH3, RSVD1, RSVD2, RSVD3, 0x3158, N, N, N, Y, 0x924, 12, 5, 20, 5, -1, -1, -1, -1), 143862306a36Sopenharmony_ci PINGROUP(jtag_rtck, JTAG, RSVD1, RSVD2, RSVD3, 0x315c, N, N, N, Y, 0xa2c, 12, 5, 20, 5, -1, -1, -1, -1), 143962306a36Sopenharmony_ci PINGROUP(clk_32k_in, CLK, RSVD1, RSVD2, RSVD3, 0x3160, N, N, N, Y, 0x940, 12, 5, 20, 5, -1, -1, -1, -1), 144062306a36Sopenharmony_ci PINGROUP(clk_32k_out_py5, SOC, BLINK, RSVD2, RSVD3, 0x3164, N, N, N, Y, 0x944, 12, 5, 20, 5, -1, -1, -1, -1), 144162306a36Sopenharmony_ci PINGROUP(batt_bcl, BCL, RSVD1, RSVD2, RSVD3, 0x3168, N, N, Y, Y, 0x8f8, 12, 5, 20, 5, -1, -1, -1, -1), 144262306a36Sopenharmony_ci PINGROUP(clk_req, SYS, RSVD1, RSVD2, RSVD3, 0x316c, N, N, N, Y, 0x948, 12, 5, 20, 5, -1, -1, -1, -1), 144362306a36Sopenharmony_ci PINGROUP(cpu_pwr_req, CPU, RSVD1, RSVD2, RSVD3, 0x3170, N, N, N, Y, 0x950, 12, 5, 20, 5, -1, -1, -1, -1), 144462306a36Sopenharmony_ci PINGROUP(pwr_int_n, PMI, RSVD1, RSVD2, RSVD3, 0x3174, N, N, N, Y, 0xa74, 12, 5, 20, 5, -1, -1, -1, -1), 144562306a36Sopenharmony_ci PINGROUP(shutdown, SHUTDOWN, RSVD1, RSVD2, RSVD3, 0x3178, N, N, N, Y, 0xac8, 12, 5, 20, 5, -1, -1, -1, -1), 144662306a36Sopenharmony_ci PINGROUP(core_pwr_req, CORE, RSVD1, RSVD2, RSVD3, 0x317c, N, N, N, Y, 0x94c, 12, 5, 20, 5, -1, -1, -1, -1), 144762306a36Sopenharmony_ci PINGROUP(aud_mclk_pbb0, AUD, RSVD1, RSVD2, RSVD3, 0x3180, N, N, N, Y, 0x8f4, 12, 5, 20, 5, -1, -1, -1, -1), 144862306a36Sopenharmony_ci PINGROUP(dvfs_pwm_pbb1, RSVD0, CLDVFS, SPI3, RSVD3, 0x3184, N, N, N, Y, 0x9a4, 12, 5, 20, 5, -1, -1, -1, -1), 144962306a36Sopenharmony_ci PINGROUP(dvfs_clk_pbb2, RSVD0, CLDVFS, SPI3, RSVD3, 0x3188, N, N, N, Y, 0x9a0, 12, 5, 20, 5, -1, -1, -1, -1), 145062306a36Sopenharmony_ci PINGROUP(gpio_x1_aud_pbb3, RSVD0, RSVD1, SPI3, RSVD3, 0x318c, N, N, N, Y, 0xa14, 12, 5, 20, 5, -1, -1, -1, -1), 145162306a36Sopenharmony_ci PINGROUP(gpio_x3_aud_pbb4, RSVD0, RSVD1, SPI3, RSVD3, 0x3190, N, N, N, Y, 0xa18, 12, 5, 20, 5, -1, -1, -1, -1), 145262306a36Sopenharmony_ci PINGROUP(pcc7, RSVD0, RSVD1, RSVD2, RSVD3, 0x3194, N, N, Y, Y, -1, -1, -1, -1, -1, -1, -1, -1, -1), 145362306a36Sopenharmony_ci PINGROUP(hdmi_cec_pcc0, CEC, RSVD1, RSVD2, RSVD3, 0x3198, N, N, Y, Y, 0xa24, 12, 5, 20, 5, -1, -1, -1, -1), 145462306a36Sopenharmony_ci PINGROUP(hdmi_int_dp_hpd_pcc1, DP, RSVD1, RSVD2, RSVD3, 0x319c, N, N, Y, Y, 0xa28, 12, 5, 20, 5, -1, -1, -1, -1), 145562306a36Sopenharmony_ci PINGROUP(spdif_out_pcc2, SPDIF, RSVD1, RSVD2, RSVD3, 0x31a0, N, N, N, Y, 0xad0, 12, 5, 20, 5, -1, -1, -1, -1), 145662306a36Sopenharmony_ci PINGROUP(spdif_in_pcc3, SPDIF, RSVD1, RSVD2, RSVD3, 0x31a4, N, N, N, Y, 0xacc, 12, 5, 20, 5, -1, -1, -1, -1), 145762306a36Sopenharmony_ci PINGROUP(usb_vbus_en0_pcc4, USB, RSVD1, RSVD2, RSVD3, 0x31a8, N, N, Y, Y, 0xb5c, 12, 5, 20, 5, -1, -1, -1, -1), 145862306a36Sopenharmony_ci PINGROUP(usb_vbus_en1_pcc5, USB, RSVD1, RSVD2, RSVD3, 0x31ac, N, N, Y, Y, 0xb60, 12, 5, 20, 5, -1, -1, -1, -1), 145962306a36Sopenharmony_ci PINGROUP(dp_hpd0_pcc6, DP, RSVD1, RSVD2, RSVD3, 0x31b0, N, N, N, Y, 0x99c, 12, 5, 20, 5, -1, -1, -1, -1), 146062306a36Sopenharmony_ci PINGROUP(wifi_en_ph0, RSVD0, RSVD1, RSVD2, RSVD3, 0x31b4, N, N, N, Y, 0xb64, 12, 5, 20, 5, -1, -1, -1, -1), 146162306a36Sopenharmony_ci PINGROUP(wifi_rst_ph1, RSVD0, RSVD1, RSVD2, RSVD3, 0x31b8, N, N, N, Y, 0xb68, 12, 5, 20, 5, -1, -1, -1, -1), 146262306a36Sopenharmony_ci PINGROUP(wifi_wake_ap_ph2, RSVD0, RSVD1, RSVD2, RSVD3, 0x31bc, N, N, N, Y, 0xb6c, 12, 5, 20, 5, -1, -1, -1, -1), 146362306a36Sopenharmony_ci PINGROUP(ap_wake_bt_ph3, RSVD0, UARTB, SPDIF, RSVD3, 0x31c0, N, N, N, Y, 0x8ec, 12, 5, 20, 5, -1, -1, -1, -1), 146462306a36Sopenharmony_ci PINGROUP(bt_rst_ph4, RSVD0, UARTB, SPDIF, RSVD3, 0x31c4, N, N, N, Y, 0x8fc, 12, 5, 20, 5, -1, -1, -1, -1), 146562306a36Sopenharmony_ci PINGROUP(bt_wake_ap_ph5, RSVD0, RSVD1, RSVD2, RSVD3, 0x31c8, N, N, N, Y, 0x900, 12, 5, 20, 5, -1, -1, -1, -1), 146662306a36Sopenharmony_ci PINGROUP(ap_wake_nfc_ph7, RSVD0, RSVD1, RSVD2, RSVD3, 0x31cc, N, N, N, Y, 0x8f0, 12, 5, 20, 5, -1, -1, -1, -1), 146762306a36Sopenharmony_ci PINGROUP(nfc_en_pi0, RSVD0, RSVD1, RSVD2, RSVD3, 0x31d0, N, N, N, Y, 0xa50, 12, 5, 20, 5, -1, -1, -1, -1), 146862306a36Sopenharmony_ci PINGROUP(nfc_int_pi1, RSVD0, RSVD1, RSVD2, RSVD3, 0x31d4, N, N, N, Y, 0xa54, 12, 5, 20, 5, -1, -1, -1, -1), 146962306a36Sopenharmony_ci PINGROUP(gps_en_pi2, RSVD0, RSVD1, RSVD2, RSVD3, 0x31d8, N, N, N, Y, 0xa1c, 12, 5, 20, 5, -1, -1, -1, -1), 147062306a36Sopenharmony_ci PINGROUP(gps_rst_pi3, RSVD0, RSVD1, RSVD2, RSVD3, 0x31dc, N, N, N, Y, 0xa20, 12, 5, 20, 5, -1, -1, -1, -1), 147162306a36Sopenharmony_ci PINGROUP(cam_rst_ps4, VGP1, RSVD1, RSVD2, RSVD3, 0x31e0, N, N, N, Y, 0x93c, 12, 5, 20, 5, -1, -1, -1, -1), 147262306a36Sopenharmony_ci PINGROUP(cam_af_en_ps5, VIMCLK, VGP2, RSVD2, RSVD3, 0x31e4, N, N, N, Y, 0x92c, 12, 5, 20, 5, -1, -1, -1, -1), 147362306a36Sopenharmony_ci PINGROUP(cam_flash_en_ps6, VIMCLK, VGP3, RSVD2, RSVD3, 0x31e8, N, N, N, Y, 0x930, 12, 5, 20, 5, -1, -1, -1, -1), 147462306a36Sopenharmony_ci PINGROUP(cam1_pwdn_ps7, VGP4, RSVD1, RSVD2, RSVD3, 0x31ec, N, N, N, Y, 0x91c, 12, 5, 20, 5, -1, -1, -1, -1), 147562306a36Sopenharmony_ci PINGROUP(cam2_pwdn_pt0, VGP5, RSVD1, RSVD2, RSVD3, 0x31f0, N, N, N, Y, 0x928, 12, 5, 20, 5, -1, -1, -1, -1), 147662306a36Sopenharmony_ci PINGROUP(cam1_strobe_pt1, VGP6, RSVD1, RSVD2, RSVD3, 0x31f4, N, N, N, Y, 0x920, 12, 5, 20, 5, -1, -1, -1, -1), 147762306a36Sopenharmony_ci PINGROUP(lcd_te_py2, DISPLAYA, RSVD1, RSVD2, RSVD3, 0x31f8, N, N, N, Y, 0xa44, 12, 5, 20, 5, -1, -1, -1, -1), 147862306a36Sopenharmony_ci PINGROUP(lcd_bl_pwm_pv0, DISPLAYA, PWM0, SOR0, RSVD3, 0x31fc, N, N, N, Y, 0xa34, 12, 5, 20, 5, -1, -1, -1, -1), 147962306a36Sopenharmony_ci PINGROUP(lcd_bl_en_pv1, RSVD0, RSVD1, RSVD2, RSVD3, 0x3200, N, N, N, Y, 0xa30, 12, 5, 20, 5, -1, -1, -1, -1), 148062306a36Sopenharmony_ci PINGROUP(lcd_rst_pv2, RSVD0, RSVD1, RSVD2, RSVD3, 0x3204, N, N, N, Y, 0xa40, 12, 5, 20, 5, -1, -1, -1, -1), 148162306a36Sopenharmony_ci PINGROUP(lcd_gpio1_pv3, DISPLAYB, RSVD1, RSVD2, RSVD3, 0x3208, N, N, N, Y, 0xa38, 12, 5, 20, 5, -1, -1, -1, -1), 148262306a36Sopenharmony_ci PINGROUP(lcd_gpio2_pv4, DISPLAYB, PWM1, RSVD2, SOR1, 0x320c, N, N, N, Y, 0xa3c, 12, 5, 20, 5, -1, -1, -1, -1), 148362306a36Sopenharmony_ci PINGROUP(ap_ready_pv5, RSVD0, RSVD1, RSVD2, RSVD3, 0x3210, N, N, N, Y, 0x8e8, 12, 5, 20, 5, -1, -1, -1, -1), 148462306a36Sopenharmony_ci PINGROUP(touch_rst_pv6, RSVD0, RSVD1, RSVD2, RSVD3, 0x3214, N, N, N, Y, 0xb18, 12, 5, 20, 5, -1, -1, -1, -1), 148562306a36Sopenharmony_ci PINGROUP(touch_clk_pv7, TOUCH, RSVD1, RSVD2, RSVD3, 0x3218, N, N, N, Y, 0xb10, 12, 5, 20, 5, -1, -1, -1, -1), 148662306a36Sopenharmony_ci PINGROUP(modem_wake_ap_px0, RSVD0, RSVD1, RSVD2, RSVD3, 0x321c, N, N, N, Y, 0xa48, 12, 5, 20, 5, -1, -1, -1, -1), 148762306a36Sopenharmony_ci PINGROUP(touch_int_px1, RSVD0, RSVD1, RSVD2, RSVD3, 0x3220, N, N, N, Y, 0xb14, 12, 5, 20, 5, -1, -1, -1, -1), 148862306a36Sopenharmony_ci PINGROUP(motion_int_px2, RSVD0, RSVD1, RSVD2, RSVD3, 0x3224, N, N, N, Y, 0xa4c, 12, 5, 20, 5, -1, -1, -1, -1), 148962306a36Sopenharmony_ci PINGROUP(als_prox_int_px3, RSVD0, RSVD1, RSVD2, RSVD3, 0x3228, N, N, N, Y, 0x8e4, 12, 5, 20, 5, -1, -1, -1, -1), 149062306a36Sopenharmony_ci PINGROUP(temp_alert_px4, RSVD0, RSVD1, RSVD2, RSVD3, 0x322c, N, N, N, Y, 0xb0c, 12, 5, 20, 5, -1, -1, -1, -1), 149162306a36Sopenharmony_ci PINGROUP(button_power_on_px5, RSVD0, RSVD1, RSVD2, RSVD3, 0x3230, N, N, N, Y, 0x908, 12, 5, 20, 5, -1, -1, -1, -1), 149262306a36Sopenharmony_ci PINGROUP(button_vol_up_px6, RSVD0, RSVD1, RSVD2, RSVD3, 0x3234, N, N, N, Y, 0x914, 12, 5, 20, 5, -1, -1, -1, -1), 149362306a36Sopenharmony_ci PINGROUP(button_vol_down_px7, RSVD0, RSVD1, RSVD2, RSVD3, 0x3238, N, N, N, Y, 0x910, 12, 5, 20, 5, -1, -1, -1, -1), 149462306a36Sopenharmony_ci PINGROUP(button_slide_sw_py0, RSVD0, RSVD1, RSVD2, RSVD3, 0x323c, N, N, N, Y, 0x90c, 12, 5, 20, 5, -1, -1, -1, -1), 149562306a36Sopenharmony_ci PINGROUP(button_home_py1, RSVD0, RSVD1, RSVD2, RSVD3, 0x3240, N, N, N, Y, 0x904, 12, 5, 20, 5, -1, -1, -1, -1), 149662306a36Sopenharmony_ci PINGROUP(pa6, SATA, RSVD1, RSVD2, RSVD3, 0x3244, N, N, N, Y, -1, -1, -1, -1, -1, -1, -1, -1, -1), 149762306a36Sopenharmony_ci PINGROUP(pe6, RSVD0, I2S5A, PWM2, RSVD3, 0x3248, N, N, N, Y, -1, -1, -1, -1, -1, -1, -1, -1, -1), 149862306a36Sopenharmony_ci PINGROUP(pe7, RSVD0, I2S5A, PWM3, RSVD3, 0x324c, N, N, N, Y, -1, -1, -1, -1, -1, -1, -1, -1, -1), 149962306a36Sopenharmony_ci PINGROUP(ph6, RSVD0, RSVD1, RSVD2, RSVD3, 0x3250, N, N, N, Y, -1, -1, -1, -1, -1, -1, -1, -1, -1), 150062306a36Sopenharmony_ci PINGROUP(pk0, IQC0, I2S5B, RSVD2, RSVD3, 0x3254, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 150162306a36Sopenharmony_ci PINGROUP(pk1, IQC0, I2S5B, RSVD2, RSVD3, 0x3258, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 150262306a36Sopenharmony_ci PINGROUP(pk2, IQC0, I2S5B, RSVD2, RSVD3, 0x325c, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 150362306a36Sopenharmony_ci PINGROUP(pk3, IQC0, I2S5B, RSVD2, RSVD3, 0x3260, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 150462306a36Sopenharmony_ci PINGROUP(pk4, IQC1, RSVD1, RSVD2, RSVD3, 0x3264, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 150562306a36Sopenharmony_ci PINGROUP(pk5, IQC1, RSVD1, RSVD2, RSVD3, 0x3268, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 150662306a36Sopenharmony_ci PINGROUP(pk6, IQC1, RSVD1, RSVD2, RSVD3, 0x326c, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 150762306a36Sopenharmony_ci PINGROUP(pk7, IQC1, RSVD1, RSVD2, RSVD3, 0x3270, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 150862306a36Sopenharmony_ci PINGROUP(pl0, RSVD0, RSVD1, RSVD2, RSVD3, 0x3274, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 150962306a36Sopenharmony_ci PINGROUP(pl1, SOC, RSVD1, RSVD2, RSVD3, 0x3278, Y, Y, N, N, -1, -1, -1, -1, -1, -1, -1, -1, -1), 151062306a36Sopenharmony_ci PINGROUP(pz0, VIMCLK2, RSVD1, RSVD2, RSVD3, 0x327c, N, N, N, Y, -1, -1, -1, -1, -1, -1, -1, -1, -1), 151162306a36Sopenharmony_ci PINGROUP(pz1, VIMCLK2, SDMMC1, RSVD2, RSVD3, 0x3280, N, N, N, Y, -1, -1, -1, -1, -1, -1, -1, -1, -1), 151262306a36Sopenharmony_ci PINGROUP(pz2, SDMMC3, CCLA, RSVD2, RSVD3, 0x3284, N, N, N, Y, -1, -1, -1, -1, -1, -1, -1, -1, -1), 151362306a36Sopenharmony_ci PINGROUP(pz3, SDMMC3, RSVD1, RSVD2, RSVD3, 0x3288, N, N, N, Y, -1, -1, -1, -1, -1, -1, -1, -1, -1), 151462306a36Sopenharmony_ci PINGROUP(pz4, SDMMC1, RSVD1, RSVD2, RSVD3, 0x328c, N, N, N, Y, -1, -1, -1, -1, -1, -1, -1, -1, -1), 151562306a36Sopenharmony_ci PINGROUP(pz5, SOC, RSVD1, RSVD2, RSVD3, 0x3290, N, N, N, Y, -1, -1, -1, -1, -1, -1, -1, -1, -1), 151662306a36Sopenharmony_ci 151762306a36Sopenharmony_ci /* pg_name, r, prk_mask, drvdn_b, drvdn_w, drvup_b, drvup_w, slwr_b, slwr_w, slwf_b, slwf_w */ 151862306a36Sopenharmony_ci DRV_PINGROUP(pa6, 0x9c0, 0x0, 12, 5, 20, 5, -1, -1, -1, -1), 151962306a36Sopenharmony_ci DRV_PINGROUP(pcc7, 0x9c4, 0x0, 12, 5, 20, 5, -1, -1, -1, -1), 152062306a36Sopenharmony_ci DRV_PINGROUP(pe6, 0x9c8, 0x0, 12, 5, 20, 5, -1, -1, -1, -1), 152162306a36Sopenharmony_ci DRV_PINGROUP(pe7, 0x9cc, 0x0, 12, 5, 20, 5, -1, -1, -1, -1), 152262306a36Sopenharmony_ci DRV_PINGROUP(ph6, 0x9d0, 0x0, 12, 5, 20, 5, -1, -1, -1, -1), 152362306a36Sopenharmony_ci DRV_PINGROUP(pk0, 0x9d4, 0x0, -1, -1, -1, -1, 28, 2, 30, 2), 152462306a36Sopenharmony_ci DRV_PINGROUP(pk1, 0x9d8, 0x0, -1, -1, -1, -1, 28, 2, 30, 2), 152562306a36Sopenharmony_ci DRV_PINGROUP(pk2, 0x9dc, 0x0, -1, -1, -1, -1, 28, 2, 30, 2), 152662306a36Sopenharmony_ci DRV_PINGROUP(pk3, 0x9e0, 0x0, -1, -1, -1, -1, 28, 2, 30, 2), 152762306a36Sopenharmony_ci DRV_PINGROUP(pk4, 0x9e4, 0x0, -1, -1, -1, -1, 28, 2, 30, 2), 152862306a36Sopenharmony_ci DRV_PINGROUP(pk5, 0x9e8, 0x0, -1, -1, -1, -1, 28, 2, 30, 2), 152962306a36Sopenharmony_ci DRV_PINGROUP(pk6, 0x9ec, 0x0, -1, -1, -1, -1, 28, 2, 30, 2), 153062306a36Sopenharmony_ci DRV_PINGROUP(pk7, 0x9f0, 0x0, -1, -1, -1, -1, 28, 2, 30, 2), 153162306a36Sopenharmony_ci DRV_PINGROUP(pl0, 0x9f4, 0x0, -1, -1, -1, -1, 28, 2, 30, 2), 153262306a36Sopenharmony_ci DRV_PINGROUP(pl1, 0x9f8, 0x0, -1, -1, -1, -1, 28, 2, 30, 2), 153362306a36Sopenharmony_ci DRV_PINGROUP(pz0, 0x9fc, 0x0, 12, 7, 20, 7, -1, -1, -1, -1), 153462306a36Sopenharmony_ci DRV_PINGROUP(pz1, 0xa00, 0x0, 12, 7, 20, 7, -1, -1, -1, -1), 153562306a36Sopenharmony_ci DRV_PINGROUP(pz2, 0xa04, 0x0, 12, 7, 20, 7, -1, -1, -1, -1), 153662306a36Sopenharmony_ci DRV_PINGROUP(pz3, 0xa08, 0x0, 12, 7, 20, 7, -1, -1, -1, -1), 153762306a36Sopenharmony_ci DRV_PINGROUP(pz4, 0xa0c, 0x0, 12, 7, 20, 7, -1, -1, -1, -1), 153862306a36Sopenharmony_ci DRV_PINGROUP(pz5, 0xa10, 0x0, 12, 7, 20, 7, -1, -1, -1, -1), 153962306a36Sopenharmony_ci DRV_PINGROUP(sdmmc1, 0xa98, 0x0, 12, 7, 20, 7, 28, 2, 30, 2), 154062306a36Sopenharmony_ci DRV_PINGROUP(sdmmc2, 0xa9c, 0x7ffc000, 2, 6, 8, 6, 28, 2, 30, 2), 154162306a36Sopenharmony_ci DRV_PINGROUP(sdmmc3, 0xab0, 0x0, 12, 7, 20, 7, 28, 2, 30, 2), 154262306a36Sopenharmony_ci DRV_PINGROUP(sdmmc4, 0xab4, 0x7ffc000, 2, 6, 8, 6, 28, 2, 30, 2), 154362306a36Sopenharmony_ci}; 154462306a36Sopenharmony_ci 154562306a36Sopenharmony_cistatic const struct tegra_pinctrl_soc_data tegra210_pinctrl = { 154662306a36Sopenharmony_ci .ngpios = NUM_GPIOS, 154762306a36Sopenharmony_ci .gpio_compatible = "nvidia,tegra210-gpio", 154862306a36Sopenharmony_ci .pins = tegra210_pins, 154962306a36Sopenharmony_ci .npins = ARRAY_SIZE(tegra210_pins), 155062306a36Sopenharmony_ci .functions = tegra210_functions, 155162306a36Sopenharmony_ci .nfunctions = ARRAY_SIZE(tegra210_functions), 155262306a36Sopenharmony_ci .groups = tegra210_groups, 155362306a36Sopenharmony_ci .ngroups = ARRAY_SIZE(tegra210_groups), 155462306a36Sopenharmony_ci .hsm_in_mux = true, 155562306a36Sopenharmony_ci .schmitt_in_mux = true, 155662306a36Sopenharmony_ci .drvtype_in_mux = true, 155762306a36Sopenharmony_ci}; 155862306a36Sopenharmony_ci 155962306a36Sopenharmony_cistatic int tegra210_pinctrl_probe(struct platform_device *pdev) 156062306a36Sopenharmony_ci{ 156162306a36Sopenharmony_ci return tegra_pinctrl_probe(pdev, &tegra210_pinctrl); 156262306a36Sopenharmony_ci} 156362306a36Sopenharmony_ci 156462306a36Sopenharmony_cistatic const struct of_device_id tegra210_pinctrl_of_match[] = { 156562306a36Sopenharmony_ci { .compatible = "nvidia,tegra210-pinmux", }, 156662306a36Sopenharmony_ci { }, 156762306a36Sopenharmony_ci}; 156862306a36Sopenharmony_ci 156962306a36Sopenharmony_cistatic struct platform_driver tegra210_pinctrl_driver = { 157062306a36Sopenharmony_ci .driver = { 157162306a36Sopenharmony_ci .name = "tegra210-pinctrl", 157262306a36Sopenharmony_ci .of_match_table = tegra210_pinctrl_of_match, 157362306a36Sopenharmony_ci .pm = pm_sleep_ptr(&tegra_pinctrl_pm), 157462306a36Sopenharmony_ci }, 157562306a36Sopenharmony_ci .probe = tegra210_pinctrl_probe, 157662306a36Sopenharmony_ci}; 157762306a36Sopenharmony_ci 157862306a36Sopenharmony_cistatic int __init tegra210_pinctrl_init(void) 157962306a36Sopenharmony_ci{ 158062306a36Sopenharmony_ci return platform_driver_register(&tegra210_pinctrl_driver); 158162306a36Sopenharmony_ci} 158262306a36Sopenharmony_ciarch_initcall(tegra210_pinctrl_init); 1583