Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | /* |
| 8 | * THIS FILE IS AUTO-GENERATED - DO NOT EDIT! |
| 9 | * |
| 10 | * To generate this file, use the tegra-pinmux-scripts tool available from |
| 11 | * https://github.com/NVIDIA/tegra-pinmux-scripts |
| 12 | * Run "board-to-uboot.py p2371-2180". |
| 13 | */ |
| 14 | |
| 15 | #ifndef _PINMUX_CONFIG_P2371_2180_H_ |
| 16 | #define _PINMUX_CONFIG_P2371_2180_H_ |
| 17 | |
Stephen Warren | 7f20bb2 | 2016-05-12 12:07:39 -0600 | [diff] [blame] | 18 | #define GPIO_INIT(_port, _gpio, _init) \ |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 19 | { \ |
Stephen Warren | 7f20bb2 | 2016-05-12 12:07:39 -0600 | [diff] [blame] | 20 | .gpio = TEGRA_GPIO(_port, _gpio), \ |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 21 | .init = TEGRA_GPIO_INIT_##_init, \ |
| 22 | } |
| 23 | |
| 24 | static const struct tegra_gpio_config p2371_2180_gpio_inits[] = { |
Stephen Warren | 7f20bb2 | 2016-05-12 12:07:39 -0600 | [diff] [blame] | 25 | /* port, pin, init_val */ |
| 26 | GPIO_INIT(A, 5, IN), |
| 27 | GPIO_INIT(B, 0, IN), |
| 28 | GPIO_INIT(B, 1, IN), |
| 29 | GPIO_INIT(B, 2, IN), |
| 30 | GPIO_INIT(B, 3, IN), |
| 31 | GPIO_INIT(C, 0, IN), |
| 32 | GPIO_INIT(C, 1, IN), |
| 33 | GPIO_INIT(C, 2, IN), |
| 34 | GPIO_INIT(C, 3, IN), |
| 35 | GPIO_INIT(C, 4, IN), |
| 36 | GPIO_INIT(E, 4, IN), |
| 37 | GPIO_INIT(E, 5, IN), |
| 38 | GPIO_INIT(E, 6, IN), |
| 39 | GPIO_INIT(H, 0, OUT0), |
| 40 | GPIO_INIT(H, 1, OUT0), |
| 41 | GPIO_INIT(H, 2, IN), |
| 42 | GPIO_INIT(H, 3, OUT0), |
| 43 | GPIO_INIT(H, 4, OUT0), |
| 44 | GPIO_INIT(H, 5, IN), |
| 45 | GPIO_INIT(H, 6, IN), |
| 46 | GPIO_INIT(H, 7, IN), |
| 47 | GPIO_INIT(I, 0, OUT0), |
| 48 | GPIO_INIT(I, 1, IN), |
| 49 | GPIO_INIT(I, 2, OUT0), |
| 50 | GPIO_INIT(K, 4, IN), |
| 51 | GPIO_INIT(K, 5, OUT0), |
| 52 | GPIO_INIT(K, 6, IN), |
| 53 | GPIO_INIT(K, 7, IN), |
| 54 | GPIO_INIT(L, 1, IN), |
| 55 | GPIO_INIT(S, 4, OUT0), |
| 56 | GPIO_INIT(S, 5, OUT0), |
| 57 | GPIO_INIT(S, 6, OUT0), |
| 58 | GPIO_INIT(S, 7, OUT0), |
| 59 | GPIO_INIT(T, 0, OUT0), |
| 60 | GPIO_INIT(T, 1, OUT0), |
| 61 | GPIO_INIT(U, 2, IN), |
| 62 | GPIO_INIT(U, 3, IN), |
| 63 | GPIO_INIT(V, 1, OUT0), |
| 64 | GPIO_INIT(V, 2, OUT0), |
| 65 | GPIO_INIT(V, 3, IN), |
| 66 | GPIO_INIT(V, 5, OUT0), |
| 67 | GPIO_INIT(V, 6, OUT0), |
| 68 | GPIO_INIT(X, 0, IN), |
| 69 | GPIO_INIT(X, 1, IN), |
| 70 | GPIO_INIT(X, 2, IN), |
| 71 | GPIO_INIT(X, 3, IN), |
| 72 | GPIO_INIT(X, 4, IN), |
| 73 | GPIO_INIT(X, 5, IN), |
| 74 | GPIO_INIT(X, 6, IN), |
| 75 | GPIO_INIT(X, 7, IN), |
| 76 | GPIO_INIT(Y, 0, IN), |
| 77 | GPIO_INIT(Y, 1, IN), |
| 78 | GPIO_INIT(Z, 0, IN), |
| 79 | GPIO_INIT(Z, 2, IN), |
| 80 | GPIO_INIT(Z, 3, OUT0), |
| 81 | GPIO_INIT(BB, 0, IN), |
| 82 | GPIO_INIT(BB, 2, OUT0), |
| 83 | GPIO_INIT(BB, 3, IN), |
| 84 | GPIO_INIT(CC, 1, IN), |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 85 | }; |
| 86 | |
| 87 | #define PINCFG(_pingrp, _mux, _pull, _tri, _io, _od, _e_io_hv) \ |
| 88 | { \ |
| 89 | .pingrp = PMUX_PINGRP_##_pingrp, \ |
| 90 | .func = PMUX_FUNC_##_mux, \ |
| 91 | .pull = PMUX_PULL_##_pull, \ |
| 92 | .tristate = PMUX_TRI_##_tri, \ |
| 93 | .io = PMUX_PIN_##_io, \ |
| 94 | .od = PMUX_PIN_OD_##_od, \ |
| 95 | .e_io_hv = PMUX_PIN_E_IO_HV_##_e_io_hv, \ |
| 96 | .lock = PMUX_PIN_LOCK_DEFAULT, \ |
| 97 | } |
| 98 | |
| 99 | static const struct pmux_pingrp_config p2371_2180_pingrps[] = { |
| 100 | /* pingrp, mux, pull, tri, e_input, od, e_io_hv */ |
| 101 | PINCFG(PEX_L0_RST_N_PA0, PE0, NORMAL, NORMAL, OUTPUT, DISABLE, HIGH), |
| 102 | PINCFG(PEX_L0_CLKREQ_N_PA1, PE0, NORMAL, NORMAL, INPUT, DISABLE, HIGH), |
| 103 | PINCFG(PEX_WAKE_N_PA2, PE, NORMAL, NORMAL, INPUT, DISABLE, HIGH), |
| 104 | PINCFG(PEX_L1_RST_N_PA3, PE1, NORMAL, NORMAL, OUTPUT, DISABLE, HIGH), |
| 105 | PINCFG(PEX_L1_CLKREQ_N_PA4, PE1, NORMAL, NORMAL, INPUT, DISABLE, HIGH), |
| 106 | PINCFG(SATA_LED_ACTIVE_PA5, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 107 | PINCFG(PA6, SATA, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
Stephen Warren | 4625232 | 2015-09-21 16:45:22 -0600 | [diff] [blame] | 108 | PINCFG(DAP1_FS_PB0, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 109 | PINCFG(DAP1_DIN_PB1, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 110 | PINCFG(DAP1_DOUT_PB2, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 111 | PINCFG(DAP1_SCLK_PB3, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 112 | PINCFG(SPI2_MOSI_PB4, SPI2, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 113 | PINCFG(SPI2_MISO_PB5, SPI2, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 114 | PINCFG(SPI2_SCK_PB6, SPI2, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 115 | PINCFG(SPI2_CS0_PB7, SPI2, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 4625232 | 2015-09-21 16:45:22 -0600 | [diff] [blame] | 116 | PINCFG(SPI1_MOSI_PC0, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 117 | PINCFG(SPI1_MISO_PC1, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 118 | PINCFG(SPI1_SCK_PC2, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 119 | PINCFG(SPI1_CS0_PC3, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 120 | PINCFG(SPI1_CS1_PC4, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 121 | PINCFG(SPI4_SCK_PC5, SPI4, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 122 | PINCFG(SPI4_CS0_PC6, SPI4, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 123 | PINCFG(SPI4_MOSI_PC7, SPI4, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 124 | PINCFG(SPI4_MISO_PD0, SPI4, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 125 | PINCFG(UART3_TX_PD1, UARTC, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 126 | PINCFG(UART3_RX_PD2, UARTC, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 127 | PINCFG(UART3_RTS_PD3, UARTC, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 128 | PINCFG(UART3_CTS_PD4, UARTC, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 129 | PINCFG(DMIC1_CLK_PE0, I2S3, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 130 | PINCFG(DMIC1_DAT_PE1, I2S3, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 131 | PINCFG(DMIC2_CLK_PE2, I2S3, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 132 | PINCFG(DMIC2_DAT_PE3, I2S3, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 4625232 | 2015-09-21 16:45:22 -0600 | [diff] [blame] | 133 | PINCFG(DMIC3_CLK_PE4, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 134 | PINCFG(DMIC3_DAT_PE5, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 135 | PINCFG(PE6, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 136 | PINCFG(PE7, PWM3, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 137 | PINCFG(GEN3_I2C_SCL_PF0, I2C3, NORMAL, NORMAL, INPUT, DISABLE, NORMAL), |
| 138 | PINCFG(GEN3_I2C_SDA_PF1, I2C3, NORMAL, NORMAL, INPUT, DISABLE, NORMAL), |
| 139 | PINCFG(UART2_TX_PG0, UARTB, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 140 | PINCFG(UART2_RX_PG1, UARTB, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 141 | PINCFG(UART2_RTS_PG2, UARTB, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 142 | PINCFG(UART2_CTS_PG3, UARTB, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 143 | PINCFG(WIFI_EN_PH0, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 144 | PINCFG(WIFI_RST_PH1, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 145 | PINCFG(WIFI_WAKE_AP_PH2, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 146 | PINCFG(AP_WAKE_BT_PH3, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 147 | PINCFG(BT_RST_PH4, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 148 | PINCFG(BT_WAKE_AP_PH5, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 149 | PINCFG(PH6, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 4625232 | 2015-09-21 16:45:22 -0600 | [diff] [blame] | 150 | PINCFG(AP_WAKE_NFC_PH7, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 151 | PINCFG(NFC_EN_PI0, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 152 | PINCFG(NFC_INT_PI1, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 153 | PINCFG(GPS_EN_PI2, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 154 | PINCFG(GPS_RST_PI3, RSVD0, DOWN, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 155 | PINCFG(UART4_TX_PI4, UARTD, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 156 | PINCFG(UART4_RX_PI5, UARTD, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 157 | PINCFG(UART4_RTS_PI6, UARTD, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 158 | PINCFG(UART4_CTS_PI7, UARTD, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 159 | PINCFG(GEN1_I2C_SDA_PJ0, I2C1, NORMAL, NORMAL, INPUT, DISABLE, NORMAL), |
| 160 | PINCFG(GEN1_I2C_SCL_PJ1, I2C1, NORMAL, NORMAL, INPUT, DISABLE, NORMAL), |
| 161 | PINCFG(GEN2_I2C_SCL_PJ2, I2C2, NORMAL, NORMAL, INPUT, DISABLE, HIGH), |
| 162 | PINCFG(GEN2_I2C_SDA_PJ3, I2C2, NORMAL, NORMAL, INPUT, DISABLE, HIGH), |
| 163 | PINCFG(DAP4_FS_PJ4, I2S4B, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 164 | PINCFG(DAP4_DIN_PJ5, I2S4B, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 165 | PINCFG(DAP4_DOUT_PJ6, I2S4B, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 166 | PINCFG(DAP4_SCLK_PJ7, I2S4B, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 167 | PINCFG(PK0, I2S5B, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 168 | PINCFG(PK1, I2S5B, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 169 | PINCFG(PK2, I2S5B, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 170 | PINCFG(PK3, I2S5B, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 171 | PINCFG(PK4, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 172 | PINCFG(PK5, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 173 | PINCFG(PK6, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 174 | PINCFG(PK7, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 175 | PINCFG(PL0, RSVD0, DOWN, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 176 | PINCFG(PL1, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 177 | PINCFG(SDMMC1_CLK_PM0, SDMMC1, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 178 | PINCFG(SDMMC1_CMD_PM1, SDMMC1, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 179 | PINCFG(SDMMC1_DAT3_PM2, SDMMC1, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 180 | PINCFG(SDMMC1_DAT2_PM3, SDMMC1, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 181 | PINCFG(SDMMC1_DAT1_PM4, SDMMC1, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 182 | PINCFG(SDMMC1_DAT0_PM5, SDMMC1, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 183 | PINCFG(SDMMC3_CLK_PP0, SDMMC3, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 184 | PINCFG(SDMMC3_CMD_PP1, SDMMC3, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 185 | PINCFG(SDMMC3_DAT3_PP2, SDMMC3, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 186 | PINCFG(SDMMC3_DAT2_PP3, SDMMC3, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 187 | PINCFG(SDMMC3_DAT1_PP4, SDMMC3, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 188 | PINCFG(SDMMC3_DAT0_PP5, SDMMC3, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 189 | PINCFG(CAM1_MCLK_PS0, EXTPERIPH3, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 190 | PINCFG(CAM2_MCLK_PS1, EXTPERIPH3, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 191 | PINCFG(CAM_I2C_SCL_PS2, I2CVI, NORMAL, NORMAL, INPUT, DISABLE, NORMAL), |
| 192 | PINCFG(CAM_I2C_SDA_PS3, I2CVI, NORMAL, NORMAL, INPUT, DISABLE, NORMAL), |
| 193 | PINCFG(CAM_RST_PS4, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 194 | PINCFG(CAM_AF_EN_PS5, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 195 | PINCFG(CAM_FLASH_EN_PS6, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 196 | PINCFG(CAM1_PWDN_PS7, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 197 | PINCFG(CAM2_PWDN_PT0, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 198 | PINCFG(CAM1_STROBE_PT1, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 199 | PINCFG(UART1_TX_PU0, UARTA, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 200 | PINCFG(UART1_RX_PU1, UARTA, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 4625232 | 2015-09-21 16:45:22 -0600 | [diff] [blame] | 201 | PINCFG(UART1_RTS_PU2, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 202 | PINCFG(UART1_CTS_PU3, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 203 | PINCFG(LCD_BL_PWM_PV0, PWM0, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 204 | PINCFG(LCD_BL_EN_PV1, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 205 | PINCFG(LCD_RST_PV2, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 206 | PINCFG(LCD_GPIO1_PV3, DEFAULT, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 207 | PINCFG(LCD_GPIO2_PV4, PWM1, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 208 | PINCFG(AP_READY_PV5, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 209 | PINCFG(TOUCH_RST_PV6, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 210 | PINCFG(TOUCH_CLK_PV7, TOUCH, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
Stephen Warren | 4625232 | 2015-09-21 16:45:22 -0600 | [diff] [blame] | 211 | PINCFG(MODEM_WAKE_AP_PX0, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 212 | PINCFG(TOUCH_INT_PX1, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 213 | PINCFG(MOTION_INT_PX2, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 4625232 | 2015-09-21 16:45:22 -0600 | [diff] [blame] | 214 | PINCFG(ALS_PROX_INT_PX3, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 215 | PINCFG(TEMP_ALERT_PX4, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 216 | PINCFG(BUTTON_POWER_ON_PX5, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 217 | PINCFG(BUTTON_VOL_UP_PX6, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 218 | PINCFG(BUTTON_VOL_DOWN_PX7, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 219 | PINCFG(BUTTON_SLIDE_SW_PY0, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 220 | PINCFG(BUTTON_HOME_PY1, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 221 | PINCFG(LCD_TE_PY2, DISPLAYA, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 222 | PINCFG(PWR_I2C_SCL_PY3, I2CPMU, NORMAL, NORMAL, INPUT, DISABLE, NORMAL), |
| 223 | PINCFG(PWR_I2C_SDA_PY4, I2CPMU, NORMAL, NORMAL, INPUT, DISABLE, NORMAL), |
| 224 | PINCFG(CLK_32K_OUT_PY5, SOC, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 225 | PINCFG(PZ0, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 226 | PINCFG(PZ1, SDMMC1, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 227 | PINCFG(PZ2, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 228 | PINCFG(PZ3, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 229 | PINCFG(PZ4, SDMMC1, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 230 | PINCFG(PZ5, SOC, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 231 | PINCFG(DAP2_FS_PAA0, I2S2, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 232 | PINCFG(DAP2_SCLK_PAA1, I2S2, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 233 | PINCFG(DAP2_DIN_PAA2, I2S2, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 234 | PINCFG(DAP2_DOUT_PAA3, I2S2, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 4625232 | 2015-09-21 16:45:22 -0600 | [diff] [blame] | 235 | PINCFG(AUD_MCLK_PBB0, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 236 | PINCFG(DVFS_PWM_PBB1, CLDVFS, NORMAL, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 237 | PINCFG(DVFS_CLK_PBB2, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
Stephen Warren | 4625232 | 2015-09-21 16:45:22 -0600 | [diff] [blame] | 238 | PINCFG(GPIO_X1_AUD_PBB3, DEFAULT, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 239 | PINCFG(GPIO_X3_AUD_PBB4, RSVD0, DOWN, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 240 | PINCFG(HDMI_CEC_PCC0, CEC, NORMAL, NORMAL, INPUT, DISABLE, HIGH), |
| 241 | PINCFG(HDMI_INT_DP_HPD_PCC1, DEFAULT, DOWN, NORMAL, INPUT, DISABLE, NORMAL), |
| 242 | PINCFG(SPDIF_OUT_PCC2, RSVD1, DOWN, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 243 | PINCFG(SPDIF_IN_PCC3, RSVD1, DOWN, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 244 | PINCFG(USB_VBUS_EN0_PCC4, USB, NORMAL, NORMAL, INPUT, DISABLE, HIGH), |
| 245 | PINCFG(USB_VBUS_EN1_PCC5, USB, NORMAL, NORMAL, INPUT, DISABLE, HIGH), |
| 246 | PINCFG(DP_HPD0_PCC6, DP, DOWN, NORMAL, INPUT, DISABLE, DEFAULT), |
| 247 | PINCFG(PCC7, RSVD0, DOWN, TRISTATE, OUTPUT, DISABLE, NORMAL), |
| 248 | PINCFG(SPI2_CS1_PDD0, SPI2, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 249 | PINCFG(QSPI_SCK_PEE0, RSVD1, DOWN, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 250 | PINCFG(QSPI_CS_N_PEE1, RSVD1, DOWN, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 251 | PINCFG(QSPI_IO0_PEE2, RSVD1, DOWN, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 252 | PINCFG(QSPI_IO1_PEE3, RSVD1, DOWN, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 253 | PINCFG(QSPI_IO2_PEE4, RSVD1, DOWN, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 254 | PINCFG(QSPI_IO3_PEE5, RSVD1, DOWN, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 255 | PINCFG(CORE_PWR_REQ, CORE, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 256 | PINCFG(CPU_PWR_REQ, CPU, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 257 | PINCFG(PWR_INT_N, PMI, UP, NORMAL, INPUT, DISABLE, DEFAULT), |
| 258 | PINCFG(CLK_32K_IN, CLK, NORMAL, NORMAL, INPUT, DISABLE, DEFAULT), |
| 259 | PINCFG(JTAG_RTCK, JTAG, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 260 | PINCFG(CLK_REQ, RSVD1, DOWN, TRISTATE, OUTPUT, DISABLE, DEFAULT), |
| 261 | PINCFG(SHUTDOWN, SHUTDOWN, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT), |
| 262 | }; |
| 263 | |
| 264 | #define DRVCFG(_drvgrp, _slwf, _slwr, _drvup, _drvdn, _lpmd, _schmt, _hsm) \ |
| 265 | { \ |
| 266 | .drvgrp = PMUX_DRVGRP_##_drvgrp, \ |
| 267 | .slwf = _slwf, \ |
| 268 | .slwr = _slwr, \ |
| 269 | .drvup = _drvup, \ |
| 270 | .drvdn = _drvdn, \ |
| 271 | .lpmd = PMUX_LPMD_##_lpmd, \ |
| 272 | .schmt = PMUX_SCHMT_##_schmt, \ |
| 273 | .hsm = PMUX_HSM_##_hsm, \ |
| 274 | } |
| 275 | |
| 276 | static const struct pmux_drvgrp_config p2371_2180_drvgrps[] = { |
| 277 | }; |
| 278 | |
| 279 | #endif /* PINMUX_CONFIG_P2371_2180_H */ |