Debian Codegraph @

src/mainboard/clevo/cml-u/variants/l140cu/gpio_early.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <soc/gpio.h>
4 #include <variant/gpio.h>
5
6 /* Name format: <pad name> / <net/pin name in schematics> */
7 static const struct pad_config early_gpio_table[] = {
8 PAD_CFG_NF(GPP_C20, NONE, DEEP, NF1), /* UART2_RXD */
9 PAD_CFG_NF(GPP_C21, NONE, DEEP, NF1), /* UART2_TXD */
10 PAD_NC(GPP_C22, UP_20K),
11 PAD_NC(GPP_C23, UP_20K),
12 };
13
14 void variant_configure_early_gpios(void)
15 {
16 gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));
17 }