pinctrl-stm32f429.c 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592
  1. /*
  2. * Copyright (C) Maxime Coquelin 2015
  3. * Author: Maxime Coquelin <mcoquelin.stm32@gmail.com>
  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);