mb/google/rauru: Implement regulator interface
[coreboot.git] / src / mainboard / system76 / bonw14 / gpio_early.c
blob42bbe424674ba0f2fd0d152604cae9453479d1c4
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_NF(GPP_C20, NONE, PLTRST, NF1), // UART2_RXD
8 PAD_CFG_NF(GPP_C21, NONE, PLTRST, NF1), // UART2_TXD
9 PAD_CFG_TERM_GPO(GPP_F22, 1, UP_20K, DEEP), // DGPU_RST#_PCH
10 PAD_CFG_TERM_GPO(GPP_K22, 0, UP_5K, DEEP), // GPU_PWR_EN#
13 void mainboard_configure_early_gpios(void)
15 gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));