include: dt-bindings: stm32_pinctrl: Add ports I, J, K

Add defines for ports I, J, K

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
Yannis Damigos 2018-01-10 14:07:58 +02:00 committed by Kumar Gala
commit f62d9ef99d

View file

@ -19,10 +19,13 @@
#define STM32_PORTE 4 #define STM32_PORTE 4
#define STM32_PORTF 5 #define STM32_PORTF 5
#define STM32_PORTG 6 #define STM32_PORTG 6
#define STM32_PORTH 7 /* IO port H */ #define STM32_PORTH 7
#define STM32_PORTI 8
#define STM32_PORTJ 9
#define STM32_PORTK 10 /* IO port K */
#ifndef STM32_PORTS_MAX #ifndef STM32_PORTS_MAX
#define STM32_PORTS_MAX (STM32_PORTH + 1) #define STM32_PORTS_MAX (STM32_PORTK + 1)
#endif #endif
/** /**
@ -179,5 +182,55 @@
#define STM32_PIN_PH14 STM32PIN(STM32_PORTH, 14) #define STM32_PIN_PH14 STM32PIN(STM32_PORTH, 14)
#define STM32_PIN_PH15 STM32PIN(STM32_PORTH, 15) #define STM32_PIN_PH15 STM32PIN(STM32_PORTH, 15)
#define STM32_PIN_PI0 STM32PIN(STM32_PORTI, 0)
#define STM32_PIN_PI1 STM32PIN(STM32_PORTI, 1)
#define STM32_PIN_PI2 STM32PIN(STM32_PORTI, 2)
#define STM32_PIN_PI3 STM32PIN(STM32_PORTI, 3)
#define STM32_PIN_PI4 STM32PIN(STM32_PORTI, 4)
#define STM32_PIN_PI5 STM32PIN(STM32_PORTI, 5)
#define STM32_PIN_PI6 STM32PIN(STM32_PORTI, 6)
#define STM32_PIN_PI7 STM32PIN(STM32_PORTI, 7)
#define STM32_PIN_PI8 STM32PIN(STM32_PORTI, 8)
#define STM32_PIN_PI9 STM32PIN(STM32_PORTI, 9)
#define STM32_PIN_PI10 STM32PIN(STM32_PORTI, 10)
#define STM32_PIN_PI11 STM32PIN(STM32_PORTI, 11)
#define STM32_PIN_PI12 STM32PIN(STM32_PORTI, 12)
#define STM32_PIN_PI13 STM32PIN(STM32_PORTI, 13)
#define STM32_PIN_PI14 STM32PIN(STM32_PORTI, 14)
#define STM32_PIN_PI15 STM32PIN(STM32_PORTI, 15)
#define STM32_PIN_PJ0 STM32PIN(STM32_PORTJ, 0)
#define STM32_PIN_PJ1 STM32PIN(STM32_PORTJ, 1)
#define STM32_PIN_PJ2 STM32PIN(STM32_PORTJ, 2)
#define STM32_PIN_PJ3 STM32PIN(STM32_PORTJ, 3)
#define STM32_PIN_PJ4 STM32PIN(STM32_PORTJ, 4)
#define STM32_PIN_PJ5 STM32PIN(STM32_PORTJ, 5)
#define STM32_PIN_PJ6 STM32PIN(STM32_PORTJ, 6)
#define STM32_PIN_PJ7 STM32PIN(STM32_PORTJ, 7)
#define STM32_PIN_PJ8 STM32PIN(STM32_PORTJ, 8)
#define STM32_PIN_PJ9 STM32PIN(STM32_PORTJ, 9)
#define STM32_PIN_PJ10 STM32PIN(STM32_PORTJ, 10)
#define STM32_PIN_PJ11 STM32PIN(STM32_PORTJ, 11)
#define STM32_PIN_PJ12 STM32PIN(STM32_PORTJ, 12)
#define STM32_PIN_PJ13 STM32PIN(STM32_PORTJ, 13)
#define STM32_PIN_PJ14 STM32PIN(STM32_PORTJ, 14)
#define STM32_PIN_PJ15 STM32PIN(STM32_PORTJ, 15)
#define STM32_PIN_PK0 STM32PIN(STM32_PORTK, 0)
#define STM32_PIN_PK1 STM32PIN(STM32_PORTK, 1)
#define STM32_PIN_PK2 STM32PIN(STM32_PORTK, 2)
#define STM32_PIN_PK3 STM32PIN(STM32_PORTK, 3)
#define STM32_PIN_PK4 STM32PIN(STM32_PORTK, 4)
#define STM32_PIN_PK5 STM32PIN(STM32_PORTK, 5)
#define STM32_PIN_PK6 STM32PIN(STM32_PORTK, 6)
#define STM32_PIN_PK7 STM32PIN(STM32_PORTK, 7)
#define STM32_PIN_PK8 STM32PIN(STM32_PORTK, 8)
#define STM32_PIN_PK9 STM32PIN(STM32_PORTK, 9)
#define STM32_PIN_PK10 STM32PIN(STM32_PORTK, 10)
#define STM32_PIN_PK11 STM32PIN(STM32_PORTK, 11)
#define STM32_PIN_PK12 STM32PIN(STM32_PORTK, 12)
#define STM32_PIN_PK13 STM32PIN(STM32_PORTK, 13)
#define STM32_PIN_PK14 STM32PIN(STM32_PORTK, 14)
#define STM32_PIN_PK15 STM32PIN(STM32_PORTK, 15)
#endif /* _STM32_PINCTRL_COMMON_H_ */ #endif /* _STM32_PINCTRL_COMMON_H_ */