arm: tegra: Fix T12x pinmux table
Sumit Sharma [Mon, 29 Apr 2013 05:57:29 +0000 (10:57 +0530)]
Fix pinmux table entries for T124
Add new mux options in header file

Change-Id: I0da88672d39fd39a20a637c186d954d8a69f371a
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/223766
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

arch/arm/mach-tegra/include/mach/pinmux-t12.h
arch/arm/mach-tegra/include/mach/pinmux.h
arch/arm/mach-tegra/pinmux-t12-tables.c

index ed35837..66607e6 100644 (file)
@@ -2,7 +2,7 @@
  * linux/arch/arm/mach-tegra/include/mach/pinmux-t12.h
  *
  * Copyright (C) 2010 Google, Inc.
- * Copyright (C) 2011-2012 NVIDIA Corporation.
+ * Copyright (C) 2011-2013 NVIDIA CORPORATION. All rights reserved.
  *
  * This software is licensed under the terms of the GNU General Public
  * License version 2, as published by the Free Software Foundation, and
@@ -110,6 +110,42 @@ enum tegra_pingroup {
        TEGRA_PINGROUP_GMI_DQS_P,
        TEGRA_PINGROUP_GMI_DQS = TEGRA_PINGROUP_GMI_DQS_P,
        TEGRA_PINGROUP_GMI_RST_N,
+       TEGRA_PINGROUP_GPIO_PC7,
+       TEGRA_PINGROUP_GPIO_PI5,
+       TEGRA_PINGROUP_GPIO_PI7,
+       TEGRA_PINGROUP_GPIO_PK0,
+       TEGRA_PINGROUP_GPIO_PK1,
+       TEGRA_PINGROUP_GPIO_PJ0,
+       TEGRA_PINGROUP_GPIO_PJ2,
+       TEGRA_PINGROUP_GPIO_PK3,
+       TEGRA_PINGROUP_GPIO_PK4,
+       TEGRA_PINGROUP_GPIO_PK2,
+       TEGRA_PINGROUP_GPIO_PI3,
+       TEGRA_PINGROUP_GPIO_PI6,
+       TEGRA_PINGROUP_GPIO_PG0,
+       TEGRA_PINGROUP_GPIO_PG1,
+       TEGRA_PINGROUP_GPIO_PG2,
+       TEGRA_PINGROUP_GPIO_PG3,
+       TEGRA_PINGROUP_GPIO_PG4,
+       TEGRA_PINGROUP_GPIO_PG5,
+       TEGRA_PINGROUP_GPIO_PG6,
+       TEGRA_PINGROUP_GPIO_PG7,
+       TEGRA_PINGROUP_GPIO_PH0,
+       TEGRA_PINGROUP_GPIO_PH1,
+       TEGRA_PINGROUP_GPIO_PH2,
+       TEGRA_PINGROUP_GPIO_PH3,
+       TEGRA_PINGROUP_GPIO_PH4,
+       TEGRA_PINGROUP_GPIO_PH5,
+       TEGRA_PINGROUP_GPIO_PH6,
+       TEGRA_PINGROUP_GPIO_PH7,
+       TEGRA_PINGROUP_GPIO_PJ7,
+       TEGRA_PINGROUP_GPIO_PB0,
+       TEGRA_PINGROUP_GPIO_PB1,
+       TEGRA_PINGROUP_GPIO_PK7,
+       TEGRA_PINGROUP_GPIO_PI0,
+       TEGRA_PINGROUP_GPIO_PI1,
+       TEGRA_PINGROUP_GPIO_PI2,
+       TEGRA_PINGROUP_GPIO_PI4,
        TEGRA_PINGROUP_GEN2_I2C_SCL,
        TEGRA_PINGROUP_GEN2_I2C_SDA,
        TEGRA_PINGROUP_SDMMC4_CLK,
@@ -148,6 +184,11 @@ enum tegra_pingroup {
        TEGRA_PINGROUP_KB_ROW8,
        TEGRA_PINGROUP_KB_ROW9,
        TEGRA_PINGROUP_KB_ROW10,
+       TEGRA_PINGROUP_KB_ROW11,
+       TEGRA_PINGROUP_KB_ROW12,
+       TEGRA_PINGROUP_KB_ROW13,
+       TEGRA_PINGROUP_KB_ROW14,
+       TEGRA_PINGROUP_KB_ROW15,
        TEGRA_PINGROUP_KB_COL0,
        TEGRA_PINGROUP_KB_COL1,
        TEGRA_PINGROUP_KB_COL2,
@@ -158,6 +199,8 @@ enum tegra_pingroup {
        TEGRA_PINGROUP_KB_COL7,
        TEGRA_PINGROUP_CLK_32K_OUT,
        TEGRA_PINGROUP_SYS_CLK_REQ,
+       TEGRA_PINGROUP_CLK1_REQ,
+       TEGRA_PINGROUP_CLK1_OUT,
        TEGRA_PINGROUP_CORE_PWR_REQ,
        TEGRA_PINGROUP_CPU_PWR_REQ,
        TEGRA_PINGROUP_PWR_INT_N,
@@ -167,8 +210,8 @@ enum tegra_pingroup {
        TEGRA_PINGROUP_DAP1_DIN,
        TEGRA_PINGROUP_DAP1_DOUT,
        TEGRA_PINGROUP_DAP1_SCLK,
-       TEGRA_PINGROUP_CLK1_REQ,
-       TEGRA_PINGROUP_CLK1_OUT,
+       TEGRA_PINGROUP_DAP_MCLK1_REQ,
+       TEGRA_PINGROUP_DAP_MCLK1,
        TEGRA_PINGROUP_SPDIF_IN,
        TEGRA_PINGROUP_SPDIF_OUT,
        TEGRA_PINGROUP_DAP2_FS,
@@ -183,19 +226,43 @@ enum tegra_pingroup {
        TEGRA_PINGROUP_SPI1_SCK,
        TEGRA_PINGROUP_SPI1_CS0_N,
        TEGRA_PINGROUP_SPI1_MISO,
+       TEGRA_PINGROUP_DVFS_PWM,
+       TEGRA_PINGROUP_GPIO_X1_AUD,
+       TEGRA_PINGROUP_GPIO_X3_AUD,
+       TEGRA_PINGROUP_DVFS_CLK,
+       TEGRA_PINGROUP_GPIO_X4_AUD,
+       TEGRA_PINGROUP_GPIO_X5_AUD,
+       TEGRA_PINGROUP_GPIO_X6_AUD,
+       TEGRA_PINGROUP_GPIO_X7_AUD,
        TEGRA_PINGROUP_SDMMC3_CLK,
        TEGRA_PINGROUP_SDMMC3_CMD,
        TEGRA_PINGROUP_SDMMC3_DAT0,
        TEGRA_PINGROUP_SDMMC3_DAT1,
        TEGRA_PINGROUP_SDMMC3_DAT2,
        TEGRA_PINGROUP_SDMMC3_DAT3,
+       TEGRA_PINGROUP_PEX_L0_RST_N,
+       TEGRA_PINGROUP_PEX_L0_CLKREQ_N,
+       TEGRA_PINGROUP_PEX_WAKE_N,
+       TEGRA_PINGROUP_PEX_L1_RST_N,
+       TEGRA_PINGROUP_PEX_L1_CLKREQ_N,
        TEGRA_PINGROUP_HDMI_CEC,
        TEGRA_PINGROUP_SDMMC1_WP_N,
        TEGRA_PINGROUP_SDMMC3_CD_N,
        TEGRA_PINGROUP_SPI1_CS1_N,
        TEGRA_PINGROUP_SPI1_CS2_N,
+       TEGRA_PINGROUP_GPIO_W2_AUD,
+       TEGRA_PINGROUP_GPIO_W3_AUD,
        TEGRA_PINGROUP_USB_VBUS_EN0,
        TEGRA_PINGROUP_USB_VBUS_EN1,
+       TEGRA_PINGROUP_SDMMC3_CLK_LB_OUT,
+       TEGRA_PINGROUP_SDMMC3_CLK_LB_IN,
+       TEGRA_PINGROUP_GMI_CLK_LB,
+       TEGRA_PINGROUP_RESET_OUT_N,
+       TEGRA_PINGROUP_KB_ROW16,
+       TEGRA_PINGROUP_KB_ROW17,
+       TEGRA_PINGROUP_USB_VBUS_EN2,
+       TEGRA_PINGROUP_GPIO_PFF2,
+       TEGRA_PINGROUP_DP_HPD,
        TEGRA_MAX_PINGROUP,
 };
 
index f11476a..86ad9a2 100644 (file)
@@ -2,7 +2,7 @@
  * linux/arch/arm/mach-tegra/include/mach/pinmux.h
  *
  * Copyright (C) 2010 Google, Inc.
- * Copyright (C) 2011-2012 NVIDIA Corporation.
+ * Copyright (c) 2011-2013, NVIDIA CORPORATION.  All rights reserved.
  *
  * This software is licensed under the terms of the GNU General Public
  * License version 2, as published by the Free Software Foundation, and
        TEGRA_MUX(VIMCLK2_ALT_ALT) \
        TEGRA_MUX(SOC_ALT)      \
        /* End of Tegra148 MUX selectors */\
+       TEGRA_MUX(SYS) \
+       TEGRA_MUX(CCLA) \
+       TEGRA_MUX(TMDS) \
+       TEGRA_MUX(DP) \
+       TEGRA_MUX(PE) \
+       TEGRA_MUX(PE0) \
+       TEGRA_MUX(PE1) \
+       /* End of Tegra124 MUX selectors */\
 
 enum tegra_mux_func {
 #define TEGRA_MUX(mux) TEGRA_MUX_##mux,
@@ -229,6 +237,7 @@ enum tegra_vddio {
        TEGRA_VDDIO_SDMMC1,
        TEGRA_VDDIO_SDMMC3,
        TEGRA_VDDIO_SDMMC4,
+       TEGRA_VDDIO_HV,
 };
 
 struct tegra_pingroup_config {
index e10c796..2b8e073 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Common pinmux configurations for Tegra 12x SoCs
  *
- * Copyright (C) 2011-2012 NVIDIA Corporation
+ * Copyright (c) 2011-2013, NVIDIA CORPORATION.  All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -137,6 +137,7 @@ const struct tegra_drive_pingroup_desc tegra_soc_drive_pingroups[TEGRA_MAX_DRIVE
                .ioreset_bit = 8,                               \
        }
 
+#ifdef CONFIG_TEGRA_FPGA_PLATFORM
 /* !!!FIXME!!! FILL IN fSafe COLUMN IN TABLE ....... */
 #define PINGROUPS      \
        /*       NAME             GPIO          VDD         f0          f1          f2          f3          fSafe       io      reg */\
@@ -315,6 +316,205 @@ const struct tegra_drive_pingroup_desc tegra_soc_drive_pingroups[TEGRA_MAX_DRIVE
        PINGROUP(USB_VBUS_EN0,    PN4,          SYS,        RSVD,       RSVD,       RSVD,       RSVD,       RSVD,       INPUT,  0x33f4),\
        PINGROUP(USB_VBUS_EN1,    PM5,          SYS,        RSVD,       RSVD,       RSVD,       RSVD,       RSVD,       INPUT,  0x33f8),\
 
+#else
+
+/* !!!FIXME!!! FILL IN fSafe COLUMN IN TABLE ....... */
+#define PINGROUPS      \
+       /*       NAME           GPIO    VDD     f0              f1              f2              f3              fSafe           io      reg */\
+       PINGROUP(ULPI_DATA0,    PO1,    BB,     SPI3,           RSVD1,          UARTA,          RSVD3,          RSVD,           INPUT,  0x3000),\
+       PINGROUP(ULPI_DATA1,    PO2,    BB,     SPI3,           RSVD1,          UARTA,          RSVD3,          RSVD,           INPUT,  0x3004),\
+       PINGROUP(ULPI_DATA2,    PO3,    BB,     SPI3,           RSVD1,          UARTA,          RSVD3,          RSVD,           INPUT,  0x3008),\
+       PINGROUP(ULPI_DATA3,    PO4,    BB,     SPI3,           RSVD1,          UARTA,          RSVD3,          RSVD,           INPUT,  0x300c),\
+       PINGROUP(ULPI_DATA4,    PO5,    BB,     SPI2,           RSVD1,          UARTA,          RSVD3,          RSVD,           INPUT,  0x3010),\
+       PINGROUP(ULPI_DATA5,    PO6,    BB,     SPI2,           RSVD1,          UARTA,          RSVD3,          RSVD,           INPUT,  0x3014),\
+       PINGROUP(ULPI_DATA6,    PO7,    BB,     SPI2,           RSVD1,          UARTA,          RSVD3,          RSVD,           INPUT,  0x3018),\
+       PINGROUP(ULPI_DATA7,    PO0,    BB,     SPI2,           RSVD1,          UARTA,          RSVD3,          RSVD,           INPUT,  0x301c),\
+       PINGROUP(ULPI_CLK,      PY0,    BB,     SPI1,           SPI5,           UARTA,          RSVD3,          RSVD,           INPUT,  0x3020),\
+       PINGROUP(ULPI_DIR,      PY1,    BB,     SPI1,           SPI5,           UARTA,          RSVD3,          RSVD,           INPUT,  0x3024),\
+       PINGROUP(ULPI_NXT,      PY2,    BB,     SPI1,           SPI5,           UARTA,          RSVD3,          RSVD,           INPUT,  0x3028),\
+       PINGROUP(ULPI_STP,      PY3,    BB,     SPI1,           SPI5,           UARTA,          RSVD3,          RSVD,           INPUT,  0x302c),\
+       PINGROUP(DAP3_FS,       PP0,    BB,     I2S2,           SPI5,           DISPLAYA,       DISPLAYB,       RSVD,           INPUT,  0x3030),\
+       PINGROUP(DAP3_DIN,      PP1,    BB,     I2S2,           SPI5,           DISPLAYA,       DISPLAYB,       RSVD,           INPUT,  0x3034),\
+       PINGROUP(DAP3_DOUT,     PP2,    BB,     I2S2,           SPI5,           RSVD2,          RSVD3,          RSVD,           INPUT,  0x3038),\
+       PINGROUP(DAP3_SCLK,     PP3,    BB,     I2S2,           SPI5,           RSVD2,          RSVD3,          RSVD,           INPUT,  0x303c),\
+       PINGROUP(GPIO_PV0,      PV0,    BB,     RSVD0,          RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3040),\
+       PINGROUP(GPIO_PV1,      PV1,    BB,     RSVD0,          RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3044),\
+       PINGROUP(SDMMC1_CLK,    PZ0,    SDMMC1, SDMMC1,         CLK12,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3048),\
+       PINGROUP(SDMMC1_CMD,    PZ1,    SDMMC1, SDMMC1,         SPDIF,          SPI4,           UARTA,          RSVD,           INPUT,  0x304c),\
+       PINGROUP(SDMMC1_DAT3,   PY4,    SDMMC1, SDMMC1,         SPDIF,          SPI4,           UARTA,          RSVD,           INPUT,  0x3050),\
+       PINGROUP(SDMMC1_DAT2,   PY5,    SDMMC1, SDMMC1,         PWM0,           SPI4,           UARTA,          RSVD,           INPUT,  0x3054),\
+       PINGROUP(SDMMC1_DAT1,   PY6,    SDMMC1, SDMMC1,         PWM1,           SPI4,           UARTA,          RSVD,           INPUT,  0x3058),\
+       PINGROUP(SDMMC1_DAT0,   PY7,    SDMMC1, SDMMC1,         RSVD1,          SPI4,           UARTA,          RSVD,           INPUT,  0x305c),\
+       PINGROUP(CLK2_OUT,      PW5,    SDMMC1, EXTPERIPH2,     RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3068),\
+       PINGROUP(CLK2_REQ,      PC5,    SDMMC1, DAP,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x306c),\
+       PINGROUP(HDMI_INT,      PN7,    HV,     RSVD0,          RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3110),\
+       PINGROUP(DDC_SCL,       PV4,    HV,     I2C4,           RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3114),\
+       PINGROUP(DDC_SDA,       PV5,    HV,     I2C4,           RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3118),\
+       PINGROUP(UART2_RXD,     PC3,    UART,   IRDA,           SPDIF,          UARTA,          SPI4,           RSVD,           INPUT,  0x3164),\
+       PINGROUP(UART2_TXD,     PC2,    UART,   IRDA,           SPDIF,          UARTA,          SPI4,           RSVD,           INPUT,  0x3168),\
+       PINGROUP(UART2_RTS_N,   PJ5,    UART,   UARTA,          UARTB,          GMI,            SPI4,           RSVD,           INPUT,  0x316c),\
+       PINGROUP(UART2_CTS_N,   PJ6,    UART,   UARTA,          UARTB,          GMI,            SPI4,           RSVD,           INPUT,  0x3170),\
+       PINGROUP(UART3_TXD,     PW6,    UART,   UARTC,          RSVD1,          GMI,            SPI4,           RSVD,           INPUT,  0x3174),\
+       PINGROUP(UART3_RXD,     PW7,    UART,   UARTC,          RSVD1,          GMI,            SPI4,           RSVD,           INPUT,  0x3178),\
+       PINGROUP(UART3_CTS_N,   PA1,    UART,   UARTC,          SDMMC1,         DTV,            GMI,            RSVD,           INPUT,  0x317c),\
+       PINGROUP(UART3_RTS_N,   PC0,    UART,   UARTC,          PWM0,           DTV,            GMI,            RSVD,           INPUT,  0x3180),\
+       PINGROUP(GPIO_PU0,      PU0,    UART,   RSVD0,          UARTA,          GMI,            RSVD3,          RSVD,           INPUT,  0x3184),\
+       PINGROUP(GPIO_PU1,      PU1,    UART,   RSVD0,          UARTA,          GMI,            RSVD3,          RSVD,           INPUT,  0x3188),\
+       PINGROUP(GPIO_PU2,      PU2,    UART,   RSVD0,          UARTA,          GMI,            RSVD3,          RSVD,           INPUT,  0x318c),\
+       PINGROUP(GPIO_PU3,      PU3,    UART,   PWM0,           UARTA,          GMI,            DISPLAYB,       RSVD,           INPUT,  0x3190),\
+       PINGROUP(GPIO_PU4,      PU4,    UART,   PWM1,           UARTA,          GMI,            DISPLAYB,       RSVD,           INPUT,  0x3194),\
+       PINGROUP(GPIO_PU5,      PU5,    UART,   PWM2,           UARTA,          GMI,            DISPLAYB,       RSVD,           INPUT,  0x3198),\
+       PINGROUP(GPIO_PU6,      PU6,    UART,   PWM3,           UARTA,          RSVD2,          GMI,            RSVD,           INPUT,  0x319c),\
+       PINGROUP(GEN1_I2C_SCL,  PC4,    UART,   I2C1,           RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x31a0),\
+       PINGROUP(GEN1_I2C_SDA,  PC5,    UART,   I2C1,           RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x31a4),\
+       PINGROUP(DAP4_FS,       PP4,    UART,   I2S3,           GMI,            DTV,            RSVD3,          RSVD,           INPUT,  0x31a8),\
+       PINGROUP(DAP4_DIN,      PP5,    UART,   I2S3,           GMI,            RSVD2,          RSVD3,          RSVD,           INPUT,  0x31ac),\
+       PINGROUP(DAP4_DOUT,     PP6,    UART,   I2S3,           GMI,            DTV,            RSVD3,          RSVD,           INPUT,  0x31b0),\
+       PINGROUP(DAP4_SCLK,     PP7,    UART,   I2S3,           GMI,            RSVD2,          RSVD3,          RSVD,           INPUT,  0x31b4),\
+       PINGROUP(CLK3_OUT,      PE0,    UART,   EXTPERIPH3,     RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x31b8),\
+       PINGROUP(CLK3_REQ,      PE1,    UART,   DEV3,           RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x31bc),\
+       PINGROUP(GPIO_PC7,      PC7,    GMI,    RSVD0,          RSVD1,          GMI,            GMI_ALT,        RSVD,           INPUT,  0x31c0),\
+       PINGROUP(GPIO_PI5,      PI5,    GMI,    SDMMC2,         RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x31c4),\
+       PINGROUP(GPIO_PI7,      PI7,    GMI,    RSVD0,          TRACE,          GMI,            DTV,            RSVD,           INPUT,  0x31c8),\
+       PINGROUP(GPIO_PK0,      PK0,    GMI,    RSVD0,          SDMMC3,         GMI,            SOC,            RSVD,           INPUT,  0x31cc),\
+       PINGROUP(GPIO_PK1,      PK1,    GMI,    SDMMC2,         TRACE,          GMI,            RSVD3,          RSVD,           INPUT,  0x31d0),\
+       PINGROUP(GPIO_PJ0,      PJ0,    GMI,    RSVD0,          RSVD1,          GMI,            USB,            RSVD,           INPUT,  0x31d4),\
+       PINGROUP(GPIO_PJ2,      PJ2,    GMI,    RSVD0,          RSVD1,          GMI,            SOC,            RSVD,           INPUT,  0x31d8),\
+       PINGROUP(GPIO_PK3,      PK3,    GMI,    SDMMC2,         TRACE,          GMI,            CCLA,           RSVD,           INPUT,  0x31dc),\
+       PINGROUP(GPIO_PK4,      PK4,    GMI,    SDMMC2,         RSVD1,          GMI,            GMI_ALT,        RSVD,           INPUT,  0x31e0),\
+       PINGROUP(GPIO_PK2,      PK2,    GMI,    RSVD0,          RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x31e4),\
+       PINGROUP(GPIO_PI3,      PI3,    GMI,    RSVD0,          RSVD1,          GMI,            SPI4,           RSVD,           INPUT,  0x31e8),\
+       PINGROUP(GPIO_PI6,      PI6,    GMI,    RSVD0,          RSVD1,          GMI,            SDMMC2,         RSVD,           INPUT,  0x31ec),\
+       PINGROUP(GPIO_PG0,      PG0,    GMI,    RSVD0,          RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x31f0),\
+       PINGROUP(GPIO_PG1,      PG1,    GMI,    RSVD0,          RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x31f4),\
+       PINGROUP(GPIO_PG2,      PG2,    GMI,    RSVD0,          TRACE,          GMI,            RSVD3,          RSVD,           INPUT,  0x31f8),\
+       PINGROUP(GPIO_PG3,      PG3,    GMI,    RSVD0,          TRACE,          GMI,            RSVD3,          RSVD,           INPUT,  0x31fc),\
+       PINGROUP(GPIO_PG4,      PG4,    GMI,    RSVD0,          TMDS,           GMI,            SPI4,           RSVD,           INPUT,  0x3200),\
+       PINGROUP(GPIO_PG5,      PG5,    GMI,    RSVD0,          RSVD1,          GMI,            SPI4,           RSVD,           INPUT,  0x3204),\
+       PINGROUP(GPIO_PG6,      PG6,    GMI,    RSVD0,          RSVD1,          GMI,            SPI4,           RSVD,           INPUT,  0x3208),\
+       PINGROUP(GPIO_PG7,      PG7,    GMI,    RSVD0,          RSVD1,          GMI,            SPI4,           RSVD,           INPUT,  0x320c),\
+       PINGROUP(GPIO_PH0,      PH0,    GMI,    PWM0,           TRACE,          GMI,            DTV,            RSVD,           INPUT,  0x3210),\
+       PINGROUP(GPIO_PH1,      PH1,    GMI,    PWM1,           TMDS,           GMI,            DISPLAYA,       RSVD,           INPUT,  0x3214),\
+       PINGROUP(GPIO_PH2,      PH2,    GMI,    PWM2,           TMDS,           GMI,            CLDVFS,         RSVD,           INPUT,  0x3218),\
+       PINGROUP(GPIO_PH3,      PH3,    GMI,    PWM3,           SPI4,           GMI,            CLDVFS,         RSVD,           INPUT,  0x321c),\
+       PINGROUP(GPIO_PH4,      PH4,    GMI,    SDMMC2,         RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x3220),\
+       PINGROUP(GPIO_PH5,      PH5,    GMI,    SDMMC2,         RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x3224),\
+       PINGROUP(GPIO_PH6,      PH6,    GMI,    SDMMC2,         TRACE,          GMI,            DTV,            RSVD,           INPUT,  0x3228),\
+       PINGROUP(GPIO_PH7,      PH7,    GMI,    SDMMC2,         TRACE,          GMI,            DTV,            RSVD,           INPUT,  0x322c),\
+       PINGROUP(GPIO_PJ7,      PJ7,    GMI,    UARTD,          RSVD1,          GMI,            GMI_ALT,        RSVD,           INPUT,  0x3230),\
+       PINGROUP(GPIO_PB0,      PB0,    GMI,    UARTD,          RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x3234),\
+       PINGROUP(GPIO_PB1,      PB1,    GMI,    UARTD,          RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x3238),\
+       PINGROUP(GPIO_PK7,      PK7,    GMI,    UARTD,          RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x323c),\
+       PINGROUP(GPIO_PI0,      PI0,    GMI,    RSVD0,          RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x3240),\
+       PINGROUP(GPIO_PI1,      PI1,    GMI,    RSVD0,          RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x3244),\
+       PINGROUP(GPIO_PI2,      PI2,    GMI,    SDMMC2,         TRACE,          GMI,            RSVD3,          RSVD,           INPUT,  0x3248),\
+       PINGROUP(GPIO_PI4,      PI4,    GMI,    SPI4,           TRACE,          GMI,            DISPLAYA,       RSVD,           INPUT,  0x324c),\
+       PINGROUP(GEN2_I2C_SCL,  PT5,    GMI,    I2C2,           RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x3250),\
+       PINGROUP(GEN2_I2C_SDA,  PT6,    GMI,    I2C2,           RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x3254),\
+       PINGROUP(SDMMC4_CLK,    PC4,    SDMMC4, SDMMC4,         RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x3258),\
+       PINGROUP(SDMMC4_CMD,    PT7,    SDMMC4, SDMMC4,         RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x325c),\
+       PINGROUP(SDMMC4_DAT0,   PA0,    SDMMC4, SDMMC4,         SPI3,           GMI,            RSVD3,          RSVD,           INPUT,  0x3260),\
+       PINGROUP(SDMMC4_DAT1,   PA1,    SDMMC4, SDMMC4,         SPI3,           GMI,            RSVD3,          RSVD,           INPUT,  0x3264),\
+       PINGROUP(SDMMC4_DAT2,   PA2,    SDMMC4, SDMMC4,         SPI3,           GMI,            RSVD3,          RSVD,           INPUT,  0x3268),\
+       PINGROUP(SDMMC4_DAT3,   PA3,    SDMMC4, SDMMC4,         SPI3,           GMI,            RSVD3,          RSVD,           INPUT,  0x326c),\
+       PINGROUP(SDMMC4_DAT4,   PA4,    SDMMC4, SDMMC4,         SPI3,           GMI,            RSVD3,          RSVD,           INPUT,  0x3270),\
+       PINGROUP(SDMMC4_DAT5,   PA5,    SDMMC4, SDMMC4,         SPI3,           RSVD2,          RSVD3,          RSVD,           INPUT,  0x3274),\
+       PINGROUP(SDMMC4_DAT6,   PA6,    SDMMC4, SDMMC4,         SPI3,           GMI,            RSVD3,          RSVD,           INPUT,  0x3278),\
+       PINGROUP(SDMMC4_DAT7,   PA7,    SDMMC4, SDMMC4,         RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x327c),\
+       PINGROUP(CAM_MCLK,      PC0,    CAM,    VI,             VI_ALT1,        VI_ALT3,        SDMMC2,         RSVD,           INPUT,  0x3284),\
+       PINGROUP(GPIO_PCC1,     PC1,    CAM,    I2S4,           RSVD1,          RSVD2,          SDMMC2,         RSVD,           INPUT,  0x3288),\
+       PINGROUP(GPIO_PBB0,     PB0,    CAM,    VGP6,           VIMCLK2,        SDMMC2,         VIMCLK2_ALT,    RSVD,           INPUT,  0x328c),\
+       PINGROUP(CAM_I2C_SCL,   PB1,    CAM,    VGP1,           I2C3,           RSVD2,          SDMMC2,         RSVD,           INPUT,  0x3290),\
+       PINGROUP(CAM_I2C_SDA,   PB2,    CAM,    VGP2,           I2C3,           RSVD2,          SDMMC2,         RSVD,           INPUT,  0x3294),\
+       PINGROUP(GPIO_PBB3,     PB3,    CAM,    VGP3,           DISPLAYA,       DISPLAYB,       SDMMC2,         RSVD,           INPUT,  0x3298),\
+       PINGROUP(GPIO_PBB4,     PB4,    CAM,    VGP4,           DISPLAYA,       DISPLAYB,       SDMMC2,         RSVD,           INPUT,  0x329c),\
+       PINGROUP(GPIO_PBB5,     PB5,    CAM,    VGP5,           RSVD1,          RSVD2,          SDMMC2,         RSVD,           INPUT,  0x32a0),\
+       PINGROUP(GPIO_PBB6,     PB6,    CAM,    I2S4,           RSVD1,          RSVD2,          SDMMC2,         RSVD,           INPUT,  0x32a4),\
+       PINGROUP(GPIO_PBB7,     PB7,    CAM,    I2S4,           RSVD1,          RSVD2,          SDMMC2,         RSVD,           INPUT,  0x32a8),\
+       PINGROUP(GPIO_PCC2,     PC2,    CAM,    I2S4,           RSVD1,          SDMMC3,         SDMMC2,         RSVD,           INPUT,  0x32ac),\
+       PINGROUP(JTAG_RTCK,     INVALID,SYS,    RTCK,           RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x32b0),\
+       PINGROUP(PWR_I2C_SCL,   PZ6,    SYS,    I2CPWR,         RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x32b4),\
+       PINGROUP(PWR_I2C_SDA,   PZ7,    SYS,    I2CPWR,         RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x32b8),\
+       PINGROUP(KB_ROW0,       PR0,    SYS,    KBC,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x32bc),\
+       PINGROUP(KB_ROW1,       PR1,    SYS,    KBC,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x32c0),\
+       PINGROUP(KB_ROW2,       PR2,    SYS,    KBC,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x32c4),\
+       PINGROUP(KB_ROW3,       PR3,    SYS,    KBC,            DISPLAYA,       SYS,            DISPLAYB,       RSVD,           INPUT,  0x32c8),\
+       PINGROUP(KB_ROW4,       PR4,    SYS,    KBC,            RSVD1,          RSVD2,          DISPLAYB,       RSVD,           INPUT,  0x32cc),\
+       PINGROUP(KB_ROW5,       PR5,    SYS,    KBC,            DISPLAYA,       RSVD2,          DISPLAYB,       RSVD,           INPUT,  0x32d0),\
+       PINGROUP(KB_ROW6,       PR6,    SYS,    KBC,            DISPLAYA,       DISPLAYA_ALT,   RSVD3,          RSVD,           INPUT,  0x32d4),\
+       PINGROUP(KB_ROW7,       PR7,    SYS,    KBC,            RSVD1,          CLDVFS,         UARTA,          RSVD,           INPUT,  0x32d8),\
+       PINGROUP(KB_ROW8,       PS0,    SYS,    KBC,            RSVD1,          CLDVFS,         UARTA,          RSVD,           INPUT,  0x32dc),\
+       PINGROUP(KB_ROW9,       PS1,    SYS,    KBC,            RSVD1,          RSVD2,          UARTA,          RSVD,           INPUT,  0x32e0),\
+       PINGROUP(KB_ROW10,      PS2,    SYS,    KBC,            RSVD1,          RSVD2,          UARTA,          RSVD,           INPUT,  0x32e4),\
+       PINGROUP(KB_ROW11,      PS3,    SYS,    KBC,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x32e8),\
+       PINGROUP(KB_ROW12,      PS4,    SYS,    KBC,            RSVD1,          RSVD2,          IRDA,           RSVD,           INPUT,  0x32ec),\
+       PINGROUP(KB_ROW13,      PS5,    SYS,    KBC,            RSVD1,          SPI2,           RSVD3,          RSVD,           INPUT,  0x32f0),\
+       PINGROUP(KB_ROW14,      PS6,    SYS,    KBC,            RSVD1,          SPI2,           RSVD3,          RSVD,           INPUT,  0x32f4),\
+       PINGROUP(KB_ROW15,      PS7,    SYS,    KBC,            SOC,            RSVD2,          RSVD3,          RSVD,           INPUT,  0x32f8),\
+       PINGROUP(KB_COL0,       PQ0,    SYS,    KBC,            RSVD1,          SPI2,           RSVD3,          RSVD,           INPUT,  0x32fc),\
+       PINGROUP(KB_COL1,       PQ1,    SYS,    KBC,            RSVD1,          SPI2,           RSVD3,          RSVD,           INPUT,  0x3300),\
+       PINGROUP(KB_COL2,       PQ2,    SYS,    KBC,            RSVD1,          SPI2,           RSVD3,          RSVD,           INPUT,  0x3304),\
+       PINGROUP(KB_COL3,       PQ3,    SYS,    KBC,            DISPLAYA,       PWM2,           UARTA,          RSVD,           INPUT,  0x3308),\
+       PINGROUP(KB_COL4,       PQ4,    SYS,    KBC,            RSVD1,          SDMMC3,         UARTA,          RSVD,           INPUT,  0x330c),\
+       PINGROUP(KB_COL5,       PQ5,    SYS,    KBC,            RSVD1,          SDMMC3,         RSVD3,          RSVD,           INPUT,  0x3310),\
+       PINGROUP(KB_COL6,       PQ6,    SYS,    KBC,            RSVD1,          SPI2,           UARTD,          RSVD,           INPUT,  0x3314),\
+       PINGROUP(KB_COL7,       PQ7,    SYS,    KBC,            RSVD1,          SPI2,           UARTD,          RSVD,           INPUT,  0x3318),\
+       PINGROUP(CLK_32K_OUT,   PA0,    SYS,    BLINK,          SOC,            RSVD2,          RSVD3,          RSVD,           INPUT,  0x331c),\
+       PINGROUP(CORE_PWR_REQ,  INVALID,SYS,    PWRON,          RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3324),\
+       PINGROUP(CPU_PWR_REQ,   INVALID,SYS,    CPU,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3328),\
+       PINGROUP(PWR_INT_N,     INVALID,SYS,    PMI,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x332c),\
+       PINGROUP(CLK_32K_IN,    INVALID,SYS,    CLK,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3330),\
+       PINGROUP(OWR,           INVALID,HV,     OWR,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3334),\
+       PINGROUP(DAP1_FS,       PN0,    AUDIO,  I2S0,           HDA,            GMI,            RSVD3,          RSVD,           INPUT,  0x3338),\
+       PINGROUP(DAP1_DIN,      PN1,    AUDIO,  I2S0,           HDA,            GMI,            RSVD3,          RSVD,           INPUT,  0x333c),\
+       PINGROUP(DAP1_DOUT,     PN2,    AUDIO,  I2S0,           HDA,            GMI,            SATA,           RSVD,           INPUT,  0x3340),\
+       PINGROUP(DAP1_SCLK,     PN3,    AUDIO,  I2S0,           HDA,            GMI,            RSVD3,          RSVD,           INPUT,  0x3344),\
+       PINGROUP(DAP_MCLK1_REQ, PE2,    AUDIO,  DAP,            DAP1,           SATA,           RSVD3,          RSVD,           INPUT,  0x3348),\
+       PINGROUP(DAP_MCLK1,     PW4,    AUDIO,  EXTPERIPH1,     DAP2,           RSVD2,          RSVD3,          RSVD,           INPUT,  0x334c),\
+       PINGROUP(SPDIF_IN,      PK6,    HV,     SPDIF,          RSVD1,          RSVD2,          I2C3,           RSVD,           INPUT,  0x3350),\
+       PINGROUP(SPDIF_OUT,     PK5,    HV,     SPDIF,          RSVD1,          RSVD2,          I2C3,           RSVD,           INPUT,  0x3354),\
+       PINGROUP(DAP2_FS,       PA2,    AUDIO,  I2S1,           HDA,            GMI,            RSVD3,          RSVD,           INPUT,  0x3358),\
+       PINGROUP(DAP2_DIN,      PA4,    AUDIO,  I2S1,           HDA,            GMI,            RSVD3,          RSVD,           INPUT,  0x335c),\
+       PINGROUP(DAP2_DOUT,     PA5,    AUDIO,  I2S1,           HDA,            GMI,            RSVD3,          RSVD,           INPUT,  0x3360),\
+       PINGROUP(DAP2_SCLK,     PA3,    AUDIO,  I2S1,           HDA,            GMI,            RSVD3,          RSVD,           INPUT,  0x3364),\
+       PINGROUP(DVFS_PWM,      PX0,    AUDIO,  SPI6,           CLDVFS,         GMI,            RSVD3,          RSVD,           INPUT,  0x3368),\
+       PINGROUP(GPIO_X1_AUD,   PX1,    AUDIO,  SPI6,           RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x336c),\
+       PINGROUP(GPIO_X3_AUD,   PX3,    AUDIO,  SPI6,           SPI1,           GMI,            RSVD3,          RSVD,           INPUT,  0x3370),\
+       PINGROUP(DVFS_CLK,      PX2,    AUDIO,  SPI6,           CLDVFS,         GMI,            RSVD3,          RSVD,           INPUT,  0x3374),\
+       PINGROUP(GPIO_X4_AUD,   PX4,    AUDIO,  GMI,            SPI1,           SPI2,           DAP2,           RSVD,           INPUT,  0x3378),\
+       PINGROUP(GPIO_X5_AUD,   PX5,    AUDIO,  GMI,            SPI1,           SPI2,           RSVD3,          RSVD,           INPUT,  0x337c),\
+       PINGROUP(GPIO_X6_AUD,   PX6,    AUDIO,  SPI6,           SPI1,           SPI2,           GMI,            RSVD,           INPUT,  0x3380),\
+       PINGROUP(GPIO_X7_AUD,   PX7,    AUDIO,  RSVD0,          SPI1,           SPI2,           RSVD3,          RSVD,           INPUT,  0x3384),\
+       PINGROUP(SDMMC3_CLK,    PA6,    SDMMC3, SDMMC3,         RSVD1,          RSVD2,          SPI3,           RSVD,           INPUT,  0x3390),\
+       PINGROUP(SDMMC3_CMD,    PA7,    SDMMC3, SDMMC3,         PWM3,           UARTA,          SPI3,           RSVD,           INPUT,  0x3394),\
+       PINGROUP(SDMMC3_DAT0,   PB7,    SDMMC3, SDMMC3,         RSVD1,          RSVD2,          SPI3,           RSVD,           INPUT,  0x3398),\
+       PINGROUP(SDMMC3_DAT1,   PB6,    SDMMC3, SDMMC3,         PWM2,           UARTA,          SPI3,           RSVD,           INPUT,  0x339c),\
+       PINGROUP(SDMMC3_DAT2,   PB5,    SDMMC3, SDMMC3,         PWM1,           DISPLAYA,       SPI3,           RSVD,           INPUT,  0x33a0),\
+       PINGROUP(SDMMC3_DAT3,   PB4,    SDMMC3, SDMMC3,         PWM0,           DISPLAYB,       SPI3,           RSVD,           INPUT,  0x33a4),\
+       PINGROUP(PEX_L0_RST_N,  PD1,    PEXCTL, PE0,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x33bc),\
+       PINGROUP(PEX_L0_CLKREQ_N,PD2,   PEXCTL, PE0,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x33c0),\
+       PINGROUP(PEX_WAKE_N,    PD3,    PEXCTL, PE,             RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x33c4),\
+       PINGROUP(PEX_L1_RST_N,  PD5,    PEXCTL, PE1,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x33cc),\
+       PINGROUP(PEX_L1_CLKREQ_N,PD6,   PEXCTL, PE1,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x33d0),\
+       PINGROUP(HDMI_CEC,      PE3,    HV,     CEC,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x33e0),\
+       PINGROUP(SDMMC1_WP_N,   PV3,    SDMMC1, SDMMC1,         CLK12,          SPI4,           UARTA,          RSVD,           INPUT,  0x33e4),\
+       PINGROUP(SDMMC3_CD_N,   PV2,    SYS,    SDMMC3,         RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x33e8),\
+       PINGROUP(GPIO_W2_AUD,   PW2,    AUDIO,  SPI6,           RSVD1,          SPI2,           I2C1,           RSVD,           INPUT,  0x33ec),\
+       PINGROUP(GPIO_W3_AUD,   PW3,    AUDIO,  SPI6,           SPI1,           SPI2,           I2C1,           RSVD,           INPUT,  0x33f0),\
+       PINGROUP(USB_VBUS_EN0,  PN4,    HV,     USB,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x33f4),\
+       PINGROUP(USB_VBUS_EN1,  PN5,    HV,     USB,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x33f8),\
+       PINGROUP(SDMMC3_CLK_LB_OUT,PE4, SDMMC3, SDMMC3,         RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x33fc),\
+       PINGROUP(SDMMC3_CLK_LB_IN,PE5,  SDMMC3, SDMMC3,         RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3400),\
+       PINGROUP(GMI_CLK_LB,    INVALID,SYS,    SDMMC2,         RSVD1,          GMI,            RSVD3,          RSVD,           INPUT,  0x3404),\
+       PINGROUP(RESET_OUT_N,   INVALID,SYS,    RSVD0,          RSVD1,          RSVD2,          RESET_OUT_N,    RSVD,           INPUT,  0x3408),\
+       PINGROUP(KB_ROW16,      PT0,    SYS,    KBC,            RSVD1,          RSVD2,          UARTC,          RSVD,           INPUT,  0x340c),\
+       PINGROUP(KB_ROW17,      PT1,    SYS,    KBC,            RSVD1,          RSVD2,          UARTC,          RSVD,           INPUT,  0x3410),\
+       PINGROUP(USB_VBUS_EN2,  PF1,    PEXCTL, USB,            RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3414),\
+       PINGROUP(GPIO_PFF2,     PF2,    PEXCTL, SATA,           RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3418),\
+       PINGROUP(DP_HPD,        PF0,    HV,     DP,             RSVD1,          RSVD2,          RSVD3,          RSVD,           INPUT,  0x3430),\
+
+#endif
+
 const struct tegra_pingroup_desc tegra_soc_pingroups[TEGRA_MAX_PINGROUP] = {
        PINGROUPS
 };