| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <soc/gpio.h> |
| 4 | #include <variant/gpio.h> |
| 5 | |
| 6 | static const struct pad_config early_gpio_table[] = { |
| 7 | // UART2_RXD |
| 8 | _PAD_CFG_STRUCT(GPP_C20, 0x44000702, 0x0), |
| 9 | |
| 10 | // UART2_TXD |
| 11 | _PAD_CFG_STRUCT(GPP_C21, 0x44000700, 0x0) |
| 12 | }; |
| 13 | |
| 14 | void variant_configure_early_gpios(void) |
| 15 | { |
| 16 | gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table)); |
| 17 | } |