summaryrefslogtreecommitdiffstats
path: root/src/mainboard/system76/adl-p/variants/darp8/gpio_early.c
blob: c80c798b040f1e66ab5a26447af72322e04cffb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-only */

#include <mainboard/gpio.h>
#include <soc/gpio.h>

static const struct pad_config early_gpio_table[] = {
	PAD_CFG_NF(GPP_H10, NONE, DEEP, NF1), // UART0_RX
	PAD_CFG_NF(GPP_H11, NONE, DEEP, NF1), // UART0_TX
};

void mainboard_configure_early_gpios(void)
{
	gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));
}