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 <fparent@baylibre.com> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
1f4c05aad9
commit
369fc75a98
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user