1/* 2 * NOTE: Autogenerated file using genpinctrl.py 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/dt-bindings/pinctrl/stm32-pinctrl.h> 8 9/ { 10 soc { 11 pinctrl: pin-controller@48000000 { 12 13 /* ADC_IN / ADC_INN / ADC_INP */ 14 15 /omit-if-no-ref/ adc_in0_pa0: adc_in0_pa0 { 16 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 17 }; 18 19 /omit-if-no-ref/ adc_in1_pa1: adc_in1_pa1 { 20 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 21 }; 22 23 /omit-if-no-ref/ adc_in2_pa2: adc_in2_pa2 { 24 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 25 }; 26 27 /omit-if-no-ref/ adc_in3_pa3: adc_in3_pa3 { 28 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 29 }; 30 31 /omit-if-no-ref/ adc_in4_pa4: adc_in4_pa4 { 32 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 33 }; 34 35 /omit-if-no-ref/ adc_in5_pa5: adc_in5_pa5 { 36 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 37 }; 38 39 /omit-if-no-ref/ adc_in6_pa6: adc_in6_pa6 { 40 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 41 }; 42 43 /omit-if-no-ref/ adc_in7_pa7: adc_in7_pa7 { 44 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 45 }; 46 47 /omit-if-no-ref/ adc_in9_pb1: adc_in9_pb1 { 48 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 49 }; 50 51 /* Analog */ 52 53 /omit-if-no-ref/ analog_pa0: analog_pa0 { 54 pinmux = <STM32_PINMUX('A', 0, ANALOG)>; 55 }; 56 57 /omit-if-no-ref/ analog_pa1: analog_pa1 { 58 pinmux = <STM32_PINMUX('A', 1, ANALOG)>; 59 }; 60 61 /omit-if-no-ref/ analog_pa2: analog_pa2 { 62 pinmux = <STM32_PINMUX('A', 2, ANALOG)>; 63 }; 64 65 /omit-if-no-ref/ analog_pa3: analog_pa3 { 66 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; 67 }; 68 69 /omit-if-no-ref/ analog_pa4: analog_pa4 { 70 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; 71 }; 72 73 /omit-if-no-ref/ analog_pa5: analog_pa5 { 74 pinmux = <STM32_PINMUX('A', 5, ANALOG)>; 75 }; 76 77 /omit-if-no-ref/ analog_pa6: analog_pa6 { 78 pinmux = <STM32_PINMUX('A', 6, ANALOG)>; 79 }; 80 81 /omit-if-no-ref/ analog_pa7: analog_pa7 { 82 pinmux = <STM32_PINMUX('A', 7, ANALOG)>; 83 }; 84 85 /omit-if-no-ref/ analog_pa9: analog_pa9 { 86 pinmux = <STM32_PINMUX('A', 9, ANALOG)>; 87 }; 88 89 /omit-if-no-ref/ analog_pa10: analog_pa10 { 90 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; 91 }; 92 93 /omit-if-no-ref/ analog_pa13: analog_pa13 { 94 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 95 }; 96 97 /omit-if-no-ref/ analog_pa14: analog_pa14 { 98 pinmux = <STM32_PINMUX('A', 14, ANALOG)>; 99 }; 100 101 /omit-if-no-ref/ analog_pb1: analog_pb1 { 102 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; 103 }; 104 105 /omit-if-no-ref/ analog_pf0: analog_pf0 { 106 pinmux = <STM32_PINMUX('F', 0, ANALOG)>; 107 }; 108 109 /omit-if-no-ref/ analog_pf1: analog_pf1 { 110 pinmux = <STM32_PINMUX('F', 1, ANALOG)>; 111 }; 112 113 /* I2C_SCL */ 114 115 /omit-if-no-ref/ i2c1_scl_pa9: i2c1_scl_pa9 { 116 pinmux = <STM32_PINMUX('A', 9, AF4)>; 117 bias-pull-up; 118 drive-open-drain; 119 }; 120 121 /* I2C_SDA */ 122 123 /omit-if-no-ref/ i2c1_sda_pa10: i2c1_sda_pa10 { 124 pinmux = <STM32_PINMUX('A', 10, AF4)>; 125 bias-pull-up; 126 drive-open-drain; 127 }; 128 129 /* JTAG PORT */ 130 131 /omit-if-no-ref/ sys_swdio_pa13: sys_swdio_pa13 { 132 pinmux = <STM32_PINMUX('A', 13, ANALOG)>; 133 }; 134 135 /omit-if-no-ref/ sys_swclk_pa14: sys_swclk_pa14 { 136 pinmux = <STM32_PINMUX('A', 14, AF0)>; 137 }; 138 139 /* SPI_MISO */ 140 141 /omit-if-no-ref/ spi1_miso_pa6: spi1_miso_pa6 { 142 pinmux = <STM32_PINMUX('A', 6, AF0)>; 143 bias-pull-down; 144 }; 145 146 /* SPI_MOSI */ 147 148 /omit-if-no-ref/ spi1_mosi_pa7: spi1_mosi_pa7 { 149 pinmux = <STM32_PINMUX('A', 7, AF0)>; 150 bias-pull-down; 151 }; 152 153 /* SPI_NSS */ 154 155 /omit-if-no-ref/ spi1_nss_pa4: spi1_nss_pa4 { 156 pinmux = <STM32_PINMUX('A', 4, AF0)>; 157 bias-pull-up; 158 }; 159 160 /* SPI_SCK */ 161 162 /omit-if-no-ref/ spi1_sck_pa5: spi1_sck_pa5 { 163 pinmux = <STM32_PINMUX('A', 5, AF0)>; 164 bias-pull-down; 165 slew-rate = "very-high-speed"; 166 }; 167 168 /* TIM_BKIN */ 169 170 /omit-if-no-ref/ tim1_bkin_pa6: tim1_bkin_pa6 { 171 pinmux = <STM32_PINMUX('A', 6, AF2)>; 172 }; 173 174 /omit-if-no-ref/ tim17_bkin_pa10: tim17_bkin_pa10 { 175 pinmux = <STM32_PINMUX('A', 10, AF0)>; 176 }; 177 178 /* TIM_CH / TIM_CHN */ 179 180 /omit-if-no-ref/ tim1_ch1n_pa7: tim1_ch1n_pa7 { 181 pinmux = <STM32_PINMUX('A', 7, AF2)>; 182 }; 183 184 /omit-if-no-ref/ tim1_ch2_pa9: tim1_ch2_pa9 { 185 pinmux = <STM32_PINMUX('A', 9, AF2)>; 186 }; 187 188 /omit-if-no-ref/ tim1_ch3_pa10: tim1_ch3_pa10 { 189 pinmux = <STM32_PINMUX('A', 10, AF2)>; 190 }; 191 192 /omit-if-no-ref/ tim1_ch3n_pb1: tim1_ch3n_pb1 { 193 pinmux = <STM32_PINMUX('B', 1, AF2)>; 194 }; 195 196 /omit-if-no-ref/ tim3_ch1_pa6: tim3_ch1_pa6 { 197 pinmux = <STM32_PINMUX('A', 6, AF1)>; 198 }; 199 200 /omit-if-no-ref/ tim3_ch2_pa7: tim3_ch2_pa7 { 201 pinmux = <STM32_PINMUX('A', 7, AF1)>; 202 }; 203 204 /omit-if-no-ref/ tim3_ch4_pb1: tim3_ch4_pb1 { 205 pinmux = <STM32_PINMUX('B', 1, AF1)>; 206 }; 207 208 /omit-if-no-ref/ tim14_ch1_pa4: tim14_ch1_pa4 { 209 pinmux = <STM32_PINMUX('A', 4, AF4)>; 210 }; 211 212 /omit-if-no-ref/ tim14_ch1_pa7: tim14_ch1_pa7 { 213 pinmux = <STM32_PINMUX('A', 7, AF4)>; 214 }; 215 216 /omit-if-no-ref/ tim14_ch1_pb1: tim14_ch1_pb1 { 217 pinmux = <STM32_PINMUX('B', 1, AF0)>; 218 }; 219 220 /omit-if-no-ref/ tim16_ch1_pa6: tim16_ch1_pa6 { 221 pinmux = <STM32_PINMUX('A', 6, AF5)>; 222 }; 223 224 /omit-if-no-ref/ tim17_ch1_pa7: tim17_ch1_pa7 { 225 pinmux = <STM32_PINMUX('A', 7, AF5)>; 226 }; 227 228 /* UART_CTS / USART_CTS / LPUART_CTS */ 229 230 /omit-if-no-ref/ usart1_cts_pa0: usart1_cts_pa0 { 231 pinmux = <STM32_PINMUX('A', 0, AF1)>; 232 bias-pull-up; 233 drive-open-drain; 234 }; 235 236 /* UART_DE / USART_DE / LPUART_DE */ 237 238 /omit-if-no-ref/ usart1_de_pa1: usart1_de_pa1 { 239 pinmux = <STM32_PINMUX('A', 1, AF1)>; 240 drive-push-pull; 241 }; 242 243 /* UART_RTS / USART_RTS / LPUART_RTS */ 244 245 /omit-if-no-ref/ usart1_rts_pa1: usart1_rts_pa1 { 246 pinmux = <STM32_PINMUX('A', 1, AF1)>; 247 bias-pull-up; 248 drive-open-drain; 249 }; 250 251 /* UART_RX / USART_RX / LPUART_RX */ 252 253 /omit-if-no-ref/ usart1_rx_pa3: usart1_rx_pa3 { 254 pinmux = <STM32_PINMUX('A', 3, AF1)>; 255 }; 256 257 /omit-if-no-ref/ usart1_rx_pa10: usart1_rx_pa10 { 258 pinmux = <STM32_PINMUX('A', 10, AF1)>; 259 }; 260 261 /* UART_TX / USART_TX / LPUART_TX */ 262 263 /omit-if-no-ref/ usart1_tx_pa2: usart1_tx_pa2 { 264 pinmux = <STM32_PINMUX('A', 2, AF1)>; 265 bias-pull-up; 266 }; 267 268 /omit-if-no-ref/ usart1_tx_pa9: usart1_tx_pa9 { 269 pinmux = <STM32_PINMUX('A', 9, AF1)>; 270 bias-pull-up; 271 }; 272 273 /omit-if-no-ref/ usart1_tx_pa14: usart1_tx_pa14 { 274 pinmux = <STM32_PINMUX('A', 14, AF1)>; 275 bias-pull-up; 276 }; 277 278 }; 279 }; 280};