1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <baseboard/gpio.h>
4 #include <baseboard/variants.h>
7 static const struct pad_config early_uart_gpio_table
[] = {
9 PAD_CFG_NF(GPP_H10
, NONE
, DEEP
, NF2
),
11 PAD_CFG_NF(GPP_H11
, NONE
, DEEP
, NF2
),
13 PAD_CFG_NF(GPP_D17
, NONE
, DEEP
, NF2
),
15 PAD_CFG_NF(GPP_D18
, NONE
, DEEP
, NF2
),
17 PAD_CFG_NF(GPP_F1
, NONE
, DEEP
, NF2
),
19 PAD_CFG_NF(GPP_F2
, NONE
, DEEP
, NF2
),
22 void variant_configure_early_gpio_pads(void)
24 if (CONFIG(INTEL_LPSS_UART_FOR_CONSOLE
))
25 gpio_configure_pads(early_uart_gpio_table
, ARRAY_SIZE(early_uart_gpio_table
));