mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / system76 / rpl / variants / galp7 / gpio_early.c
blob85b9307d456100b45dc09507ab0b9586ea38e90e
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <mainboard/gpio.h>
4 #include <soc/gpio.h>
6 static const struct pad_config early_gpio_table[] = {
7 PAD_CFG_GPO(GPP_A14, 0, DEEP), // DGPU_PWR_EN
8 PAD_CFG_GPO(GPP_B2, 0, DEEP), // DGPU_RST#_PCH
9 PAD_CFG_NF(GPP_H10, NONE, DEEP, NF1), // UART0_RX
10 PAD_CFG_NF(GPP_H11, NONE, DEEP, NF1), // UART0_TX
13 void mainboard_configure_early_gpios(void)
15 gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));