pinctrl-stm32f429.c 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591
  1. /*
  2. * Copyright (C) Maxime Coquelin 2015
  3. * Author: Maxime Coquelin <[email protected]>
  4. * License terms: GNU General Public License (GPL), version 2
  5. */
  6. #include <linux/init.h>
  7. #include <linux/of.h>
  8. #include <linux/platform_device.h>
  9. #include "pinctrl-stm32.h"
  10. static const struct stm32_desc_pin stm32f429_pins[] = {
  11. STM32_PIN(
  12. PINCTRL_PIN(0, "PA0"),
  13. STM32_FUNCTION(0, "GPIOA0"),
  14. STM32_FUNCTION(2, "TIM2_CH1 TIM2_ETR"),
  15. STM32_FUNCTION(3, "TIM5_CH1"),
  16. STM32_FUNCTION(4, "TIM8_ETR"),
  17. STM32_FUNCTION(8, "USART2_CTS"),
  18. STM32_FUNCTION(9, "UART4_TX"),
  19. STM32_FUNCTION(12, "ETH_MII_CRS"),
  20. STM32_FUNCTION(16, "EVENTOUT"),
  21. STM32_FUNCTION(17, "ANALOG")
  22. ),
  23. STM32_PIN(
  24. PINCTRL_PIN(1, "PA1"),
  25. STM32_FUNCTION(0, "GPIOA1"),
  26. STM32_FUNCTION(2, "TIM2_CH2"),
  27. STM32_FUNCTION(3, "TIM5_CH2"),
  28. STM32_FUNCTION(8, "USART2_RTS"),
  29. STM32_FUNCTION(9, "UART4_RX"),
  30. STM32_FUNCTION(12, "ETH_MII_RX_CLK ETH_RMII_REF_CLK"),
  31. STM32_FUNCTION(16, "EVENTOUT"),
  32. STM32_FUNCTION(17, "ANALOG")
  33. ),
  34. STM32_PIN(
  35. PINCTRL_PIN(2, "PA2"),
  36. STM32_FUNCTION(0, "GPIOA2"),
  37. STM32_FUNCTION(2, "TIM2_CH3"),
  38. STM32_FUNCTION(3, "TIM5_CH3"),
  39. STM32_FUNCTION(4, "TIM9_CH1"),
  40. STM32_FUNCTION(8, "USART2_TX"),
  41. STM32_FUNCTION(12, "ETH_MDIO"),
  42. STM32_FUNCTION(16, "EVENTOUT"),
  43. STM32_FUNCTION(17, "ANALOG")
  44. ),
  45. STM32_PIN(
  46. PINCTRL_PIN(3, "PA3"),
  47. STM32_FUNCTION(0, "GPIOA3"),
  48. STM32_FUNCTION(2, "TIM2_CH4"),
  49. STM32_FUNCTION(3, "TIM5_CH4"),
  50. STM32_FUNCTION(4, "TIM9_CH2"),
  51. STM32_FUNCTION(8, "USART2_RX"),
  52. STM32_FUNCTION(11, "OTG_HS_ULPI_D0"),
  53. STM32_FUNCTION(12, "ETH_MII_COL"),
  54. STM32_FUNCTION(15, "LCD_B5"),
  55. STM32_FUNCTION(16, "EVENTOUT"),
  56. STM32_FUNCTION(17, "ANALOG")
  57. ),
  58. STM32_PIN(
  59. PINCTRL_PIN(4, "PA4"),
  60. STM32_FUNCTION(0, "GPIOA4"),
  61. STM32_FUNCTION(6, "SPI1_NSS"),
  62. STM32_FUNCTION(7, "SPI3_NSS I2S3_WS"),
  63. STM32_FUNCTION(8, "USART2_CK"),
  64. STM32_FUNCTION(13, "OTG_HS_SOF"),
  65. STM32_FUNCTION(14, "DCMI_HSYNC"),
  66. STM32_FUNCTION(15, "LCD_VSYNC"),
  67. STM32_FUNCTION(16, "EVENTOUT"),
  68. STM32_FUNCTION(17, "ANALOG")
  69. ),
  70. STM32_PIN(
  71. PINCTRL_PIN(5, "PA5"),
  72. STM32_FUNCTION(0, "GPIOA5"),
  73. STM32_FUNCTION(2, "TIM2_CH1 TIM2_ETR"),
  74. STM32_FUNCTION(4, "TIM8_CH1N"),
  75. STM32_FUNCTION(6, "SPI1_SCK"),
  76. STM32_FUNCTION(11, "OTG_HS_ULPI_CK"),
  77. STM32_FUNCTION(16, "EVENTOUT"),
  78. STM32_FUNCTION(17, "ANALOG")
  79. ),
  80. STM32_PIN(
  81. PINCTRL_PIN(6, "PA6"),
  82. STM32_FUNCTION(0, "GPIOA6"),
  83. STM32_FUNCTION(2, "TIM1_BKIN"),
  84. STM32_FUNCTION(3, "TIM3_CH1"),
  85. STM32_FUNCTION(4, "TIM8_BKIN"),
  86. STM32_FUNCTION(6, "SPI1_MISO"),
  87. STM32_FUNCTION(10, "TIM13_CH1"),
  88. STM32_FUNCTION(14, "DCMI_PIXCLK"),
  89. STM32_FUNCTION(15, "LCD_G2"),
  90. STM32_FUNCTION(16, "EVENTOUT"),
  91. STM32_FUNCTION(17, "ANALOG")
  92. ),
  93. STM32_PIN(
  94. PINCTRL_PIN(7, "PA7"),
  95. STM32_FUNCTION(0, "GPIOA7"),
  96. STM32_FUNCTION(2, "TIM1_CH1N"),
  97. STM32_FUNCTION(3, "TIM3_CH2"),
  98. STM32_FUNCTION(4, "TIM8_CH1N"),
  99. STM32_FUNCTION(6, "SPI1_MOSI"),
  100. STM32_FUNCTION(10, "TIM14_CH1"),
  101. STM32_FUNCTION(12, "ETH_MII_RX_DV ETH_RMII_CRS_DV"),
  102. STM32_FUNCTION(16, "EVENTOUT"),
  103. STM32_FUNCTION(17, "ANALOG")
  104. ),
  105. STM32_PIN(
  106. PINCTRL_PIN(8, "PA8"),
  107. STM32_FUNCTION(0, "GPIOA8"),
  108. STM32_FUNCTION(1, "MCO1"),
  109. STM32_FUNCTION(2, "TIM1_CH1"),
  110. STM32_FUNCTION(5, "I2C3_SCL"),
  111. STM32_FUNCTION(8, "USART1_CK"),
  112. STM32_FUNCTION(11, "OTG_FS_SOF"),
  113. STM32_FUNCTION(15, "LCD_R6"),
  114. STM32_FUNCTION(16, "EVENTOUT"),
  115. STM32_FUNCTION(17, "ANALOG")
  116. ),
  117. STM32_PIN(
  118. PINCTRL_PIN(9, "PA9"),
  119. STM32_FUNCTION(0, "GPIOA9"),
  120. STM32_FUNCTION(2, "TIM1_CH2"),
  121. STM32_FUNCTION(5, "I2C3_SMBA"),
  122. STM32_FUNCTION(8, "USART1_TX"),
  123. STM32_FUNCTION(14, "DCMI_D0"),
  124. STM32_FUNCTION(16, "EVENTOUT"),
  125. STM32_FUNCTION(17, "ANALOG")
  126. ),
  127. STM32_PIN(
  128. PINCTRL_PIN(10, "PA10"),
  129. STM32_FUNCTION(0, "GPIOA10"),
  130. STM32_FUNCTION(2, "TIM1_CH3"),
  131. STM32_FUNCTION(8, "USART1_RX"),
  132. STM32_FUNCTION(11, "OTG_FS_ID"),
  133. STM32_FUNCTION(14, "DCMI_D1"),
  134. STM32_FUNCTION(16, "EVENTOUT"),
  135. STM32_FUNCTION(17, "ANALOG")
  136. ),
  137. STM32_PIN(
  138. PINCTRL_PIN(11, "PA11"),
  139. STM32_FUNCTION(0, "GPIOA11"),
  140. STM32_FUNCTION(2, "TIM1_CH4"),
  141. STM32_FUNCTION(8, "USART1_CTS"),
  142. STM32_FUNCTION(10, "CAN1_RX"),
  143. STM32_FUNCTION(11, "OTG_FS_DM"),
  144. STM32_FUNCTION(15, "LCD_R4"),
  145. STM32_FUNCTION(16, "EVENTOUT"),
  146. STM32_FUNCTION(17, "ANALOG")
  147. ),
  148. STM32_PIN(
  149. PINCTRL_PIN(12, "PA12"),
  150. STM32_FUNCTION(0, "GPIOA12"),
  151. STM32_FUNCTION(2, "TIM1_ETR"),
  152. STM32_FUNCTION(8, "USART1_RTS"),
  153. STM32_FUNCTION(10, "CAN1_TX"),
  154. STM32_FUNCTION(11, "OTG_FS_DP"),
  155. STM32_FUNCTION(15, "LCD_R5"),
  156. STM32_FUNCTION(16, "EVENTOUT"),
  157. STM32_FUNCTION(17, "ANALOG")
  158. ),
  159. STM32_PIN(
  160. PINCTRL_PIN(13, "PA13"),
  161. STM32_FUNCTION(0, "GPIOA13"),
  162. STM32_FUNCTION(1, "JTMS SWDIO"),
  163. STM32_FUNCTION(16, "EVENTOUT"),
  164. STM32_FUNCTION(17, "ANALOG")
  165. ),
  166. STM32_PIN(
  167. PINCTRL_PIN(14, "PA14"),
  168. STM32_FUNCTION(0, "GPIOA14"),
  169. STM32_FUNCTION(1, "JTCK SWCLK"),
  170. STM32_FUNCTION(16, "EVENTOUT"),
  171. STM32_FUNCTION(17, "ANALOG")
  172. ),
  173. STM32_PIN(
  174. PINCTRL_PIN(15, "PA15"),
  175. STM32_FUNCTION(0, "GPIOA15"),
  176. STM32_FUNCTION(1, "JTDI"),
  177. STM32_FUNCTION(2, "TIM2_CH1 TIM2_ETR"),
  178. STM32_FUNCTION(6, "SPI1_NSS"),
  179. STM32_FUNCTION(7, "SPI3_NSS I2S3_WS"),
  180. STM32_FUNCTION(16, "EVENTOUT"),
  181. STM32_FUNCTION(17, "ANALOG")
  182. ),
  183. STM32_PIN(
  184. PINCTRL_PIN(16, "PB0"),
  185. STM32_FUNCTION(0, "GPIOB0"),
  186. STM32_FUNCTION(2, "TIM1_CH2N"),
  187. STM32_FUNCTION(3, "TIM3_CH3"),
  188. STM32_FUNCTION(4, "TIM8_CH2N"),
  189. STM32_FUNCTION(10, "LCD_R3"),
  190. STM32_FUNCTION(11, "OTG_HS_ULPI_D1"),
  191. STM32_FUNCTION(12, "ETH_MII_RXD2"),
  192. STM32_FUNCTION(16, "EVENTOUT"),
  193. STM32_FUNCTION(17, "ANALOG")
  194. ),
  195. STM32_PIN(
  196. PINCTRL_PIN(17, "PB1"),
  197. STM32_FUNCTION(0, "GPIOB1"),
  198. STM32_FUNCTION(2, "TIM1_CH3N"),
  199. STM32_FUNCTION(3, "TIM3_CH4"),
  200. STM32_FUNCTION(4, "TIM8_CH3N"),
  201. STM32_FUNCTION(10, "LCD_R6"),
  202. STM32_FUNCTION(11, "OTG_HS_ULPI_D2"),
  203. STM32_FUNCTION(12, "ETH_MII_RXD3"),
  204. STM32_FUNCTION(16, "EVENTOUT"),
  205. STM32_FUNCTION(17, "ANALOG")
  206. ),
  207. STM32_PIN(
  208. PINCTRL_PIN(18, "PB2"),
  209. STM32_FUNCTION(0, "GPIOB2"),
  210. STM32_FUNCTION(16, "EVENTOUT"),
  211. STM32_FUNCTION(17, "ANALOG")
  212. ),
  213. STM32_PIN(
  214. PINCTRL_PIN(19, "PB3"),
  215. STM32_FUNCTION(0, "GPIOB3"),
  216. STM32_FUNCTION(1, "JTDO TRACESWO"),
  217. STM32_FUNCTION(2, "TIM2_CH2"),
  218. STM32_FUNCTION(6, "SPI1_SCK"),
  219. STM32_FUNCTION(7, "SPI3_SCK I2S3_CK"),
  220. STM32_FUNCTION(16, "EVENTOUT"),
  221. STM32_FUNCTION(17, "ANALOG")
  222. ),
  223. STM32_PIN(
  224. PINCTRL_PIN(20, "PB4"),
  225. STM32_FUNCTION(0, "GPIOB4"),
  226. STM32_FUNCTION(1, "NJTRST"),
  227. STM32_FUNCTION(3, "TIM3_CH1"),
  228. STM32_FUNCTION(6, "SPI1_MISO"),
  229. STM32_FUNCTION(7, "SPI3_MISO"),
  230. STM32_FUNCTION(8, "I2S3EXT_SD"),
  231. STM32_FUNCTION(16, "EVENTOUT"),
  232. STM32_FUNCTION(17, "ANALOG")
  233. ),
  234. STM32_PIN(
  235. PINCTRL_PIN(21, "PB5"),
  236. STM32_FUNCTION(0, "GPIOB5"),
  237. STM32_FUNCTION(3, "TIM3_CH2"),
  238. STM32_FUNCTION(5, "I2C1_SMBA"),
  239. STM32_FUNCTION(6, "SPI1_MOSI"),
  240. STM32_FUNCTION(7, "SPI3_MOSI I2S3_SD"),
  241. STM32_FUNCTION(10, "CAN2_RX"),
  242. STM32_FUNCTION(11, "OTG_HS_ULPI_D7"),
  243. STM32_FUNCTION(12, "ETH_PPS_OUT"),
  244. STM32_FUNCTION(13, "FMC_SDCKE1"),
  245. STM32_FUNCTION(14, "DCMI_D10"),
  246. STM32_FUNCTION(16, "EVENTOUT"),
  247. STM32_FUNCTION(17, "ANALOG")
  248. ),
  249. STM32_PIN(
  250. PINCTRL_PIN(22, "PB6"),
  251. STM32_FUNCTION(0, "GPIOB6"),
  252. STM32_FUNCTION(3, "TIM4_CH1"),
  253. STM32_FUNCTION(5, "I2C1_SCL"),
  254. STM32_FUNCTION(8, "USART1_TX"),
  255. STM32_FUNCTION(10, "CAN2_TX"),
  256. STM32_FUNCTION(13, "FMC_SDNE1"),
  257. STM32_FUNCTION(14, "DCMI_D5"),
  258. STM32_FUNCTION(16, "EVENTOUT"),
  259. STM32_FUNCTION(17, "ANALOG")
  260. ),
  261. STM32_PIN(
  262. PINCTRL_PIN(23, "PB7"),
  263. STM32_FUNCTION(0, "GPIOB7"),
  264. STM32_FUNCTION(3, "TIM4_CH2"),
  265. STM32_FUNCTION(5, "I2C1_SDA"),
  266. STM32_FUNCTION(8, "USART1_RX"),
  267. STM32_FUNCTION(13, "FMC_NL"),
  268. STM32_FUNCTION(14, "DCMI_VSYNC"),
  269. STM32_FUNCTION(16, "EVENTOUT"),
  270. STM32_FUNCTION(17, "ANALOG")
  271. ),
  272. STM32_PIN(
  273. PINCTRL_PIN(24, "PB8"),
  274. STM32_FUNCTION(0, "GPIOB8"),
  275. STM32_FUNCTION(3, "TIM4_CH3"),
  276. STM32_FUNCTION(4, "TIM10_CH1"),
  277. STM32_FUNCTION(5, "I2C1_SCL"),
  278. STM32_FUNCTION(10, "CAN1_RX"),
  279. STM32_FUNCTION(12, "ETH_MII_TXD3"),
  280. STM32_FUNCTION(13, "SDIO_D4"),
  281. STM32_FUNCTION(14, "DCMI_D6"),
  282. STM32_FUNCTION(15, "LCD_B6"),
  283. STM32_FUNCTION(16, "EVENTOUT"),
  284. STM32_FUNCTION(17, "ANALOG")
  285. ),
  286. STM32_PIN(
  287. PINCTRL_PIN(25, "PB9"),
  288. STM32_FUNCTION(0, "GPIOB9"),
  289. STM32_FUNCTION(3, "TIM4_CH4"),
  290. STM32_FUNCTION(4, "TIM11_CH1"),
  291. STM32_FUNCTION(5, "I2C1_SDA"),
  292. STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"),
  293. STM32_FUNCTION(10, "CAN1_TX"),
  294. STM32_FUNCTION(13, "SDIO_D5"),
  295. STM32_FUNCTION(14, "DCMI_D7"),
  296. STM32_FUNCTION(15, "LCD_B7"),
  297. STM32_FUNCTION(16, "EVENTOUT"),
  298. STM32_FUNCTION(17, "ANALOG")
  299. ),
  300. STM32_PIN(
  301. PINCTRL_PIN(26, "PB10"),
  302. STM32_FUNCTION(0, "GPIOB10"),
  303. STM32_FUNCTION(2, "TIM2_CH3"),
  304. STM32_FUNCTION(5, "I2C2_SCL"),
  305. STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
  306. STM32_FUNCTION(8, "USART3_TX"),
  307. STM32_FUNCTION(11, "OTG_HS_ULPI_D3"),
  308. STM32_FUNCTION(12, "ETH_MII_RX_ER"),
  309. STM32_FUNCTION(15, "LCD_G4"),
  310. STM32_FUNCTION(16, "EVENTOUT"),
  311. STM32_FUNCTION(17, "ANALOG")
  312. ),
  313. STM32_PIN(
  314. PINCTRL_PIN(27, "PB11"),
  315. STM32_FUNCTION(0, "GPIOB11"),
  316. STM32_FUNCTION(2, "TIM2_CH4"),
  317. STM32_FUNCTION(5, "I2C2_SDA"),
  318. STM32_FUNCTION(8, "USART3_RX"),
  319. STM32_FUNCTION(11, "OTG_HS_ULPI_D4"),
  320. STM32_FUNCTION(12, "ETH_MII_TX_EN ETH_RMII_TX_EN"),
  321. STM32_FUNCTION(15, "LCD_G5"),
  322. STM32_FUNCTION(16, "EVENTOUT"),
  323. STM32_FUNCTION(17, "ANALOG")
  324. ),
  325. STM32_PIN(
  326. PINCTRL_PIN(28, "PB12"),
  327. STM32_FUNCTION(0, "GPIOB12"),
  328. STM32_FUNCTION(2, "TIM1_BKIN"),
  329. STM32_FUNCTION(5, "I2C2_SMBA"),
  330. STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"),
  331. STM32_FUNCTION(8, "USART3_CK"),
  332. STM32_FUNCTION(10, "CAN2_RX"),
  333. STM32_FUNCTION(11, "OTG_HS_ULPI_D5"),
  334. STM32_FUNCTION(12, "ETH_MII_TXD0 ETH_RMII_TXD0"),
  335. STM32_FUNCTION(13, "OTG_HS_ID"),
  336. STM32_FUNCTION(16, "EVENTOUT"),
  337. STM32_FUNCTION(17, "ANALOG")
  338. ),
  339. STM32_PIN(
  340. PINCTRL_PIN(29, "PB13"),
  341. STM32_FUNCTION(0, "GPIOB13"),
  342. STM32_FUNCTION(2, "TIM1_CH1N"),
  343. STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
  344. STM32_FUNCTION(8, "USART3_CTS"),
  345. STM32_FUNCTION(10, "CAN2_TX"),
  346. STM32_FUNCTION(11, "OTG_HS_ULPI_D6"),
  347. STM32_FUNCTION(12, "ETH_MII_TXD1 ETH_RMII_TXD1"),
  348. STM32_FUNCTION(16, "EVENTOUT"),
  349. STM32_FUNCTION(17, "ANALOG")
  350. ),
  351. STM32_PIN(
  352. PINCTRL_PIN(30, "PB14"),
  353. STM32_FUNCTION(0, "GPIOB14"),
  354. STM32_FUNCTION(2, "TIM1_CH2N"),
  355. STM32_FUNCTION(4, "TIM8_CH2N"),
  356. STM32_FUNCTION(6, "SPI2_MISO"),
  357. STM32_FUNCTION(7, "I2S2EXT_SD"),
  358. STM32_FUNCTION(8, "USART3_RTS"),
  359. STM32_FUNCTION(10, "TIM12_CH1"),
  360. STM32_FUNCTION(13, "OTG_HS_DM"),
  361. STM32_FUNCTION(16, "EVENTOUT"),
  362. STM32_FUNCTION(17, "ANALOG")
  363. ),
  364. STM32_PIN(
  365. PINCTRL_PIN(31, "PB15"),
  366. STM32_FUNCTION(0, "GPIOB15"),
  367. STM32_FUNCTION(1, "RTC_REFIN"),
  368. STM32_FUNCTION(2, "TIM1_CH3N"),
  369. STM32_FUNCTION(4, "TIM8_CH3N"),
  370. STM32_FUNCTION(6, "SPI2_MOSI I2S2_SD"),
  371. STM32_FUNCTION(10, "TIM12_CH2"),
  372. STM32_FUNCTION(13, "OTG_HS_DP"),
  373. STM32_FUNCTION(16, "EVENTOUT"),
  374. STM32_FUNCTION(17, "ANALOG")
  375. ),
  376. STM32_PIN(
  377. PINCTRL_PIN(32, "PC0"),
  378. STM32_FUNCTION(0, "GPIOC0"),
  379. STM32_FUNCTION(11, "OTG_HS_ULPI_STP"),
  380. STM32_FUNCTION(13, "FMC_SDNWE"),
  381. STM32_FUNCTION(16, "EVENTOUT"),
  382. STM32_FUNCTION(17, "ANALOG")
  383. ),
  384. STM32_PIN(
  385. PINCTRL_PIN(33, "PC1"),
  386. STM32_FUNCTION(0, "GPIOC1"),
  387. STM32_FUNCTION(12, "ETH_MDC"),
  388. STM32_FUNCTION(16, "EVENTOUT"),
  389. STM32_FUNCTION(17, "ANALOG")
  390. ),
  391. STM32_PIN(
  392. PINCTRL_PIN(34, "PC2"),
  393. STM32_FUNCTION(0, "GPIOC2"),
  394. STM32_FUNCTION(6, "SPI2_MISO"),
  395. STM32_FUNCTION(7, "I2S2EXT_SD"),
  396. STM32_FUNCTION(11, "OTG_HS_ULPI_DIR"),
  397. STM32_FUNCTION(12, "ETH_MII_TXD2"),
  398. STM32_FUNCTION(13, "FMC_SDNE0"),
  399. STM32_FUNCTION(16, "EVENTOUT"),
  400. STM32_FUNCTION(17, "ANALOG")
  401. ),
  402. STM32_PIN(
  403. PINCTRL_PIN(35, "PC3"),
  404. STM32_FUNCTION(0, "GPIOC3"),
  405. STM32_FUNCTION(6, "SPI2_MOSI I2S2_SD"),
  406. STM32_FUNCTION(11, "OTG_HS_ULPI_NXT"),
  407. STM32_FUNCTION(12, "ETH_MII_TX_CLK"),
  408. STM32_FUNCTION(13, "FMC_SDCKE0"),
  409. STM32_FUNCTION(16, "EVENTOUT"),
  410. STM32_FUNCTION(17, "ANALOG")
  411. ),
  412. STM32_PIN(
  413. PINCTRL_PIN(36, "PC4"),
  414. STM32_FUNCTION(0, "GPIOC4"),
  415. STM32_FUNCTION(12, "ETH_MII_RXD0 ETH_RMII_RXD0"),
  416. STM32_FUNCTION(16, "EVENTOUT"),
  417. STM32_FUNCTION(17, "ANALOG")
  418. ),
  419. STM32_PIN(
  420. PINCTRL_PIN(37, "PC5"),
  421. STM32_FUNCTION(0, "GPIOC5"),
  422. STM32_FUNCTION(12, "ETH_MII_RXD1 ETH_RMII_RXD1"),
  423. STM32_FUNCTION(16, "EVENTOUT"),
  424. STM32_FUNCTION(17, "ANALOG")
  425. ),
  426. STM32_PIN(
  427. PINCTRL_PIN(38, "PC6"),
  428. STM32_FUNCTION(0, "GPIOC6"),
  429. STM32_FUNCTION(3, "TIM3_CH1"),
  430. STM32_FUNCTION(4, "TIM8_CH1"),
  431. STM32_FUNCTION(6, "I2S2_MCK"),
  432. STM32_FUNCTION(9, "USART6_TX"),
  433. STM32_FUNCTION(13, "SDIO_D6"),
  434. STM32_FUNCTION(14, "DCMI_D0"),
  435. STM32_FUNCTION(15, "LCD_HSYNC"),
  436. STM32_FUNCTION(16, "EVENTOUT"),
  437. STM32_FUNCTION(17, "ANALOG")
  438. ),
  439. STM32_PIN(
  440. PINCTRL_PIN(39, "PC7"),
  441. STM32_FUNCTION(0, "GPIOC7"),
  442. STM32_FUNCTION(3, "TIM3_CH2"),
  443. STM32_FUNCTION(4, "TIM8_CH2"),
  444. STM32_FUNCTION(7, "I2S3_MCK"),
  445. STM32_FUNCTION(9, "USART6_RX"),
  446. STM32_FUNCTION(13, "SDIO_D7"),
  447. STM32_FUNCTION(14, "DCMI_D1"),
  448. STM32_FUNCTION(15, "LCD_G6"),
  449. STM32_FUNCTION(16, "EVENTOUT"),
  450. STM32_FUNCTION(17, "ANALOG")
  451. ),
  452. STM32_PIN(
  453. PINCTRL_PIN(40, "PC8"),
  454. STM32_FUNCTION(0, "GPIOC8"),
  455. STM32_FUNCTION(3, "TIM3_CH3"),
  456. STM32_FUNCTION(4, "TIM8_CH3"),
  457. STM32_FUNCTION(9, "USART6_CK"),
  458. STM32_FUNCTION(13, "SDIO_D0"),
  459. STM32_FUNCTION(14, "DCMI_D2"),
  460. STM32_FUNCTION(16, "EVENTOUT"),
  461. STM32_FUNCTION(17, "ANALOG")
  462. ),
  463. STM32_PIN(
  464. PINCTRL_PIN(41, "PC9"),
  465. STM32_FUNCTION(0, "GPIOC9"),
  466. STM32_FUNCTION(1, "MCO2"),
  467. STM32_FUNCTION(3, "TIM3_CH4"),
  468. STM32_FUNCTION(4, "TIM8_CH4"),
  469. STM32_FUNCTION(5, "I2C3_SDA"),
  470. STM32_FUNCTION(6, "I2S_CKIN"),
  471. STM32_FUNCTION(13, "SDIO_D1"),
  472. STM32_FUNCTION(14, "DCMI_D3"),
  473. STM32_FUNCTION(16, "EVENTOUT"),
  474. STM32_FUNCTION(17, "ANALOG")
  475. ),
  476. STM32_PIN(
  477. PINCTRL_PIN(42, "PC10"),
  478. STM32_FUNCTION(0, "GPIOC10"),
  479. STM32_FUNCTION(7, "SPI3_SCK I2S3_CK"),
  480. STM32_FUNCTION(8, "USART3_TX"),
  481. STM32_FUNCTION(9, "UART4_TX"),
  482. STM32_FUNCTION(13, "SDIO_D2"),
  483. STM32_FUNCTION(14, "DCMI_D8"),
  484. STM32_FUNCTION(15, "LCD_R2"),
  485. STM32_FUNCTION(16, "EVENTOUT"),
  486. STM32_FUNCTION(17, "ANALOG")
  487. ),
  488. STM32_PIN(
  489. PINCTRL_PIN(43, "PC11"),
  490. STM32_FUNCTION(0, "GPIOC11"),
  491. STM32_FUNCTION(6, "I2S3EXT_SD"),
  492. STM32_FUNCTION(7, "SPI3_MISO"),
  493. STM32_FUNCTION(8, "USART3_RX"),
  494. STM32_FUNCTION(9, "UART4_RX"),
  495. STM32_FUNCTION(13, "SDIO_D3"),
  496. STM32_FUNCTION(14, "DCMI_D4"),
  497. STM32_FUNCTION(16, "EVENTOUT"),
  498. STM32_FUNCTION(17, "ANALOG")
  499. ),
  500. STM32_PIN(
  501. PINCTRL_PIN(44, "PC12"),
  502. STM32_FUNCTION(0, "GPIOC12"),
  503. STM32_FUNCTION(7, "SPI3_MOSI I2S3_SD"),
  504. STM32_FUNCTION(8, "USART3_CK"),
  505. STM32_FUNCTION(9, "UART5_TX"),
  506. STM32_FUNCTION(13, "SDIO_CK"),
  507. STM32_FUNCTION(14, "DCMI_D9"),
  508. STM32_FUNCTION(16, "EVENTOUT"),
  509. STM32_FUNCTION(17, "ANALOG")
  510. ),
  511. STM32_PIN(
  512. PINCTRL_PIN(45, "PC13"),
  513. STM32_FUNCTION(0, "GPIOC13"),
  514. STM32_FUNCTION(16, "EVENTOUT"),
  515. STM32_FUNCTION(17, "ANALOG")
  516. ),
  517. STM32_PIN(
  518. PINCTRL_PIN(46, "PC14"),
  519. STM32_FUNCTION(0, "GPIOC14"),
  520. STM32_FUNCTION(16, "EVENTOUT"),
  521. STM32_FUNCTION(17, "ANALOG")
  522. ),
  523. STM32_PIN(
  524. PINCTRL_PIN(47, "PC15"),
  525. STM32_FUNCTION(0, "GPIOC15"),
  526. STM32_FUNCTION(16, "EVENTOUT"),
  527. STM32_FUNCTION(17, "ANALOG")
  528. ),
  529. STM32_PIN(
  530. PINCTRL_PIN(48, "PD0"),
  531. STM32_FUNCTION(0, "GPIOD0"),
  532. STM32_FUNCTION(10, "CAN1_RX"),
  533. STM32_FUNCTION(13, "FMC_D2"),
  534. STM32_FUNCTION(16, "EVENTOUT"),
  535. STM32_FUNCTION(17, "ANALOG")
  536. ),
  537. STM32_PIN(
  538. PINCTRL_PIN(49, "PD1"),
  539. STM32_FUNCTION(0, "GPIOD1"),
  540. STM32_FUNCTION(10, "CAN1_TX"),
  541. STM32_FUNCTION(13, "FMC_D3"),
  542. STM32_FUNCTION(16, "EVENTOUT"),
  543. STM32_FUNCTION(17, "ANALOG")
  544. ),
  545. STM32_PIN(
  546. PINCTRL_PIN(50, "PD2"),
  547. STM32_FUNCTION(0, "GPIOD2"),
  548. STM32_FUNCTION(3, "TIM3_ETR"),
  549. STM32_FUNCTION(9, "UART5_RX"),
  550. STM32_FUNCTION(13, "SDIO_CMD"),
  551. STM32_FUNCTION(14, "DCMI_D11"),
  552. STM32_FUNCTION(16, "EVENTOUT"),
  553. STM32_FUNCTION(17, "ANALOG")
  554. ),
  555. STM32_PIN(
  556. PINCTRL_PIN(51, "PD3"),
  557. STM32_FUNCTION(0, "GPIOD3"),
  558. STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
  559. STM32_FUNCTION(8, "USART2_CTS"),
  560. STM32_FUNCTION(13, "FMC_CLK"),
  561. STM32_FUNCTION(14, "DCMI_D5"),
  562. STM32_FUNCTION(15, "LCD_G7"),
  563. STM32_FUNCTION(16, "EVENTOUT"),
  564. STM32_FUNCTION(17, "ANALOG")
  565. ),
  566. STM32_PIN(
  567. PINCTRL_PIN(52, "PD4"),
  568. STM32_FUNCTION(0, "GPIOD4"),
  569. STM32_FUNCTION(8, "USART2_RTS"),
  570. STM32_FUNCTION(13, "FMC_NOE"),
  571. STM32_FUNCTION(16, "EVENTOUT"),
  572. STM32_FUNCTION(17, "ANALOG")
  573. ),
  574. STM32_PIN(
  575. PINCTRL_PIN(53, "PD5"),
  576. STM32_FUNCTION(0, "GPIOD5"),
  577. STM32_FUNCTION(8, "USART2_TX"),
  578. STM32_FUNCTION(13, "FMC_NWE"),
  579. STM32_FUNCTION(16, "EVENTOUT"),
  580. STM32_FUNCTION(17, "ANALOG")
  581. ),
  582. STM32_PIN(
  583. PINCTRL_PIN(54, "PD6"),
  584. STM32_FUNCTION(0, "GPIOD6"),
  585. STM32_FUNCTION(6, "SPI3_MOSI I2S3_SD"),
  586. STM32_FUNCTION(7, "SAI1_SD_A"),
  587. STM32_FUNCTION(8, "USART2_RX"),
  588. STM32_FUNCTION(13, "FMC_NWAIT"),
  589. STM32_FUNCTION(14, "DCMI_D10"),
  590. STM32_FUNCTION(15, "LCD_B2"),
  591. STM32_FUNCTION(16, "EVENTOUT"),
  592. STM32_FUNCTION(17, "ANALOG")
  593. ),
  594. STM32_PIN(
  595. PINCTRL_PIN(55, "PD7"),
  596. STM32_FUNCTION(0, "GPIOD7"),
  597. STM32_FUNCTION(8, "USART2_CK"),
  598. STM32_FUNCTION(13, "FMC_NE1 FMC_NCE2"),
  599. STM32_FUNCTION(16, "EVENTOUT"),
  600. STM32_FUNCTION(17, "ANALOG")
  601. ),
  602. STM32_PIN(
  603. PINCTRL_PIN(56, "PD8"),
  604. STM32_FUNCTION(0, "GPIOD8"),
  605. STM32_FUNCTION(8, "USART3_TX"),
  606. STM32_FUNCTION(13, "FMC_D13"),
  607. STM32_FUNCTION(16, "EVENTOUT"),
  608. STM32_FUNCTION(17, "ANALOG")
  609. ),
  610. STM32_PIN(
  611. PINCTRL_PIN(57, "PD9"),
  612. STM32_FUNCTION(0, "GPIOD9"),
  613. STM32_FUNCTION(8, "USART3_RX"),
  614. STM32_FUNCTION(13, "FMC_D14"),
  615. STM32_FUNCTION(16, "EVENTOUT"),
  616. STM32_FUNCTION(17, "ANALOG")
  617. ),
  618. STM32_PIN(
  619. PINCTRL_PIN(58, "PD10"),
  620. STM32_FUNCTION(0, "GPIOD10"),
  621. STM32_FUNCTION(8, "USART3_CK"),
  622. STM32_FUNCTION(13, "FMC_D15"),
  623. STM32_FUNCTION(15, "LCD_B3"),
  624. STM32_FUNCTION(16, "EVENTOUT"),
  625. STM32_FUNCTION(17, "ANALOG")
  626. ),
  627. STM32_PIN(
  628. PINCTRL_PIN(59, "PD11"),
  629. STM32_FUNCTION(0, "GPIOD11"),
  630. STM32_FUNCTION(8, "USART3_CTS"),
  631. STM32_FUNCTION(13, "FMC_A16"),
  632. STM32_FUNCTION(16, "EVENTOUT"),
  633. STM32_FUNCTION(17, "ANALOG")
  634. ),
  635. STM32_PIN(
  636. PINCTRL_PIN(60, "PD12"),
  637. STM32_FUNCTION(0, "GPIOD12"),
  638. STM32_FUNCTION(3, "TIM4_CH1"),
  639. STM32_FUNCTION(8, "USART3_RTS"),
  640. STM32_FUNCTION(13, "FMC_A17"),
  641. STM32_FUNCTION(16, "EVENTOUT"),
  642. STM32_FUNCTION(17, "ANALOG")
  643. ),
  644. STM32_PIN(
  645. PINCTRL_PIN(61, "PD13"),
  646. STM32_FUNCTION(0, "GPIOD13"),
  647. STM32_FUNCTION(3, "TIM4_CH2"),
  648. STM32_FUNCTION(13, "FMC_A18"),
  649. STM32_FUNCTION(16, "EVENTOUT"),
  650. STM32_FUNCTION(17, "ANALOG")
  651. ),
  652. STM32_PIN(
  653. PINCTRL_PIN(62, "PD14"),
  654. STM32_FUNCTION(0, "GPIOD14"),
  655. STM32_FUNCTION(3, "TIM4_CH3"),
  656. STM32_FUNCTION(13, "FMC_D0"),
  657. STM32_FUNCTION(16, "EVENTOUT"),
  658. STM32_FUNCTION(17, "ANALOG")
  659. ),
  660. STM32_PIN(
  661. PINCTRL_PIN(63, "PD15"),
  662. STM32_FUNCTION(0, "GPIOD15"),
  663. STM32_FUNCTION(3, "TIM4_CH4"),
  664. STM32_FUNCTION(13, "FMC_D1"),
  665. STM32_FUNCTION(16, "EVENTOUT"),
  666. STM32_FUNCTION(17, "ANALOG")
  667. ),
  668. STM32_PIN(
  669. PINCTRL_PIN(64, "PE0"),
  670. STM32_FUNCTION(0, "GPIOE0"),
  671. STM32_FUNCTION(3, "TIM4_ETR"),
  672. STM32_FUNCTION(9, "UART8_RX"),
  673. STM32_FUNCTION(13, "FMC_NBL0"),
  674. STM32_FUNCTION(14, "DCMI_D2"),
  675. STM32_FUNCTION(16, "EVENTOUT"),
  676. STM32_FUNCTION(17, "ANALOG")
  677. ),
  678. STM32_PIN(
  679. PINCTRL_PIN(65, "PE1"),
  680. STM32_FUNCTION(0, "GPIOE1"),
  681. STM32_FUNCTION(9, "UART8_TX"),
  682. STM32_FUNCTION(13, "FMC_NBL1"),
  683. STM32_FUNCTION(14, "DCMI_D3"),
  684. STM32_FUNCTION(16, "EVENTOUT"),
  685. STM32_FUNCTION(17, "ANALOG")
  686. ),
  687. STM32_PIN(
  688. PINCTRL_PIN(66, "PE2"),
  689. STM32_FUNCTION(0, "GPIOE2"),
  690. STM32_FUNCTION(1, "TRACECLK"),
  691. STM32_FUNCTION(6, "SPI4_SCK"),
  692. STM32_FUNCTION(7, "SAI1_MCLK_A"),
  693. STM32_FUNCTION(12, "ETH_MII_TXD3"),
  694. STM32_FUNCTION(13, "FMC_A23"),
  695. STM32_FUNCTION(16, "EVENTOUT"),
  696. STM32_FUNCTION(17, "ANALOG")
  697. ),
  698. STM32_PIN(
  699. PINCTRL_PIN(67, "PE3"),
  700. STM32_FUNCTION(0, "GPIOE3"),
  701. STM32_FUNCTION(1, "TRACED0"),
  702. STM32_FUNCTION(7, "SAI1_SD_B"),
  703. STM32_FUNCTION(13, "FMC_A19"),
  704. STM32_FUNCTION(16, "EVENTOUT"),
  705. STM32_FUNCTION(17, "ANALOG")
  706. ),
  707. STM32_PIN(
  708. PINCTRL_PIN(68, "PE4"),
  709. STM32_FUNCTION(0, "GPIOE4"),
  710. STM32_FUNCTION(1, "TRACED1"),
  711. STM32_FUNCTION(6, "SPI4_NSS"),
  712. STM32_FUNCTION(7, "SAI1_FS_A"),
  713. STM32_FUNCTION(13, "FMC_A20"),
  714. STM32_FUNCTION(14, "DCMI_D4"),
  715. STM32_FUNCTION(15, "LCD_B0"),
  716. STM32_FUNCTION(16, "EVENTOUT"),
  717. STM32_FUNCTION(17, "ANALOG")
  718. ),
  719. STM32_PIN(
  720. PINCTRL_PIN(69, "PE5"),
  721. STM32_FUNCTION(0, "GPIOE5"),
  722. STM32_FUNCTION(1, "TRACED2"),
  723. STM32_FUNCTION(4, "TIM9_CH1"),
  724. STM32_FUNCTION(6, "SPI4_MISO"),
  725. STM32_FUNCTION(7, "SAI1_SCK_A"),
  726. STM32_FUNCTION(13, "FMC_A21"),
  727. STM32_FUNCTION(14, "DCMI_D6"),
  728. STM32_FUNCTION(15, "LCD_G0"),
  729. STM32_FUNCTION(16, "EVENTOUT"),
  730. STM32_FUNCTION(17, "ANALOG")
  731. ),
  732. STM32_PIN(
  733. PINCTRL_PIN(70, "PE6"),
  734. STM32_FUNCTION(0, "GPIOE6"),
  735. STM32_FUNCTION(1, "TRACED3"),
  736. STM32_FUNCTION(4, "TIM9_CH2"),
  737. STM32_FUNCTION(6, "SPI4_MOSI"),
  738. STM32_FUNCTION(7, "SAI1_SD_A"),
  739. STM32_FUNCTION(13, "FMC_A22"),
  740. STM32_FUNCTION(14, "DCMI_D7"),
  741. STM32_FUNCTION(15, "LCD_G1"),
  742. STM32_FUNCTION(16, "EVENTOUT"),
  743. STM32_FUNCTION(17, "ANALOG")
  744. ),
  745. STM32_PIN(
  746. PINCTRL_PIN(71, "PE7"),
  747. STM32_FUNCTION(0, "GPIOE7"),
  748. STM32_FUNCTION(2, "TIM1_ETR"),
  749. STM32_FUNCTION(9, "UART7_RX"),
  750. STM32_FUNCTION(13, "FMC_D4"),
  751. STM32_FUNCTION(16, "EVENTOUT"),
  752. STM32_FUNCTION(17, "ANALOG")
  753. ),
  754. STM32_PIN(
  755. PINCTRL_PIN(72, "PE8"),
  756. STM32_FUNCTION(0, "GPIOE8"),
  757. STM32_FUNCTION(2, "TIM1_CH1N"),
  758. STM32_FUNCTION(9, "UART7_TX"),
  759. STM32_FUNCTION(13, "FMC_D5"),
  760. STM32_FUNCTION(16, "EVENTOUT"),
  761. STM32_FUNCTION(17, "ANALOG")
  762. ),
  763. STM32_PIN(
  764. PINCTRL_PIN(73, "PE9"),
  765. STM32_FUNCTION(0, "GPIOE9"),
  766. STM32_FUNCTION(2, "TIM1_CH1"),
  767. STM32_FUNCTION(13, "FMC_D6"),
  768. STM32_FUNCTION(16, "EVENTOUT"),
  769. STM32_FUNCTION(17, "ANALOG")
  770. ),
  771. STM32_PIN(
  772. PINCTRL_PIN(74, "PE10"),
  773. STM32_FUNCTION(0, "GPIOE10"),
  774. STM32_FUNCTION(2, "TIM1_CH2N"),
  775. STM32_FUNCTION(13, "FMC_D7"),
  776. STM32_FUNCTION(16, "EVENTOUT"),
  777. STM32_FUNCTION(17, "ANALOG")
  778. ),
  779. STM32_PIN(
  780. PINCTRL_PIN(75, "PE11"),
  781. STM32_FUNCTION(0, "GPIOE11"),
  782. STM32_FUNCTION(2, "TIM1_CH2"),
  783. STM32_FUNCTION(6, "SPI4_NSS"),
  784. STM32_FUNCTION(13, "FMC_D8"),
  785. STM32_FUNCTION(15, "LCD_G3"),
  786. STM32_FUNCTION(16, "EVENTOUT"),
  787. STM32_FUNCTION(17, "ANALOG")
  788. ),
  789. STM32_PIN(
  790. PINCTRL_PIN(76, "PE12"),
  791. STM32_FUNCTION(0, "GPIOE12"),
  792. STM32_FUNCTION(2, "TIM1_CH3N"),
  793. STM32_FUNCTION(6, "SPI4_SCK"),
  794. STM32_FUNCTION(13, "FMC_D9"),
  795. STM32_FUNCTION(15, "LCD_B4"),
  796. STM32_FUNCTION(16, "EVENTOUT"),
  797. STM32_FUNCTION(17, "ANALOG")
  798. ),
  799. STM32_PIN(
  800. PINCTRL_PIN(77, "PE13"),
  801. STM32_FUNCTION(0, "GPIOE13"),
  802. STM32_FUNCTION(2, "TIM1_CH3"),
  803. STM32_FUNCTION(6, "SPI4_MISO"),
  804. STM32_FUNCTION(13, "FMC_D10"),
  805. STM32_FUNCTION(15, "LCD_DE"),
  806. STM32_FUNCTION(16, "EVENTOUT"),
  807. STM32_FUNCTION(17, "ANALOG")
  808. ),
  809. STM32_PIN(
  810. PINCTRL_PIN(78, "PE14"),
  811. STM32_FUNCTION(0, "GPIOE14"),
  812. STM32_FUNCTION(2, "TIM1_CH4"),
  813. STM32_FUNCTION(6, "SPI4_MOSI"),
  814. STM32_FUNCTION(13, "FMC_D11"),
  815. STM32_FUNCTION(15, "LCD_CLK"),
  816. STM32_FUNCTION(16, "EVENTOUT"),
  817. STM32_FUNCTION(17, "ANALOG")
  818. ),
  819. STM32_PIN(
  820. PINCTRL_PIN(79, "PE15"),
  821. STM32_FUNCTION(0, "GPIOE15"),
  822. STM32_FUNCTION(2, "TIM1_BKIN"),
  823. STM32_FUNCTION(13, "FMC_D12"),
  824. STM32_FUNCTION(15, "LCD_R7"),
  825. STM32_FUNCTION(16, "EVENTOUT"),
  826. STM32_FUNCTION(17, "ANALOG")
  827. ),
  828. STM32_PIN(
  829. PINCTRL_PIN(80, "PF0"),
  830. STM32_FUNCTION(0, "GPIOF0"),
  831. STM32_FUNCTION(5, "I2C2_SDA"),
  832. STM32_FUNCTION(13, "FMC_A0"),
  833. STM32_FUNCTION(16, "EVENTOUT"),
  834. STM32_FUNCTION(17, "ANALOG")
  835. ),
  836. STM32_PIN(
  837. PINCTRL_PIN(81, "PF1"),
  838. STM32_FUNCTION(0, "GPIOF1"),
  839. STM32_FUNCTION(5, "I2C2_SCL"),
  840. STM32_FUNCTION(13, "FMC_A1"),
  841. STM32_FUNCTION(16, "EVENTOUT"),
  842. STM32_FUNCTION(17, "ANALOG")
  843. ),
  844. STM32_PIN(
  845. PINCTRL_PIN(82, "PF2"),
  846. STM32_FUNCTION(0, "GPIOF2"),
  847. STM32_FUNCTION(5, "I2C2_SMBA"),
  848. STM32_FUNCTION(13, "FMC_A2"),
  849. STM32_FUNCTION(16, "EVENTOUT"),
  850. STM32_FUNCTION(17, "ANALOG")
  851. ),
  852. STM32_PIN(
  853. PINCTRL_PIN(83, "PF3"),
  854. STM32_FUNCTION(0, "GPIOF3"),
  855. STM32_FUNCTION(13, "FMC_A3"),
  856. STM32_FUNCTION(16, "EVENTOUT"),
  857. STM32_FUNCTION(17, "ANALOG")
  858. ),
  859. STM32_PIN(
  860. PINCTRL_PIN(84, "PF4"),
  861. STM32_FUNCTION(0, "GPIOF4"),
  862. STM32_FUNCTION(13, "FMC_A4"),
  863. STM32_FUNCTION(16, "EVENTOUT"),
  864. STM32_FUNCTION(17, "ANALOG")
  865. ),
  866. STM32_PIN(
  867. PINCTRL_PIN(85, "PF5"),
  868. STM32_FUNCTION(0, "GPIOF5"),
  869. STM32_FUNCTION(13, "FMC_A5"),
  870. STM32_FUNCTION(16, "EVENTOUT"),
  871. STM32_FUNCTION(17, "ANALOG")
  872. ),
  873. STM32_PIN(
  874. PINCTRL_PIN(86, "PF6"),
  875. STM32_FUNCTION(0, "GPIOF6"),
  876. STM32_FUNCTION(4, "TIM10_CH1"),
  877. STM32_FUNCTION(6, "SPI5_NSS"),
  878. STM32_FUNCTION(7, "SAI1_SD_B"),
  879. STM32_FUNCTION(9, "UART7_RX"),
  880. STM32_FUNCTION(13, "FMC_NIORD"),
  881. STM32_FUNCTION(16, "EVENTOUT"),
  882. STM32_FUNCTION(17, "ANALOG")
  883. ),
  884. STM32_PIN(
  885. PINCTRL_PIN(87, "PF7"),
  886. STM32_FUNCTION(0, "GPIOF7"),
  887. STM32_FUNCTION(4, "TIM11_CH1"),
  888. STM32_FUNCTION(6, "SPI5_SCK"),
  889. STM32_FUNCTION(7, "SAI1_MCLK_B"),
  890. STM32_FUNCTION(9, "UART7_TX"),
  891. STM32_FUNCTION(13, "FMC_NREG"),
  892. STM32_FUNCTION(16, "EVENTOUT"),
  893. STM32_FUNCTION(17, "ANALOG")
  894. ),
  895. STM32_PIN(
  896. PINCTRL_PIN(88, "PF8"),
  897. STM32_FUNCTION(0, "GPIOF8"),
  898. STM32_FUNCTION(6, "SPI5_MISO"),
  899. STM32_FUNCTION(7, "SAI1_SCK_B"),
  900. STM32_FUNCTION(10, "TIM13_CH1"),
  901. STM32_FUNCTION(13, "FMC_NIOWR"),
  902. STM32_FUNCTION(16, "EVENTOUT"),
  903. STM32_FUNCTION(17, "ANALOG")
  904. ),
  905. STM32_PIN(
  906. PINCTRL_PIN(89, "PF9"),
  907. STM32_FUNCTION(0, "GPIOF9"),
  908. STM32_FUNCTION(6, "SPI5_MOSI"),
  909. STM32_FUNCTION(7, "SAI1_FS_B"),
  910. STM32_FUNCTION(10, "TIM14_CH1"),
  911. STM32_FUNCTION(13, "FMC_CD"),
  912. STM32_FUNCTION(16, "EVENTOUT"),
  913. STM32_FUNCTION(17, "ANALOG")
  914. ),
  915. STM32_PIN(
  916. PINCTRL_PIN(90, "PF10"),
  917. STM32_FUNCTION(0, "GPIOF10"),
  918. STM32_FUNCTION(13, "FMC_INTR"),
  919. STM32_FUNCTION(14, "DCMI_D11"),
  920. STM32_FUNCTION(15, "LCD_DE"),
  921. STM32_FUNCTION(16, "EVENTOUT"),
  922. STM32_FUNCTION(17, "ANALOG")
  923. ),
  924. STM32_PIN(
  925. PINCTRL_PIN(91, "PF11"),
  926. STM32_FUNCTION(0, "GPIOF11"),
  927. STM32_FUNCTION(6, "SPI5_MOSI"),
  928. STM32_FUNCTION(13, "FMC_SDNRAS"),
  929. STM32_FUNCTION(14, "DCMI_D12"),
  930. STM32_FUNCTION(16, "EVENTOUT"),
  931. STM32_FUNCTION(17, "ANALOG")
  932. ),
  933. STM32_PIN(
  934. PINCTRL_PIN(92, "PF12"),
  935. STM32_FUNCTION(0, "GPIOF12"),
  936. STM32_FUNCTION(13, "FMC_A6"),
  937. STM32_FUNCTION(16, "EVENTOUT"),
  938. STM32_FUNCTION(17, "ANALOG")
  939. ),
  940. STM32_PIN(
  941. PINCTRL_PIN(93, "PF13"),
  942. STM32_FUNCTION(0, "GPIOF13"),
  943. STM32_FUNCTION(13, "FMC_A7"),
  944. STM32_FUNCTION(16, "EVENTOUT"),
  945. STM32_FUNCTION(17, "ANALOG")
  946. ),
  947. STM32_PIN(
  948. PINCTRL_PIN(94, "PF14"),
  949. STM32_FUNCTION(0, "GPIOF14"),
  950. STM32_FUNCTION(13, "FMC_A8"),
  951. STM32_FUNCTION(16, "EVENTOUT"),
  952. STM32_FUNCTION(17, "ANALOG")
  953. ),
  954. STM32_PIN(
  955. PINCTRL_PIN(95, "PF15"),
  956. STM32_FUNCTION(0, "GPIOF15"),
  957. STM32_FUNCTION(13, "FMC_A9"),
  958. STM32_FUNCTION(16, "EVENTOUT"),
  959. STM32_FUNCTION(17, "ANALOG")
  960. ),
  961. STM32_PIN(
  962. PINCTRL_PIN(96, "PG0"),
  963. STM32_FUNCTION(0, "GPIOG0"),
  964. STM32_FUNCTION(13, "FMC_A10"),
  965. STM32_FUNCTION(16, "EVENTOUT"),
  966. STM32_FUNCTION(17, "ANALOG")
  967. ),
  968. STM32_PIN(
  969. PINCTRL_PIN(97, "PG1"),
  970. STM32_FUNCTION(0, "GPIOG1"),
  971. STM32_FUNCTION(13, "FMC_A11"),
  972. STM32_FUNCTION(16, "EVENTOUT"),
  973. STM32_FUNCTION(17, "ANALOG")
  974. ),
  975. STM32_PIN(
  976. PINCTRL_PIN(98, "PG2"),
  977. STM32_FUNCTION(0, "GPIOG2"),
  978. STM32_FUNCTION(13, "FMC_A12"),
  979. STM32_FUNCTION(16, "EVENTOUT"),
  980. STM32_FUNCTION(17, "ANALOG")
  981. ),
  982. STM32_PIN(
  983. PINCTRL_PIN(99, "PG3"),
  984. STM32_FUNCTION(0, "GPIOG3"),
  985. STM32_FUNCTION(13, "FMC_A13"),
  986. STM32_FUNCTION(16, "EVENTOUT"),
  987. STM32_FUNCTION(17, "ANALOG")
  988. ),
  989. STM32_PIN(
  990. PINCTRL_PIN(100, "PG4"),
  991. STM32_FUNCTION(0, "GPIOG4"),
  992. STM32_FUNCTION(13, "FMC_A14 FMC_BA0"),
  993. STM32_FUNCTION(16, "EVENTOUT"),
  994. STM32_FUNCTION(17, "ANALOG")
  995. ),
  996. STM32_PIN(
  997. PINCTRL_PIN(101, "PG5"),
  998. STM32_FUNCTION(0, "GPIOG5"),
  999. STM32_FUNCTION(13, "FMC_A15 FMC_BA1"),
  1000. STM32_FUNCTION(16, "EVENTOUT"),
  1001. STM32_FUNCTION(17, "ANALOG")
  1002. ),
  1003. STM32_PIN(
  1004. PINCTRL_PIN(102, "PG6"),
  1005. STM32_FUNCTION(0, "GPIOG6"),
  1006. STM32_FUNCTION(13, "FMC_INT2"),
  1007. STM32_FUNCTION(14, "DCMI_D12"),
  1008. STM32_FUNCTION(15, "LCD_R7"),
  1009. STM32_FUNCTION(16, "EVENTOUT"),
  1010. STM32_FUNCTION(17, "ANALOG")
  1011. ),
  1012. STM32_PIN(
  1013. PINCTRL_PIN(103, "PG7"),
  1014. STM32_FUNCTION(0, "GPIOG7"),
  1015. STM32_FUNCTION(9, "USART6_CK"),
  1016. STM32_FUNCTION(13, "FMC_INT3"),
  1017. STM32_FUNCTION(14, "DCMI_D13"),
  1018. STM32_FUNCTION(15, "LCD_CLK"),
  1019. STM32_FUNCTION(16, "EVENTOUT"),
  1020. STM32_FUNCTION(17, "ANALOG")
  1021. ),
  1022. STM32_PIN(
  1023. PINCTRL_PIN(104, "PG8"),
  1024. STM32_FUNCTION(0, "GPIOG8"),
  1025. STM32_FUNCTION(6, "SPI6_NSS"),
  1026. STM32_FUNCTION(9, "USART6_RTS"),
  1027. STM32_FUNCTION(12, "ETH_PPS_OUT"),
  1028. STM32_FUNCTION(13, "FMC_SDCLK"),
  1029. STM32_FUNCTION(16, "EVENTOUT"),
  1030. STM32_FUNCTION(17, "ANALOG")
  1031. ),
  1032. STM32_PIN(
  1033. PINCTRL_PIN(105, "PG9"),
  1034. STM32_FUNCTION(0, "GPIOG9"),
  1035. STM32_FUNCTION(9, "USART6_RX"),
  1036. STM32_FUNCTION(13, "FMC_NE2 FMC_NCE3"),
  1037. STM32_FUNCTION(14, "DCMI_VSYNC"),
  1038. STM32_FUNCTION(16, "EVENTOUT"),
  1039. STM32_FUNCTION(17, "ANALOG")
  1040. ),
  1041. STM32_PIN(
  1042. PINCTRL_PIN(106, "PG10"),
  1043. STM32_FUNCTION(0, "GPIOG10"),
  1044. STM32_FUNCTION(10, "LCD_G3"),
  1045. STM32_FUNCTION(13, "FMC_NCE4_1 FMC_NE3"),
  1046. STM32_FUNCTION(14, "DCMI_D2"),
  1047. STM32_FUNCTION(15, "LCD_B2"),
  1048. STM32_FUNCTION(16, "EVENTOUT"),
  1049. STM32_FUNCTION(17, "ANALOG")
  1050. ),
  1051. STM32_PIN(
  1052. PINCTRL_PIN(107, "PG11"),
  1053. STM32_FUNCTION(0, "GPIOG11"),
  1054. STM32_FUNCTION(12, "ETH_MII_TX_EN ETH_RMII_TX_EN"),
  1055. STM32_FUNCTION(13, "FMC_NCE4_2"),
  1056. STM32_FUNCTION(14, "DCMI_D3"),
  1057. STM32_FUNCTION(15, "LCD_B3"),
  1058. STM32_FUNCTION(16, "EVENTOUT"),
  1059. STM32_FUNCTION(17, "ANALOG")
  1060. ),
  1061. STM32_PIN(
  1062. PINCTRL_PIN(108, "PG12"),
  1063. STM32_FUNCTION(0, "GPIOG12"),
  1064. STM32_FUNCTION(6, "SPI6_MISO"),
  1065. STM32_FUNCTION(9, "USART6_RTS"),
  1066. STM32_FUNCTION(10, "LCD_B4"),
  1067. STM32_FUNCTION(13, "FMC_NE4"),
  1068. STM32_FUNCTION(15, "LCD_B1"),
  1069. STM32_FUNCTION(16, "EVENTOUT"),
  1070. STM32_FUNCTION(17, "ANALOG")
  1071. ),
  1072. STM32_PIN(
  1073. PINCTRL_PIN(109, "PG13"),
  1074. STM32_FUNCTION(0, "GPIOG13"),
  1075. STM32_FUNCTION(6, "SPI6_SCK"),
  1076. STM32_FUNCTION(9, "USART6_CTS"),
  1077. STM32_FUNCTION(12, "ETH_MII_TXD0 ETH_RMII_TXD0"),
  1078. STM32_FUNCTION(13, "FMC_A24"),
  1079. STM32_FUNCTION(16, "EVENTOUT"),
  1080. STM32_FUNCTION(17, "ANALOG")
  1081. ),
  1082. STM32_PIN(
  1083. PINCTRL_PIN(110, "PG14"),
  1084. STM32_FUNCTION(0, "GPIOG14"),
  1085. STM32_FUNCTION(6, "SPI6_MOSI"),
  1086. STM32_FUNCTION(9, "USART6_TX"),
  1087. STM32_FUNCTION(12, "ETH_MII_TXD1 ETH_RMII_TXD1"),
  1088. STM32_FUNCTION(13, "FMC_A25"),
  1089. STM32_FUNCTION(16, "EVENTOUT"),
  1090. STM32_FUNCTION(17, "ANALOG")
  1091. ),
  1092. STM32_PIN(
  1093. PINCTRL_PIN(111, "PG15"),
  1094. STM32_FUNCTION(0, "GPIOG15"),
  1095. STM32_FUNCTION(9, "USART6_CTS"),
  1096. STM32_FUNCTION(13, "FMC_SDNCAS"),
  1097. STM32_FUNCTION(14, "DCMI_D13"),
  1098. STM32_FUNCTION(16, "EVENTOUT"),
  1099. STM32_FUNCTION(17, "ANALOG")
  1100. ),
  1101. STM32_PIN(
  1102. PINCTRL_PIN(112, "PH0"),
  1103. STM32_FUNCTION(0, "GPIOH0"),
  1104. STM32_FUNCTION(16, "EVENTOUT"),
  1105. STM32_FUNCTION(17, "ANALOG")
  1106. ),
  1107. STM32_PIN(
  1108. PINCTRL_PIN(113, "PH1"),
  1109. STM32_FUNCTION(0, "GPIOH1"),
  1110. STM32_FUNCTION(16, "EVENTOUT"),
  1111. STM32_FUNCTION(17, "ANALOG")
  1112. ),
  1113. STM32_PIN(
  1114. PINCTRL_PIN(114, "PH2"),
  1115. STM32_FUNCTION(0, "GPIOH2"),
  1116. STM32_FUNCTION(12, "ETH_MII_CRS"),
  1117. STM32_FUNCTION(13, "FMC_SDCKE0"),
  1118. STM32_FUNCTION(15, "LCD_R0"),
  1119. STM32_FUNCTION(16, "EVENTOUT"),
  1120. STM32_FUNCTION(17, "ANALOG")
  1121. ),
  1122. STM32_PIN(
  1123. PINCTRL_PIN(115, "PH3"),
  1124. STM32_FUNCTION(0, "GPIOH3"),
  1125. STM32_FUNCTION(12, "ETH_MII_COL"),
  1126. STM32_FUNCTION(13, "FMC_SDNE0"),
  1127. STM32_FUNCTION(15, "LCD_R1"),
  1128. STM32_FUNCTION(16, "EVENTOUT"),
  1129. STM32_FUNCTION(17, "ANALOG")
  1130. ),
  1131. STM32_PIN(
  1132. PINCTRL_PIN(116, "PH4"),
  1133. STM32_FUNCTION(0, "GPIOH4"),
  1134. STM32_FUNCTION(5, "I2C2_SCL"),
  1135. STM32_FUNCTION(11, "OTG_HS_ULPI_NXT"),
  1136. STM32_FUNCTION(16, "EVENTOUT"),
  1137. STM32_FUNCTION(17, "ANALOG")
  1138. ),
  1139. STM32_PIN(
  1140. PINCTRL_PIN(117, "PH5"),
  1141. STM32_FUNCTION(0, "GPIOH5"),
  1142. STM32_FUNCTION(5, "I2C2_SDA"),
  1143. STM32_FUNCTION(6, "SPI5_NSS"),
  1144. STM32_FUNCTION(13, "FMC_SDNWE"),
  1145. STM32_FUNCTION(16, "EVENTOUT"),
  1146. STM32_FUNCTION(17, "ANALOG")
  1147. ),
  1148. STM32_PIN(
  1149. PINCTRL_PIN(118, "PH6"),
  1150. STM32_FUNCTION(0, "GPIOH6"),
  1151. STM32_FUNCTION(5, "I2C2_SMBA"),
  1152. STM32_FUNCTION(6, "SPI5_SCK"),
  1153. STM32_FUNCTION(10, "TIM12_CH1"),
  1154. STM32_FUNCTION(12, "ETH_MII_RXD2"),
  1155. STM32_FUNCTION(13, "FMC_SDNE1"),
  1156. STM32_FUNCTION(14, "DCMI_D8"),
  1157. STM32_FUNCTION(16, "EVENTOUT"),
  1158. STM32_FUNCTION(17, "ANALOG")
  1159. ),
  1160. STM32_PIN(
  1161. PINCTRL_PIN(119, "PH7"),
  1162. STM32_FUNCTION(0, "GPIOH7"),
  1163. STM32_FUNCTION(5, "I2C3_SCL"),
  1164. STM32_FUNCTION(6, "SPI5_MISO"),
  1165. STM32_FUNCTION(12, "ETH_MII_RXD3"),
  1166. STM32_FUNCTION(13, "FMC_SDCKE1"),
  1167. STM32_FUNCTION(14, "DCMI_D9"),
  1168. STM32_FUNCTION(16, "EVENTOUT"),
  1169. STM32_FUNCTION(17, "ANALOG")
  1170. ),
  1171. STM32_PIN(
  1172. PINCTRL_PIN(120, "PH8"),
  1173. STM32_FUNCTION(0, "GPIOH8"),
  1174. STM32_FUNCTION(5, "I2C3_SDA"),
  1175. STM32_FUNCTION(13, "FMC_D16"),
  1176. STM32_FUNCTION(14, "DCMI_HSYNC"),
  1177. STM32_FUNCTION(15, "LCD_R2"),
  1178. STM32_FUNCTION(16, "EVENTOUT"),
  1179. STM32_FUNCTION(17, "ANALOG")
  1180. ),
  1181. STM32_PIN(
  1182. PINCTRL_PIN(121, "PH9"),
  1183. STM32_FUNCTION(0, "GPIOH9"),
  1184. STM32_FUNCTION(5, "I2C3_SMBA"),
  1185. STM32_FUNCTION(10, "TIM12_CH2"),
  1186. STM32_FUNCTION(13, "FMC_D17"),
  1187. STM32_FUNCTION(14, "DCMI_D0"),
  1188. STM32_FUNCTION(15, "LCD_R3"),
  1189. STM32_FUNCTION(16, "EVENTOUT"),
  1190. STM32_FUNCTION(17, "ANALOG")
  1191. ),
  1192. STM32_PIN(
  1193. PINCTRL_PIN(122, "PH10"),
  1194. STM32_FUNCTION(0, "GPIOH10"),
  1195. STM32_FUNCTION(3, "TIM5_CH1"),
  1196. STM32_FUNCTION(13, "FMC_D18"),
  1197. STM32_FUNCTION(14, "DCMI_D1"),
  1198. STM32_FUNCTION(15, "LCD_R4"),
  1199. STM32_FUNCTION(16, "EVENTOUT"),
  1200. STM32_FUNCTION(17, "ANALOG")
  1201. ),
  1202. STM32_PIN(
  1203. PINCTRL_PIN(123, "PH11"),
  1204. STM32_FUNCTION(0, "GPIOH11"),
  1205. STM32_FUNCTION(3, "TIM5_CH2"),
  1206. STM32_FUNCTION(13, "FMC_D19"),
  1207. STM32_FUNCTION(14, "DCMI_D2"),
  1208. STM32_FUNCTION(15, "LCD_R5"),
  1209. STM32_FUNCTION(16, "EVENTOUT"),
  1210. STM32_FUNCTION(17, "ANALOG")
  1211. ),
  1212. STM32_PIN(
  1213. PINCTRL_PIN(124, "PH12"),
  1214. STM32_FUNCTION(0, "GPIOH12"),
  1215. STM32_FUNCTION(3, "TIM5_CH3"),
  1216. STM32_FUNCTION(13, "FMC_D20"),
  1217. STM32_FUNCTION(14, "DCMI_D3"),
  1218. STM32_FUNCTION(15, "LCD_R6"),
  1219. STM32_FUNCTION(16, "EVENTOUT"),
  1220. STM32_FUNCTION(17, "ANALOG")
  1221. ),
  1222. STM32_PIN(
  1223. PINCTRL_PIN(125, "PH13"),
  1224. STM32_FUNCTION(0, "GPIOH13"),
  1225. STM32_FUNCTION(4, "TIM8_CH1N"),
  1226. STM32_FUNCTION(10, "CAN1_TX"),
  1227. STM32_FUNCTION(13, "FMC_D21"),
  1228. STM32_FUNCTION(15, "LCD_G2"),
  1229. STM32_FUNCTION(16, "EVENTOUT"),
  1230. STM32_FUNCTION(17, "ANALOG")
  1231. ),
  1232. STM32_PIN(
  1233. PINCTRL_PIN(126, "PH14"),
  1234. STM32_FUNCTION(0, "GPIOH14"),
  1235. STM32_FUNCTION(4, "TIM8_CH2N"),
  1236. STM32_FUNCTION(13, "FMC_D22"),
  1237. STM32_FUNCTION(14, "DCMI_D4"),
  1238. STM32_FUNCTION(15, "LCD_G3"),
  1239. STM32_FUNCTION(16, "EVENTOUT"),
  1240. STM32_FUNCTION(17, "ANALOG")
  1241. ),
  1242. STM32_PIN(
  1243. PINCTRL_PIN(127, "PH15"),
  1244. STM32_FUNCTION(0, "GPIOH15"),
  1245. STM32_FUNCTION(4, "TIM8_CH3N"),
  1246. STM32_FUNCTION(13, "FMC_D23"),
  1247. STM32_FUNCTION(14, "DCMI_D11"),
  1248. STM32_FUNCTION(15, "LCD_G4"),
  1249. STM32_FUNCTION(16, "EVENTOUT"),
  1250. STM32_FUNCTION(17, "ANALOG")
  1251. ),
  1252. STM32_PIN(
  1253. PINCTRL_PIN(128, "PI0"),
  1254. STM32_FUNCTION(0, "GPIOI0"),
  1255. STM32_FUNCTION(3, "TIM5_CH4"),
  1256. STM32_FUNCTION(6, "SPI2_NSS I2S2_WS"),
  1257. STM32_FUNCTION(13, "FMC_D24"),
  1258. STM32_FUNCTION(14, "DCMI_D13"),
  1259. STM32_FUNCTION(15, "LCD_G5"),
  1260. STM32_FUNCTION(16, "EVENTOUT"),
  1261. STM32_FUNCTION(17, "ANALOG")
  1262. ),
  1263. STM32_PIN(
  1264. PINCTRL_PIN(129, "PI1"),
  1265. STM32_FUNCTION(0, "GPIOI1"),
  1266. STM32_FUNCTION(6, "SPI2_SCK I2S2_CK"),
  1267. STM32_FUNCTION(13, "FMC_D25"),
  1268. STM32_FUNCTION(14, "DCMI_D8"),
  1269. STM32_FUNCTION(15, "LCD_G6"),
  1270. STM32_FUNCTION(16, "EVENTOUT"),
  1271. STM32_FUNCTION(17, "ANALOG")
  1272. ),
  1273. STM32_PIN(
  1274. PINCTRL_PIN(130, "PI2"),
  1275. STM32_FUNCTION(0, "GPIOI2"),
  1276. STM32_FUNCTION(4, "TIM8_CH4"),
  1277. STM32_FUNCTION(6, "SPI2_MISO"),
  1278. STM32_FUNCTION(7, "I2S2EXT_SD"),
  1279. STM32_FUNCTION(13, "FMC_D26"),
  1280. STM32_FUNCTION(14, "DCMI_D9"),
  1281. STM32_FUNCTION(15, "LCD_G7"),
  1282. STM32_FUNCTION(16, "EVENTOUT"),
  1283. STM32_FUNCTION(17, "ANALOG")
  1284. ),
  1285. STM32_PIN(
  1286. PINCTRL_PIN(131, "PI3"),
  1287. STM32_FUNCTION(0, "GPIOI3"),
  1288. STM32_FUNCTION(4, "TIM8_ETR"),
  1289. STM32_FUNCTION(6, "SPI2_MOSI I2S2_SD"),
  1290. STM32_FUNCTION(13, "FMC_D27"),
  1291. STM32_FUNCTION(14, "DCMI_D10"),
  1292. STM32_FUNCTION(16, "EVENTOUT"),
  1293. STM32_FUNCTION(17, "ANALOG")
  1294. ),
  1295. STM32_PIN(
  1296. PINCTRL_PIN(132, "PI4"),
  1297. STM32_FUNCTION(0, "GPIOI4"),
  1298. STM32_FUNCTION(4, "TIM8_BKIN"),
  1299. STM32_FUNCTION(13, "FMC_NBL2"),
  1300. STM32_FUNCTION(14, "DCMI_D5"),
  1301. STM32_FUNCTION(15, "LCD_B4"),
  1302. STM32_FUNCTION(16, "EVENTOUT"),
  1303. STM32_FUNCTION(17, "ANALOG")
  1304. ),
  1305. STM32_PIN(
  1306. PINCTRL_PIN(133, "PI5"),
  1307. STM32_FUNCTION(0, "GPIOI5"),
  1308. STM32_FUNCTION(4, "TIM8_CH1"),
  1309. STM32_FUNCTION(13, "FMC_NBL3"),
  1310. STM32_FUNCTION(14, "DCMI_VSYNC"),
  1311. STM32_FUNCTION(15, "LCD_B5"),
  1312. STM32_FUNCTION(16, "EVENTOUT"),
  1313. STM32_FUNCTION(17, "ANALOG")
  1314. ),
  1315. STM32_PIN(
  1316. PINCTRL_PIN(134, "PI6"),
  1317. STM32_FUNCTION(0, "GPIOI6"),
  1318. STM32_FUNCTION(4, "TIM8_CH2"),
  1319. STM32_FUNCTION(13, "FMC_D28"),
  1320. STM32_FUNCTION(14, "DCMI_D6"),
  1321. STM32_FUNCTION(15, "LCD_B6"),
  1322. STM32_FUNCTION(16, "EVENTOUT"),
  1323. STM32_FUNCTION(17, "ANALOG")
  1324. ),
  1325. STM32_PIN(
  1326. PINCTRL_PIN(135, "PI7"),
  1327. STM32_FUNCTION(0, "GPIOI7"),
  1328. STM32_FUNCTION(4, "TIM8_CH3"),
  1329. STM32_FUNCTION(13, "FMC_D29"),
  1330. STM32_FUNCTION(14, "DCMI_D7"),
  1331. STM32_FUNCTION(15, "LCD_B7"),
  1332. STM32_FUNCTION(16, "EVENTOUT"),
  1333. STM32_FUNCTION(17, "ANALOG")
  1334. ),
  1335. STM32_PIN(
  1336. PINCTRL_PIN(136, "PI8"),
  1337. STM32_FUNCTION(0, "GPIOI8"),
  1338. STM32_FUNCTION(16, "EVENTOUT"),
  1339. STM32_FUNCTION(17, "ANALOG")
  1340. ),
  1341. STM32_PIN(
  1342. PINCTRL_PIN(137, "PI9"),
  1343. STM32_FUNCTION(0, "GPIOI9"),
  1344. STM32_FUNCTION(10, "CAN1_RX"),
  1345. STM32_FUNCTION(13, "FMC_D30"),
  1346. STM32_FUNCTION(15, "LCD_VSYNC"),
  1347. STM32_FUNCTION(16, "EVENTOUT"),
  1348. STM32_FUNCTION(17, "ANALOG")
  1349. ),
  1350. STM32_PIN(
  1351. PINCTRL_PIN(138, "PI10"),
  1352. STM32_FUNCTION(0, "GPIOI10"),
  1353. STM32_FUNCTION(12, "ETH_MII_RX_ER"),
  1354. STM32_FUNCTION(13, "FMC_D31"),
  1355. STM32_FUNCTION(15, "LCD_HSYNC"),
  1356. STM32_FUNCTION(16, "EVENTOUT"),
  1357. STM32_FUNCTION(17, "ANALOG")
  1358. ),
  1359. STM32_PIN(
  1360. PINCTRL_PIN(139, "PI11"),
  1361. STM32_FUNCTION(0, "GPIOI11"),
  1362. STM32_FUNCTION(11, "OTG_HS_ULPI_DIR"),
  1363. STM32_FUNCTION(16, "EVENTOUT"),
  1364. STM32_FUNCTION(17, "ANALOG")
  1365. ),
  1366. STM32_PIN(
  1367. PINCTRL_PIN(140, "PI12"),
  1368. STM32_FUNCTION(0, "GPIOI12"),
  1369. STM32_FUNCTION(15, "LCD_HSYNC"),
  1370. STM32_FUNCTION(16, "EVENTOUT"),
  1371. STM32_FUNCTION(17, "ANALOG")
  1372. ),
  1373. STM32_PIN(
  1374. PINCTRL_PIN(141, "PI13"),
  1375. STM32_FUNCTION(0, "GPIOI13"),
  1376. STM32_FUNCTION(15, "LCD_VSYNC"),
  1377. STM32_FUNCTION(16, "EVENTOUT"),
  1378. STM32_FUNCTION(17, "ANALOG")
  1379. ),
  1380. STM32_PIN(
  1381. PINCTRL_PIN(142, "PI14"),
  1382. STM32_FUNCTION(0, "GPIOI14"),
  1383. STM32_FUNCTION(15, "LCD_CLK"),
  1384. STM32_FUNCTION(16, "EVENTOUT"),
  1385. STM32_FUNCTION(17, "ANALOG")
  1386. ),
  1387. STM32_PIN(
  1388. PINCTRL_PIN(143, "PI15"),
  1389. STM32_FUNCTION(0, "GPIOI15"),
  1390. STM32_FUNCTION(15, "LCD_R0"),
  1391. STM32_FUNCTION(16, "EVENTOUT"),
  1392. STM32_FUNCTION(17, "ANALOG")
  1393. ),
  1394. STM32_PIN(
  1395. PINCTRL_PIN(144, "PJ0"),
  1396. STM32_FUNCTION(0, "GPIOJ0"),
  1397. STM32_FUNCTION(15, "LCD_R1"),
  1398. STM32_FUNCTION(16, "EVENTOUT"),
  1399. STM32_FUNCTION(17, "ANALOG")
  1400. ),
  1401. STM32_PIN(
  1402. PINCTRL_PIN(145, "PJ1"),
  1403. STM32_FUNCTION(0, "GPIOJ1"),
  1404. STM32_FUNCTION(15, "LCD_R2"),
  1405. STM32_FUNCTION(16, "EVENTOUT"),
  1406. STM32_FUNCTION(17, "ANALOG")
  1407. ),
  1408. STM32_PIN(
  1409. PINCTRL_PIN(146, "PJ2"),
  1410. STM32_FUNCTION(0, "GPIOJ2"),
  1411. STM32_FUNCTION(15, "LCD_R3"),
  1412. STM32_FUNCTION(16, "EVENTOUT"),
  1413. STM32_FUNCTION(17, "ANALOG")
  1414. ),
  1415. STM32_PIN(
  1416. PINCTRL_PIN(147, "PJ3"),
  1417. STM32_FUNCTION(0, "GPIOJ3"),
  1418. STM32_FUNCTION(15, "LCD_R4"),
  1419. STM32_FUNCTION(16, "EVENTOUT"),
  1420. STM32_FUNCTION(17, "ANALOG")
  1421. ),
  1422. STM32_PIN(
  1423. PINCTRL_PIN(148, "PJ4"),
  1424. STM32_FUNCTION(0, "GPIOJ4"),
  1425. STM32_FUNCTION(15, "LCD_R5"),
  1426. STM32_FUNCTION(16, "EVENTOUT"),
  1427. STM32_FUNCTION(17, "ANALOG")
  1428. ),
  1429. STM32_PIN(
  1430. PINCTRL_PIN(149, "PJ5"),
  1431. STM32_FUNCTION(0, "GPIOJ5"),
  1432. STM32_FUNCTION(15, "LCD_R6"),
  1433. STM32_FUNCTION(16, "EVENTOUT"),
  1434. STM32_FUNCTION(17, "ANALOG")
  1435. ),
  1436. STM32_PIN(
  1437. PINCTRL_PIN(150, "PJ6"),
  1438. STM32_FUNCTION(0, "GPIOJ6"),
  1439. STM32_FUNCTION(15, "LCD_R7"),
  1440. STM32_FUNCTION(16, "EVENTOUT"),
  1441. STM32_FUNCTION(17, "ANALOG")
  1442. ),
  1443. STM32_PIN(
  1444. PINCTRL_PIN(151, "PJ7"),
  1445. STM32_FUNCTION(0, "GPIOJ7"),
  1446. STM32_FUNCTION(15, "LCD_G0"),
  1447. STM32_FUNCTION(16, "EVENTOUT"),
  1448. STM32_FUNCTION(17, "ANALOG")
  1449. ),
  1450. STM32_PIN(
  1451. PINCTRL_PIN(152, "PJ8"),
  1452. STM32_FUNCTION(0, "GPIOJ8"),
  1453. STM32_FUNCTION(15, "LCD_G1"),
  1454. STM32_FUNCTION(16, "EVENTOUT"),
  1455. STM32_FUNCTION(17, "ANALOG")
  1456. ),
  1457. STM32_PIN(
  1458. PINCTRL_PIN(153, "PJ9"),
  1459. STM32_FUNCTION(0, "GPIOJ9"),
  1460. STM32_FUNCTION(15, "LCD_G2"),
  1461. STM32_FUNCTION(16, "EVENTOUT"),
  1462. STM32_FUNCTION(17, "ANALOG")
  1463. ),
  1464. STM32_PIN(
  1465. PINCTRL_PIN(154, "PJ10"),
  1466. STM32_FUNCTION(0, "GPIOJ10"),
  1467. STM32_FUNCTION(15, "LCD_G3"),
  1468. STM32_FUNCTION(16, "EVENTOUT"),
  1469. STM32_FUNCTION(17, "ANALOG")
  1470. ),
  1471. STM32_PIN(
  1472. PINCTRL_PIN(155, "PJ11"),
  1473. STM32_FUNCTION(0, "GPIOJ11"),
  1474. STM32_FUNCTION(15, "LCD_G4"),
  1475. STM32_FUNCTION(16, "EVENTOUT"),
  1476. STM32_FUNCTION(17, "ANALOG")
  1477. ),
  1478. STM32_PIN(
  1479. PINCTRL_PIN(156, "PJ12"),
  1480. STM32_FUNCTION(0, "GPIOJ12"),
  1481. STM32_FUNCTION(15, "LCD_B0"),
  1482. STM32_FUNCTION(16, "EVENTOUT"),
  1483. STM32_FUNCTION(17, "ANALOG")
  1484. ),
  1485. STM32_PIN(
  1486. PINCTRL_PIN(157, "PJ13"),
  1487. STM32_FUNCTION(0, "GPIOJ13"),
  1488. STM32_FUNCTION(15, "LCD_B1"),
  1489. STM32_FUNCTION(16, "EVENTOUT"),
  1490. STM32_FUNCTION(17, "ANALOG")
  1491. ),
  1492. STM32_PIN(
  1493. PINCTRL_PIN(158, "PJ14"),
  1494. STM32_FUNCTION(0, "GPIOJ14"),
  1495. STM32_FUNCTION(15, "LCD_B2"),
  1496. STM32_FUNCTION(16, "EVENTOUT"),
  1497. STM32_FUNCTION(17, "ANALOG")
  1498. ),
  1499. STM32_PIN(
  1500. PINCTRL_PIN(159, "PJ15"),
  1501. STM32_FUNCTION(0, "GPIOJ15"),
  1502. STM32_FUNCTION(15, "LCD_B3"),
  1503. STM32_FUNCTION(16, "EVENTOUT"),
  1504. STM32_FUNCTION(17, "ANALOG")
  1505. ),
  1506. STM32_PIN(
  1507. PINCTRL_PIN(160, "PK0"),
  1508. STM32_FUNCTION(0, "GPIOK0"),
  1509. STM32_FUNCTION(15, "LCD_G5"),
  1510. STM32_FUNCTION(16, "EVENTOUT"),
  1511. STM32_FUNCTION(17, "ANALOG")
  1512. ),
  1513. STM32_PIN(
  1514. PINCTRL_PIN(161, "PK1"),
  1515. STM32_FUNCTION(0, "GPIOK1"),
  1516. STM32_FUNCTION(15, "LCD_G6"),
  1517. STM32_FUNCTION(16, "EVENTOUT"),
  1518. STM32_FUNCTION(17, "ANALOG")
  1519. ),
  1520. STM32_PIN(
  1521. PINCTRL_PIN(162, "PK2"),
  1522. STM32_FUNCTION(0, "GPIOK2"),
  1523. STM32_FUNCTION(15, "LCD_G7"),
  1524. STM32_FUNCTION(16, "EVENTOUT"),
  1525. STM32_FUNCTION(17, "ANALOG")
  1526. ),
  1527. STM32_PIN(
  1528. PINCTRL_PIN(163, "PK3"),
  1529. STM32_FUNCTION(0, "GPIOK3"),
  1530. STM32_FUNCTION(15, "LCD_B4"),
  1531. STM32_FUNCTION(16, "EVENTOUT"),
  1532. STM32_FUNCTION(17, "ANALOG")
  1533. ),
  1534. STM32_PIN(
  1535. PINCTRL_PIN(164, "PK4"),
  1536. STM32_FUNCTION(0, "GPIOK4"),
  1537. STM32_FUNCTION(15, "LCD_B5"),
  1538. STM32_FUNCTION(16, "EVENTOUT"),
  1539. STM32_FUNCTION(17, "ANALOG")
  1540. ),
  1541. STM32_PIN(
  1542. PINCTRL_PIN(165, "PK5"),
  1543. STM32_FUNCTION(0, "GPIOK5"),
  1544. STM32_FUNCTION(15, "LCD_B6"),
  1545. STM32_FUNCTION(16, "EVENTOUT"),
  1546. STM32_FUNCTION(17, "ANALOG")
  1547. ),
  1548. STM32_PIN(
  1549. PINCTRL_PIN(166, "PK6"),
  1550. STM32_FUNCTION(0, "GPIOK6"),
  1551. STM32_FUNCTION(15, "LCD_B7"),
  1552. STM32_FUNCTION(16, "EVENTOUT"),
  1553. STM32_FUNCTION(17, "ANALOG")
  1554. ),
  1555. STM32_PIN(
  1556. PINCTRL_PIN(167, "PK7"),
  1557. STM32_FUNCTION(0, "GPIOK7"),
  1558. STM32_FUNCTION(15, "LCD_DE"),
  1559. STM32_FUNCTION(16, "EVENTOUT"),
  1560. STM32_FUNCTION(17, "ANALOG")
  1561. ),
  1562. };
  1563. static struct stm32_pinctrl_match_data stm32f429_match_data = {
  1564. .pins = stm32f429_pins,
  1565. .npins = ARRAY_SIZE(stm32f429_pins),
  1566. };
  1567. static const struct of_device_id stm32f429_pctrl_match[] = {
  1568. {
  1569. .compatible = "st,stm32f429-pinctrl",
  1570. .data = &stm32f429_match_data,
  1571. },
  1572. { }
  1573. };
  1574. static struct platform_driver stm32f429_pinctrl_driver = {
  1575. .probe = stm32_pctl_probe,
  1576. .driver = {
  1577. .name = "stm32f429-pinctrl",
  1578. .of_match_table = stm32f429_pctrl_match,
  1579. },
  1580. };
  1581. static int __init stm32f429_pinctrl_init(void)
  1582. {
  1583. return platform_driver_register(&stm32f429_pinctrl_driver);
  1584. }
  1585. device_initcall(stm32f429_pinctrl_init);