stm32h7-pinfunc.h 59 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _DT_BINDINGS_STM32H7_PINFUNC_H
  3. #define _DT_BINDINGS_STM32H7_PINFUNC_H
  4. #define STM32H7_PA0_FUNC_GPIO 0x0
  5. #define STM32H7_PA0_FUNC_TIM2_CH1_TIM2_ETR 0x2
  6. #define STM32H7_PA0_FUNC_TIM5_CH1 0x3
  7. #define STM32H7_PA0_FUNC_TIM8_ETR 0x4
  8. #define STM32H7_PA0_FUNC_TIM15_BKIN 0x5
  9. #define STM32H7_PA0_FUNC_USART2_CTS_NSS 0x8
  10. #define STM32H7_PA0_FUNC_UART4_TX 0x9
  11. #define STM32H7_PA0_FUNC_SDMMC2_CMD 0xa
  12. #define STM32H7_PA0_FUNC_SAI2_SD_B 0xb
  13. #define STM32H7_PA0_FUNC_ETH_MII_CRS 0xc
  14. #define STM32H7_PA0_FUNC_EVENTOUT 0x10
  15. #define STM32H7_PA0_FUNC_ANALOG 0x11
  16. #define STM32H7_PA1_FUNC_GPIO 0x100
  17. #define STM32H7_PA1_FUNC_TIM2_CH2 0x102
  18. #define STM32H7_PA1_FUNC_TIM5_CH2 0x103
  19. #define STM32H7_PA1_FUNC_LPTIM3_OUT 0x104
  20. #define STM32H7_PA1_FUNC_TIM15_CH1N 0x105
  21. #define STM32H7_PA1_FUNC_USART2_RTS 0x108
  22. #define STM32H7_PA1_FUNC_UART4_RX 0x109
  23. #define STM32H7_PA1_FUNC_QUADSPI_BK1_IO3 0x10a
  24. #define STM32H7_PA1_FUNC_SAI2_MCK_B 0x10b
  25. #define STM32H7_PA1_FUNC_ETH_MII_RX_CLK_ETH_RMII_REF_CLK 0x10c
  26. #define STM32H7_PA1_FUNC_LCD_R2 0x10f
  27. #define STM32H7_PA1_FUNC_EVENTOUT 0x110
  28. #define STM32H7_PA1_FUNC_ANALOG 0x111
  29. #define STM32H7_PA2_FUNC_GPIO 0x200
  30. #define STM32H7_PA2_FUNC_TIM2_CH3 0x202
  31. #define STM32H7_PA2_FUNC_TIM5_CH3 0x203
  32. #define STM32H7_PA2_FUNC_LPTIM4_OUT 0x204
  33. #define STM32H7_PA2_FUNC_TIM15_CH1 0x205
  34. #define STM32H7_PA2_FUNC_USART2_TX 0x208
  35. #define STM32H7_PA2_FUNC_SAI2_SCK_B 0x209
  36. #define STM32H7_PA2_FUNC_ETH_MDIO 0x20c
  37. #define STM32H7_PA2_FUNC_MDIOS_MDIO 0x20d
  38. #define STM32H7_PA2_FUNC_LCD_R1 0x20f
  39. #define STM32H7_PA2_FUNC_EVENTOUT 0x210
  40. #define STM32H7_PA2_FUNC_ANALOG 0x211
  41. #define STM32H7_PA3_FUNC_GPIO 0x300
  42. #define STM32H7_PA3_FUNC_TIM2_CH4 0x302
  43. #define STM32H7_PA3_FUNC_TIM5_CH4 0x303
  44. #define STM32H7_PA3_FUNC_LPTIM5_OUT 0x304
  45. #define STM32H7_PA3_FUNC_TIM15_CH2 0x305
  46. #define STM32H7_PA3_FUNC_USART2_RX 0x308
  47. #define STM32H7_PA3_FUNC_LCD_B2 0x30a
  48. #define STM32H7_PA3_FUNC_OTG_HS_ULPI_D0 0x30b
  49. #define STM32H7_PA3_FUNC_ETH_MII_COL 0x30c
  50. #define STM32H7_PA3_FUNC_LCD_B5 0x30f
  51. #define STM32H7_PA3_FUNC_EVENTOUT 0x310
  52. #define STM32H7_PA3_FUNC_ANALOG 0x311
  53. #define STM32H7_PA4_FUNC_GPIO 0x400
  54. #define STM32H7_PA4_FUNC_TIM5_ETR 0x403
  55. #define STM32H7_PA4_FUNC_SPI1_NSS_I2S1_WS 0x406
  56. #define STM32H7_PA4_FUNC_SPI3_NSS_I2S3_WS 0x407
  57. #define STM32H7_PA4_FUNC_USART2_CK 0x408
  58. #define STM32H7_PA4_FUNC_SPI6_NSS 0x409
  59. #define STM32H7_PA4_FUNC_OTG_HS_SOF 0x40d
  60. #define STM32H7_PA4_FUNC_DCMI_HSYNC 0x40e
  61. #define STM32H7_PA4_FUNC_LCD_VSYNC 0x40f
  62. #define STM32H7_PA4_FUNC_EVENTOUT 0x410
  63. #define STM32H7_PA4_FUNC_ANALOG 0x411
  64. #define STM32H7_PA5_FUNC_GPIO 0x500
  65. #define STM32H7_PA5_FUNC_TIM2_CH1_TIM2_ETR 0x502
  66. #define STM32H7_PA5_FUNC_TIM8_CH1N 0x504
  67. #define STM32H7_PA5_FUNC_SPI1_SCK_I2S1_CK 0x506
  68. #define STM32H7_PA5_FUNC_SPI6_SCK 0x509
  69. #define STM32H7_PA5_FUNC_OTG_HS_ULPI_CK 0x50b
  70. #define STM32H7_PA5_FUNC_LCD_R4 0x50f
  71. #define STM32H7_PA5_FUNC_EVENTOUT 0x510
  72. #define STM32H7_PA5_FUNC_ANALOG 0x511
  73. #define STM32H7_PA6_FUNC_GPIO 0x600
  74. #define STM32H7_PA6_FUNC_TIM1_BKIN 0x602
  75. #define STM32H7_PA6_FUNC_TIM3_CH1 0x603
  76. #define STM32H7_PA6_FUNC_TIM8_BKIN 0x604
  77. #define STM32H7_PA6_FUNC_SPI1_MISO_I2S1_SDI 0x606
  78. #define STM32H7_PA6_FUNC_SPI6_MISO 0x609
  79. #define STM32H7_PA6_FUNC_TIM13_CH1 0x60a
  80. #define STM32H7_PA6_FUNC_TIM8_BKIN_COMP12 0x60b
  81. #define STM32H7_PA6_FUNC_MDIOS_MDC 0x60c
  82. #define STM32H7_PA6_FUNC_TIM1_BKIN_COMP12 0x60d
  83. #define STM32H7_PA6_FUNC_DCMI_PIXCLK 0x60e
  84. #define STM32H7_PA6_FUNC_LCD_G2 0x60f
  85. #define STM32H7_PA6_FUNC_EVENTOUT 0x610
  86. #define STM32H7_PA6_FUNC_ANALOG 0x611
  87. #define STM32H7_PA7_FUNC_GPIO 0x700
  88. #define STM32H7_PA7_FUNC_TIM1_CH1N 0x702
  89. #define STM32H7_PA7_FUNC_TIM3_CH2 0x703
  90. #define STM32H7_PA7_FUNC_TIM8_CH1N 0x704
  91. #define STM32H7_PA7_FUNC_SPI1_MOSI_I2S1_SDO 0x706
  92. #define STM32H7_PA7_FUNC_SPI6_MOSI 0x709
  93. #define STM32H7_PA7_FUNC_TIM14_CH1 0x70a
  94. #define STM32H7_PA7_FUNC_ETH_MII_RX_DV_ETH_RMII_CRS_DV 0x70c
  95. #define STM32H7_PA7_FUNC_FMC_SDNWE 0x70d
  96. #define STM32H7_PA7_FUNC_EVENTOUT 0x710
  97. #define STM32H7_PA7_FUNC_ANALOG 0x711
  98. #define STM32H7_PA8_FUNC_GPIO 0x800
  99. #define STM32H7_PA8_FUNC_MCO1 0x801
  100. #define STM32H7_PA8_FUNC_TIM1_CH1 0x802
  101. #define STM32H7_PA8_FUNC_HRTIM_CHB2 0x803
  102. #define STM32H7_PA8_FUNC_TIM8_BKIN2 0x804
  103. #define STM32H7_PA8_FUNC_I2C3_SCL 0x805
  104. #define STM32H7_PA8_FUNC_USART1_CK 0x808
  105. #define STM32H7_PA8_FUNC_OTG_FS_SOF 0x80b
  106. #define STM32H7_PA8_FUNC_UART7_RX 0x80c
  107. #define STM32H7_PA8_FUNC_TIM8_BKIN2_COMP12 0x80d
  108. #define STM32H7_PA8_FUNC_LCD_B3 0x80e
  109. #define STM32H7_PA8_FUNC_LCD_R6 0x80f
  110. #define STM32H7_PA8_FUNC_EVENTOUT 0x810
  111. #define STM32H7_PA8_FUNC_ANALOG 0x811
  112. #define STM32H7_PA9_FUNC_GPIO 0x900
  113. #define STM32H7_PA9_FUNC_TIM1_CH2 0x902
  114. #define STM32H7_PA9_FUNC_HRTIM_CHC1 0x903
  115. #define STM32H7_PA9_FUNC_LPUART1_TX 0x904
  116. #define STM32H7_PA9_FUNC_I2C3_SMBA 0x905
  117. #define STM32H7_PA9_FUNC_SPI2_SCK_I2S2_CK 0x906
  118. #define STM32H7_PA9_FUNC_USART1_TX 0x908
  119. #define STM32H7_PA9_FUNC_CAN1_RXFD 0x90a
  120. #define STM32H7_PA9_FUNC_ETH_TX_ER 0x90c
  121. #define STM32H7_PA9_FUNC_DCMI_D0 0x90e
  122. #define STM32H7_PA9_FUNC_LCD_R5 0x90f
  123. #define STM32H7_PA9_FUNC_EVENTOUT 0x910
  124. #define STM32H7_PA9_FUNC_ANALOG 0x911
  125. #define STM32H7_PA10_FUNC_GPIO 0xa00
  126. #define STM32H7_PA10_FUNC_TIM1_CH3 0xa02
  127. #define STM32H7_PA10_FUNC_HRTIM_CHC2 0xa03
  128. #define STM32H7_PA10_FUNC_LPUART1_RX 0xa04
  129. #define STM32H7_PA10_FUNC_USART1_RX 0xa08
  130. #define STM32H7_PA10_FUNC_CAN1_TXFD 0xa0a
  131. #define STM32H7_PA10_FUNC_OTG_FS_ID 0xa0b
  132. #define STM32H7_PA10_FUNC_MDIOS_MDIO 0xa0c
  133. #define STM32H7_PA10_FUNC_LCD_B4 0xa0d
  134. #define STM32H7_PA10_FUNC_DCMI_D1 0xa0e
  135. #define STM32H7_PA10_FUNC_LCD_B1 0xa0f
  136. #define STM32H7_PA10_FUNC_EVENTOUT 0xa10
  137. #define STM32H7_PA10_FUNC_ANALOG 0xa11
  138. #define STM32H7_PA11_FUNC_GPIO 0xb00
  139. #define STM32H7_PA11_FUNC_TIM1_CH4 0xb02
  140. #define STM32H7_PA11_FUNC_HRTIM_CHD1 0xb03
  141. #define STM32H7_PA11_FUNC_LPUART1_CTS 0xb04
  142. #define STM32H7_PA11_FUNC_SPI2_NSS_I2S2_WS 0xb06
  143. #define STM32H7_PA11_FUNC_UART4_RX 0xb07
  144. #define STM32H7_PA11_FUNC_USART1_CTS_NSS 0xb08
  145. #define STM32H7_PA11_FUNC_CAN1_RX 0xb0a
  146. #define STM32H7_PA11_FUNC_OTG_FS_DM 0xb0b
  147. #define STM32H7_PA11_FUNC_LCD_R4 0xb0f
  148. #define STM32H7_PA11_FUNC_EVENTOUT 0xb10
  149. #define STM32H7_PA11_FUNC_ANALOG 0xb11
  150. #define STM32H7_PA12_FUNC_GPIO 0xc00
  151. #define STM32H7_PA12_FUNC_TIM1_ETR 0xc02
  152. #define STM32H7_PA12_FUNC_HRTIM_CHD2 0xc03
  153. #define STM32H7_PA12_FUNC_LPUART1_RTS 0xc04
  154. #define STM32H7_PA12_FUNC_SPI2_SCK_I2S2_CK 0xc06
  155. #define STM32H7_PA12_FUNC_UART4_TX 0xc07
  156. #define STM32H7_PA12_FUNC_USART1_RTS 0xc08
  157. #define STM32H7_PA12_FUNC_SAI2_FS_B 0xc09
  158. #define STM32H7_PA12_FUNC_CAN1_TX 0xc0a
  159. #define STM32H7_PA12_FUNC_OTG_FS_DP 0xc0b
  160. #define STM32H7_PA12_FUNC_LCD_R5 0xc0f
  161. #define STM32H7_PA12_FUNC_EVENTOUT 0xc10
  162. #define STM32H7_PA12_FUNC_ANALOG 0xc11
  163. #define STM32H7_PA13_FUNC_GPIO 0xd00
  164. #define STM32H7_PA13_FUNC_JTMS_SWDIO 0xd01
  165. #define STM32H7_PA13_FUNC_EVENTOUT 0xd10
  166. #define STM32H7_PA13_FUNC_ANALOG 0xd11
  167. #define STM32H7_PA14_FUNC_GPIO 0xe00
  168. #define STM32H7_PA14_FUNC_JTCK_SWCLK 0xe01
  169. #define STM32H7_PA14_FUNC_EVENTOUT 0xe10
  170. #define STM32H7_PA14_FUNC_ANALOG 0xe11
  171. #define STM32H7_PA15_FUNC_GPIO 0xf00
  172. #define STM32H7_PA15_FUNC_JTDI 0xf01
  173. #define STM32H7_PA15_FUNC_TIM2_CH1_TIM2_ETR 0xf02
  174. #define STM32H7_PA15_FUNC_HRTIM_FLT1 0xf03
  175. #define STM32H7_PA15_FUNC_HDMI_CEC 0xf05
  176. #define STM32H7_PA15_FUNC_SPI1_NSS_I2S1_WS 0xf06
  177. #define STM32H7_PA15_FUNC_SPI3_NSS_I2S3_WS 0xf07
  178. #define STM32H7_PA15_FUNC_SPI6_NSS 0xf08
  179. #define STM32H7_PA15_FUNC_UART4_RTS 0xf09
  180. #define STM32H7_PA15_FUNC_UART7_TX 0xf0c
  181. #define STM32H7_PA15_FUNC_DSI_TE 0xf0e
  182. #define STM32H7_PA15_FUNC_EVENTOUT 0xf10
  183. #define STM32H7_PA15_FUNC_ANALOG 0xf11
  184. #define STM32H7_PB0_FUNC_GPIO 0x1000
  185. #define STM32H7_PB0_FUNC_TIM1_CH2N 0x1002
  186. #define STM32H7_PB0_FUNC_TIM3_CH3 0x1003
  187. #define STM32H7_PB0_FUNC_TIM8_CH2N 0x1004
  188. #define STM32H7_PB0_FUNC_DFSDM_CKOUT 0x1007
  189. #define STM32H7_PB0_FUNC_UART4_CTS 0x1009
  190. #define STM32H7_PB0_FUNC_LCD_R3 0x100a
  191. #define STM32H7_PB0_FUNC_OTG_HS_ULPI_D1 0x100b
  192. #define STM32H7_PB0_FUNC_ETH_MII_RXD2 0x100c
  193. #define STM32H7_PB0_FUNC_LCD_G1 0x100f
  194. #define STM32H7_PB0_FUNC_EVENTOUT 0x1010
  195. #define STM32H7_PB0_FUNC_ANALOG 0x1011
  196. #define STM32H7_PB1_FUNC_GPIO 0x1100
  197. #define STM32H7_PB1_FUNC_TIM1_CH3N 0x1102
  198. #define STM32H7_PB1_FUNC_TIM3_CH4 0x1103
  199. #define STM32H7_PB1_FUNC_TIM8_CH3N 0x1104
  200. #define STM32H7_PB1_FUNC_DFSDM_DATIN1 0x1107
  201. #define STM32H7_PB1_FUNC_LCD_R6 0x110a
  202. #define STM32H7_PB1_FUNC_OTG_HS_ULPI_D2 0x110b
  203. #define STM32H7_PB1_FUNC_ETH_MII_RXD3 0x110c
  204. #define STM32H7_PB1_FUNC_LCD_G0 0x110f
  205. #define STM32H7_PB1_FUNC_EVENTOUT 0x1110
  206. #define STM32H7_PB1_FUNC_ANALOG 0x1111
  207. #define STM32H7_PB2_FUNC_GPIO 0x1200
  208. #define STM32H7_PB2_FUNC_SAI1_D1 0x1203
  209. #define STM32H7_PB2_FUNC_DFSDM_CKIN1 0x1205
  210. #define STM32H7_PB2_FUNC_SAI1_SD_A 0x1207
  211. #define STM32H7_PB2_FUNC_SPI3_MOSI_I2S3_SDO 0x1208
  212. #define STM32H7_PB2_FUNC_SAI4_SD_A 0x1209
  213. #define STM32H7_PB2_FUNC_QUADSPI_CLK 0x120a
  214. #define STM32H7_PB2_FUNC_SAI4_D1 0x120b
  215. #define STM32H7_PB2_FUNC_ETH_TX_ER 0x120c
  216. #define STM32H7_PB2_FUNC_EVENTOUT 0x1210
  217. #define STM32H7_PB2_FUNC_ANALOG 0x1211
  218. #define STM32H7_PB3_FUNC_GPIO 0x1300
  219. #define STM32H7_PB3_FUNC_JTDO_TRACESWO 0x1301
  220. #define STM32H7_PB3_FUNC_TIM2_CH2 0x1302
  221. #define STM32H7_PB3_FUNC_HRTIM_FLT4 0x1303
  222. #define STM32H7_PB3_FUNC_SPI1_SCK_I2S1_CK 0x1306
  223. #define STM32H7_PB3_FUNC_SPI3_SCK_I2S3_CK 0x1307
  224. #define STM32H7_PB3_FUNC_SPI6_SCK 0x1309
  225. #define STM32H7_PB3_FUNC_SDMMC2_D2 0x130a
  226. #define STM32H7_PB3_FUNC_UART7_RX 0x130c
  227. #define STM32H7_PB3_FUNC_EVENTOUT 0x1310
  228. #define STM32H7_PB3_FUNC_ANALOG 0x1311
  229. #define STM32H7_PB4_FUNC_GPIO 0x1400
  230. #define STM32H7_PB4_FUNC_NJTRST 0x1401
  231. #define STM32H7_PB4_FUNC_TIM16_BKIN 0x1402
  232. #define STM32H7_PB4_FUNC_TIM3_CH1 0x1403
  233. #define STM32H7_PB4_FUNC_HRTIM_EEV6 0x1404
  234. #define STM32H7_PB4_FUNC_SPI1_MISO_I2S1_SDI 0x1406
  235. #define STM32H7_PB4_FUNC_SPI3_MISO_I2S3_SDI 0x1407
  236. #define STM32H7_PB4_FUNC_SPI2_NSS_I2S2_WS 0x1408
  237. #define STM32H7_PB4_FUNC_SPI6_MISO 0x1409
  238. #define STM32H7_PB4_FUNC_SDMMC2_D3 0x140a
  239. #define STM32H7_PB4_FUNC_UART7_TX 0x140c
  240. #define STM32H7_PB4_FUNC_EVENTOUT 0x1410
  241. #define STM32H7_PB4_FUNC_ANALOG 0x1411
  242. #define STM32H7_PB5_FUNC_GPIO 0x1500
  243. #define STM32H7_PB5_FUNC_TIM17_BKIN 0x1502
  244. #define STM32H7_PB5_FUNC_TIM3_CH2 0x1503
  245. #define STM32H7_PB5_FUNC_HRTIM_EEV7 0x1504
  246. #define STM32H7_PB5_FUNC_I2C1_SMBA 0x1505
  247. #define STM32H7_PB5_FUNC_SPI1_MOSI_I2S1_SDO 0x1506
  248. #define STM32H7_PB5_FUNC_I2C4_SMBA 0x1507
  249. #define STM32H7_PB5_FUNC_SPI3_MOSI_I2S3_SDO 0x1508
  250. #define STM32H7_PB5_FUNC_SPI6_MOSI 0x1509
  251. #define STM32H7_PB5_FUNC_CAN2_RX 0x150a
  252. #define STM32H7_PB5_FUNC_OTG_HS_ULPI_D7 0x150b
  253. #define STM32H7_PB5_FUNC_ETH_PPS_OUT 0x150c
  254. #define STM32H7_PB5_FUNC_FMC_SDCKE1 0x150d
  255. #define STM32H7_PB5_FUNC_DCMI_D10 0x150e
  256. #define STM32H7_PB5_FUNC_UART5_RX 0x150f
  257. #define STM32H7_PB5_FUNC_EVENTOUT 0x1510
  258. #define STM32H7_PB5_FUNC_ANALOG 0x1511
  259. #define STM32H7_PB6_FUNC_GPIO 0x1600
  260. #define STM32H7_PB6_FUNC_TIM16_CH1N 0x1602
  261. #define STM32H7_PB6_FUNC_TIM4_CH1 0x1603
  262. #define STM32H7_PB6_FUNC_HRTIM_EEV8 0x1604
  263. #define STM32H7_PB6_FUNC_I2C1_SCL 0x1605
  264. #define STM32H7_PB6_FUNC_HDMI_CEC 0x1606
  265. #define STM32H7_PB6_FUNC_I2C4_SCL 0x1607
  266. #define STM32H7_PB6_FUNC_USART1_TX 0x1608
  267. #define STM32H7_PB6_FUNC_LPUART1_TX 0x1609
  268. #define STM32H7_PB6_FUNC_CAN2_TX 0x160a
  269. #define STM32H7_PB6_FUNC_QUADSPI_BK1_NCS 0x160b
  270. #define STM32H7_PB6_FUNC_DFSDM_DATIN5 0x160c
  271. #define STM32H7_PB6_FUNC_FMC_SDNE1 0x160d
  272. #define STM32H7_PB6_FUNC_DCMI_D5 0x160e
  273. #define STM32H7_PB6_FUNC_UART5_TX 0x160f
  274. #define STM32H7_PB6_FUNC_EVENTOUT 0x1610
  275. #define STM32H7_PB6_FUNC_ANALOG 0x1611
  276. #define STM32H7_PB7_FUNC_GPIO 0x1700
  277. #define STM32H7_PB7_FUNC_TIM17_CH1N 0x1702
  278. #define STM32H7_PB7_FUNC_TIM4_CH2 0x1703
  279. #define STM32H7_PB7_FUNC_HRTIM_EEV9 0x1704
  280. #define STM32H7_PB7_FUNC_I2C1_SDA 0x1705
  281. #define STM32H7_PB7_FUNC_I2C4_SDA 0x1707
  282. #define STM32H7_PB7_FUNC_USART1_RX 0x1708
  283. #define STM32H7_PB7_FUNC_LPUART1_RX 0x1709
  284. #define STM32H7_PB7_FUNC_CAN2_TXFD 0x170a
  285. #define STM32H7_PB7_FUNC_DFSDM_CKIN5 0x170c
  286. #define STM32H7_PB7_FUNC_FMC_NL 0x170d
  287. #define STM32H7_PB7_FUNC_DCMI_VSYNC 0x170e
  288. #define STM32H7_PB7_FUNC_EVENTOUT 0x1710
  289. #define STM32H7_PB7_FUNC_ANALOG 0x1711
  290. #define STM32H7_PB8_FUNC_GPIO 0x1800
  291. #define STM32H7_PB8_FUNC_TIM16_CH1 0x1802
  292. #define STM32H7_PB8_FUNC_TIM4_CH3 0x1803
  293. #define STM32H7_PB8_FUNC_DFSDM_CKIN7 0x1804
  294. #define STM32H7_PB8_FUNC_I2C1_SCL 0x1805
  295. #define STM32H7_PB8_FUNC_I2C4_SCL 0x1807
  296. #define STM32H7_PB8_FUNC_SDMMC1_CKIN 0x1808
  297. #define STM32H7_PB8_FUNC_UART4_RX 0x1809
  298. #define STM32H7_PB8_FUNC_CAN1_RX 0x180a
  299. #define STM32H7_PB8_FUNC_SDMMC2_D4 0x180b
  300. #define STM32H7_PB8_FUNC_ETH_MII_TXD3 0x180c
  301. #define STM32H7_PB8_FUNC_SDMMC1_D4 0x180d
  302. #define STM32H7_PB8_FUNC_DCMI_D6 0x180e
  303. #define STM32H7_PB8_FUNC_LCD_B6 0x180f
  304. #define STM32H7_PB8_FUNC_EVENTOUT 0x1810
  305. #define STM32H7_PB8_FUNC_ANALOG 0x1811
  306. #define STM32H7_PB9_FUNC_GPIO 0x1900
  307. #define STM32H7_PB9_FUNC_TIM17_CH1 0x1902
  308. #define STM32H7_PB9_FUNC_TIM4_CH4 0x1903
  309. #define STM32H7_PB9_FUNC_DFSDM_DATIN7 0x1904
  310. #define STM32H7_PB9_FUNC_I2C1_SDA 0x1905
  311. #define STM32H7_PB9_FUNC_SPI2_NSS_I2S2_WS 0x1906
  312. #define STM32H7_PB9_FUNC_I2C4_SDA 0x1907
  313. #define STM32H7_PB9_FUNC_SDMMC1_CDIR 0x1908
  314. #define STM32H7_PB9_FUNC_UART4_TX 0x1909
  315. #define STM32H7_PB9_FUNC_CAN1_TX 0x190a
  316. #define STM32H7_PB9_FUNC_SDMMC2_D5 0x190b
  317. #define STM32H7_PB9_FUNC_I2C4_SMBA 0x190c
  318. #define STM32H7_PB9_FUNC_SDMMC1_D5 0x190d
  319. #define STM32H7_PB9_FUNC_DCMI_D7 0x190e
  320. #define STM32H7_PB9_FUNC_LCD_B7 0x190f
  321. #define STM32H7_PB9_FUNC_EVENTOUT 0x1910
  322. #define STM32H7_PB9_FUNC_ANALOG 0x1911
  323. #define STM32H7_PB10_FUNC_GPIO 0x1a00
  324. #define STM32H7_PB10_FUNC_TIM2_CH3 0x1a02
  325. #define STM32H7_PB10_FUNC_HRTIM_SCOUT 0x1a03
  326. #define STM32H7_PB10_FUNC_LPTIM2_IN1 0x1a04
  327. #define STM32H7_PB10_FUNC_I2C2_SCL 0x1a05
  328. #define STM32H7_PB10_FUNC_SPI2_SCK_I2S2_CK 0x1a06
  329. #define STM32H7_PB10_FUNC_DFSDM_DATIN7 0x1a07
  330. #define STM32H7_PB10_FUNC_USART3_TX 0x1a08
  331. #define STM32H7_PB10_FUNC_QUADSPI_BK1_NCS 0x1a0a
  332. #define STM32H7_PB10_FUNC_OTG_HS_ULPI_D3 0x1a0b
  333. #define STM32H7_PB10_FUNC_ETH_MII_RX_ER 0x1a0c
  334. #define STM32H7_PB10_FUNC_LCD_G4 0x1a0f
  335. #define STM32H7_PB10_FUNC_EVENTOUT 0x1a10
  336. #define STM32H7_PB10_FUNC_ANALOG 0x1a11
  337. #define STM32H7_PB11_FUNC_GPIO 0x1b00
  338. #define STM32H7_PB11_FUNC_TIM2_CH4 0x1b02
  339. #define STM32H7_PB11_FUNC_HRTIM_SCIN 0x1b03
  340. #define STM32H7_PB11_FUNC_LPTIM2_ETR 0x1b04
  341. #define STM32H7_PB11_FUNC_I2C2_SDA 0x1b05
  342. #define STM32H7_PB11_FUNC_DFSDM_CKIN7 0x1b07
  343. #define STM32H7_PB11_FUNC_USART3_RX 0x1b08
  344. #define STM32H7_PB11_FUNC_OTG_HS_ULPI_D4 0x1b0b
  345. #define STM32H7_PB11_FUNC_ETH_MII_TX_EN_ETH_RMII_TX_EN 0x1b0c
  346. #define STM32H7_PB11_FUNC_DSI_TE 0x1b0e
  347. #define STM32H7_PB11_FUNC_LCD_G5 0x1b0f
  348. #define STM32H7_PB11_FUNC_EVENTOUT 0x1b10
  349. #define STM32H7_PB11_FUNC_ANALOG 0x1b11
  350. #define STM32H7_PB12_FUNC_GPIO 0x1c00
  351. #define STM32H7_PB12_FUNC_TIM1_BKIN 0x1c02
  352. #define STM32H7_PB12_FUNC_I2C2_SMBA 0x1c05
  353. #define STM32H7_PB12_FUNC_SPI2_NSS_I2S2_WS 0x1c06
  354. #define STM32H7_PB12_FUNC_DFSDM_DATIN1 0x1c07
  355. #define STM32H7_PB12_FUNC_USART3_CK 0x1c08
  356. #define STM32H7_PB12_FUNC_CAN2_RX 0x1c0a
  357. #define STM32H7_PB12_FUNC_OTG_HS_ULPI_D5 0x1c0b
  358. #define STM32H7_PB12_FUNC_ETH_MII_TXD0_ETH_RMII_TXD0 0x1c0c
  359. #define STM32H7_PB12_FUNC_OTG_HS_ID 0x1c0d
  360. #define STM32H7_PB12_FUNC_TIM1_BKIN_COMP12 0x1c0e
  361. #define STM32H7_PB12_FUNC_UART5_RX 0x1c0f
  362. #define STM32H7_PB12_FUNC_EVENTOUT 0x1c10
  363. #define STM32H7_PB12_FUNC_ANALOG 0x1c11
  364. #define STM32H7_PB13_FUNC_GPIO 0x1d00
  365. #define STM32H7_PB13_FUNC_TIM1_CH1N 0x1d02
  366. #define STM32H7_PB13_FUNC_LPTIM2_OUT 0x1d04
  367. #define STM32H7_PB13_FUNC_SPI2_SCK_I2S2_CK 0x1d06
  368. #define STM32H7_PB13_FUNC_DFSDM_CKIN1 0x1d07
  369. #define STM32H7_PB13_FUNC_USART3_CTS_NSS 0x1d08
  370. #define STM32H7_PB13_FUNC_CAN2_TX 0x1d0a
  371. #define STM32H7_PB13_FUNC_OTG_HS_ULPI_D6 0x1d0b
  372. #define STM32H7_PB13_FUNC_ETH_MII_TXD1_ETH_RMII_TXD1 0x1d0c
  373. #define STM32H7_PB13_FUNC_UART5_TX 0x1d0f
  374. #define STM32H7_PB13_FUNC_EVENTOUT 0x1d10
  375. #define STM32H7_PB13_FUNC_ANALOG 0x1d11
  376. #define STM32H7_PB14_FUNC_GPIO 0x1e00
  377. #define STM32H7_PB14_FUNC_TIM1_CH2N 0x1e02
  378. #define STM32H7_PB14_FUNC_TIM8_CH2N 0x1e04
  379. #define STM32H7_PB14_FUNC_USART1_TX 0x1e05
  380. #define STM32H7_PB14_FUNC_SPI2_MISO_I2S2_SDI 0x1e06
  381. #define STM32H7_PB14_FUNC_DFSDM_DATIN2 0x1e07
  382. #define STM32H7_PB14_FUNC_USART3_RTS 0x1e08
  383. #define STM32H7_PB14_FUNC_UART4_RTS 0x1e09
  384. #define STM32H7_PB14_FUNC_SDMMC2_D0 0x1e0a
  385. #define STM32H7_PB14_FUNC_OTG_HS_DM 0x1e0d
  386. #define STM32H7_PB14_FUNC_EVENTOUT 0x1e10
  387. #define STM32H7_PB14_FUNC_ANALOG 0x1e11
  388. #define STM32H7_PB15_FUNC_GPIO 0x1f00
  389. #define STM32H7_PB15_FUNC_RTC_REFIN 0x1f01
  390. #define STM32H7_PB15_FUNC_TIM1_CH3N 0x1f02
  391. #define STM32H7_PB15_FUNC_TIM8_CH3N 0x1f04
  392. #define STM32H7_PB15_FUNC_USART1_RX 0x1f05
  393. #define STM32H7_PB15_FUNC_SPI2_MOSI_I2S2_SDO 0x1f06
  394. #define STM32H7_PB15_FUNC_DFSDM_CKIN2 0x1f07
  395. #define STM32H7_PB15_FUNC_UART4_CTS 0x1f09
  396. #define STM32H7_PB15_FUNC_SDMMC2_D1 0x1f0a
  397. #define STM32H7_PB15_FUNC_OTG_HS_DP 0x1f0d
  398. #define STM32H7_PB15_FUNC_EVENTOUT 0x1f10
  399. #define STM32H7_PB15_FUNC_ANALOG 0x1f11
  400. #define STM32H7_PC0_FUNC_GPIO 0x2000
  401. #define STM32H7_PC0_FUNC_DFSDM_CKIN0 0x2004
  402. #define STM32H7_PC0_FUNC_DFSDM_DATIN4 0x2007
  403. #define STM32H7_PC0_FUNC_SAI2_FS_B 0x2009
  404. #define STM32H7_PC0_FUNC_OTG_HS_ULPI_STP 0x200b
  405. #define STM32H7_PC0_FUNC_FMC_SDNWE 0x200d
  406. #define STM32H7_PC0_FUNC_LCD_R5 0x200f
  407. #define STM32H7_PC0_FUNC_EVENTOUT 0x2010
  408. #define STM32H7_PC0_FUNC_ANALOG 0x2011
  409. #define STM32H7_PC1_FUNC_GPIO 0x2100
  410. #define STM32H7_PC1_FUNC_TRACED0 0x2101
  411. #define STM32H7_PC1_FUNC_SAI1_D1 0x2103
  412. #define STM32H7_PC1_FUNC_DFSDM_DATIN0 0x2104
  413. #define STM32H7_PC1_FUNC_DFSDM_CKIN4 0x2105
  414. #define STM32H7_PC1_FUNC_SPI2_MOSI_I2S2_SDO 0x2106
  415. #define STM32H7_PC1_FUNC_SAI1_SD_A 0x2107
  416. #define STM32H7_PC1_FUNC_SAI4_SD_A 0x2109
  417. #define STM32H7_PC1_FUNC_SDMMC2_CK 0x210a
  418. #define STM32H7_PC1_FUNC_SAI4_D1 0x210b
  419. #define STM32H7_PC1_FUNC_ETH_MDC 0x210c
  420. #define STM32H7_PC1_FUNC_MDIOS_MDC 0x210d
  421. #define STM32H7_PC1_FUNC_EVENTOUT 0x2110
  422. #define STM32H7_PC1_FUNC_ANALOG 0x2111
  423. #define STM32H7_PC2_FUNC_GPIO 0x2200
  424. #define STM32H7_PC2_FUNC_DFSDM_CKIN1 0x2204
  425. #define STM32H7_PC2_FUNC_SPI2_MISO_I2S2_SDI 0x2206
  426. #define STM32H7_PC2_FUNC_DFSDM_CKOUT 0x2207
  427. #define STM32H7_PC2_FUNC_OTG_HS_ULPI_DIR 0x220b
  428. #define STM32H7_PC2_FUNC_ETH_MII_TXD2 0x220c
  429. #define STM32H7_PC2_FUNC_FMC_SDNE0 0x220d
  430. #define STM32H7_PC2_FUNC_EVENTOUT 0x2210
  431. #define STM32H7_PC2_FUNC_ANALOG 0x2211
  432. #define STM32H7_PC3_FUNC_GPIO 0x2300
  433. #define STM32H7_PC3_FUNC_DFSDM_DATIN1 0x2304
  434. #define STM32H7_PC3_FUNC_SPI2_MOSI_I2S2_SDO 0x2306
  435. #define STM32H7_PC3_FUNC_OTG_HS_ULPI_NXT 0x230b
  436. #define STM32H7_PC3_FUNC_ETH_MII_TX_CLK 0x230c
  437. #define STM32H7_PC3_FUNC_FMC_SDCKE0 0x230d
  438. #define STM32H7_PC3_FUNC_EVENTOUT 0x2310
  439. #define STM32H7_PC3_FUNC_ANALOG 0x2311
  440. #define STM32H7_PC4_FUNC_GPIO 0x2400
  441. #define STM32H7_PC4_FUNC_DFSDM_CKIN2 0x2404
  442. #define STM32H7_PC4_FUNC_I2S1_MCK 0x2406
  443. #define STM32H7_PC4_FUNC_SPDIFRX_IN2 0x240a
  444. #define STM32H7_PC4_FUNC_ETH_MII_RXD0_ETH_RMII_RXD0 0x240c
  445. #define STM32H7_PC4_FUNC_FMC_SDNE0 0x240d
  446. #define STM32H7_PC4_FUNC_EVENTOUT 0x2410
  447. #define STM32H7_PC4_FUNC_ANALOG 0x2411
  448. #define STM32H7_PC5_FUNC_GPIO 0x2500
  449. #define STM32H7_PC5_FUNC_SAI1_D3 0x2503
  450. #define STM32H7_PC5_FUNC_DFSDM_DATIN2 0x2504
  451. #define STM32H7_PC5_FUNC_SPDIFRX_IN3 0x250a
  452. #define STM32H7_PC5_FUNC_SAI4_D3 0x250b
  453. #define STM32H7_PC5_FUNC_ETH_MII_RXD1_ETH_RMII_RXD1 0x250c
  454. #define STM32H7_PC5_FUNC_FMC_SDCKE0 0x250d
  455. #define STM32H7_PC5_FUNC_COMP_1_OUT 0x250e
  456. #define STM32H7_PC5_FUNC_EVENTOUT 0x2510
  457. #define STM32H7_PC5_FUNC_ANALOG 0x2511
  458. #define STM32H7_PC6_FUNC_GPIO 0x2600
  459. #define STM32H7_PC6_FUNC_HRTIM_CHA1 0x2602
  460. #define STM32H7_PC6_FUNC_TIM3_CH1 0x2603
  461. #define STM32H7_PC6_FUNC_TIM8_CH1 0x2604
  462. #define STM32H7_PC6_FUNC_DFSDM_CKIN3 0x2605
  463. #define STM32H7_PC6_FUNC_I2S2_MCK 0x2606
  464. #define STM32H7_PC6_FUNC_USART6_TX 0x2608
  465. #define STM32H7_PC6_FUNC_SDMMC1_D0DIR 0x2609
  466. #define STM32H7_PC6_FUNC_FMC_NWAIT 0x260a
  467. #define STM32H7_PC6_FUNC_SDMMC2_D6 0x260b
  468. #define STM32H7_PC6_FUNC_SDMMC1_D6 0x260d
  469. #define STM32H7_PC6_FUNC_DCMI_D0 0x260e
  470. #define STM32H7_PC6_FUNC_LCD_HSYNC 0x260f
  471. #define STM32H7_PC6_FUNC_EVENTOUT 0x2610
  472. #define STM32H7_PC6_FUNC_ANALOG 0x2611
  473. #define STM32H7_PC7_FUNC_GPIO 0x2700
  474. #define STM32H7_PC7_FUNC_TRGIO 0x2701
  475. #define STM32H7_PC7_FUNC_HRTIM_CHA2 0x2702
  476. #define STM32H7_PC7_FUNC_TIM3_CH2 0x2703
  477. #define STM32H7_PC7_FUNC_TIM8_CH2 0x2704
  478. #define STM32H7_PC7_FUNC_DFSDM_DATIN3 0x2705
  479. #define STM32H7_PC7_FUNC_I2S3_MCK 0x2707
  480. #define STM32H7_PC7_FUNC_USART6_RX 0x2708
  481. #define STM32H7_PC7_FUNC_SDMMC1_D123DIR 0x2709
  482. #define STM32H7_PC7_FUNC_FMC_NE1 0x270a
  483. #define STM32H7_PC7_FUNC_SDMMC2_D7 0x270b
  484. #define STM32H7_PC7_FUNC_SWPMI_TX 0x270c
  485. #define STM32H7_PC7_FUNC_SDMMC1_D7 0x270d
  486. #define STM32H7_PC7_FUNC_DCMI_D1 0x270e
  487. #define STM32H7_PC7_FUNC_LCD_G6 0x270f
  488. #define STM32H7_PC7_FUNC_EVENTOUT 0x2710
  489. #define STM32H7_PC7_FUNC_ANALOG 0x2711
  490. #define STM32H7_PC8_FUNC_GPIO 0x2800
  491. #define STM32H7_PC8_FUNC_TRACED1 0x2801
  492. #define STM32H7_PC8_FUNC_HRTIM_CHB1 0x2802
  493. #define STM32H7_PC8_FUNC_TIM3_CH3 0x2803
  494. #define STM32H7_PC8_FUNC_TIM8_CH3 0x2804
  495. #define STM32H7_PC8_FUNC_USART6_CK 0x2808
  496. #define STM32H7_PC8_FUNC_UART5_RTS 0x2809
  497. #define STM32H7_PC8_FUNC_FMC_NE2_FMC_NCE 0x280a
  498. #define STM32H7_PC8_FUNC_SWPMI_RX 0x280c
  499. #define STM32H7_PC8_FUNC_SDMMC1_D0 0x280d
  500. #define STM32H7_PC8_FUNC_DCMI_D2 0x280e
  501. #define STM32H7_PC8_FUNC_EVENTOUT 0x2810
  502. #define STM32H7_PC8_FUNC_ANALOG 0x2811
  503. #define STM32H7_PC9_FUNC_GPIO 0x2900
  504. #define STM32H7_PC9_FUNC_MCO2 0x2901
  505. #define STM32H7_PC9_FUNC_TIM3_CH4 0x2903
  506. #define STM32H7_PC9_FUNC_TIM8_CH4 0x2904
  507. #define STM32H7_PC9_FUNC_I2C3_SDA 0x2905
  508. #define STM32H7_PC9_FUNC_I2S_CKIN 0x2906
  509. #define STM32H7_PC9_FUNC_UART5_CTS 0x2909
  510. #define STM32H7_PC9_FUNC_QUADSPI_BK1_IO0 0x290a
  511. #define STM32H7_PC9_FUNC_LCD_G3 0x290b
  512. #define STM32H7_PC9_FUNC_SWPMI_SUSPEND 0x290c
  513. #define STM32H7_PC9_FUNC_SDMMC1_D1 0x290d
  514. #define STM32H7_PC9_FUNC_DCMI_D3 0x290e
  515. #define STM32H7_PC9_FUNC_LCD_B2 0x290f
  516. #define STM32H7_PC9_FUNC_EVENTOUT 0x2910
  517. #define STM32H7_PC9_FUNC_ANALOG 0x2911
  518. #define STM32H7_PC10_FUNC_GPIO 0x2a00
  519. #define STM32H7_PC10_FUNC_HRTIM_EEV1 0x2a03
  520. #define STM32H7_PC10_FUNC_DFSDM_CKIN5 0x2a04
  521. #define STM32H7_PC10_FUNC_SPI3_SCK_I2S3_CK 0x2a07
  522. #define STM32H7_PC10_FUNC_USART3_TX 0x2a08
  523. #define STM32H7_PC10_FUNC_UART4_TX 0x2a09
  524. #define STM32H7_PC10_FUNC_QUADSPI_BK1_IO1 0x2a0a
  525. #define STM32H7_PC10_FUNC_SDMMC1_D2 0x2a0d
  526. #define STM32H7_PC10_FUNC_DCMI_D8 0x2a0e
  527. #define STM32H7_PC10_FUNC_LCD_R2 0x2a0f
  528. #define STM32H7_PC10_FUNC_EVENTOUT 0x2a10
  529. #define STM32H7_PC10_FUNC_ANALOG 0x2a11
  530. #define STM32H7_PC11_FUNC_GPIO 0x2b00
  531. #define STM32H7_PC11_FUNC_HRTIM_FLT2 0x2b03
  532. #define STM32H7_PC11_FUNC_DFSDM_DATIN5 0x2b04
  533. #define STM32H7_PC11_FUNC_SPI3_MISO_I2S3_SDI 0x2b07
  534. #define STM32H7_PC11_FUNC_USART3_RX 0x2b08
  535. #define STM32H7_PC11_FUNC_UART4_RX 0x2b09
  536. #define STM32H7_PC11_FUNC_QUADSPI_BK2_NCS 0x2b0a
  537. #define STM32H7_PC11_FUNC_SDMMC1_D3 0x2b0d
  538. #define STM32H7_PC11_FUNC_DCMI_D4 0x2b0e
  539. #define STM32H7_PC11_FUNC_EVENTOUT 0x2b10
  540. #define STM32H7_PC11_FUNC_ANALOG 0x2b11
  541. #define STM32H7_PC12_FUNC_GPIO 0x2c00
  542. #define STM32H7_PC12_FUNC_TRACED3 0x2c01
  543. #define STM32H7_PC12_FUNC_HRTIM_EEV2 0x2c03
  544. #define STM32H7_PC12_FUNC_SPI3_MOSI_I2S3_SDO 0x2c07
  545. #define STM32H7_PC12_FUNC_USART3_CK 0x2c08
  546. #define STM32H7_PC12_FUNC_UART5_TX 0x2c09
  547. #define STM32H7_PC12_FUNC_SDMMC1_CK 0x2c0d
  548. #define STM32H7_PC12_FUNC_DCMI_D9 0x2c0e
  549. #define STM32H7_PC12_FUNC_EVENTOUT 0x2c10
  550. #define STM32H7_PC12_FUNC_ANALOG 0x2c11
  551. #define STM32H7_PC13_FUNC_GPIO 0x2d00
  552. #define STM32H7_PC13_FUNC_EVENTOUT 0x2d10
  553. #define STM32H7_PC13_FUNC_ANALOG 0x2d11
  554. #define STM32H7_PC14_FUNC_GPIO 0x2e00
  555. #define STM32H7_PC14_FUNC_EVENTOUT 0x2e10
  556. #define STM32H7_PC14_FUNC_ANALOG 0x2e11
  557. #define STM32H7_PC15_FUNC_GPIO 0x2f00
  558. #define STM32H7_PC15_FUNC_EVENTOUT 0x2f10
  559. #define STM32H7_PC15_FUNC_ANALOG 0x2f11
  560. #define STM32H7_PD0_FUNC_GPIO 0x3000
  561. #define STM32H7_PD0_FUNC_DFSDM_CKIN6 0x3004
  562. #define STM32H7_PD0_FUNC_SAI3_SCK_A 0x3007
  563. #define STM32H7_PD0_FUNC_UART4_RX 0x3009
  564. #define STM32H7_PD0_FUNC_CAN1_RX 0x300a
  565. #define STM32H7_PD0_FUNC_FMC_D2_FMC_DA2 0x300d
  566. #define STM32H7_PD0_FUNC_EVENTOUT 0x3010
  567. #define STM32H7_PD0_FUNC_ANALOG 0x3011
  568. #define STM32H7_PD1_FUNC_GPIO 0x3100
  569. #define STM32H7_PD1_FUNC_DFSDM_DATIN6 0x3104
  570. #define STM32H7_PD1_FUNC_SAI3_SD_A 0x3107
  571. #define STM32H7_PD1_FUNC_UART4_TX 0x3109
  572. #define STM32H7_PD1_FUNC_CAN1_TX 0x310a
  573. #define STM32H7_PD1_FUNC_FMC_D3_FMC_DA3 0x310d
  574. #define STM32H7_PD1_FUNC_EVENTOUT 0x3110
  575. #define STM32H7_PD1_FUNC_ANALOG 0x3111
  576. #define STM32H7_PD2_FUNC_GPIO 0x3200
  577. #define STM32H7_PD2_FUNC_TRACED2 0x3201
  578. #define STM32H7_PD2_FUNC_TIM3_ETR 0x3203
  579. #define STM32H7_PD2_FUNC_UART5_RX 0x3209
  580. #define STM32H7_PD2_FUNC_SDMMC1_CMD 0x320d
  581. #define STM32H7_PD2_FUNC_DCMI_D11 0x320e
  582. #define STM32H7_PD2_FUNC_EVENTOUT 0x3210
  583. #define STM32H7_PD2_FUNC_ANALOG 0x3211
  584. #define STM32H7_PD3_FUNC_GPIO 0x3300
  585. #define STM32H7_PD3_FUNC_DFSDM_CKOUT 0x3304
  586. #define STM32H7_PD3_FUNC_SPI2_SCK_I2S2_CK 0x3306
  587. #define STM32H7_PD3_FUNC_USART2_CTS_NSS 0x3308
  588. #define STM32H7_PD3_FUNC_FMC_CLK 0x330d
  589. #define STM32H7_PD3_FUNC_DCMI_D5 0x330e
  590. #define STM32H7_PD3_FUNC_LCD_G7 0x330f
  591. #define STM32H7_PD3_FUNC_EVENTOUT 0x3310
  592. #define STM32H7_PD3_FUNC_ANALOG 0x3311
  593. #define STM32H7_PD4_FUNC_GPIO 0x3400
  594. #define STM32H7_PD4_FUNC_HRTIM_FLT3 0x3403
  595. #define STM32H7_PD4_FUNC_SAI3_FS_A 0x3407
  596. #define STM32H7_PD4_FUNC_USART2_RTS 0x3408
  597. #define STM32H7_PD4_FUNC_CAN1_RXFD 0x340a
  598. #define STM32H7_PD4_FUNC_FMC_NOE 0x340d
  599. #define STM32H7_PD4_FUNC_EVENTOUT 0x3410
  600. #define STM32H7_PD4_FUNC_ANALOG 0x3411
  601. #define STM32H7_PD5_FUNC_GPIO 0x3500
  602. #define STM32H7_PD5_FUNC_HRTIM_EEV3 0x3503
  603. #define STM32H7_PD5_FUNC_USART2_TX 0x3508
  604. #define STM32H7_PD5_FUNC_CAN1_TXFD 0x350a
  605. #define STM32H7_PD5_FUNC_FMC_NWE 0x350d
  606. #define STM32H7_PD5_FUNC_EVENTOUT 0x3510
  607. #define STM32H7_PD5_FUNC_ANALOG 0x3511
  608. #define STM32H7_PD6_FUNC_GPIO 0x3600
  609. #define STM32H7_PD6_FUNC_SAI1_D1 0x3603
  610. #define STM32H7_PD6_FUNC_DFSDM_CKIN4 0x3604
  611. #define STM32H7_PD6_FUNC_DFSDM_DATIN1 0x3605
  612. #define STM32H7_PD6_FUNC_SPI3_MOSI_I2S3_SDO 0x3606
  613. #define STM32H7_PD6_FUNC_SAI1_SD_A 0x3607
  614. #define STM32H7_PD6_FUNC_USART2_RX 0x3608
  615. #define STM32H7_PD6_FUNC_SAI4_SD_A 0x3609
  616. #define STM32H7_PD6_FUNC_CAN2_RXFD 0x360a
  617. #define STM32H7_PD6_FUNC_SAI4_D1 0x360b
  618. #define STM32H7_PD6_FUNC_SDMMC2_CK 0x360c
  619. #define STM32H7_PD6_FUNC_FMC_NWAIT 0x360d
  620. #define STM32H7_PD6_FUNC_DCMI_D10 0x360e
  621. #define STM32H7_PD6_FUNC_LCD_B2 0x360f
  622. #define STM32H7_PD6_FUNC_EVENTOUT 0x3610
  623. #define STM32H7_PD6_FUNC_ANALOG 0x3611
  624. #define STM32H7_PD7_FUNC_GPIO 0x3700
  625. #define STM32H7_PD7_FUNC_DFSDM_DATIN4 0x3704
  626. #define STM32H7_PD7_FUNC_SPI1_MOSI_I2S1_SDO 0x3706
  627. #define STM32H7_PD7_FUNC_DFSDM_CKIN1 0x3707
  628. #define STM32H7_PD7_FUNC_USART2_CK 0x3708
  629. #define STM32H7_PD7_FUNC_SPDIFRX_IN0 0x370a
  630. #define STM32H7_PD7_FUNC_SDMMC2_CMD 0x370c
  631. #define STM32H7_PD7_FUNC_FMC_NE1 0x370d
  632. #define STM32H7_PD7_FUNC_EVENTOUT 0x3710
  633. #define STM32H7_PD7_FUNC_ANALOG 0x3711
  634. #define STM32H7_PD8_FUNC_GPIO 0x3800
  635. #define STM32H7_PD8_FUNC_DFSDM_CKIN3 0x3804
  636. #define STM32H7_PD8_FUNC_SAI3_SCK_B 0x3807
  637. #define STM32H7_PD8_FUNC_USART3_TX 0x3808
  638. #define STM32H7_PD8_FUNC_SPDIFRX_IN1 0x380a
  639. #define STM32H7_PD8_FUNC_FMC_D13_FMC_DA13 0x380d
  640. #define STM32H7_PD8_FUNC_EVENTOUT 0x3810
  641. #define STM32H7_PD8_FUNC_ANALOG 0x3811
  642. #define STM32H7_PD9_FUNC_GPIO 0x3900
  643. #define STM32H7_PD9_FUNC_DFSDM_DATIN3 0x3904
  644. #define STM32H7_PD9_FUNC_SAI3_SD_B 0x3907
  645. #define STM32H7_PD9_FUNC_USART3_RX 0x3908
  646. #define STM32H7_PD9_FUNC_CAN2_RXFD 0x390a
  647. #define STM32H7_PD9_FUNC_FMC_D14_FMC_DA14 0x390d
  648. #define STM32H7_PD9_FUNC_EVENTOUT 0x3910
  649. #define STM32H7_PD9_FUNC_ANALOG 0x3911
  650. #define STM32H7_PD10_FUNC_GPIO 0x3a00
  651. #define STM32H7_PD10_FUNC_DFSDM_CKOUT 0x3a04
  652. #define STM32H7_PD10_FUNC_SAI3_FS_B 0x3a07
  653. #define STM32H7_PD10_FUNC_USART3_CK 0x3a08
  654. #define STM32H7_PD10_FUNC_CAN2_TXFD 0x3a0a
  655. #define STM32H7_PD10_FUNC_FMC_D15_FMC_DA15 0x3a0d
  656. #define STM32H7_PD10_FUNC_LCD_B3 0x3a0f
  657. #define STM32H7_PD10_FUNC_EVENTOUT 0x3a10
  658. #define STM32H7_PD10_FUNC_ANALOG 0x3a11
  659. #define STM32H7_PD11_FUNC_GPIO 0x3b00
  660. #define STM32H7_PD11_FUNC_LPTIM2_IN2 0x3b04
  661. #define STM32H7_PD11_FUNC_I2C4_SMBA 0x3b05
  662. #define STM32H7_PD11_FUNC_USART3_CTS_NSS 0x3b08
  663. #define STM32H7_PD11_FUNC_QUADSPI_BK1_IO0 0x3b0a
  664. #define STM32H7_PD11_FUNC_SAI2_SD_A 0x3b0b
  665. #define STM32H7_PD11_FUNC_FMC_A16 0x3b0d
  666. #define STM32H7_PD11_FUNC_EVENTOUT 0x3b10
  667. #define STM32H7_PD11_FUNC_ANALOG 0x3b11
  668. #define STM32H7_PD12_FUNC_GPIO 0x3c00
  669. #define STM32H7_PD12_FUNC_LPTIM1_IN1 0x3c02
  670. #define STM32H7_PD12_FUNC_TIM4_CH1 0x3c03
  671. #define STM32H7_PD12_FUNC_LPTIM2_IN1 0x3c04
  672. #define STM32H7_PD12_FUNC_I2C4_SCL 0x3c05
  673. #define STM32H7_PD12_FUNC_USART3_RTS 0x3c08
  674. #define STM32H7_PD12_FUNC_QUADSPI_BK1_IO1 0x3c0a
  675. #define STM32H7_PD12_FUNC_SAI2_FS_A 0x3c0b
  676. #define STM32H7_PD12_FUNC_FMC_A17 0x3c0d
  677. #define STM32H7_PD12_FUNC_EVENTOUT 0x3c10
  678. #define STM32H7_PD12_FUNC_ANALOG 0x3c11
  679. #define STM32H7_PD13_FUNC_GPIO 0x3d00
  680. #define STM32H7_PD13_FUNC_LPTIM1_OUT 0x3d02
  681. #define STM32H7_PD13_FUNC_TIM4_CH2 0x3d03
  682. #define STM32H7_PD13_FUNC_I2C4_SDA 0x3d05
  683. #define STM32H7_PD13_FUNC_QUADSPI_BK1_IO3 0x3d0a
  684. #define STM32H7_PD13_FUNC_SAI2_SCK_A 0x3d0b
  685. #define STM32H7_PD13_FUNC_FMC_A18 0x3d0d
  686. #define STM32H7_PD13_FUNC_EVENTOUT 0x3d10
  687. #define STM32H7_PD13_FUNC_ANALOG 0x3d11
  688. #define STM32H7_PD14_FUNC_GPIO 0x3e00
  689. #define STM32H7_PD14_FUNC_TIM4_CH3 0x3e03
  690. #define STM32H7_PD14_FUNC_SAI3_MCLK_B 0x3e07
  691. #define STM32H7_PD14_FUNC_UART8_CTS 0x3e09
  692. #define STM32H7_PD14_FUNC_FMC_D0_FMC_DA0 0x3e0d
  693. #define STM32H7_PD14_FUNC_EVENTOUT 0x3e10
  694. #define STM32H7_PD14_FUNC_ANALOG 0x3e11
  695. #define STM32H7_PD15_FUNC_GPIO 0x3f00
  696. #define STM32H7_PD15_FUNC_TIM4_CH4 0x3f03
  697. #define STM32H7_PD15_FUNC_SAI3_MCLK_A 0x3f07
  698. #define STM32H7_PD15_FUNC_UART8_RTS 0x3f09
  699. #define STM32H7_PD15_FUNC_FMC_D1_FMC_DA1 0x3f0d
  700. #define STM32H7_PD15_FUNC_EVENTOUT 0x3f10
  701. #define STM32H7_PD15_FUNC_ANALOG 0x3f11
  702. #define STM32H7_PE0_FUNC_GPIO 0x4000
  703. #define STM32H7_PE0_FUNC_LPTIM1_ETR 0x4002
  704. #define STM32H7_PE0_FUNC_TIM4_ETR 0x4003
  705. #define STM32H7_PE0_FUNC_HRTIM_SCIN 0x4004
  706. #define STM32H7_PE0_FUNC_LPTIM2_ETR 0x4005
  707. #define STM32H7_PE0_FUNC_UART8_RX 0x4009
  708. #define STM32H7_PE0_FUNC_CAN1_RXFD 0x400a
  709. #define STM32H7_PE0_FUNC_SAI2_MCK_A 0x400b
  710. #define STM32H7_PE0_FUNC_FMC_NBL0 0x400d
  711. #define STM32H7_PE0_FUNC_DCMI_D2 0x400e
  712. #define STM32H7_PE0_FUNC_EVENTOUT 0x4010
  713. #define STM32H7_PE0_FUNC_ANALOG 0x4011
  714. #define STM32H7_PE1_FUNC_GPIO 0x4100
  715. #define STM32H7_PE1_FUNC_LPTIM1_IN2 0x4102
  716. #define STM32H7_PE1_FUNC_HRTIM_SCOUT 0x4104
  717. #define STM32H7_PE1_FUNC_UART8_TX 0x4109
  718. #define STM32H7_PE1_FUNC_CAN1_TXFD 0x410a
  719. #define STM32H7_PE1_FUNC_FMC_NBL1 0x410d
  720. #define STM32H7_PE1_FUNC_DCMI_D3 0x410e
  721. #define STM32H7_PE1_FUNC_EVENTOUT 0x4110
  722. #define STM32H7_PE1_FUNC_ANALOG 0x4111
  723. #define STM32H7_PE2_FUNC_GPIO 0x4200
  724. #define STM32H7_PE2_FUNC_TRACECLK 0x4201
  725. #define STM32H7_PE2_FUNC_SAI1_CK1 0x4203
  726. #define STM32H7_PE2_FUNC_SPI4_SCK 0x4206
  727. #define STM32H7_PE2_FUNC_SAI1_MCLK_A 0x4207
  728. #define STM32H7_PE2_FUNC_SAI4_MCLK_A 0x4209
  729. #define STM32H7_PE2_FUNC_QUADSPI_BK1_IO2 0x420a
  730. #define STM32H7_PE2_FUNC_SAI4_CK1 0x420b
  731. #define STM32H7_PE2_FUNC_ETH_MII_TXD3 0x420c
  732. #define STM32H7_PE2_FUNC_FMC_A23 0x420d
  733. #define STM32H7_PE2_FUNC_EVENTOUT 0x4210
  734. #define STM32H7_PE2_FUNC_ANALOG 0x4211
  735. #define STM32H7_PE3_FUNC_GPIO 0x4300
  736. #define STM32H7_PE3_FUNC_TRACED0 0x4301
  737. #define STM32H7_PE3_FUNC_TIM15_BKIN 0x4305
  738. #define STM32H7_PE3_FUNC_SAI1_SD_B 0x4307
  739. #define STM32H7_PE3_FUNC_SAI4_SD_B 0x4309
  740. #define STM32H7_PE3_FUNC_FMC_A19 0x430d
  741. #define STM32H7_PE3_FUNC_EVENTOUT 0x4310
  742. #define STM32H7_PE3_FUNC_ANALOG 0x4311
  743. #define STM32H7_PE4_FUNC_GPIO 0x4400
  744. #define STM32H7_PE4_FUNC_TRACED1 0x4401
  745. #define STM32H7_PE4_FUNC_SAI1_D2 0x4403
  746. #define STM32H7_PE4_FUNC_DFSDM_DATIN3 0x4404
  747. #define STM32H7_PE4_FUNC_TIM15_CH1N 0x4405
  748. #define STM32H7_PE4_FUNC_SPI4_NSS 0x4406
  749. #define STM32H7_PE4_FUNC_SAI1_FS_A 0x4407
  750. #define STM32H7_PE4_FUNC_SAI4_FS_A 0x4409
  751. #define STM32H7_PE4_FUNC_SAI4_D2 0x440b
  752. #define STM32H7_PE4_FUNC_FMC_A20 0x440d
  753. #define STM32H7_PE4_FUNC_DCMI_D4 0x440e
  754. #define STM32H7_PE4_FUNC_LCD_B0 0x440f
  755. #define STM32H7_PE4_FUNC_EVENTOUT 0x4410
  756. #define STM32H7_PE4_FUNC_ANALOG 0x4411
  757. #define STM32H7_PE5_FUNC_GPIO 0x4500
  758. #define STM32H7_PE5_FUNC_TRACED2 0x4501
  759. #define STM32H7_PE5_FUNC_SAI1_CK2 0x4503
  760. #define STM32H7_PE5_FUNC_DFSDM_CKIN3 0x4504
  761. #define STM32H7_PE5_FUNC_TIM15_CH1 0x4505
  762. #define STM32H7_PE5_FUNC_SPI4_MISO 0x4506
  763. #define STM32H7_PE5_FUNC_SAI1_SCK_A 0x4507
  764. #define STM32H7_PE5_FUNC_SAI4_SCK_A 0x4509
  765. #define STM32H7_PE5_FUNC_SAI4_CK2 0x450b
  766. #define STM32H7_PE5_FUNC_FMC_A21 0x450d
  767. #define STM32H7_PE5_FUNC_DCMI_D6 0x450e
  768. #define STM32H7_PE5_FUNC_LCD_G0 0x450f
  769. #define STM32H7_PE5_FUNC_EVENTOUT 0x4510
  770. #define STM32H7_PE5_FUNC_ANALOG 0x4511
  771. #define STM32H7_PE6_FUNC_GPIO 0x4600
  772. #define STM32H7_PE6_FUNC_TRACED3 0x4601
  773. #define STM32H7_PE6_FUNC_TIM1_BKIN2 0x4602
  774. #define STM32H7_PE6_FUNC_SAI1_D1 0x4603
  775. #define STM32H7_PE6_FUNC_TIM15_CH2 0x4605
  776. #define STM32H7_PE6_FUNC_SPI4_MOSI 0x4606
  777. #define STM32H7_PE6_FUNC_SAI1_SD_A 0x4607
  778. #define STM32H7_PE6_FUNC_SAI4_SD_A 0x4609
  779. #define STM32H7_PE6_FUNC_SAI4_D1 0x460a
  780. #define STM32H7_PE6_FUNC_SAI2_MCK_B 0x460b
  781. #define STM32H7_PE6_FUNC_TIM1_BKIN2_COMP12 0x460c
  782. #define STM32H7_PE6_FUNC_FMC_A22 0x460d
  783. #define STM32H7_PE6_FUNC_DCMI_D7 0x460e
  784. #define STM32H7_PE6_FUNC_LCD_G1 0x460f
  785. #define STM32H7_PE6_FUNC_EVENTOUT 0x4610
  786. #define STM32H7_PE6_FUNC_ANALOG 0x4611
  787. #define STM32H7_PE7_FUNC_GPIO 0x4700
  788. #define STM32H7_PE7_FUNC_TIM1_ETR 0x4702
  789. #define STM32H7_PE7_FUNC_DFSDM_DATIN2 0x4704
  790. #define STM32H7_PE7_FUNC_UART7_RX 0x4708
  791. #define STM32H7_PE7_FUNC_QUADSPI_BK2_IO0 0x470b
  792. #define STM32H7_PE7_FUNC_FMC_D4_FMC_DA4 0x470d
  793. #define STM32H7_PE7_FUNC_EVENTOUT 0x4710
  794. #define STM32H7_PE7_FUNC_ANALOG 0x4711
  795. #define STM32H7_PE8_FUNC_GPIO 0x4800
  796. #define STM32H7_PE8_FUNC_TIM1_CH1N 0x4802
  797. #define STM32H7_PE8_FUNC_DFSDM_CKIN2 0x4804
  798. #define STM32H7_PE8_FUNC_UART7_TX 0x4808
  799. #define STM32H7_PE8_FUNC_QUADSPI_BK2_IO1 0x480b
  800. #define STM32H7_PE8_FUNC_FMC_D5_FMC_DA5 0x480d
  801. #define STM32H7_PE8_FUNC_COMP_2_OUT 0x480e
  802. #define STM32H7_PE8_FUNC_EVENTOUT 0x4810
  803. #define STM32H7_PE8_FUNC_ANALOG 0x4811
  804. #define STM32H7_PE9_FUNC_GPIO 0x4900
  805. #define STM32H7_PE9_FUNC_TIM1_CH1 0x4902
  806. #define STM32H7_PE9_FUNC_DFSDM_CKOUT 0x4904
  807. #define STM32H7_PE9_FUNC_UART7_RTS 0x4908
  808. #define STM32H7_PE9_FUNC_QUADSPI_BK2_IO2 0x490b
  809. #define STM32H7_PE9_FUNC_FMC_D6_FMC_DA6 0x490d
  810. #define STM32H7_PE9_FUNC_EVENTOUT 0x4910
  811. #define STM32H7_PE9_FUNC_ANALOG 0x4911
  812. #define STM32H7_PE10_FUNC_GPIO 0x4a00
  813. #define STM32H7_PE10_FUNC_TIM1_CH2N 0x4a02
  814. #define STM32H7_PE10_FUNC_DFSDM_DATIN4 0x4a04
  815. #define STM32H7_PE10_FUNC_UART7_CTS 0x4a08
  816. #define STM32H7_PE10_FUNC_QUADSPI_BK2_IO3 0x4a0b
  817. #define STM32H7_PE10_FUNC_FMC_D7_FMC_DA7 0x4a0d
  818. #define STM32H7_PE10_FUNC_EVENTOUT 0x4a10
  819. #define STM32H7_PE10_FUNC_ANALOG 0x4a11
  820. #define STM32H7_PE11_FUNC_GPIO 0x4b00
  821. #define STM32H7_PE11_FUNC_TIM1_CH2 0x4b02
  822. #define STM32H7_PE11_FUNC_DFSDM_CKIN4 0x4b04
  823. #define STM32H7_PE11_FUNC_SPI4_NSS 0x4b06
  824. #define STM32H7_PE11_FUNC_SAI2_SD_B 0x4b0b
  825. #define STM32H7_PE11_FUNC_FMC_D8_FMC_DA8 0x4b0d
  826. #define STM32H7_PE11_FUNC_LCD_G3 0x4b0f
  827. #define STM32H7_PE11_FUNC_EVENTOUT 0x4b10
  828. #define STM32H7_PE11_FUNC_ANALOG 0x4b11
  829. #define STM32H7_PE12_FUNC_GPIO 0x4c00
  830. #define STM32H7_PE12_FUNC_TIM1_CH3N 0x4c02
  831. #define STM32H7_PE12_FUNC_DFSDM_DATIN5 0x4c04
  832. #define STM32H7_PE12_FUNC_SPI4_SCK 0x4c06
  833. #define STM32H7_PE12_FUNC_SAI2_SCK_B 0x4c0b
  834. #define STM32H7_PE12_FUNC_FMC_D9_FMC_DA9 0x4c0d
  835. #define STM32H7_PE12_FUNC_COMP_1_OUT 0x4c0e
  836. #define STM32H7_PE12_FUNC_LCD_B4 0x4c0f
  837. #define STM32H7_PE12_FUNC_EVENTOUT 0x4c10
  838. #define STM32H7_PE12_FUNC_ANALOG 0x4c11
  839. #define STM32H7_PE13_FUNC_GPIO 0x4d00
  840. #define STM32H7_PE13_FUNC_TIM1_CH3 0x4d02
  841. #define STM32H7_PE13_FUNC_DFSDM_CKIN5 0x4d04
  842. #define STM32H7_PE13_FUNC_SPI4_MISO 0x4d06
  843. #define STM32H7_PE13_FUNC_SAI2_FS_B 0x4d0b
  844. #define STM32H7_PE13_FUNC_FMC_D10_FMC_DA10 0x4d0d
  845. #define STM32H7_PE13_FUNC_COMP_2_OUT 0x4d0e
  846. #define STM32H7_PE13_FUNC_LCD_DE 0x4d0f
  847. #define STM32H7_PE13_FUNC_EVENTOUT 0x4d10
  848. #define STM32H7_PE13_FUNC_ANALOG 0x4d11
  849. #define STM32H7_PE14_FUNC_GPIO 0x4e00
  850. #define STM32H7_PE14_FUNC_TIM1_CH4 0x4e02
  851. #define STM32H7_PE14_FUNC_SPI4_MOSI 0x4e06
  852. #define STM32H7_PE14_FUNC_SAI2_MCK_B 0x4e0b
  853. #define STM32H7_PE14_FUNC_FMC_D11_FMC_DA11 0x4e0d
  854. #define STM32H7_PE14_FUNC_LCD_CLK 0x4e0f
  855. #define STM32H7_PE14_FUNC_EVENTOUT 0x4e10
  856. #define STM32H7_PE14_FUNC_ANALOG 0x4e11
  857. #define STM32H7_PE15_FUNC_GPIO 0x4f00
  858. #define STM32H7_PE15_FUNC_TIM1_BKIN 0x4f02
  859. #define STM32H7_PE15_FUNC_HDMI__TIM1_BKIN 0x4f06
  860. #define STM32H7_PE15_FUNC_FMC_D12_FMC_DA12 0x4f0d
  861. #define STM32H7_PE15_FUNC_TIM1_BKIN_COMP12 0x4f0e
  862. #define STM32H7_PE15_FUNC_LCD_R7 0x4f0f
  863. #define STM32H7_PE15_FUNC_EVENTOUT 0x4f10
  864. #define STM32H7_PE15_FUNC_ANALOG 0x4f11
  865. #define STM32H7_PF0_FUNC_GPIO 0x5000
  866. #define STM32H7_PF0_FUNC_I2C2_SDA 0x5005
  867. #define STM32H7_PF0_FUNC_FMC_A0 0x500d
  868. #define STM32H7_PF0_FUNC_EVENTOUT 0x5010
  869. #define STM32H7_PF0_FUNC_ANALOG 0x5011
  870. #define STM32H7_PF1_FUNC_GPIO 0x5100
  871. #define STM32H7_PF1_FUNC_I2C2_SCL 0x5105
  872. #define STM32H7_PF1_FUNC_FMC_A1 0x510d
  873. #define STM32H7_PF1_FUNC_EVENTOUT 0x5110
  874. #define STM32H7_PF1_FUNC_ANALOG 0x5111
  875. #define STM32H7_PF2_FUNC_GPIO 0x5200
  876. #define STM32H7_PF2_FUNC_I2C2_SMBA 0x5205
  877. #define STM32H7_PF2_FUNC_FMC_A2 0x520d
  878. #define STM32H7_PF2_FUNC_EVENTOUT 0x5210
  879. #define STM32H7_PF2_FUNC_ANALOG 0x5211
  880. #define STM32H7_PF3_FUNC_GPIO 0x5300
  881. #define STM32H7_PF3_FUNC_FMC_A3 0x530d
  882. #define STM32H7_PF3_FUNC_EVENTOUT 0x5310
  883. #define STM32H7_PF3_FUNC_ANALOG 0x5311
  884. #define STM32H7_PF4_FUNC_GPIO 0x5400
  885. #define STM32H7_PF4_FUNC_FMC_A4 0x540d
  886. #define STM32H7_PF4_FUNC_EVENTOUT 0x5410
  887. #define STM32H7_PF4_FUNC_ANALOG 0x5411
  888. #define STM32H7_PF5_FUNC_GPIO 0x5500
  889. #define STM32H7_PF5_FUNC_FMC_A5 0x550d
  890. #define STM32H7_PF5_FUNC_EVENTOUT 0x5510
  891. #define STM32H7_PF5_FUNC_ANALOG 0x5511
  892. #define STM32H7_PF6_FUNC_GPIO 0x5600
  893. #define STM32H7_PF6_FUNC_TIM16_CH1 0x5602
  894. #define STM32H7_PF6_FUNC_SPI5_NSS 0x5606
  895. #define STM32H7_PF6_FUNC_SAI1_SD_B 0x5607
  896. #define STM32H7_PF6_FUNC_UART7_RX 0x5608
  897. #define STM32H7_PF6_FUNC_SAI4_SD_B 0x5609
  898. #define STM32H7_PF6_FUNC_QUADSPI_BK1_IO3 0x560a
  899. #define STM32H7_PF6_FUNC_EVENTOUT 0x5610
  900. #define STM32H7_PF6_FUNC_ANALOG 0x5611
  901. #define STM32H7_PF7_FUNC_GPIO 0x5700
  902. #define STM32H7_PF7_FUNC_TIM17_CH1 0x5702
  903. #define STM32H7_PF7_FUNC_SPI5_SCK 0x5706
  904. #define STM32H7_PF7_FUNC_SAI1_MCLK_B 0x5707
  905. #define STM32H7_PF7_FUNC_UART7_TX 0x5708
  906. #define STM32H7_PF7_FUNC_SAI4_MCLK_B 0x5709
  907. #define STM32H7_PF7_FUNC_QUADSPI_BK1_IO2 0x570a
  908. #define STM32H7_PF7_FUNC_EVENTOUT 0x5710
  909. #define STM32H7_PF7_FUNC_ANALOG 0x5711
  910. #define STM32H7_PF8_FUNC_GPIO 0x5800
  911. #define STM32H7_PF8_FUNC_TIM16_CH1N 0x5802
  912. #define STM32H7_PF8_FUNC_SPI5_MISO 0x5806
  913. #define STM32H7_PF8_FUNC_SAI1_SCK_B 0x5807
  914. #define STM32H7_PF8_FUNC_UART7_RTS 0x5808
  915. #define STM32H7_PF8_FUNC_SAI4_SCK_B 0x5809
  916. #define STM32H7_PF8_FUNC_TIM13_CH1 0x580a
  917. #define STM32H7_PF8_FUNC_QUADSPI_BK1_IO0 0x580b
  918. #define STM32H7_PF8_FUNC_EVENTOUT 0x5810
  919. #define STM32H7_PF8_FUNC_ANALOG 0x5811
  920. #define STM32H7_PF9_FUNC_GPIO 0x5900
  921. #define STM32H7_PF9_FUNC_TIM17_CH1N 0x5902
  922. #define STM32H7_PF9_FUNC_SPI5_MOSI 0x5906
  923. #define STM32H7_PF9_FUNC_SAI1_FS_B 0x5907
  924. #define STM32H7_PF9_FUNC_UART7_CTS 0x5908
  925. #define STM32H7_PF9_FUNC_SAI4_FS_B 0x5909
  926. #define STM32H7_PF9_FUNC_TIM14_CH1 0x590a
  927. #define STM32H7_PF9_FUNC_QUADSPI_BK1_IO1 0x590b
  928. #define STM32H7_PF9_FUNC_EVENTOUT 0x5910
  929. #define STM32H7_PF9_FUNC_ANALOG 0x5911
  930. #define STM32H7_PF10_FUNC_GPIO 0x5a00
  931. #define STM32H7_PF10_FUNC_TIM16_BKIN 0x5a02
  932. #define STM32H7_PF10_FUNC_SAI1_D3 0x5a03
  933. #define STM32H7_PF10_FUNC_QUADSPI_CLK 0x5a0a
  934. #define STM32H7_PF10_FUNC_SAI4_D3 0x5a0b
  935. #define STM32H7_PF10_FUNC_DCMI_D11 0x5a0e
  936. #define STM32H7_PF10_FUNC_LCD_DE 0x5a0f
  937. #define STM32H7_PF10_FUNC_EVENTOUT 0x5a10
  938. #define STM32H7_PF10_FUNC_ANALOG 0x5a11
  939. #define STM32H7_PF11_FUNC_GPIO 0x5b00
  940. #define STM32H7_PF11_FUNC_SPI5_MOSI 0x5b06
  941. #define STM32H7_PF11_FUNC_SAI2_SD_B 0x5b0b
  942. #define STM32H7_PF11_FUNC_FMC_SDNRAS 0x5b0d
  943. #define STM32H7_PF11_FUNC_DCMI_D12 0x5b0e
  944. #define STM32H7_PF11_FUNC_EVENTOUT 0x5b10
  945. #define STM32H7_PF11_FUNC_ANALOG 0x5b11
  946. #define STM32H7_PF12_FUNC_GPIO 0x5c00
  947. #define STM32H7_PF12_FUNC_FMC_A6 0x5c0d
  948. #define STM32H7_PF12_FUNC_EVENTOUT 0x5c10
  949. #define STM32H7_PF12_FUNC_ANALOG 0x5c11
  950. #define STM32H7_PF13_FUNC_GPIO 0x5d00
  951. #define STM32H7_PF13_FUNC_DFSDM_DATIN6 0x5d04
  952. #define STM32H7_PF13_FUNC_I2C4_SMBA 0x5d05
  953. #define STM32H7_PF13_FUNC_FMC_A7 0x5d0d
  954. #define STM32H7_PF13_FUNC_EVENTOUT 0x5d10
  955. #define STM32H7_PF13_FUNC_ANALOG 0x5d11
  956. #define STM32H7_PF14_FUNC_GPIO 0x5e00
  957. #define STM32H7_PF14_FUNC_DFSDM_CKIN6 0x5e04
  958. #define STM32H7_PF14_FUNC_I2C4_SCL 0x5e05
  959. #define STM32H7_PF14_FUNC_FMC_A8 0x5e0d
  960. #define STM32H7_PF14_FUNC_EVENTOUT 0x5e10
  961. #define STM32H7_PF14_FUNC_ANALOG 0x5e11
  962. #define STM32H7_PF15_FUNC_GPIO 0x5f00
  963. #define STM32H7_PF15_FUNC_I2C4_SDA 0x5f05
  964. #define STM32H7_PF15_FUNC_FMC_A9 0x5f0d
  965. #define STM32H7_PF15_FUNC_EVENTOUT 0x5f10
  966. #define STM32H7_PF15_FUNC_ANALOG 0x5f11
  967. #define STM32H7_PG0_FUNC_GPIO 0x6000
  968. #define STM32H7_PG0_FUNC_FMC_A10 0x600d
  969. #define STM32H7_PG0_FUNC_EVENTOUT 0x6010
  970. #define STM32H7_PG0_FUNC_ANALOG 0x6011
  971. #define STM32H7_PG1_FUNC_GPIO 0x6100
  972. #define STM32H7_PG1_FUNC_FMC_A11 0x610d
  973. #define STM32H7_PG1_FUNC_EVENTOUT 0x6110
  974. #define STM32H7_PG1_FUNC_ANALOG 0x6111
  975. #define STM32H7_PG2_FUNC_GPIO 0x6200
  976. #define STM32H7_PG2_FUNC_TIM8_BKIN 0x6204
  977. #define STM32H7_PG2_FUNC_TIM8_BKIN_COMP12 0x620c
  978. #define STM32H7_PG2_FUNC_FMC_A12 0x620d
  979. #define STM32H7_PG2_FUNC_EVENTOUT 0x6210
  980. #define STM32H7_PG2_FUNC_ANALOG 0x6211
  981. #define STM32H7_PG3_FUNC_GPIO 0x6300
  982. #define STM32H7_PG3_FUNC_TIM8_BKIN2 0x6304
  983. #define STM32H7_PG3_FUNC_TIM8_BKIN2_COMP12 0x630c
  984. #define STM32H7_PG3_FUNC_FMC_A13 0x630d
  985. #define STM32H7_PG3_FUNC_EVENTOUT 0x6310
  986. #define STM32H7_PG3_FUNC_ANALOG 0x6311
  987. #define STM32H7_PG4_FUNC_GPIO 0x6400
  988. #define STM32H7_PG4_FUNC_TIM1_BKIN2 0x6402
  989. #define STM32H7_PG4_FUNC_TIM1_BKIN2_COMP12 0x640c
  990. #define STM32H7_PG4_FUNC_FMC_A14_FMC_BA0 0x640d
  991. #define STM32H7_PG4_FUNC_EVENTOUT 0x6410
  992. #define STM32H7_PG4_FUNC_ANALOG 0x6411
  993. #define STM32H7_PG5_FUNC_GPIO 0x6500
  994. #define STM32H7_PG5_FUNC_TIM1_ETR 0x6502
  995. #define STM32H7_PG5_FUNC_FMC_A15_FMC_BA1 0x650d
  996. #define STM32H7_PG5_FUNC_EVENTOUT 0x6510
  997. #define STM32H7_PG5_FUNC_ANALOG 0x6511
  998. #define STM32H7_PG6_FUNC_GPIO 0x6600
  999. #define STM32H7_PG6_FUNC_TIM17_BKIN 0x6602
  1000. #define STM32H7_PG6_FUNC_HRTIM_CHE1 0x6603
  1001. #define STM32H7_PG6_FUNC_QUADSPI_BK1_NCS 0x660b
  1002. #define STM32H7_PG6_FUNC_FMC_NE3 0x660d
  1003. #define STM32H7_PG6_FUNC_DCMI_D12 0x660e
  1004. #define STM32H7_PG6_FUNC_LCD_R7 0x660f
  1005. #define STM32H7_PG6_FUNC_EVENTOUT 0x6610
  1006. #define STM32H7_PG6_FUNC_ANALOG 0x6611
  1007. #define STM32H7_PG7_FUNC_GPIO 0x6700
  1008. #define STM32H7_PG7_FUNC_HRTIM_CHE2 0x6703
  1009. #define STM32H7_PG7_FUNC_SAI1_MCLK_A 0x6707
  1010. #define STM32H7_PG7_FUNC_USART6_CK 0x6708
  1011. #define STM32H7_PG7_FUNC_FMC_INT 0x670d
  1012. #define STM32H7_PG7_FUNC_DCMI_D13 0x670e
  1013. #define STM32H7_PG7_FUNC_LCD_CLK 0x670f
  1014. #define STM32H7_PG7_FUNC_EVENTOUT 0x6710
  1015. #define STM32H7_PG7_FUNC_ANALOG 0x6711
  1016. #define STM32H7_PG8_FUNC_GPIO 0x6800
  1017. #define STM32H7_PG8_FUNC_TIM8_ETR 0x6804
  1018. #define STM32H7_PG8_FUNC_SPI6_NSS 0x6806
  1019. #define STM32H7_PG8_FUNC_USART6_RTS 0x6808
  1020. #define STM32H7_PG8_FUNC_SPDIFRX_IN2 0x6809
  1021. #define STM32H7_PG8_FUNC_ETH_PPS_OUT 0x680c
  1022. #define STM32H7_PG8_FUNC_FMC_SDCLK 0x680d
  1023. #define STM32H7_PG8_FUNC_LCD_G7 0x680f
  1024. #define STM32H7_PG8_FUNC_EVENTOUT 0x6810
  1025. #define STM32H7_PG8_FUNC_ANALOG 0x6811
  1026. #define STM32H7_PG9_FUNC_GPIO 0x6900
  1027. #define STM32H7_PG9_FUNC_SPI1_MISO_I2S1_SDI 0x6906
  1028. #define STM32H7_PG9_FUNC_USART6_RX 0x6908
  1029. #define STM32H7_PG9_FUNC_SPDIFRX_IN3 0x6909
  1030. #define STM32H7_PG9_FUNC_QUADSPI_BK2_IO2 0x690a
  1031. #define STM32H7_PG9_FUNC_SAI2_FS_B 0x690b
  1032. #define STM32H7_PG9_FUNC_FMC_NE2_FMC_NCE 0x690d
  1033. #define STM32H7_PG9_FUNC_DCMI_VSYNC 0x690e
  1034. #define STM32H7_PG9_FUNC_EVENTOUT 0x6910
  1035. #define STM32H7_PG9_FUNC_ANALOG 0x6911
  1036. #define STM32H7_PG10_FUNC_GPIO 0x6a00
  1037. #define STM32H7_PG10_FUNC_HRTIM_FLT5 0x6a03
  1038. #define STM32H7_PG10_FUNC_SPI1_NSS_I2S1_WS 0x6a06
  1039. #define STM32H7_PG10_FUNC_LCD_G3 0x6a0a
  1040. #define STM32H7_PG10_FUNC_SAI2_SD_B 0x6a0b
  1041. #define STM32H7_PG10_FUNC_FMC_NE3 0x6a0d
  1042. #define STM32H7_PG10_FUNC_DCMI_D2 0x6a0e
  1043. #define STM32H7_PG10_FUNC_LCD_B2 0x6a0f
  1044. #define STM32H7_PG10_FUNC_EVENTOUT 0x6a10
  1045. #define STM32H7_PG10_FUNC_ANALOG 0x6a11
  1046. #define STM32H7_PG11_FUNC_GPIO 0x6b00
  1047. #define STM32H7_PG11_FUNC_HRTIM_EEV4 0x6b03
  1048. #define STM32H7_PG11_FUNC_SPI1_SCK_I2S1_CK 0x6b06
  1049. #define STM32H7_PG11_FUNC_SPDIFRX_IN0 0x6b09
  1050. #define STM32H7_PG11_FUNC_SDMMC2_D2 0x6b0b
  1051. #define STM32H7_PG11_FUNC_ETH_MII_TX_EN_ETH_RMII_TX_EN 0x6b0c
  1052. #define STM32H7_PG11_FUNC_DCMI_D3 0x6b0e
  1053. #define STM32H7_PG11_FUNC_LCD_B3 0x6b0f
  1054. #define STM32H7_PG11_FUNC_EVENTOUT 0x6b10
  1055. #define STM32H7_PG11_FUNC_ANALOG 0x6b11
  1056. #define STM32H7_PG12_FUNC_GPIO 0x6c00
  1057. #define STM32H7_PG12_FUNC_LPTIM1_IN1 0x6c02
  1058. #define STM32H7_PG12_FUNC_HRTIM_EEV5 0x6c03
  1059. #define STM32H7_PG12_FUNC_SPI6_MISO 0x6c06
  1060. #define STM32H7_PG12_FUNC_USART6_RTS 0x6c08
  1061. #define STM32H7_PG12_FUNC_SPDIFRX_IN1 0x6c09
  1062. #define STM32H7_PG12_FUNC_LCD_B4 0x6c0a
  1063. #define STM32H7_PG12_FUNC_ETH_MII_TXD1_ETH_RMII_TXD1 0x6c0c
  1064. #define STM32H7_PG12_FUNC_FMC_NE4 0x6c0d
  1065. #define STM32H7_PG12_FUNC_LCD_B1 0x6c0f
  1066. #define STM32H7_PG12_FUNC_EVENTOUT 0x6c10
  1067. #define STM32H7_PG12_FUNC_ANALOG 0x6c11
  1068. #define STM32H7_PG13_FUNC_GPIO 0x6d00
  1069. #define STM32H7_PG13_FUNC_TRACED0 0x6d01
  1070. #define STM32H7_PG13_FUNC_LPTIM1_OUT 0x6d02
  1071. #define STM32H7_PG13_FUNC_HRTIM_EEV10 0x6d03
  1072. #define STM32H7_PG13_FUNC_SPI6_SCK 0x6d06
  1073. #define STM32H7_PG13_FUNC_USART6_CTS_NSS 0x6d08
  1074. #define STM32H7_PG13_FUNC_ETH_MII_TXD0_ETH_RMII_TXD0 0x6d0c
  1075. #define STM32H7_PG13_FUNC_FMC_A24 0x6d0d
  1076. #define STM32H7_PG13_FUNC_LCD_R0 0x6d0f
  1077. #define STM32H7_PG13_FUNC_EVENTOUT 0x6d10
  1078. #define STM32H7_PG13_FUNC_ANALOG 0x6d11
  1079. #define STM32H7_PG14_FUNC_GPIO 0x6e00
  1080. #define STM32H7_PG14_FUNC_TRACED1 0x6e01
  1081. #define STM32H7_PG14_FUNC_LPTIM1_ETR 0x6e02
  1082. #define STM32H7_PG14_FUNC_SPI6_MOSI 0x6e06
  1083. #define STM32H7_PG14_FUNC_USART6_TX 0x6e08
  1084. #define STM32H7_PG14_FUNC_QUADSPI_BK2_IO3 0x6e0a
  1085. #define STM32H7_PG14_FUNC_ETH_MII_TXD1_ETH_RMII_TXD1 0x6e0c
  1086. #define STM32H7_PG14_FUNC_FMC_A25 0x6e0d
  1087. #define STM32H7_PG14_FUNC_LCD_B0 0x6e0f
  1088. #define STM32H7_PG14_FUNC_EVENTOUT 0x6e10
  1089. #define STM32H7_PG14_FUNC_ANALOG 0x6e11
  1090. #define STM32H7_PG15_FUNC_GPIO 0x6f00
  1091. #define STM32H7_PG15_FUNC_USART6_CTS_NSS 0x6f08
  1092. #define STM32H7_PG15_FUNC_FMC_SDNCAS 0x6f0d
  1093. #define STM32H7_PG15_FUNC_DCMI_D13 0x6f0e
  1094. #define STM32H7_PG15_FUNC_EVENTOUT 0x6f10
  1095. #define STM32H7_PG15_FUNC_ANALOG 0x6f11
  1096. #define STM32H7_PH0_FUNC_GPIO 0x7000
  1097. #define STM32H7_PH0_FUNC_EVENTOUT 0x7010
  1098. #define STM32H7_PH0_FUNC_ANALOG 0x7011
  1099. #define STM32H7_PH1_FUNC_GPIO 0x7100
  1100. #define STM32H7_PH1_FUNC_EVENTOUT 0x7110
  1101. #define STM32H7_PH1_FUNC_ANALOG 0x7111
  1102. #define STM32H7_PH2_FUNC_GPIO 0x7200
  1103. #define STM32H7_PH2_FUNC_LPTIM1_IN2 0x7202
  1104. #define STM32H7_PH2_FUNC_QUADSPI_BK2_IO0 0x720a
  1105. #define STM32H7_PH2_FUNC_SAI2_SCK_B 0x720b
  1106. #define STM32H7_PH2_FUNC_ETH_MII_CRS 0x720c
  1107. #define STM32H7_PH2_FUNC_FMC_SDCKE0 0x720d
  1108. #define STM32H7_PH2_FUNC_LCD_R0 0x720f
  1109. #define STM32H7_PH2_FUNC_EVENTOUT 0x7210
  1110. #define STM32H7_PH2_FUNC_ANALOG 0x7211
  1111. #define STM32H7_PH3_FUNC_GPIO 0x7300
  1112. #define STM32H7_PH3_FUNC_QUADSPI_BK2_IO1 0x730a
  1113. #define STM32H7_PH3_FUNC_SAI2_MCK_B 0x730b
  1114. #define STM32H7_PH3_FUNC_ETH_MII_COL 0x730c
  1115. #define STM32H7_PH3_FUNC_FMC_SDNE0 0x730d
  1116. #define STM32H7_PH3_FUNC_LCD_R1 0x730f
  1117. #define STM32H7_PH3_FUNC_EVENTOUT 0x7310
  1118. #define STM32H7_PH3_FUNC_ANALOG 0x7311
  1119. #define STM32H7_PH4_FUNC_GPIO 0x7400
  1120. #define STM32H7_PH4_FUNC_I2C2_SCL 0x7405
  1121. #define STM32H7_PH4_FUNC_LCD_G5 0x740a
  1122. #define STM32H7_PH4_FUNC_OTG_HS_ULPI_NXT 0x740b
  1123. #define STM32H7_PH4_FUNC_LCD_G4 0x740f
  1124. #define STM32H7_PH4_FUNC_EVENTOUT 0x7410
  1125. #define STM32H7_PH4_FUNC_ANALOG 0x7411
  1126. #define STM32H7_PH5_FUNC_GPIO 0x7500
  1127. #define STM32H7_PH5_FUNC_I2C2_SDA 0x7505
  1128. #define STM32H7_PH5_FUNC_SPI5_NSS 0x7506
  1129. #define STM32H7_PH5_FUNC_FMC_SDNWE 0x750d
  1130. #define STM32H7_PH5_FUNC_EVENTOUT 0x7510
  1131. #define STM32H7_PH5_FUNC_ANALOG 0x7511
  1132. #define STM32H7_PH6_FUNC_GPIO 0x7600
  1133. #define STM32H7_PH6_FUNC_I2C2_SMBA 0x7605
  1134. #define STM32H7_PH6_FUNC_SPI5_SCK 0x7606
  1135. #define STM32H7_PH6_FUNC_ETH_MII_RXD2 0x760c
  1136. #define STM32H7_PH6_FUNC_FMC_SDNE1 0x760d
  1137. #define STM32H7_PH6_FUNC_DCMI_D8 0x760e
  1138. #define STM32H7_PH6_FUNC_EVENTOUT 0x7610
  1139. #define STM32H7_PH6_FUNC_ANALOG 0x7611
  1140. #define STM32H7_PH7_FUNC_GPIO 0x7700
  1141. #define STM32H7_PH7_FUNC_I2C3_SCL 0x7705
  1142. #define STM32H7_PH7_FUNC_SPI5_MISO 0x7706
  1143. #define STM32H7_PH7_FUNC_ETH_MII_RXD3 0x770c
  1144. #define STM32H7_PH7_FUNC_FMC_SDCKE1 0x770d
  1145. #define STM32H7_PH7_FUNC_DCMI_D9 0x770e
  1146. #define STM32H7_PH7_FUNC_EVENTOUT 0x7710
  1147. #define STM32H7_PH7_FUNC_ANALOG 0x7711
  1148. #define STM32H7_PH8_FUNC_GPIO 0x7800
  1149. #define STM32H7_PH8_FUNC_TIM5_ETR 0x7803
  1150. #define STM32H7_PH8_FUNC_I2C3_SDA 0x7805
  1151. #define STM32H7_PH8_FUNC_FMC_D16 0x780d
  1152. #define STM32H7_PH8_FUNC_DCMI_HSYNC 0x780e
  1153. #define STM32H7_PH8_FUNC_LCD_R2 0x780f
  1154. #define STM32H7_PH8_FUNC_EVENTOUT 0x7810
  1155. #define STM32H7_PH8_FUNC_ANALOG 0x7811
  1156. #define STM32H7_PH9_FUNC_GPIO 0x7900
  1157. #define STM32H7_PH9_FUNC_I2C3_SMBA 0x7905
  1158. #define STM32H7_PH9_FUNC_FMC_D17 0x790d
  1159. #define STM32H7_PH9_FUNC_DCMI_D0 0x790e
  1160. #define STM32H7_PH9_FUNC_LCD_R3 0x790f
  1161. #define STM32H7_PH9_FUNC_EVENTOUT 0x7910
  1162. #define STM32H7_PH9_FUNC_ANALOG 0x7911
  1163. #define STM32H7_PH10_FUNC_GPIO 0x7a00
  1164. #define STM32H7_PH10_FUNC_TIM5_CH1 0x7a03
  1165. #define STM32H7_PH10_FUNC_I2C4_SMBA 0x7a05
  1166. #define STM32H7_PH10_FUNC_FMC_D18 0x7a0d
  1167. #define STM32H7_PH10_FUNC_DCMI_D1 0x7a0e
  1168. #define STM32H7_PH10_FUNC_LCD_R4 0x7a0f
  1169. #define STM32H7_PH10_FUNC_EVENTOUT 0x7a10
  1170. #define STM32H7_PH10_FUNC_ANALOG 0x7a11
  1171. #define STM32H7_PH11_FUNC_GPIO 0x7b00
  1172. #define STM32H7_PH11_FUNC_TIM5_CH2 0x7b03
  1173. #define STM32H7_PH11_FUNC_I2C4_SCL 0x7b05
  1174. #define STM32H7_PH11_FUNC_FMC_D19 0x7b0d
  1175. #define STM32H7_PH11_FUNC_DCMI_D2 0x7b0e
  1176. #define STM32H7_PH11_FUNC_LCD_R5 0x7b0f
  1177. #define STM32H7_PH11_FUNC_EVENTOUT 0x7b10
  1178. #define STM32H7_PH11_FUNC_ANALOG 0x7b11
  1179. #define STM32H7_PH12_FUNC_GPIO 0x7c00
  1180. #define STM32H7_PH12_FUNC_TIM5_CH3 0x7c03
  1181. #define STM32H7_PH12_FUNC_I2C4_SDA 0x7c05
  1182. #define STM32H7_PH12_FUNC_FMC_D20 0x7c0d
  1183. #define STM32H7_PH12_FUNC_DCMI_D3 0x7c0e
  1184. #define STM32H7_PH12_FUNC_LCD_R6 0x7c0f
  1185. #define STM32H7_PH12_FUNC_EVENTOUT 0x7c10
  1186. #define STM32H7_PH12_FUNC_ANALOG 0x7c11
  1187. #define STM32H7_PH13_FUNC_GPIO 0x7d00
  1188. #define STM32H7_PH13_FUNC_TIM8_CH1N 0x7d04
  1189. #define STM32H7_PH13_FUNC_UART4_TX 0x7d09
  1190. #define STM32H7_PH13_FUNC_CAN1_TX 0x7d0a
  1191. #define STM32H7_PH13_FUNC_FMC_D21 0x7d0d
  1192. #define STM32H7_PH13_FUNC_LCD_G2 0x7d0f
  1193. #define STM32H7_PH13_FUNC_EVENTOUT 0x7d10
  1194. #define STM32H7_PH13_FUNC_ANALOG 0x7d11
  1195. #define STM32H7_PH14_FUNC_GPIO 0x7e00
  1196. #define STM32H7_PH14_FUNC_TIM8_CH2N 0x7e04
  1197. #define STM32H7_PH14_FUNC_UART4_RX 0x7e09
  1198. #define STM32H7_PH14_FUNC_CAN1_RX 0x7e0a
  1199. #define STM32H7_PH14_FUNC_FMC_D22 0x7e0d
  1200. #define STM32H7_PH14_FUNC_DCMI_D4 0x7e0e
  1201. #define STM32H7_PH14_FUNC_LCD_G3 0x7e0f
  1202. #define STM32H7_PH14_FUNC_EVENTOUT 0x7e10
  1203. #define STM32H7_PH14_FUNC_ANALOG 0x7e11
  1204. #define STM32H7_PH15_FUNC_GPIO 0x7f00
  1205. #define STM32H7_PH15_FUNC_TIM8_CH3N 0x7f04
  1206. #define STM32H7_PH15_FUNC_CAN1_TXFD 0x7f0a
  1207. #define STM32H7_PH15_FUNC_FMC_D23 0x7f0d
  1208. #define STM32H7_PH15_FUNC_DCMI_D11 0x7f0e
  1209. #define STM32H7_PH15_FUNC_LCD_G4 0x7f0f
  1210. #define STM32H7_PH15_FUNC_EVENTOUT 0x7f10
  1211. #define STM32H7_PH15_FUNC_ANALOG 0x7f11
  1212. #define STM32H7_PI0_FUNC_GPIO 0x8000
  1213. #define STM32H7_PI0_FUNC_TIM5_CH4 0x8003
  1214. #define STM32H7_PI0_FUNC_SPI2_NSS_I2S2_WS 0x8006
  1215. #define STM32H7_PI0_FUNC_CAN1_RXFD 0x800a
  1216. #define STM32H7_PI0_FUNC_FMC_D24 0x800d
  1217. #define STM32H7_PI0_FUNC_DCMI_D13 0x800e
  1218. #define STM32H7_PI0_FUNC_LCD_G5 0x800f
  1219. #define STM32H7_PI0_FUNC_EVENTOUT 0x8010
  1220. #define STM32H7_PI0_FUNC_ANALOG 0x8011
  1221. #define STM32H7_PI1_FUNC_GPIO 0x8100
  1222. #define STM32H7_PI1_FUNC_TIM8_BKIN2 0x8104
  1223. #define STM32H7_PI1_FUNC_SPI2_SCK_I2S2_CK 0x8106
  1224. #define STM32H7_PI1_FUNC_TIM8_BKIN2_COMP12 0x810c
  1225. #define STM32H7_PI1_FUNC_FMC_D25 0x810d
  1226. #define STM32H7_PI1_FUNC_DCMI_D8 0x810e
  1227. #define STM32H7_PI1_FUNC_LCD_G6 0x810f
  1228. #define STM32H7_PI1_FUNC_EVENTOUT 0x8110
  1229. #define STM32H7_PI1_FUNC_ANALOG 0x8111
  1230. #define STM32H7_PI2_FUNC_GPIO 0x8200
  1231. #define STM32H7_PI2_FUNC_TIM8_CH4 0x8204
  1232. #define STM32H7_PI2_FUNC_SPI2_MISO_I2S2_SDI 0x8206
  1233. #define STM32H7_PI2_FUNC_FMC_D26 0x820d
  1234. #define STM32H7_PI2_FUNC_DCMI_D9 0x820e
  1235. #define STM32H7_PI2_FUNC_LCD_G7 0x820f
  1236. #define STM32H7_PI2_FUNC_EVENTOUT 0x8210
  1237. #define STM32H7_PI2_FUNC_ANALOG 0x8211
  1238. #define STM32H7_PI3_FUNC_GPIO 0x8300
  1239. #define STM32H7_PI3_FUNC_TIM8_ETR 0x8304
  1240. #define STM32H7_PI3_FUNC_SPI2_MOSI_I2S2_SDO 0x8306
  1241. #define STM32H7_PI3_FUNC_FMC_D27 0x830d
  1242. #define STM32H7_PI3_FUNC_DCMI_D10 0x830e
  1243. #define STM32H7_PI3_FUNC_EVENTOUT 0x8310
  1244. #define STM32H7_PI3_FUNC_ANALOG 0x8311
  1245. #define STM32H7_PI4_FUNC_GPIO 0x8400
  1246. #define STM32H7_PI4_FUNC_TIM8_BKIN 0x8404
  1247. #define STM32H7_PI4_FUNC_SAI2_MCK_A 0x840b
  1248. #define STM32H7_PI4_FUNC_TIM8_BKIN_COMP12 0x840c
  1249. #define STM32H7_PI4_FUNC_FMC_NBL2 0x840d
  1250. #define STM32H7_PI4_FUNC_DCMI_D5 0x840e
  1251. #define STM32H7_PI4_FUNC_LCD_B4 0x840f
  1252. #define STM32H7_PI4_FUNC_EVENTOUT 0x8410
  1253. #define STM32H7_PI4_FUNC_ANALOG 0x8411
  1254. #define STM32H7_PI5_FUNC_GPIO 0x8500
  1255. #define STM32H7_PI5_FUNC_TIM8_CH1 0x8504
  1256. #define STM32H7_PI5_FUNC_SAI2_SCK_A 0x850b
  1257. #define STM32H7_PI5_FUNC_FMC_NBL3 0x850d
  1258. #define STM32H7_PI5_FUNC_DCMI_VSYNC 0x850e
  1259. #define STM32H7_PI5_FUNC_LCD_B5 0x850f
  1260. #define STM32H7_PI5_FUNC_EVENTOUT 0x8510
  1261. #define STM32H7_PI5_FUNC_ANALOG 0x8511
  1262. #define STM32H7_PI6_FUNC_GPIO 0x8600
  1263. #define STM32H7_PI6_FUNC_TIM8_CH2 0x8604
  1264. #define STM32H7_PI6_FUNC_SAI2_SD_A 0x860b
  1265. #define STM32H7_PI6_FUNC_FMC_D28 0x860d
  1266. #define STM32H7_PI6_FUNC_DCMI_D6 0x860e
  1267. #define STM32H7_PI6_FUNC_LCD_B6 0x860f
  1268. #define STM32H7_PI6_FUNC_EVENTOUT 0x8610
  1269. #define STM32H7_PI6_FUNC_ANALOG 0x8611
  1270. #define STM32H7_PI7_FUNC_GPIO 0x8700
  1271. #define STM32H7_PI7_FUNC_TIM8_CH3 0x8704
  1272. #define STM32H7_PI7_FUNC_SAI2_FS_A 0x870b
  1273. #define STM32H7_PI7_FUNC_FMC_D29 0x870d
  1274. #define STM32H7_PI7_FUNC_DCMI_D7 0x870e
  1275. #define STM32H7_PI7_FUNC_LCD_B7 0x870f
  1276. #define STM32H7_PI7_FUNC_EVENTOUT 0x8710
  1277. #define STM32H7_PI7_FUNC_ANALOG 0x8711
  1278. #define STM32H7_PI8_FUNC_GPIO 0x8800
  1279. #define STM32H7_PI8_FUNC_EVENTOUT 0x8810
  1280. #define STM32H7_PI8_FUNC_ANALOG 0x8811
  1281. #define STM32H7_PI9_FUNC_GPIO 0x8900
  1282. #define STM32H7_PI9_FUNC_UART4_RX 0x8909
  1283. #define STM32H7_PI9_FUNC_CAN1_RX 0x890a
  1284. #define STM32H7_PI9_FUNC_FMC_D30 0x890d
  1285. #define STM32H7_PI9_FUNC_LCD_VSYNC 0x890f
  1286. #define STM32H7_PI9_FUNC_EVENTOUT 0x8910
  1287. #define STM32H7_PI9_FUNC_ANALOG 0x8911
  1288. #define STM32H7_PI10_FUNC_GPIO 0x8a00
  1289. #define STM32H7_PI10_FUNC_CAN1_RXFD 0x8a0a
  1290. #define STM32H7_PI10_FUNC_ETH_MII_RX_ER 0x8a0c
  1291. #define STM32H7_PI10_FUNC_FMC_D31 0x8a0d
  1292. #define STM32H7_PI10_FUNC_LCD_HSYNC 0x8a0f
  1293. #define STM32H7_PI10_FUNC_EVENTOUT 0x8a10
  1294. #define STM32H7_PI10_FUNC_ANALOG 0x8a11
  1295. #define STM32H7_PI11_FUNC_GPIO 0x8b00
  1296. #define STM32H7_PI11_FUNC_LCD_G6 0x8b0a
  1297. #define STM32H7_PI11_FUNC_OTG_HS_ULPI_DIR 0x8b0b
  1298. #define STM32H7_PI11_FUNC_EVENTOUT 0x8b10
  1299. #define STM32H7_PI11_FUNC_ANALOG 0x8b11
  1300. #define STM32H7_PI12_FUNC_GPIO 0x8c00
  1301. #define STM32H7_PI12_FUNC_ETH_TX_ER 0x8c0c
  1302. #define STM32H7_PI12_FUNC_LCD_HSYNC 0x8c0f
  1303. #define STM32H7_PI12_FUNC_EVENTOUT 0x8c10
  1304. #define STM32H7_PI12_FUNC_ANALOG 0x8c11
  1305. #define STM32H7_PI13_FUNC_GPIO 0x8d00
  1306. #define STM32H7_PI13_FUNC_LCD_VSYNC 0x8d0f
  1307. #define STM32H7_PI13_FUNC_EVENTOUT 0x8d10
  1308. #define STM32H7_PI13_FUNC_ANALOG 0x8d11
  1309. #define STM32H7_PI14_FUNC_GPIO 0x8e00
  1310. #define STM32H7_PI14_FUNC_LCD_CLK 0x8e0f
  1311. #define STM32H7_PI14_FUNC_EVENTOUT 0x8e10
  1312. #define STM32H7_PI14_FUNC_ANALOG 0x8e11
  1313. #define STM32H7_PI15_FUNC_GPIO 0x8f00
  1314. #define STM32H7_PI15_FUNC_LCD_G2 0x8f0a
  1315. #define STM32H7_PI15_FUNC_LCD_R0 0x8f0f
  1316. #define STM32H7_PI15_FUNC_EVENTOUT 0x8f10
  1317. #define STM32H7_PI15_FUNC_ANALOG 0x8f11
  1318. #define STM32H7_PJ0_FUNC_GPIO 0x9000
  1319. #define STM32H7_PJ0_FUNC_LCD_R7 0x900a
  1320. #define STM32H7_PJ0_FUNC_LCD_R1 0x900f
  1321. #define STM32H7_PJ0_FUNC_EVENTOUT 0x9010
  1322. #define STM32H7_PJ0_FUNC_ANALOG 0x9011
  1323. #define STM32H7_PJ1_FUNC_GPIO 0x9100
  1324. #define STM32H7_PJ1_FUNC_LCD_R2 0x910f
  1325. #define STM32H7_PJ1_FUNC_EVENTOUT 0x9110
  1326. #define STM32H7_PJ1_FUNC_ANALOG 0x9111
  1327. #define STM32H7_PJ2_FUNC_GPIO 0x9200
  1328. #define STM32H7_PJ2_FUNC_DSI_TE 0x920e
  1329. #define STM32H7_PJ2_FUNC_LCD_R3 0x920f
  1330. #define STM32H7_PJ2_FUNC_EVENTOUT 0x9210
  1331. #define STM32H7_PJ2_FUNC_ANALOG 0x9211
  1332. #define STM32H7_PJ3_FUNC_GPIO 0x9300
  1333. #define STM32H7_PJ3_FUNC_LCD_R4 0x930f
  1334. #define STM32H7_PJ3_FUNC_EVENTOUT 0x9310
  1335. #define STM32H7_PJ3_FUNC_ANALOG 0x9311
  1336. #define STM32H7_PJ4_FUNC_GPIO 0x9400
  1337. #define STM32H7_PJ4_FUNC_LCD_R5 0x940f
  1338. #define STM32H7_PJ4_FUNC_EVENTOUT 0x9410
  1339. #define STM32H7_PJ4_FUNC_ANALOG 0x9411
  1340. #define STM32H7_PJ5_FUNC_GPIO 0x9500
  1341. #define STM32H7_PJ5_FUNC_LCD_R6 0x950f
  1342. #define STM32H7_PJ5_FUNC_EVENTOUT 0x9510
  1343. #define STM32H7_PJ5_FUNC_ANALOG 0x9511
  1344. #define STM32H7_PJ6_FUNC_GPIO 0x9600
  1345. #define STM32H7_PJ6_FUNC_TIM8_CH2 0x9604
  1346. #define STM32H7_PJ6_FUNC_LCD_R7 0x960f
  1347. #define STM32H7_PJ6_FUNC_EVENTOUT 0x9610
  1348. #define STM32H7_PJ6_FUNC_ANALOG 0x9611
  1349. #define STM32H7_PJ7_FUNC_GPIO 0x9700
  1350. #define STM32H7_PJ7_FUNC_TRGIN 0x9701
  1351. #define STM32H7_PJ7_FUNC_TIM8_CH2N 0x9704
  1352. #define STM32H7_PJ7_FUNC_LCD_G0 0x970f
  1353. #define STM32H7_PJ7_FUNC_EVENTOUT 0x9710
  1354. #define STM32H7_PJ7_FUNC_ANALOG 0x9711
  1355. #define STM32H7_PJ8_FUNC_GPIO 0x9800
  1356. #define STM32H7_PJ8_FUNC_TIM1_CH3N 0x9802
  1357. #define STM32H7_PJ8_FUNC_TIM8_CH1 0x9804
  1358. #define STM32H7_PJ8_FUNC_UART8_TX 0x9809
  1359. #define STM32H7_PJ8_FUNC_LCD_G1 0x980f
  1360. #define STM32H7_PJ8_FUNC_EVENTOUT 0x9810
  1361. #define STM32H7_PJ8_FUNC_ANALOG 0x9811
  1362. #define STM32H7_PJ9_FUNC_GPIO 0x9900
  1363. #define STM32H7_PJ9_FUNC_TIM1_CH3 0x9902
  1364. #define STM32H7_PJ9_FUNC_TIM8_CH1N 0x9904
  1365. #define STM32H7_PJ9_FUNC_UART8_RX 0x9909
  1366. #define STM32H7_PJ9_FUNC_LCD_G2 0x990f
  1367. #define STM32H7_PJ9_FUNC_EVENTOUT 0x9910
  1368. #define STM32H7_PJ9_FUNC_ANALOG 0x9911
  1369. #define STM32H7_PJ10_FUNC_GPIO 0x9a00
  1370. #define STM32H7_PJ10_FUNC_TIM1_CH2N 0x9a02
  1371. #define STM32H7_PJ10_FUNC_TIM8_CH2 0x9a04
  1372. #define STM32H7_PJ10_FUNC_SPI5_MOSI 0x9a06
  1373. #define STM32H7_PJ10_FUNC_LCD_G3 0x9a0f
  1374. #define STM32H7_PJ10_FUNC_EVENTOUT 0x9a10
  1375. #define STM32H7_PJ10_FUNC_ANALOG 0x9a11
  1376. #define STM32H7_PJ11_FUNC_GPIO 0x9b00
  1377. #define STM32H7_PJ11_FUNC_TIM1_CH2 0x9b02
  1378. #define STM32H7_PJ11_FUNC_TIM8_CH2N 0x9b04
  1379. #define STM32H7_PJ11_FUNC_SPI5_MISO 0x9b06
  1380. #define STM32H7_PJ11_FUNC_LCD_G4 0x9b0f
  1381. #define STM32H7_PJ11_FUNC_EVENTOUT 0x9b10
  1382. #define STM32H7_PJ11_FUNC_ANALOG 0x9b11
  1383. #define STM32H7_PJ12_FUNC_GPIO 0x9c00
  1384. #define STM32H7_PJ12_FUNC_TRGOUT 0x9c01
  1385. #define STM32H7_PJ12_FUNC_LCD_G3 0x9c0a
  1386. #define STM32H7_PJ12_FUNC_LCD_B0 0x9c0f
  1387. #define STM32H7_PJ12_FUNC_EVENTOUT 0x9c10
  1388. #define STM32H7_PJ12_FUNC_ANALOG 0x9c11
  1389. #define STM32H7_PJ13_FUNC_GPIO 0x9d00
  1390. #define STM32H7_PJ13_FUNC_LCD_B4 0x9d0a
  1391. #define STM32H7_PJ13_FUNC_LCD_B1 0x9d0f
  1392. #define STM32H7_PJ13_FUNC_EVENTOUT 0x9d10
  1393. #define STM32H7_PJ13_FUNC_ANALOG 0x9d11
  1394. #define STM32H7_PJ14_FUNC_GPIO 0x9e00
  1395. #define STM32H7_PJ14_FUNC_LCD_B2 0x9e0f
  1396. #define STM32H7_PJ14_FUNC_EVENTOUT 0x9e10
  1397. #define STM32H7_PJ14_FUNC_ANALOG 0x9e11
  1398. #define STM32H7_PJ15_FUNC_GPIO 0x9f00
  1399. #define STM32H7_PJ15_FUNC_LCD_B3 0x9f0f
  1400. #define STM32H7_PJ15_FUNC_EVENTOUT 0x9f10
  1401. #define STM32H7_PJ15_FUNC_ANALOG 0x9f11
  1402. #define STM32H7_PK0_FUNC_GPIO 0xa000
  1403. #define STM32H7_PK0_FUNC_TIM1_CH1N 0xa002
  1404. #define STM32H7_PK0_FUNC_TIM8_CH3 0xa004
  1405. #define STM32H7_PK0_FUNC_SPI5_SCK 0xa006
  1406. #define STM32H7_PK0_FUNC_LCD_G5 0xa00f
  1407. #define STM32H7_PK0_FUNC_EVENTOUT 0xa010
  1408. #define STM32H7_PK0_FUNC_ANALOG 0xa011
  1409. #define STM32H7_PK1_FUNC_GPIO 0xa100
  1410. #define STM32H7_PK1_FUNC_TIM1_CH1 0xa102
  1411. #define STM32H7_PK1_FUNC_TIM8_CH3N 0xa104
  1412. #define STM32H7_PK1_FUNC_SPI5_NSS 0xa106
  1413. #define STM32H7_PK1_FUNC_LCD_G6 0xa10f
  1414. #define STM32H7_PK1_FUNC_EVENTOUT 0xa110
  1415. #define STM32H7_PK1_FUNC_ANALOG 0xa111
  1416. #define STM32H7_PK2_FUNC_GPIO 0xa200
  1417. #define STM32H7_PK2_FUNC_TIM1_BKIN 0xa202
  1418. #define STM32H7_PK2_FUNC_TIM8_BKIN 0xa204
  1419. #define STM32H7_PK2_FUNC_TIM8_BKIN_COMP12 0xa20b
  1420. #define STM32H7_PK2_FUNC_TIM1_BKIN_COMP12 0xa20c
  1421. #define STM32H7_PK2_FUNC_LCD_G7 0xa20f
  1422. #define STM32H7_PK2_FUNC_EVENTOUT 0xa210
  1423. #define STM32H7_PK2_FUNC_ANALOG 0xa211
  1424. #define STM32H7_PK3_FUNC_GPIO 0xa300
  1425. #define STM32H7_PK3_FUNC_LCD_B4 0xa30f
  1426. #define STM32H7_PK3_FUNC_EVENTOUT 0xa310
  1427. #define STM32H7_PK3_FUNC_ANALOG 0xa311
  1428. #define STM32H7_PK4_FUNC_GPIO 0xa400
  1429. #define STM32H7_PK4_FUNC_LCD_B5 0xa40f
  1430. #define STM32H7_PK4_FUNC_EVENTOUT 0xa410
  1431. #define STM32H7_PK4_FUNC_ANALOG 0xa411
  1432. #define STM32H7_PK5_FUNC_GPIO 0xa500
  1433. #define STM32H7_PK5_FUNC_LCD_B6 0xa50f
  1434. #define STM32H7_PK5_FUNC_EVENTOUT 0xa510
  1435. #define STM32H7_PK5_FUNC_ANALOG 0xa511
  1436. #define STM32H7_PK6_FUNC_GPIO 0xa600
  1437. #define STM32H7_PK6_FUNC_LCD_B7 0xa60f
  1438. #define STM32H7_PK6_FUNC_EVENTOUT 0xa610
  1439. #define STM32H7_PK6_FUNC_ANALOG 0xa611
  1440. #define STM32H7_PK7_FUNC_GPIO 0xa700
  1441. #define STM32H7_PK7_FUNC_LCD_DE 0xa70f
  1442. #define STM32H7_PK7_FUNC_EVENTOUT 0xa710
  1443. #define STM32H7_PK7_FUNC_ANALOG 0xa711
  1444. #endif /* _DT_BINDINGS_STM32H7_PINFUNC_H */