From 369fc75a98eb86a8f83ef5cea88bc66dca2ad4d2 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Wed, 5 Oct 2016 11:51:34 +0200 Subject: [PATCH] pinmux/stm32: add support for pinmux of port h Add the definition required to change the pinmux of port H. Change-Id: I3cc107f9151db4d38fe2cace90cd02d5955a2717 Signed-off-by: Fabien Parent Signed-off-by: Kumar Gala --- drivers/pinmux/stm32/pinmux_stm32.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/drivers/pinmux/stm32/pinmux_stm32.h b/drivers/pinmux/stm32/pinmux_stm32.h index 02cfe042b93..620264fd1fc 100644 --- a/drivers/pinmux/stm32/pinmux_stm32.h +++ b/drivers/pinmux/stm32/pinmux_stm32.h @@ -195,6 +195,23 @@ enum stm32_pin_alt_func { #define STM32_PIN_PG14 STM32PIN(STM32_PORTG, 14) #define STM32_PIN_PG15 STM32PIN(STM32_PORTG, 15) +#define STM32_PIN_PH0 STM32PIN(STM32_PORTH, 0) +#define STM32_PIN_PH1 STM32PIN(STM32_PORTH, 1) +#define STM32_PIN_PH2 STM32PIN(STM32_PORTH, 2) +#define STM32_PIN_PH3 STM32PIN(STM32_PORTH, 3) +#define STM32_PIN_PH4 STM32PIN(STM32_PORTH, 4) +#define STM32_PIN_PH5 STM32PIN(STM32_PORTH, 5) +#define STM32_PIN_PH6 STM32PIN(STM32_PORTH, 6) +#define STM32_PIN_PH7 STM32PIN(STM32_PORTH, 7) +#define STM32_PIN_PH8 STM32PIN(STM32_PORTH, 8) +#define STM32_PIN_PH9 STM32PIN(STM32_PORTH, 9) +#define STM32_PIN_PH10 STM32PIN(STM32_PORTH, 10) +#define STM32_PIN_PH11 STM32PIN(STM32_PORTH, 11) +#define STM32_PIN_PH12 STM32PIN(STM32_PORTH, 12) +#define STM32_PIN_PH13 STM32PIN(STM32_PORTH, 13) +#define STM32_PIN_PH14 STM32PIN(STM32_PORTH, 14) +#define STM32_PIN_PH15 STM32PIN(STM32_PORTH, 15) + /* pretend that array will cover pin functions */ typedef int stm32_pin_func_t;