blob: c2009a8e561eb0cf82d95b4b1d2a44e87c1c32ce [file] [log] [blame]
Jeremy Soller976e09b2023-03-24 08:48:37 -06001/* SPDX-License-Identifier: GPL-2.0-only */
2
3#include <mainboard/gpio.h>
4#include <soc/gpio.h>
5
6static 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};
10
11void mainboard_configure_early_gpios(void)
12{
13 gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));
14}