| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <mainboard/gpio.h> |
| 4 | #include <soc/gpio.h> |
| 5 | |
| 6 | static const struct pad_config early_gpio_table[] = { |
| 7 | PAD_CFG_NF(GPP_C00, NONE, DEEP, NF1), // SMB_CLK |
| 8 | PAD_CFG_NF(GPP_C01, NONE, DEEP, NF1), // SMB_DATA |
| 9 | PAD_CFG_GPI(GPP_E11, NONE, DEEP), // BOARD_ID1 |
| 10 | PAD_CFG_NF(GPP_H08, NONE, DEEP, NF1), // UART0_RX |
| 11 | PAD_CFG_NF(GPP_H09, NONE, DEEP, NF1), // UART0_TX |
| 12 | }; |
| 13 | |
| 14 | void mainboard_configure_early_gpios(void) |
| 15 | { |
| 16 | gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table)); |
| 17 | } |