xref: /openbmc/u-boot/board/nvidia/nyan-big/pinmux-config-nyan-big.h (revision 83d290c56fab2d38cd1ab4c4cc7099559c1d5046)
1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */
2a6c7b461SAllen Martin /*
36a6800bfSSimon Glass  * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
4a6c7b461SAllen Martin  */
5a6c7b461SAllen Martin 
695486f84SStephen Warren /*
795486f84SStephen Warren  * THIS FILE IS AUTO-GENERATED - DO NOT EDIT!
895486f84SStephen Warren  *
995486f84SStephen Warren  * To generate this file, use the tegra-pinmux-scripts tool available from
1095486f84SStephen Warren  * https://github.com/NVIDIA/tegra-pinmux-scripts
1195486f84SStephen Warren  * Run "board-to-uboot.py nyan-big".
1295486f84SStephen Warren  */
1395486f84SStephen Warren 
14a6c7b461SAllen Martin #ifndef _PINMUX_CONFIG_NYAN_BIG_H_
15a6c7b461SAllen Martin #define _PINMUX_CONFIG_NYAN_BIG_H_
16a6c7b461SAllen Martin 
1701a97a11SStephen Warren #define GPIO_INIT(_port, _gpio, _init)			\
18a6c7b461SAllen Martin 	{						\
1901a97a11SStephen Warren 		.gpio	= TEGRA_GPIO(_port, _gpio),	\
20a6c7b461SAllen Martin 		.init	= TEGRA_GPIO_INIT_##_init,	\
21a6c7b461SAllen Martin 	}
22a6c7b461SAllen Martin 
23a6c7b461SAllen Martin static const struct tegra_gpio_config nyan_big_gpio_inits[] = {
2401a97a11SStephen Warren 	/*        port, pin, init_val */
2501a97a11SStephen Warren 	GPIO_INIT(A,    0,   IN),
2601a97a11SStephen Warren 	GPIO_INIT(C,    7,   IN),
2701a97a11SStephen Warren 	GPIO_INIT(G,    0,   IN),
2801a97a11SStephen Warren 	GPIO_INIT(G,    1,   IN),
2901a97a11SStephen Warren 	GPIO_INIT(G,    2,   IN),
3001a97a11SStephen Warren 	GPIO_INIT(G,    3,   IN),
3101a97a11SStephen Warren 	GPIO_INIT(H,    2,   IN),
3201a97a11SStephen Warren 	GPIO_INIT(H,    4,   IN),
3301a97a11SStephen Warren 	GPIO_INIT(H,    6,   IN),
3401a97a11SStephen Warren 	GPIO_INIT(H,    7,   OUT1),
3501a97a11SStephen Warren 	GPIO_INIT(I,    0,   IN),
3601a97a11SStephen Warren 	GPIO_INIT(I,    1,   IN),
3701a97a11SStephen Warren 	GPIO_INIT(I,    5,   OUT1),
3801a97a11SStephen Warren 	GPIO_INIT(I,    6,   IN),
3901a97a11SStephen Warren 	GPIO_INIT(I,    7,   IN),
4001a97a11SStephen Warren 	GPIO_INIT(J,    0,   IN),
4101a97a11SStephen Warren 	GPIO_INIT(J,    7,   IN),
4201a97a11SStephen Warren 	GPIO_INIT(K,    1,   OUT0),
4301a97a11SStephen Warren 	GPIO_INIT(K,    2,   IN),
4401a97a11SStephen Warren 	GPIO_INIT(K,    4,   OUT0),
4501a97a11SStephen Warren 	GPIO_INIT(K,    6,   OUT0),
4601a97a11SStephen Warren 	GPIO_INIT(K,    7,   IN),
4701a97a11SStephen Warren 	GPIO_INIT(N,    7,   IN),
4801a97a11SStephen Warren 	GPIO_INIT(P,    2,   OUT0),
4901a97a11SStephen Warren 	GPIO_INIT(Q,    0,   IN),
5001a97a11SStephen Warren 	GPIO_INIT(Q,    2,   IN),
5101a97a11SStephen Warren 	GPIO_INIT(Q,    3,   IN),
5201a97a11SStephen Warren 	GPIO_INIT(Q,    6,   IN),
5301a97a11SStephen Warren 	GPIO_INIT(Q,    7,   IN),
5401a97a11SStephen Warren 	GPIO_INIT(R,    0,   OUT0),
5501a97a11SStephen Warren 	GPIO_INIT(R,    1,   IN),
5601a97a11SStephen Warren 	GPIO_INIT(R,    4,   IN),
5701a97a11SStephen Warren 	GPIO_INIT(R,    7,   IN),
5801a97a11SStephen Warren 	GPIO_INIT(S,    3,   OUT0),
5901a97a11SStephen Warren 	GPIO_INIT(S,    4,   OUT0),
6001a97a11SStephen Warren 	GPIO_INIT(S,    7,   IN),
6101a97a11SStephen Warren 	GPIO_INIT(T,    1,   IN),
6201a97a11SStephen Warren 	GPIO_INIT(U,    4,   IN),
6301a97a11SStephen Warren 	GPIO_INIT(U,    5,   IN),
6401a97a11SStephen Warren 	GPIO_INIT(U,    6,   IN),
6501a97a11SStephen Warren 	GPIO_INIT(V,    0,   IN),
6601a97a11SStephen Warren 	GPIO_INIT(W,    3,   IN),
6701a97a11SStephen Warren 	GPIO_INIT(X,    1,   IN),
6801a97a11SStephen Warren 	GPIO_INIT(X,    4,   IN),
6901a97a11SStephen Warren 	GPIO_INIT(X,    7,   OUT0),
70a6c7b461SAllen Martin };
71a6c7b461SAllen Martin 
72a6c7b461SAllen Martin #define PINCFG(_pingrp, _mux, _pull, _tri, _io, _od, _rcv_sel)	\
73a6c7b461SAllen Martin 	{							\
74a6c7b461SAllen Martin 		.pingrp		= PMUX_PINGRP_##_pingrp,	\
75a6c7b461SAllen Martin 		.func		= PMUX_FUNC_##_mux,		\
76a6c7b461SAllen Martin 		.pull		= PMUX_PULL_##_pull,		\
77a6c7b461SAllen Martin 		.tristate	= PMUX_TRI_##_tri,		\
78a6c7b461SAllen Martin 		.io		= PMUX_PIN_##_io,		\
79a6c7b461SAllen Martin 		.od		= PMUX_PIN_OD_##_od,		\
80a6c7b461SAllen Martin 		.rcv_sel	= PMUX_PIN_RCV_SEL_##_rcv_sel,	\
81a6c7b461SAllen Martin 		.lock		= PMUX_PIN_LOCK_DEFAULT,	\
82a6c7b461SAllen Martin 		.ioreset	= PMUX_PIN_IO_RESET_DEFAULT,	\
83a6c7b461SAllen Martin 	}
84a6c7b461SAllen Martin 
85a6c7b461SAllen Martin static const struct pmux_pingrp_config nyan_big_pingrps[] = {
86a6c7b461SAllen Martin 	/*     pingrp,                 mux,         pull,   tri,      e_input, od,      rcv_sel */
87a6c7b461SAllen Martin 	PINCFG(CLK_32K_OUT_PA0,        DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
88a6c7b461SAllen Martin 	PINCFG(UART3_CTS_N_PA1,        GMI,         DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
89a6c7b461SAllen Martin 	PINCFG(DAP2_FS_PA2,            I2S1,        NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
90a6c7b461SAllen Martin 	PINCFG(DAP2_SCLK_PA3,          I2S1,        NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
91a6c7b461SAllen Martin 	PINCFG(DAP2_DIN_PA4,           I2S1,        NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
92a6c7b461SAllen Martin 	PINCFG(DAP2_DOUT_PA5,          I2S1,        NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
93a6c7b461SAllen Martin 	PINCFG(SDMMC3_CLK_PA6,         SDMMC3,      NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
94a6c7b461SAllen Martin 	PINCFG(SDMMC3_CMD_PA7,         SDMMC3,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
95a6c7b461SAllen Martin 	PINCFG(PB0,                    RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
96a6c7b461SAllen Martin 	PINCFG(PB1,                    RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
97a6c7b461SAllen Martin 	PINCFG(SDMMC3_DAT3_PB4,        SDMMC3,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
98a6c7b461SAllen Martin 	PINCFG(SDMMC3_DAT2_PB5,        SDMMC3,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
99a6c7b461SAllen Martin 	PINCFG(SDMMC3_DAT1_PB6,        SDMMC3,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
100a6c7b461SAllen Martin 	PINCFG(SDMMC3_DAT0_PB7,        SDMMC3,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
101a6c7b461SAllen Martin 	PINCFG(UART3_RTS_N_PC0,        GMI,         DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
102a6c7b461SAllen Martin 	PINCFG(UART2_TXD_PC2,          IRDA,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
103a6c7b461SAllen Martin 	PINCFG(UART2_RXD_PC3,          IRDA,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
104a6c7b461SAllen Martin 	PINCFG(GEN1_I2C_SCL_PC4,       I2C1,        NORMAL, NORMAL,   INPUT,   ENABLE,  DEFAULT),
105a6c7b461SAllen Martin 	PINCFG(GEN1_I2C_SDA_PC5,       I2C1,        NORMAL, NORMAL,   INPUT,   ENABLE,  DEFAULT),
106a6c7b461SAllen Martin 	PINCFG(PC7,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
107a6c7b461SAllen Martin 	PINCFG(PG0,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
108a6c7b461SAllen Martin 	PINCFG(PG1,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
109a6c7b461SAllen Martin 	PINCFG(PG2,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
110a6c7b461SAllen Martin 	PINCFG(PG3,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
111a6c7b461SAllen Martin 	PINCFG(PG4,                    SPI4,        NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
112a6c7b461SAllen Martin 	PINCFG(PG5,                    SPI4,        NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
113a6c7b461SAllen Martin 	PINCFG(PG6,                    SPI4,        NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
114a6c7b461SAllen Martin 	PINCFG(PG7,                    SPI4,        NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
115a6c7b461SAllen Martin 	PINCFG(PH0,                    GMI,         DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
116a6c7b461SAllen Martin 	PINCFG(PH1,                    PWM1,        NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
117a6c7b461SAllen Martin 	PINCFG(PH2,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
118a6c7b461SAllen Martin 	PINCFG(PH3,                    GMI,         DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
119a6c7b461SAllen Martin 	PINCFG(PH4,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
120a6c7b461SAllen Martin 	PINCFG(PH5,                    RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
121a6c7b461SAllen Martin 	PINCFG(PH6,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
122a6c7b461SAllen Martin 	PINCFG(PH7,                    DEFAULT,     NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
123a6c7b461SAllen Martin 	PINCFG(PI0,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
124a6c7b461SAllen Martin 	PINCFG(PI1,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
125a6c7b461SAllen Martin 	PINCFG(PI2,                    RSVD4,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
126a6c7b461SAllen Martin 	PINCFG(PI3,                    SPI4,        NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
127a6c7b461SAllen Martin 	PINCFG(PI4,                    GMI,         DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
128a6c7b461SAllen Martin 	PINCFG(PI5,                    DEFAULT,     UP,     NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
129a6c7b461SAllen Martin 	PINCFG(PI6,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
130a6c7b461SAllen Martin 	PINCFG(PI7,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
131a6c7b461SAllen Martin 	PINCFG(PJ0,                    DEFAULT,     UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
132a6c7b461SAllen Martin 	PINCFG(PJ2,                    RSVD1,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
133a6c7b461SAllen Martin 	PINCFG(UART2_CTS_N_PJ5,        GMI,         DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
134a6c7b461SAllen Martin 	PINCFG(UART2_RTS_N_PJ6,        GMI,         DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
135a6c7b461SAllen Martin 	PINCFG(PJ7,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
136a6c7b461SAllen Martin 	PINCFG(PK0,                    RSVD1,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
137a6c7b461SAllen Martin 	PINCFG(PK1,                    DEFAULT,     NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
138a6c7b461SAllen Martin 	PINCFG(PK2,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
139a6c7b461SAllen Martin 	PINCFG(PK3,                    GMI,         DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
140a6c7b461SAllen Martin 	PINCFG(PK4,                    DEFAULT,     UP,     NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
141a6c7b461SAllen Martin 	PINCFG(SPDIF_OUT_PK5,          RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
142a6c7b461SAllen Martin 	PINCFG(SPDIF_IN_PK6,           DEFAULT,     DOWN,   NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
143a6c7b461SAllen Martin 	PINCFG(PK7,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
144a6c7b461SAllen Martin 	PINCFG(DAP1_FS_PN0,            RSVD4,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
145a6c7b461SAllen Martin 	PINCFG(DAP1_DIN_PN1,           RSVD4,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
146a6c7b461SAllen Martin 	PINCFG(DAP1_DOUT_PN2,          I2S0,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
147a6c7b461SAllen Martin 	PINCFG(DAP1_SCLK_PN3,          RSVD4,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
148a6c7b461SAllen Martin 	PINCFG(USB_VBUS_EN0_PN4,       USB,         NORMAL, NORMAL,   INPUT,   ENABLE,  DEFAULT),
149a6c7b461SAllen Martin 	PINCFG(USB_VBUS_EN1_PN5,       USB,         NORMAL, NORMAL,   INPUT,   ENABLE,  DEFAULT),
150a6c7b461SAllen Martin 	PINCFG(HDMI_INT_PN7,           DEFAULT,     DOWN,   NORMAL,   INPUT,   DEFAULT, NORMAL),
151a6c7b461SAllen Martin 	PINCFG(ULPI_DATA7_PO0,         ULPI,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
152a6c7b461SAllen Martin 	PINCFG(ULPI_DATA0_PO1,         ULPI,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
153a6c7b461SAllen Martin 	PINCFG(ULPI_DATA1_PO2,         ULPI,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
154a6c7b461SAllen Martin 	PINCFG(ULPI_DATA2_PO3,         ULPI,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
155a6c7b461SAllen Martin 	PINCFG(ULPI_DATA3_PO4,         ULPI,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
156a6c7b461SAllen Martin 	PINCFG(ULPI_DATA4_PO5,         ULPI,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
157a6c7b461SAllen Martin 	PINCFG(ULPI_DATA5_PO6,         ULPI,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
158a6c7b461SAllen Martin 	PINCFG(ULPI_DATA6_PO7,         ULPI,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
159a6c7b461SAllen Martin 	PINCFG(DAP3_FS_PP0,            I2S2,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
160a6c7b461SAllen Martin 	PINCFG(DAP3_DIN_PP1,           I2S2,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
161a6c7b461SAllen Martin 	PINCFG(DAP3_DOUT_PP2,          DEFAULT,     NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
162a6c7b461SAllen Martin 	PINCFG(DAP3_SCLK_PP3,          RSVD3,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
163a6c7b461SAllen Martin 	PINCFG(DAP4_FS_PP4,            RSVD4,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
164a6c7b461SAllen Martin 	PINCFG(DAP4_DIN_PP5,           RSVD3,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
165a6c7b461SAllen Martin 	PINCFG(DAP4_DOUT_PP6,          RSVD4,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
166a6c7b461SAllen Martin 	PINCFG(DAP4_SCLK_PP7,          RSVD3,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
167a6c7b461SAllen Martin 	PINCFG(KB_COL0_PQ0,            DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
168a6c7b461SAllen Martin 	PINCFG(KB_COL1_PQ1,            RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
169a6c7b461SAllen Martin 	PINCFG(KB_COL2_PQ2,            DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
170a6c7b461SAllen Martin 	PINCFG(KB_COL3_PQ3,            DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
171a6c7b461SAllen Martin 	PINCFG(KB_COL4_PQ4,            SDMMC3,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
172a6c7b461SAllen Martin 	PINCFG(KB_COL5_PQ5,            RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
173a6c7b461SAllen Martin 	PINCFG(KB_COL6_PQ6,            DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
174a6c7b461SAllen Martin 	PINCFG(KB_COL7_PQ7,            DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
175a6c7b461SAllen Martin 	PINCFG(KB_ROW0_PR0,            DEFAULT,     NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
176a6c7b461SAllen Martin 	PINCFG(KB_ROW1_PR1,            DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
177a6c7b461SAllen Martin 	PINCFG(KB_ROW2_PR2,            RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
178a6c7b461SAllen Martin 	PINCFG(KB_ROW3_PR3,            KBC,         DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
179a6c7b461SAllen Martin 	PINCFG(KB_ROW4_PR4,            DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
180a6c7b461SAllen Martin 	PINCFG(KB_ROW5_PR5,            RSVD3,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
181a6c7b461SAllen Martin 	PINCFG(KB_ROW6_PR6,            KBC,         DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
182a6c7b461SAllen Martin 	PINCFG(KB_ROW7_PR7,            DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
183a6c7b461SAllen Martin 	PINCFG(KB_ROW8_PS0,            RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
184a6c7b461SAllen Martin 	PINCFG(KB_ROW9_PS1,            UARTA,       DOWN,   NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
185a6c7b461SAllen Martin 	PINCFG(KB_ROW10_PS2,           UARTA,       NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
186a6c7b461SAllen Martin 	PINCFG(KB_ROW11_PS3,           DEFAULT,     NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
187a6c7b461SAllen Martin 	PINCFG(KB_ROW12_PS4,           DEFAULT,     NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
188a6c7b461SAllen Martin 	PINCFG(KB_ROW13_PS5,           RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
189a6c7b461SAllen Martin 	PINCFG(KB_ROW14_PS6,           RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
190a6c7b461SAllen Martin 	PINCFG(KB_ROW15_PS7,           DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
191a6c7b461SAllen Martin 	PINCFG(KB_ROW16_PT0,           RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
192a6c7b461SAllen Martin 	PINCFG(KB_ROW17_PT1,           DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
193a6c7b461SAllen Martin 	PINCFG(GEN2_I2C_SCL_PT5,       I2C2,        NORMAL, NORMAL,   INPUT,   ENABLE,  DEFAULT),
194a6c7b461SAllen Martin 	PINCFG(GEN2_I2C_SDA_PT6,       I2C2,        NORMAL, NORMAL,   INPUT,   ENABLE,  DEFAULT),
195a6c7b461SAllen Martin 	PINCFG(SDMMC4_CMD_PT7,         SDMMC4,      NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
196a6c7b461SAllen Martin 	PINCFG(PU0,                    RSVD4,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
197a6c7b461SAllen Martin 	PINCFG(PU1,                    RSVD1,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
198a6c7b461SAllen Martin 	PINCFG(PU2,                    RSVD1,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
199a6c7b461SAllen Martin 	PINCFG(PU3,                    GMI,         DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
200a6c7b461SAllen Martin 	PINCFG(PU4,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
201a6c7b461SAllen Martin 	PINCFG(PU5,                    DEFAULT,     UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
202a6c7b461SAllen Martin 	PINCFG(PU6,                    DEFAULT,     UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
203a6c7b461SAllen Martin 	PINCFG(PV0,                    DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
204a6c7b461SAllen Martin 	PINCFG(PV1,                    RSVD1,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
205a6c7b461SAllen Martin 	PINCFG(SDMMC3_CD_N_PV2,        SDMMC3,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
206a6c7b461SAllen Martin 	PINCFG(SDMMC1_WP_N_PV3,        SDMMC1,      DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
207a6c7b461SAllen Martin 	PINCFG(DDC_SCL_PV4,            I2C4,        NORMAL, NORMAL,   INPUT,   DEFAULT, NORMAL),
208a6c7b461SAllen Martin 	PINCFG(DDC_SDA_PV5,            I2C4,        NORMAL, NORMAL,   INPUT,   DEFAULT, NORMAL),
209a6c7b461SAllen Martin 	PINCFG(GPIO_W2_AUD_PW2,        RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
210a6c7b461SAllen Martin 	PINCFG(GPIO_W3_AUD_PW3,        DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
211a6c7b461SAllen Martin 	PINCFG(DAP_MCLK1_PW4,          EXTPERIPH1,  NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
212a6c7b461SAllen Martin 	PINCFG(CLK2_OUT_PW5,           RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
213a6c7b461SAllen Martin 	PINCFG(UART3_TXD_PW6,          RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
214a6c7b461SAllen Martin 	PINCFG(UART3_RXD_PW7,          RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
215a6c7b461SAllen Martin 	PINCFG(DVFS_PWM_PX0,           CLDVFS,      NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
216a6c7b461SAllen Martin 	PINCFG(GPIO_X1_AUD_PX1,        DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
217a6c7b461SAllen Martin 	PINCFG(DVFS_CLK_PX2,           CLDVFS,      NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
218a6c7b461SAllen Martin 	PINCFG(GPIO_X3_AUD_PX3,        RSVD4,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
219a6c7b461SAllen Martin 	PINCFG(GPIO_X4_AUD_PX4,        DEFAULT,     NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
220a6c7b461SAllen Martin 	PINCFG(GPIO_X5_AUD_PX5,        RSVD4,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
221a6c7b461SAllen Martin 	PINCFG(GPIO_X6_AUD_PX6,        GMI,         DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
222a6c7b461SAllen Martin 	PINCFG(GPIO_X7_AUD_PX7,        DEFAULT,     NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
223a6c7b461SAllen Martin 	PINCFG(ULPI_CLK_PY0,           SPI1,        NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
224a6c7b461SAllen Martin 	PINCFG(ULPI_DIR_PY1,           SPI1,        NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
225a6c7b461SAllen Martin 	PINCFG(ULPI_NXT_PY2,           SPI1,        NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
226a6c7b461SAllen Martin 	PINCFG(ULPI_STP_PY3,           SPI1,        NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
227a6c7b461SAllen Martin 	PINCFG(SDMMC1_DAT3_PY4,        SDMMC1,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
228a6c7b461SAllen Martin 	PINCFG(SDMMC1_DAT2_PY5,        SDMMC1,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
229a6c7b461SAllen Martin 	PINCFG(SDMMC1_DAT1_PY6,        SDMMC1,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
230a6c7b461SAllen Martin 	PINCFG(SDMMC1_DAT0_PY7,        SDMMC1,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
231a6c7b461SAllen Martin 	PINCFG(SDMMC1_CLK_PZ0,         SDMMC1,      NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
232a6c7b461SAllen Martin 	PINCFG(SDMMC1_CMD_PZ1,         SDMMC1,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
233a6c7b461SAllen Martin 	PINCFG(PWR_I2C_SCL_PZ6,        I2CPWR,      NORMAL, NORMAL,   INPUT,   ENABLE,  DEFAULT),
234a6c7b461SAllen Martin 	PINCFG(PWR_I2C_SDA_PZ7,        I2CPWR,      NORMAL, NORMAL,   INPUT,   ENABLE,  DEFAULT),
235a6c7b461SAllen Martin 	PINCFG(SDMMC4_DAT0_PAA0,       SDMMC4,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
236a6c7b461SAllen Martin 	PINCFG(SDMMC4_DAT1_PAA1,       SDMMC4,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
237a6c7b461SAllen Martin 	PINCFG(SDMMC4_DAT2_PAA2,       SDMMC4,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
238a6c7b461SAllen Martin 	PINCFG(SDMMC4_DAT3_PAA3,       SDMMC4,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
239a6c7b461SAllen Martin 	PINCFG(SDMMC4_DAT4_PAA4,       SDMMC4,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
240a6c7b461SAllen Martin 	PINCFG(SDMMC4_DAT5_PAA5,       SDMMC4,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
241a6c7b461SAllen Martin 	PINCFG(SDMMC4_DAT6_PAA6,       SDMMC4,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
242a6c7b461SAllen Martin 	PINCFG(SDMMC4_DAT7_PAA7,       SDMMC4,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
243a6c7b461SAllen Martin 	PINCFG(PBB0,                   VGP6,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
2446a6800bfSSimon Glass 	PINCFG(CAM_I2C_SCL_PBB1,       I2C3,        NORMAL, NORMAL,   INPUT,   ENABLE,  DEFAULT),
2456a6800bfSSimon Glass 	PINCFG(CAM_I2C_SDA_PBB2,       I2C3,        NORMAL, NORMAL,   INPUT,   ENABLE,  DEFAULT),
246a6c7b461SAllen Martin 	PINCFG(PBB3,                   VGP3,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
247a6c7b461SAllen Martin 	PINCFG(PBB4,                   VGP4,        DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
248a6c7b461SAllen Martin 	PINCFG(PBB5,                   RSVD3,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
249a6c7b461SAllen Martin 	PINCFG(PBB6,                   RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
250a6c7b461SAllen Martin 	PINCFG(PBB7,                   RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
251a6c7b461SAllen Martin 	PINCFG(CAM_MCLK_PCC0,          VI,          DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
252a6c7b461SAllen Martin 	PINCFG(PCC1,                   RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
253a6c7b461SAllen Martin 	PINCFG(PCC2,                   RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
254a6c7b461SAllen Martin 	PINCFG(SDMMC4_CLK_PCC4,        SDMMC4,      NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
255a6c7b461SAllen Martin 	PINCFG(CLK2_REQ_PCC5,          RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
256a6c7b461SAllen Martin 	PINCFG(PEX_L0_RST_N_PDD1,      RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
257a6c7b461SAllen Martin 	PINCFG(PEX_L0_CLKREQ_N_PDD2,   RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
258a6c7b461SAllen Martin 	PINCFG(PEX_WAKE_N_PDD3,        RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
259a6c7b461SAllen Martin 	PINCFG(PEX_L1_RST_N_PDD5,      RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
260a6c7b461SAllen Martin 	PINCFG(PEX_L1_CLKREQ_N_PDD6,   RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
261a6c7b461SAllen Martin 	PINCFG(CLK3_OUT_PEE0,          RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
262a6c7b461SAllen Martin 	PINCFG(CLK3_REQ_PEE1,          RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
263a6c7b461SAllen Martin 	PINCFG(DAP_MCLK1_REQ_PEE2,     RSVD4,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, DEFAULT),
264a6c7b461SAllen Martin 	PINCFG(HDMI_CEC_PEE3,          CEC,         NORMAL, NORMAL,   INPUT,   ENABLE,  DEFAULT),
265a6c7b461SAllen Martin 	PINCFG(SDMMC3_CLK_LB_OUT_PEE4, SDMMC3,      NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
266a6c7b461SAllen Martin 	PINCFG(SDMMC3_CLK_LB_IN_PEE5,  SDMMC3,      UP,     NORMAL,   INPUT,   DEFAULT, DEFAULT),
2676a6800bfSSimon Glass 	PINCFG(DP_HPD_PFF0,            DP,          NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
268a6c7b461SAllen Martin 	PINCFG(USB_VBUS_EN2_PFF1,      RSVD2,       DOWN,   TRISTATE, OUTPUT,  DISABLE, DEFAULT),
269a6c7b461SAllen Martin 	PINCFG(PFF2,                   RSVD2,       DOWN,   TRISTATE, OUTPUT,  DISABLE, DEFAULT),
270a6c7b461SAllen Martin 	PINCFG(CORE_PWR_REQ,           PWRON,       NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
271a6c7b461SAllen Martin 	PINCFG(CPU_PWR_REQ,            CPU,         NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
272a6c7b461SAllen Martin 	PINCFG(PWR_INT_N,              PMI,         NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
273a6c7b461SAllen Martin 	PINCFG(RESET_OUT_N,            RESET_OUT_N, NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
274a6c7b461SAllen Martin 	PINCFG(OWR,                    RSVD2,       DOWN,   TRISTATE, OUTPUT,  DEFAULT, NORMAL),
275a6c7b461SAllen Martin 	PINCFG(CLK_32K_IN,             CLK,         NORMAL, NORMAL,   INPUT,   DEFAULT, DEFAULT),
276a6c7b461SAllen Martin 	PINCFG(JTAG_RTCK,              RTCK,        NORMAL, NORMAL,   OUTPUT,  DEFAULT, DEFAULT),
277a6c7b461SAllen Martin };
278a6c7b461SAllen Martin 
279a6c7b461SAllen Martin #define DRVCFG(_drvgrp, _slwf, _slwr, _drvup, _drvdn, _lpmd, _schmt, _hsm) \
280a6c7b461SAllen Martin 	{						\
281a6c7b461SAllen Martin 		.drvgrp = PMUX_DRVGRP_##_drvgrp,	\
282a6c7b461SAllen Martin 		.slwf   = _slwf,			\
283a6c7b461SAllen Martin 		.slwr   = _slwr,			\
284a6c7b461SAllen Martin 		.drvup  = _drvup,			\
285a6c7b461SAllen Martin 		.drvdn  = _drvdn,			\
286a6c7b461SAllen Martin 		.lpmd   = PMUX_LPMD_##_lpmd,		\
287a6c7b461SAllen Martin 		.schmt  = PMUX_SCHMT_##_schmt,		\
288a6c7b461SAllen Martin 		.hsm    = PMUX_HSM_##_hsm,		\
289a6c7b461SAllen Martin 	}
290a6c7b461SAllen Martin 
291a6c7b461SAllen Martin static const struct pmux_drvgrp_config nyan_big_drvgrps[] = {
292a6c7b461SAllen Martin };
293a6c7b461SAllen Martin 
294a6c7b461SAllen Martin #endif /* PINMUX_CONFIG_NYAN_BIG_H */
295