diff --git a/src/stm32/stm32h7_spi.c b/src/stm32/stm32h7_spi.c index ec69f851ade9..7e46ab272d52 100644 --- a/src/stm32/stm32h7_spi.c +++ b/src/stm32/stm32h7_spi.c @@ -53,6 +53,8 @@ DECL_CONSTANT_STR("BUS_PINS_spi5a", "PH7,PF11,PH6"); #ifdef SPI6 DECL_ENUMERATION("spi_bus", "spi6", __COUNTER__); DECL_CONSTANT_STR("BUS_PINS_spi6", "PG12,PG14,PG13"); +DECL_ENUMERATION("spi_bus", "spi6a", __COUNTER__); +DECL_CONSTANT_STR("BUS_PINS_spi6a", "PB3,PB4,PB5"); #endif @@ -76,6 +78,7 @@ static const struct spi_info spi_bus[] = { #endif #ifdef SPI6 { SPI6, GPIO('G', 12), GPIO('G', 14), GPIO('G', 13), GPIO_FUNCTION(5)}, + { SPI6, GPIO('B', 3), GPIO('B', 4), GPIO('B', 5), GPIO_FUNCTION(8)}, #endif };