1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /* 2 /* 3 * Copyright (C) STMicroelectronics 2021 - All 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 4 * Author: Alexandre Torgue <alexandre.torgue@f 4 * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> 5 */ 5 */ 6 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 6 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 7 7 8 &pinctrl { 8 &pinctrl { 9 /omit-if-no-ref/ << 10 adc1_pins_a: adc1-pins-0 { << 11 pins { << 12 pinmux = <STM32_PINMUX << 13 }; << 14 }; << 15 << 16 /omit-if-no-ref/ << 17 adc1_usb_cc_pins_a: adc1-usb-cc-pins-0 9 adc1_usb_cc_pins_a: adc1-usb-cc-pins-0 { 18 pins { 10 pins { 19 pinmux = <STM32_PINMUX 11 pinmux = <STM32_PINMUX('F', 12, ANALOG)>, /* ADC1 in6 */ 20 <STM32_PINMUX 12 <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1 in12 */ 21 }; 13 }; 22 }; 14 }; 23 15 24 /omit-if-no-ref/ << 25 adc1_usb_cc_pins_b: adc1-usb-cc-pins-1 << 26 pins { << 27 pinmux = <STM32_PINMUX << 28 <STM32_PINMUX << 29 }; << 30 }; << 31 << 32 /omit-if-no-ref/ << 33 dcmipp_pins_a: dcmi-0 { << 34 pins1 { << 35 pinmux = <STM32_PINMUX << 36 <STM32_PINMUX << 37 <STM32_PINMUX << 38 <STM32_PINMUX << 39 <STM32_PINMUX << 40 <STM32_PINMUX << 41 <STM32_PINMUX << 42 <STM32_PINMUX << 43 <STM32_PINMUX << 44 <STM32_PINMUX << 45 <STM32_PINMUX << 46 bias-disable; << 47 }; << 48 }; << 49 << 50 /omit-if-no-ref/ << 51 dcmipp_sleep_pins_a: dcmi-sleep-0 { << 52 pins1 { << 53 pinmux = <STM32_PINMUX << 54 <STM32_PINMUX << 55 <STM32_PINMUX << 56 <STM32_PINMUX << 57 <STM32_PINMUX << 58 <STM32_PINMUX << 59 <STM32_PINMUX << 60 <STM32_PINMUX << 61 <STM32_PINMUX << 62 <STM32_PINMUX << 63 <STM32_PINMUX << 64 }; << 65 }; << 66 << 67 /omit-if-no-ref/ << 68 eth1_rgmii_pins_a: eth1-rgmii-0 { << 69 pins1 { << 70 pinmux = <STM32_PINMUX << 71 <STM32_PINMUX << 72 <STM32_PINMUX << 73 <STM32_PINMUX << 74 <STM32_PINMUX << 75 <STM32_PINMUX << 76 <STM32_PINMUX << 77 <STM32_PINMUX << 78 bias-disable; << 79 drive-push-pull; << 80 slew-rate = <2>; << 81 }; << 82 << 83 pins2 { << 84 pinmux = <STM32_PINMUX << 85 <STM32_PINMUX << 86 <STM32_PINMUX << 87 <STM32_PINMUX << 88 <STM32_PINMUX << 89 <STM32_PINMUX << 90 bias-disable; << 91 }; << 92 }; << 93 << 94 /omit-if-no-ref/ << 95 eth1_rgmii_sleep_pins_a: eth1-rgmii-sl << 96 pins1 { << 97 pinmux = <STM32_PINMUX << 98 <STM32_PINMUX << 99 bias-disable; << 100 drive-push-pull; << 101 slew-rate = <2>; << 102 }; << 103 << 104 pins2 { << 105 pinmux = <STM32_PINMUX << 106 <STM32_PINMUX << 107 <STM32_PINMUX << 108 <STM32_PINMUX << 109 <STM32_PINMUX << 110 <STM32_PINMUX << 111 <STM32_PINMUX << 112 <STM32_PINMUX << 113 <STM32_PINMUX << 114 <STM32_PINMUX << 115 <STM32_PINMUX << 116 <STM32_PINMUX << 117 }; << 118 }; << 119 << 120 /omit-if-no-ref/ << 121 eth1_rmii_pins_a: eth1-rmii-0 { << 122 pins1 { << 123 pinmux = <STM32_PINMUX << 124 <STM32_PINMUX << 125 <STM32_PINMUX << 126 <STM32_PINMUX << 127 <STM32_PINMUX << 128 <STM32_PINMUX << 129 bias-disable; << 130 drive-push-pull; << 131 slew-rate = <1>; << 132 }; << 133 << 134 pins2 { << 135 pinmux = <STM32_PINMUX << 136 <STM32_PINMUX << 137 <STM32_PINMUX << 138 bias-disable; << 139 }; << 140 }; << 141 << 142 /omit-if-no-ref/ << 143 eth1_rmii_sleep_pins_a: eth1-rmii-slee << 144 pins1 { << 145 pinmux = <STM32_PINMUX << 146 <STM32_PINMUX << 147 <STM32_PINMUX << 148 <STM32_PINMUX << 149 <STM32_PINMUX << 150 <STM32_PINMUX << 151 <STM32_PINMUX << 152 <STM32_PINMUX << 153 <STM32_PINMUX << 154 }; << 155 }; << 156 << 157 /omit-if-no-ref/ << 158 eth2_rgmii_pins_a: eth2-rgmii-0 { << 159 pins1 { << 160 pinmux = <STM32_PINMUX << 161 <STM32_PINMUX << 162 <STM32_PINMUX << 163 <STM32_PINMUX << 164 <STM32_PINMUX << 165 <STM32_PINMUX << 166 <STM32_PINMUX << 167 <STM32_PINMUX << 168 bias-disable; << 169 drive-push-pull; << 170 slew-rate = <2>; << 171 }; << 172 << 173 pins2 { << 174 pinmux = <STM32_PINMUX << 175 <STM32_PINMUX << 176 <STM32_PINMUX << 177 <STM32_PINMUX << 178 <STM32_PINMUX << 179 <STM32_PINMUX << 180 bias-disable; << 181 }; << 182 }; << 183 << 184 /omit-if-no-ref/ << 185 eth2_rgmii_sleep_pins_a: eth2-rgmii-sl << 186 pins1 { << 187 pinmux = <STM32_PINMUX << 188 <STM32_PINMUX << 189 bias-disable; << 190 drive-push-pull; << 191 slew-rate = <2>; << 192 }; << 193 << 194 pins2 { << 195 pinmux = <STM32_PINMUX << 196 <STM32_PINMUX << 197 <STM32_PINMUX << 198 <STM32_PINMUX << 199 <STM32_PINMUX << 200 <STM32_PINMUX << 201 <STM32_PINMUX << 202 <STM32_PINMUX << 203 <STM32_PINMUX << 204 <STM32_PINMUX << 205 <STM32_PINMUX << 206 <STM32_PINMUX << 207 }; << 208 }; << 209 << 210 /omit-if-no-ref/ << 211 eth2_rmii_pins_a: eth2-rmii-0 { << 212 pins1 { << 213 pinmux = <STM32_PINMUX << 214 <STM32_PINMUX << 215 <STM32_PINMUX << 216 <STM32_PINMUX << 217 <STM32_PINMUX << 218 <STM32_PINMUX << 219 bias-disable; << 220 drive-push-pull; << 221 slew-rate = <1>; << 222 }; << 223 << 224 pins2 { << 225 pinmux = <STM32_PINMUX << 226 <STM32_PINMUX << 227 <STM32_PINMUX << 228 bias-disable; << 229 }; << 230 }; << 231 << 232 /omit-if-no-ref/ << 233 eth2_rmii_sleep_pins_a: eth2-rmii-slee << 234 pins1 { << 235 pinmux = <STM32_PINMUX << 236 <STM32_PINMUX << 237 <STM32_PINMUX << 238 <STM32_PINMUX << 239 <STM32_PINMUX << 240 <STM32_PINMUX << 241 <STM32_PINMUX << 242 <STM32_PINMUX << 243 <STM32_PINMUX << 244 }; << 245 }; << 246 << 247 /omit-if-no-ref/ << 248 goodix_pins_a: goodix-0 { << 249 /* << 250 * touchscreen reset needs to << 251 * via the pinctrl not the dri << 252 * has been soldered onto the << 253 * the touchscreen to reset st << 254 */ << 255 pins1 { << 256 pinmux = <STM32_PINMUX << 257 output-high; << 258 bias-pull-up; << 259 }; << 260 /* << 261 * Interrupt line must have a << 262 * in order to freeze the i2c << 263 */ << 264 pins2 { << 265 pinmux = <STM32_PINMUX << 266 bias-pull-down; << 267 }; << 268 }; << 269 << 270 /omit-if-no-ref/ << 271 i2c1_pins_a: i2c1-0 { 16 i2c1_pins_a: i2c1-0 { 272 pins { 17 pins { 273 pinmux = <STM32_PINMUX 18 pinmux = <STM32_PINMUX('D', 12, AF5)>, /* I2C1_SCL */ 274 <STM32_PINMUX 19 <STM32_PINMUX('E', 8, AF5)>; /* I2C1_SDA */ 275 bias-disable; 20 bias-disable; 276 drive-open-drain; 21 drive-open-drain; 277 slew-rate = <0>; 22 slew-rate = <0>; 278 }; 23 }; 279 }; 24 }; 280 25 281 /omit-if-no-ref/ << 282 i2c1_sleep_pins_a: i2c1-sleep-0 { 26 i2c1_sleep_pins_a: i2c1-sleep-0 { 283 pins { 27 pins { 284 pinmux = <STM32_PINMUX 28 pinmux = <STM32_PINMUX('D', 12, ANALOG)>, /* I2C1_SCL */ 285 <STM32_PINMUX 29 <STM32_PINMUX('E', 8, ANALOG)>; /* I2C1_SDA */ 286 }; 30 }; 287 }; 31 }; 288 32 289 /omit-if-no-ref/ << 290 i2c5_pins_a: i2c5-0 { 33 i2c5_pins_a: i2c5-0 { 291 pins { 34 pins { 292 pinmux = <STM32_PINMUX 35 pinmux = <STM32_PINMUX('D', 1, AF4)>, /* I2C5_SCL */ 293 <STM32_PINMUX 36 <STM32_PINMUX('H', 6, AF4)>; /* I2C5_SDA */ 294 bias-disable; 37 bias-disable; 295 drive-open-drain; 38 drive-open-drain; 296 slew-rate = <0>; 39 slew-rate = <0>; 297 }; 40 }; 298 }; 41 }; 299 42 300 /omit-if-no-ref/ << 301 i2c5_sleep_pins_a: i2c5-sleep-0 { 43 i2c5_sleep_pins_a: i2c5-sleep-0 { 302 pins { 44 pins { 303 pinmux = <STM32_PINMUX 45 pinmux = <STM32_PINMUX('D', 1, ANALOG)>, /* I2C5_SCL */ 304 <STM32_PINMUX 46 <STM32_PINMUX('H', 6, ANALOG)>; /* I2C5_SDA */ 305 }; 47 }; 306 }; 48 }; 307 49 308 /omit-if-no-ref/ << 309 i2c5_pins_b: i2c5-1 { << 310 pins { << 311 pinmux = <STM32_PINMUX << 312 <STM32_PINMUX << 313 bias-disable; << 314 drive-open-drain; << 315 slew-rate = <0>; << 316 }; << 317 }; << 318 << 319 /omit-if-no-ref/ << 320 i2c5_sleep_pins_b: i2c5-sleep-1 { << 321 pins { << 322 pinmux = <STM32_PINMUX << 323 <STM32_PINMUX << 324 }; << 325 }; << 326 << 327 /omit-if-no-ref/ << 328 ltdc_pins_a: ltdc-0 { 50 ltdc_pins_a: ltdc-0 { 329 pins { 51 pins { 330 pinmux = <STM32_PINMUX 52 pinmux = <STM32_PINMUX('D', 9, AF13)>, /* LCD_CLK */ 331 <STM32_PINMUX 53 <STM32_PINMUX('C', 6, AF14)>, /* LCD_HSYNC */ 332 <STM32_PINMUX 54 <STM32_PINMUX('G', 4, AF11)>, /* LCD_VSYNC */ 333 <STM32_PINMUX 55 <STM32_PINMUX('H', 9, AF11)>, /* LCD_DE */ 334 <STM32_PINMUX 56 <STM32_PINMUX('G', 7, AF14)>, /* LCD_R2 */ 335 <STM32_PINMUX 57 <STM32_PINMUX('B', 12, AF13)>, /* LCD_R3 */ 336 <STM32_PINMUX 58 <STM32_PINMUX('D', 14, AF14)>, /* LCD_R4 */ 337 <STM32_PINMUX 59 <STM32_PINMUX('E', 7, AF14)>, /* LCD_R5 */ 338 <STM32_PINMUX 60 <STM32_PINMUX('E', 13, AF14)>, /* LCD_R6 */ 339 <STM32_PINMUX 61 <STM32_PINMUX('E', 9, AF14)>, /* LCD_R7 */ 340 <STM32_PINMUX 62 <STM32_PINMUX('H', 13, AF14)>, /* LCD_G2 */ 341 <STM32_PINMUX 63 <STM32_PINMUX('F', 3, AF14)>, /* LCD_G3 */ 342 <STM32_PINMUX 64 <STM32_PINMUX('D', 5, AF14)>, /* LCD_G4 */ 343 <STM32_PINMUX 65 <STM32_PINMUX('G', 0, AF14)>, /* LCD_G5 */ 344 <STM32_PINMUX 66 <STM32_PINMUX('C', 7, AF14)>, /* LCD_G6 */ 345 <STM32_PINMUX 67 <STM32_PINMUX('A', 15, AF11)>, /* LCD_G7 */ 346 <STM32_PINMUX 68 <STM32_PINMUX('D', 10, AF14)>, /* LCD_B2 */ 347 <STM32_PINMUX 69 <STM32_PINMUX('F', 2, AF14)>, /* LCD_B3 */ 348 <STM32_PINMUX 70 <STM32_PINMUX('H', 14, AF11)>, /* LCD_B4 */ 349 <STM32_PINMUX 71 <STM32_PINMUX('E', 0, AF14)>, /* LCD_B5 */ 350 <STM32_PINMUX 72 <STM32_PINMUX('B', 6, AF7)>, /* LCD_B6 */ 351 <STM32_PINMUX 73 <STM32_PINMUX('F', 1, AF13)>; /* LCD_B7 */ 352 bias-disable; 74 bias-disable; 353 drive-push-pull; 75 drive-push-pull; 354 slew-rate = <0>; 76 slew-rate = <0>; 355 }; 77 }; 356 }; 78 }; 357 79 358 /omit-if-no-ref/ << 359 ltdc_sleep_pins_a: ltdc-sleep-0 { 80 ltdc_sleep_pins_a: ltdc-sleep-0 { 360 pins { 81 pins { 361 pinmux = <STM32_PINMUX 82 pinmux = <STM32_PINMUX('D', 9, ANALOG)>, /* LCD_CLK */ 362 <STM32_PINMUX 83 <STM32_PINMUX('C', 6, ANALOG)>, /* LCD_HSYNC */ 363 <STM32_PINMUX 84 <STM32_PINMUX('G', 4, ANALOG)>, /* LCD_VSYNC */ 364 <STM32_PINMUX 85 <STM32_PINMUX('H', 9, ANALOG)>, /* LCD_DE */ 365 <STM32_PINMUX 86 <STM32_PINMUX('G', 7, ANALOG)>, /* LCD_R2 */ 366 <STM32_PINMUX 87 <STM32_PINMUX('B', 12, ANALOG)>, /* LCD_R3 */ 367 <STM32_PINMUX 88 <STM32_PINMUX('D', 14, ANALOG)>, /* LCD_R4 */ 368 <STM32_PINMUX 89 <STM32_PINMUX('E', 7, ANALOG)>, /* LCD_R5 */ 369 <STM32_PINMUX 90 <STM32_PINMUX('E', 13, ANALOG)>, /* LCD_R6 */ 370 <STM32_PINMUX 91 <STM32_PINMUX('E', 9, ANALOG)>, /* LCD_R7 */ 371 <STM32_PINMUX 92 <STM32_PINMUX('H', 13, ANALOG)>, /* LCD_G2 */ 372 <STM32_PINMUX 93 <STM32_PINMUX('F', 3, ANALOG)>, /* LCD_G3 */ 373 <STM32_PINMUX 94 <STM32_PINMUX('D', 5, ANALOG)>, /* LCD_G4 */ 374 <STM32_PINMUX 95 <STM32_PINMUX('G', 0, ANALOG)>, /* LCD_G5 */ 375 <STM32_PINMUX 96 <STM32_PINMUX('C', 7, ANALOG)>, /* LCD_G6 */ 376 <STM32_PINMUX 97 <STM32_PINMUX('A', 15, ANALOG)>, /* LCD_G7 */ 377 <STM32_PINMUX 98 <STM32_PINMUX('D', 10, ANALOG)>, /* LCD_B2 */ 378 <STM32_PINMUX 99 <STM32_PINMUX('F', 2, ANALOG)>, /* LCD_B3 */ 379 <STM32_PINMUX 100 <STM32_PINMUX('H', 14, ANALOG)>, /* LCD_B4 */ 380 <STM32_PINMUX 101 <STM32_PINMUX('E', 0, ANALOG)>, /* LCD_B5 */ 381 <STM32_PINMUX 102 <STM32_PINMUX('B', 6, ANALOG)>, /* LCD_B6 */ 382 <STM32_PINMUX 103 <STM32_PINMUX('F', 1, ANALOG)>; /* LCD_B7 */ 383 }; 104 }; 384 }; 105 }; 385 106 386 /omit-if-no-ref/ << 387 m_can1_pins_a: m-can1-0 { << 388 pins1 { << 389 pinmux = <STM32_PINMUX << 390 slew-rate = <1>; << 391 drive-push-pull; << 392 bias-disable; << 393 }; << 394 pins2 { << 395 pinmux = <STM32_PINMUX << 396 bias-disable; << 397 }; << 398 }; << 399 << 400 /omit-if-no-ref/ << 401 m_can1_sleep_pins_a: m_can1-sleep-0 { << 402 pins { << 403 pinmux = <STM32_PINMUX << 404 <STM32_PINMUX << 405 }; << 406 }; << 407 << 408 /omit-if-no-ref/ << 409 m_can2_pins_a: m-can2-0 { << 410 pins1 { << 411 pinmux = <STM32_PINMUX << 412 slew-rate = <1>; << 413 drive-push-pull; << 414 bias-disable; << 415 }; << 416 pins2 { << 417 pinmux = <STM32_PINMUX << 418 bias-disable; << 419 }; << 420 }; << 421 << 422 /omit-if-no-ref/ << 423 m_can2_sleep_pins_a: m_can2-sleep-0 { << 424 pins { << 425 pinmux = <STM32_PINMUX << 426 <STM32_PINMUX << 427 }; << 428 }; << 429 << 430 /omit-if-no-ref/ << 431 mcp23017_pins_a: mcp23017-0 { 107 mcp23017_pins_a: mcp23017-0 { 432 pins { 108 pins { 433 pinmux = <STM32_PINMUX 109 pinmux = <STM32_PINMUX('G', 12, GPIO)>; 434 bias-pull-up; 110 bias-pull-up; 435 }; 111 }; 436 }; 112 }; 437 113 438 /omit-if-no-ref/ << 439 pwm3_pins_a: pwm3-0 { 114 pwm3_pins_a: pwm3-0 { 440 pins { 115 pins { 441 pinmux = <STM32_PINMUX 116 pinmux = <STM32_PINMUX('B', 1, AF2)>; /* TIM3_CH4 */ 442 bias-pull-down; 117 bias-pull-down; 443 drive-push-pull; 118 drive-push-pull; 444 slew-rate = <0>; 119 slew-rate = <0>; 445 }; 120 }; 446 }; 121 }; 447 122 448 /omit-if-no-ref/ << 449 pwm3_sleep_pins_a: pwm3-sleep-0 { 123 pwm3_sleep_pins_a: pwm3-sleep-0 { 450 pins { 124 pins { 451 pinmux = <STM32_PINMUX 125 pinmux = <STM32_PINMUX('B', 1, ANALOG)>; /* TIM3_CH4 */ 452 }; 126 }; 453 }; 127 }; 454 128 455 /omit-if-no-ref/ << 456 pwm4_pins_a: pwm4-0 { 129 pwm4_pins_a: pwm4-0 { 457 pins { 130 pins { 458 pinmux = <STM32_PINMUX 131 pinmux = <STM32_PINMUX('D', 13, AF2)>; /* TIM4_CH2 */ 459 bias-pull-down; 132 bias-pull-down; 460 drive-push-pull; 133 drive-push-pull; 461 slew-rate = <0>; 134 slew-rate = <0>; 462 }; 135 }; 463 }; 136 }; 464 137 465 /omit-if-no-ref/ << 466 pwm4_sleep_pins_a: pwm4-sleep-0 { 138 pwm4_sleep_pins_a: pwm4-sleep-0 { 467 pins { 139 pins { 468 pinmux = <STM32_PINMUX 140 pinmux = <STM32_PINMUX('D', 13, ANALOG)>; /* TIM4_CH2 */ 469 }; 141 }; 470 }; 142 }; 471 143 472 /omit-if-no-ref/ << 473 pwm5_pins_a: pwm5-0 { << 474 pins { << 475 pinmux = <STM32_PINMUX << 476 bias-pull-down; << 477 drive-push-pull; << 478 slew-rate = <0>; << 479 }; << 480 }; << 481 << 482 /omit-if-no-ref/ << 483 pwm5_sleep_pins_a: pwm5-sleep-0 { << 484 pins { << 485 pinmux = <STM32_PINMUX << 486 }; << 487 }; << 488 << 489 /omit-if-no-ref/ << 490 pwm8_pins_a: pwm8-0 { 144 pwm8_pins_a: pwm8-0 { 491 pins { 145 pins { 492 pinmux = <STM32_PINMUX 146 pinmux = <STM32_PINMUX('E', 5, AF3)>; /* TIM8_CH3 */ 493 bias-pull-down; 147 bias-pull-down; 494 drive-push-pull; 148 drive-push-pull; 495 slew-rate = <0>; 149 slew-rate = <0>; 496 }; 150 }; 497 }; 151 }; 498 152 499 /omit-if-no-ref/ << 500 pwm8_sleep_pins_a: pwm8-sleep-0 { 153 pwm8_sleep_pins_a: pwm8-sleep-0 { 501 pins { 154 pins { 502 pinmux = <STM32_PINMUX 155 pinmux = <STM32_PINMUX('E', 5, ANALOG)>; /* TIM8_CH3 */ 503 }; 156 }; 504 }; 157 }; 505 158 506 /omit-if-no-ref/ << 507 pwm13_pins_a: pwm13-0 { << 508 pins { << 509 pinmux = <STM32_PINMUX << 510 bias-pull-down; << 511 drive-push-pull; << 512 slew-rate = <0>; << 513 }; << 514 }; << 515 << 516 /omit-if-no-ref/ << 517 pwm13_sleep_pins_a: pwm13-sleep-0 { << 518 pins { << 519 pinmux = <STM32_PINMUX << 520 }; << 521 }; << 522 << 523 /omit-if-no-ref/ << 524 pwm14_pins_a: pwm14-0 { 159 pwm14_pins_a: pwm14-0 { 525 pins { 160 pins { 526 pinmux = <STM32_PINMUX 161 pinmux = <STM32_PINMUX('F', 9, AF9)>; /* TIM14_CH1 */ 527 bias-pull-down; 162 bias-pull-down; 528 drive-push-pull; 163 drive-push-pull; 529 slew-rate = <0>; 164 slew-rate = <0>; 530 }; 165 }; 531 }; 166 }; 532 167 533 /omit-if-no-ref/ << 534 pwm14_sleep_pins_a: pwm14-sleep-0 { 168 pwm14_sleep_pins_a: pwm14-sleep-0 { 535 pins { 169 pins { 536 pinmux = <STM32_PINMUX 170 pinmux = <STM32_PINMUX('F', 9, ANALOG)>; /* TIM14_CH1 */ 537 }; 171 }; 538 }; 172 }; 539 173 540 /omit-if-no-ref/ << 541 qspi_clk_pins_a: qspi-clk-0 { << 542 pins { << 543 pinmux = <STM32_PINMUX << 544 bias-disable; << 545 drive-push-pull; << 546 slew-rate = <3>; << 547 }; << 548 }; << 549 << 550 /omit-if-no-ref/ << 551 qspi_clk_sleep_pins_a: qspi-clk-sleep- << 552 pins { << 553 pinmux = <STM32_PINMUX << 554 }; << 555 }; << 556 << 557 /omit-if-no-ref/ << 558 qspi_bk1_pins_a: qspi-bk1-0 { << 559 pins { << 560 pinmux = <STM32_PINMUX << 561 <STM32_PINMUX << 562 <STM32_PINMUX << 563 <STM32_PINMUX << 564 bias-disable; << 565 drive-push-pull; << 566 slew-rate = <1>; << 567 }; << 568 }; << 569 << 570 /omit-if-no-ref/ << 571 qspi_bk1_sleep_pins_a: qspi-bk1-sleep- << 572 pins { << 573 pinmux = <STM32_PINMUX << 574 <STM32_PINMUX << 575 <STM32_PINMUX << 576 <STM32_PINMUX << 577 }; << 578 }; << 579 << 580 /omit-if-no-ref/ << 581 qspi_cs1_pins_a: qspi-cs1-0 { << 582 pins { << 583 pinmux = <STM32_PINMUX << 584 bias-pull-up; << 585 drive-push-pull; << 586 slew-rate = <1>; << 587 }; << 588 }; << 589 << 590 /omit-if-no-ref/ << 591 qspi_cs1_sleep_pins_a: qspi-cs1-sleep- << 592 pins { << 593 pinmux = <STM32_PINMUX << 594 }; << 595 }; << 596 << 597 /omit-if-no-ref/ << 598 sai1a_pins_a: sai1a-0 { << 599 pins { << 600 pinmux = <STM32_PINMUX << 601 <STM32_PINMUX << 602 <STM32_PINMUX << 603 slew-rate = <0>; << 604 drive-push-pull; << 605 bias-disable; << 606 }; << 607 }; << 608 << 609 /omit-if-no-ref/ << 610 sai1a_sleep_pins_a: sai1a-sleep-0 { << 611 pins { << 612 pinmux = <STM32_PINMUX << 613 <STM32_PINMUX << 614 <STM32_PINMUX << 615 }; << 616 }; << 617 << 618 /omit-if-no-ref/ << 619 sai1b_pins_a: sai1b-0 { << 620 pins { << 621 pinmux = <STM32_PINMUX << 622 bias-disable; << 623 }; << 624 }; << 625 << 626 /omit-if-no-ref/ << 627 sai1b_sleep_pins_a: sai1b-sleep-0 { << 628 pins { << 629 pinmux = <STM32_PINMUX << 630 }; << 631 }; << 632 << 633 /omit-if-no-ref/ << 634 sdmmc1_b4_pins_a: sdmmc1-b4-0 { 174 sdmmc1_b4_pins_a: sdmmc1-b4-0 { 635 pins { 175 pins { 636 pinmux = <STM32_PINMUX 176 pinmux = <STM32_PINMUX('C', 8, AF12)>, /* SDMMC1_D0 */ 637 <STM32_PINMUX 177 <STM32_PINMUX('C', 9, AF12)>, /* SDMMC1_D1 */ 638 <STM32_PINMUX 178 <STM32_PINMUX('C', 10, AF12)>, /* SDMMC1_D2 */ 639 <STM32_PINMUX 179 <STM32_PINMUX('C', 11, AF12)>, /* SDMMC1_D3 */ 640 <STM32_PINMUX 180 <STM32_PINMUX('D', 2, AF12)>; /* SDMMC1_CMD */ 641 slew-rate = <1>; 181 slew-rate = <1>; 642 drive-push-pull; 182 drive-push-pull; 643 bias-disable; 183 bias-disable; 644 }; 184 }; 645 }; 185 }; 646 186 647 /omit-if-no-ref/ << 648 sdmmc1_b4_od_pins_a: sdmmc1-b4-od-0 { 187 sdmmc1_b4_od_pins_a: sdmmc1-b4-od-0 { 649 pins1 { 188 pins1 { 650 pinmux = <STM32_PINMUX 189 pinmux = <STM32_PINMUX('C', 8, AF12)>, /* SDMMC1_D0 */ 651 <STM32_PINMUX 190 <STM32_PINMUX('C', 9, AF12)>, /* SDMMC1_D1 */ 652 <STM32_PINMUX 191 <STM32_PINMUX('C', 10, AF12)>, /* SDMMC1_D2 */ 653 <STM32_PINMUX 192 <STM32_PINMUX('C', 11, AF12)>; /* SDMMC1_D3 */ 654 slew-rate = <1>; 193 slew-rate = <1>; 655 drive-push-pull; 194 drive-push-pull; 656 bias-disable; 195 bias-disable; 657 }; 196 }; 658 pins2 { 197 pins2 { 659 pinmux = <STM32_PINMUX 198 pinmux = <STM32_PINMUX('D', 2, AF12)>; /* SDMMC1_CMD */ 660 slew-rate = <1>; 199 slew-rate = <1>; 661 drive-open-drain; 200 drive-open-drain; 662 bias-disable; 201 bias-disable; 663 }; 202 }; 664 }; 203 }; 665 204 666 /omit-if-no-ref/ << 667 sdmmc1_b4_sleep_pins_a: sdmmc1-b4-slee 205 sdmmc1_b4_sleep_pins_a: sdmmc1-b4-sleep-0 { 668 pins { 206 pins { 669 pinmux = <STM32_PINMUX 207 pinmux = <STM32_PINMUX('C', 8, ANALOG)>, /* SDMMC1_D0 */ 670 <STM32_PINMUX 208 <STM32_PINMUX('C', 9, ANALOG)>, /* SDMMC1_D1 */ 671 <STM32_PINMUX 209 <STM32_PINMUX('C', 10, ANALOG)>, /* SDMMC1_D2 */ 672 <STM32_PINMUX 210 <STM32_PINMUX('C', 11, ANALOG)>, /* SDMMC1_D3 */ 673 <STM32_PINMUX 211 <STM32_PINMUX('C', 12, ANALOG)>, /* SDMMC1_CK */ 674 <STM32_PINMUX 212 <STM32_PINMUX('D', 2, ANALOG)>; /* SDMMC1_CMD */ 675 }; 213 }; 676 }; 214 }; 677 215 678 /omit-if-no-ref/ << 679 sdmmc1_clk_pins_a: sdmmc1-clk-0 { 216 sdmmc1_clk_pins_a: sdmmc1-clk-0 { 680 pins { 217 pins { 681 pinmux = <STM32_PINMUX 218 pinmux = <STM32_PINMUX('C', 12, AF12)>; /* SDMMC1_CK */ 682 slew-rate = <1>; 219 slew-rate = <1>; 683 drive-push-pull; 220 drive-push-pull; 684 bias-disable; 221 bias-disable; 685 }; 222 }; 686 }; 223 }; 687 224 688 /omit-if-no-ref/ << 689 sdmmc2_b4_pins_a: sdmmc2-b4-0 { 225 sdmmc2_b4_pins_a: sdmmc2-b4-0 { 690 pins { 226 pins { 691 pinmux = <STM32_PINMUX 227 pinmux = <STM32_PINMUX('B', 14, AF10)>, /* SDMMC2_D0 */ 692 <STM32_PINMUX 228 <STM32_PINMUX('B', 15, AF10)>, /* SDMMC2_D1 */ 693 <STM32_PINMUX 229 <STM32_PINMUX('B', 3, AF10)>, /* SDMMC2_D2 */ 694 <STM32_PINMUX 230 <STM32_PINMUX('B', 4, AF10)>, /* SDMMC2_D3 */ 695 <STM32_PINMUX 231 <STM32_PINMUX('G', 6, AF10)>; /* SDMMC2_CMD */ 696 slew-rate = <1>; 232 slew-rate = <1>; 697 drive-push-pull; 233 drive-push-pull; 698 bias-pull-up; 234 bias-pull-up; 699 }; 235 }; 700 }; 236 }; 701 237 702 /omit-if-no-ref/ << 703 sdmmc2_b4_od_pins_a: sdmmc2-b4-od-0 { 238 sdmmc2_b4_od_pins_a: sdmmc2-b4-od-0 { 704 pins1 { 239 pins1 { 705 pinmux = <STM32_PINMUX 240 pinmux = <STM32_PINMUX('B', 14, AF10)>, /* SDMMC2_D0 */ 706 <STM32_PINMUX 241 <STM32_PINMUX('B', 15, AF10)>, /* SDMMC2_D1 */ 707 <STM32_PINMUX 242 <STM32_PINMUX('B', 3, AF10)>, /* SDMMC2_D2 */ 708 <STM32_PINMUX 243 <STM32_PINMUX('B', 4, AF10)>; /* SDMMC2_D3 */ 709 slew-rate = <1>; 244 slew-rate = <1>; 710 drive-push-pull; 245 drive-push-pull; 711 bias-pull-up; 246 bias-pull-up; 712 }; 247 }; 713 pins2 { 248 pins2 { 714 pinmux = <STM32_PINMUX 249 pinmux = <STM32_PINMUX('G', 6, AF10)>; /* SDMMC2_CMD */ 715 slew-rate = <1>; 250 slew-rate = <1>; 716 drive-open-drain; 251 drive-open-drain; 717 bias-pull-up; 252 bias-pull-up; 718 }; 253 }; 719 }; 254 }; 720 255 721 /omit-if-no-ref/ << 722 sdmmc2_b4_sleep_pins_a: sdmmc2-b4-slee 256 sdmmc2_b4_sleep_pins_a: sdmmc2-b4-sleep-0 { 723 pins { 257 pins { 724 pinmux = <STM32_PINMUX 258 pinmux = <STM32_PINMUX('B', 14, ANALOG)>, /* SDMMC2_D0 */ 725 <STM32_PINMUX 259 <STM32_PINMUX('B', 15, ANALOG)>, /* SDMMC2_D1 */ 726 <STM32_PINMUX 260 <STM32_PINMUX('B', 3, ANALOG)>, /* SDMMC2_D2 */ 727 <STM32_PINMUX 261 <STM32_PINMUX('B', 4, ANALOG)>, /* SDMMC2_D3 */ 728 <STM32_PINMUX 262 <STM32_PINMUX('E', 3, ANALOG)>, /* SDMMC2_CK */ 729 <STM32_PINMUX 263 <STM32_PINMUX('G', 6, ANALOG)>; /* SDMMC2_CMD */ 730 }; 264 }; 731 }; 265 }; 732 266 733 /omit-if-no-ref/ << 734 sdmmc2_clk_pins_a: sdmmc2-clk-0 { 267 sdmmc2_clk_pins_a: sdmmc2-clk-0 { 735 pins { 268 pins { 736 pinmux = <STM32_PINMUX 269 pinmux = <STM32_PINMUX('E', 3, AF10)>; /* SDMMC2_CK */ 737 slew-rate = <1>; 270 slew-rate = <1>; 738 drive-push-pull; 271 drive-push-pull; 739 bias-pull-up; 272 bias-pull-up; 740 }; 273 }; 741 }; 274 }; 742 275 743 /omit-if-no-ref/ << 744 sdmmc2_d47_pins_a: sdmmc2-d47-0 { << 745 pins { << 746 pinmux = <STM32_PINMUX << 747 <STM32_PINMUX << 748 <STM32_PINMUX << 749 <STM32_PINMUX << 750 slew-rate = <1>; << 751 drive-push-pull; << 752 bias-pull-up; << 753 }; << 754 }; << 755 << 756 /omit-if-no-ref/ << 757 sdmmc2_d47_sleep_pins_a: sdmmc2-d47-sl << 758 pins { << 759 pinmux = <STM32_PINMUX << 760 <STM32_PINMUX << 761 <STM32_PINMUX << 762 <STM32_PINMUX << 763 }; << 764 }; << 765 << 766 /omit-if-no-ref/ << 767 spi2_pins_a: spi2-0 { << 768 pins1 { << 769 pinmux = <STM32_PINMUX << 770 <STM32_PINMUX << 771 bias-disable; << 772 drive-push-pull; << 773 slew-rate = <1>; << 774 }; << 775 << 776 pins2 { << 777 pinmux = <STM32_PINMUX << 778 bias-disable; << 779 }; << 780 }; << 781 << 782 /omit-if-no-ref/ << 783 spi2_sleep_pins_a: spi2-sleep-0 { << 784 pins { << 785 pinmux = <STM32_PINMUX << 786 <STM32_PINMUX << 787 <STM32_PINMUX << 788 }; << 789 }; << 790 << 791 /omit-if-no-ref/ << 792 spi3_pins_a: spi3-0 { << 793 pins1 { << 794 pinmux = <STM32_PINMUX << 795 <STM32_PINMUX << 796 bias-disable; << 797 drive-push-pull; << 798 slew-rate = <1>; << 799 }; << 800 << 801 pins2 { << 802 pinmux = <STM32_PINMUX << 803 bias-disable; << 804 }; << 805 }; << 806 << 807 /omit-if-no-ref/ << 808 spi3_sleep_pins_a: spi3-sleep-0 { << 809 pins { << 810 pinmux = <STM32_PINMUX << 811 <STM32_PINMUX << 812 <STM32_PINMUX << 813 }; << 814 }; << 815 << 816 /omit-if-no-ref/ << 817 spi5_pins_a: spi5-0 { 276 spi5_pins_a: spi5-0 { 818 pins1 { 277 pins1 { 819 pinmux = <STM32_PINMUX 278 pinmux = <STM32_PINMUX('H', 7, AF6)>, /* SPI5_SCK */ 820 <STM32_PINMUX 279 <STM32_PINMUX('H', 3, AF5)>; /* SPI5_MOSI */ 821 bias-disable; 280 bias-disable; 822 drive-push-pull; 281 drive-push-pull; 823 slew-rate = <1>; 282 slew-rate = <1>; 824 }; 283 }; 825 284 826 pins2 { 285 pins2 { 827 pinmux = <STM32_PINMUX 286 pinmux = <STM32_PINMUX('A', 8, AF5)>; /* SPI5_MISO */ 828 bias-disable; 287 bias-disable; 829 }; 288 }; 830 }; 289 }; 831 290 832 /omit-if-no-ref/ << 833 spi5_sleep_pins_a: spi5-sleep-0 { 291 spi5_sleep_pins_a: spi5-sleep-0 { 834 pins { 292 pins { 835 pinmux = <STM32_PINMUX 293 pinmux = <STM32_PINMUX('H', 7, ANALOG)>, /* SPI5_SCK */ 836 <STM32_PINMUX 294 <STM32_PINMUX('A', 8, ANALOG)>, /* SPI5_MISO */ 837 <STM32_PINMUX 295 <STM32_PINMUX('H', 3, ANALOG)>; /* SPI5_MOSI */ 838 }; 296 }; 839 }; 297 }; 840 298 841 /omit-if-no-ref/ << 842 stm32g0_intn_pins_a: stm32g0-intn-0 { 299 stm32g0_intn_pins_a: stm32g0-intn-0 { 843 pins { 300 pins { 844 pinmux = <STM32_PINMUX 301 pinmux = <STM32_PINMUX('I', 2, GPIO)>; 845 bias-pull-up; 302 bias-pull-up; 846 }; 303 }; 847 }; 304 }; 848 305 849 /omit-if-no-ref/ << 850 uart4_pins_a: uart4-0 { 306 uart4_pins_a: uart4-0 { 851 pins1 { 307 pins1 { 852 pinmux = <STM32_PINMUX 308 pinmux = <STM32_PINMUX('D', 6, AF8)>; /* UART4_TX */ 853 bias-disable; 309 bias-disable; 854 drive-push-pull; 310 drive-push-pull; 855 slew-rate = <0>; 311 slew-rate = <0>; 856 }; 312 }; 857 pins2 { 313 pins2 { 858 pinmux = <STM32_PINMUX 314 pinmux = <STM32_PINMUX('D', 8, AF8)>; /* UART4_RX */ 859 bias-disable; 315 bias-disable; 860 }; 316 }; 861 }; 317 }; 862 318 863 /omit-if-no-ref/ << 864 uart4_idle_pins_a: uart4-idle-0 { 319 uart4_idle_pins_a: uart4-idle-0 { 865 pins1 { 320 pins1 { 866 pinmux = <STM32_PINMUX 321 pinmux = <STM32_PINMUX('D', 6, ANALOG)>; /* UART4_TX */ 867 }; 322 }; 868 pins2 { 323 pins2 { 869 pinmux = <STM32_PINMUX 324 pinmux = <STM32_PINMUX('D', 8, AF8)>; /* UART4_RX */ 870 bias-disable; 325 bias-disable; 871 }; 326 }; 872 }; 327 }; 873 328 874 /omit-if-no-ref/ << 875 uart4_sleep_pins_a: uart4-sleep-0 { 329 uart4_sleep_pins_a: uart4-sleep-0 { 876 pins { 330 pins { 877 pinmux = <STM32_PINMUX 331 pinmux = <STM32_PINMUX('D', 6, ANALOG)>, /* UART4_TX */ 878 <STM32_PINMUX 332 <STM32_PINMUX('D', 8, ANALOG)>; /* UART4_RX */ 879 }; 333 }; 880 }; 334 }; 881 335 882 /omit-if-no-ref/ << 883 uart4_pins_b: uart4-1 { << 884 pins1 { << 885 pinmux = <STM32_PINMUX << 886 bias-disable; << 887 drive-push-pull; << 888 slew-rate = <0>; << 889 }; << 890 pins2 { << 891 pinmux = <STM32_PINMUX << 892 bias-pull-up; << 893 }; << 894 }; << 895 << 896 /omit-if-no-ref/ << 897 uart4_idle_pins_b: uart4-idle-1 { << 898 pins1 { << 899 pinmux = <STM32_PINMUX << 900 }; << 901 pins2 { << 902 pinmux = <STM32_PINMUX << 903 bias-pull-up; << 904 }; << 905 }; << 906 << 907 /omit-if-no-ref/ << 908 uart4_sleep_pins_b: uart4-sleep-1 { << 909 pins { << 910 pinmux = <STM32_PINMUX << 911 <STM32_PINMUX << 912 }; << 913 }; << 914 << 915 /omit-if-no-ref/ << 916 uart7_pins_a: uart7-0 { << 917 pins1 { << 918 pinmux = <STM32_PINMUX << 919 <STM32_PINMUX << 920 bias-disable; << 921 drive-push-pull; << 922 slew-rate = <0>; << 923 }; << 924 pins2 { << 925 pinmux = <STM32_PINMUX << 926 <STM32_PINMUX << 927 bias-disable; << 928 }; << 929 }; << 930 << 931 /omit-if-no-ref/ << 932 uart7_idle_pins_a: uart7-idle-0 { << 933 pins1 { << 934 pinmux = <STM32_PINMUX << 935 <STM32_PINMUX << 936 }; << 937 pins2 { << 938 pinmux = <STM32_PINMUX << 939 bias-disable; << 940 drive-push-pull; << 941 slew-rate = <0>; << 942 }; << 943 pins3 { << 944 pinmux = <STM32_PINMUX << 945 bias-disable; << 946 }; << 947 }; << 948 << 949 /omit-if-no-ref/ << 950 uart7_sleep_pins_a: uart7-sleep-0 { << 951 pins { << 952 pinmux = <STM32_PINMUX << 953 <STM32_PINMUX << 954 <STM32_PINMUX << 955 <STM32_PINMUX << 956 }; << 957 }; << 958 << 959 /omit-if-no-ref/ << 960 uart8_pins_a: uart8-0 { 336 uart8_pins_a: uart8-0 { 961 pins1 { 337 pins1 { 962 pinmux = <STM32_PINMUX 338 pinmux = <STM32_PINMUX('E', 1, AF8)>; /* UART8_TX */ 963 bias-disable; 339 bias-disable; 964 drive-push-pull; 340 drive-push-pull; 965 slew-rate = <0>; 341 slew-rate = <0>; 966 }; 342 }; 967 pins2 { 343 pins2 { 968 pinmux = <STM32_PINMUX 344 pinmux = <STM32_PINMUX('F', 9, AF8)>; /* UART8_RX */ 969 bias-pull-up; 345 bias-pull-up; 970 }; 346 }; 971 }; 347 }; 972 348 973 /omit-if-no-ref/ << 974 uart8_idle_pins_a: uart8-idle-0 { 349 uart8_idle_pins_a: uart8-idle-0 { 975 pins1 { 350 pins1 { 976 pinmux = <STM32_PINMUX 351 pinmux = <STM32_PINMUX('E', 1, ANALOG)>; /* UART8_TX */ 977 }; 352 }; 978 pins2 { 353 pins2 { 979 pinmux = <STM32_PINMUX 354 pinmux = <STM32_PINMUX('F', 9, AF8)>; /* UART8_RX */ 980 bias-pull-up; 355 bias-pull-up; 981 }; 356 }; 982 }; 357 }; 983 358 984 /omit-if-no-ref/ << 985 uart8_sleep_pins_a: uart8-sleep-0 { 359 uart8_sleep_pins_a: uart8-sleep-0 { 986 pins { 360 pins { 987 pinmux = <STM32_PINMUX 361 pinmux = <STM32_PINMUX('E', 1, ANALOG)>, /* UART8_TX */ 988 <STM32_PINMUX 362 <STM32_PINMUX('F', 9, ANALOG)>; /* UART8_RX */ 989 }; 363 }; 990 }; 364 }; 991 365 992 /omit-if-no-ref/ << 993 usart1_pins_a: usart1-0 { 366 usart1_pins_a: usart1-0 { 994 pins1 { 367 pins1 { 995 pinmux = <STM32_PINMUX 368 pinmux = <STM32_PINMUX('C', 0, AF7)>, /* USART1_TX */ 996 <STM32_PINMUX 369 <STM32_PINMUX('C', 2, AF7)>; /* USART1_RTS */ 997 bias-disable; 370 bias-disable; 998 drive-push-pull; 371 drive-push-pull; 999 slew-rate = <0>; 372 slew-rate = <0>; 1000 }; 373 }; 1001 pins2 { 374 pins2 { 1002 pinmux = <STM32_PINMU 375 pinmux = <STM32_PINMUX('B', 0, AF4)>, /* USART1_RX */ 1003 <STM32_PINMU 376 <STM32_PINMUX('A', 7, AF7)>; /* USART1_CTS_NSS */ 1004 bias-pull-up; 377 bias-pull-up; 1005 }; 378 }; 1006 }; 379 }; 1007 380 1008 /omit-if-no-ref/ << 1009 usart1_idle_pins_a: usart1-idle-0 { 381 usart1_idle_pins_a: usart1-idle-0 { 1010 pins1 { 382 pins1 { 1011 pinmux = <STM32_PINMU 383 pinmux = <STM32_PINMUX('C', 0, ANALOG)>, /* USART1_TX */ 1012 <STM32_PINMU 384 <STM32_PINMUX('A', 7, ANALOG)>; /* USART1_CTS_NSS */ 1013 }; 385 }; 1014 pins2 { 386 pins2 { 1015 pinmux = <STM32_PINMU 387 pinmux = <STM32_PINMUX('C', 2, AF7)>; /* USART1_RTS */ 1016 bias-disable; 388 bias-disable; 1017 drive-push-pull; 389 drive-push-pull; 1018 slew-rate = <0>; 390 slew-rate = <0>; 1019 }; 391 }; 1020 pins3 { 392 pins3 { 1021 pinmux = <STM32_PINMU 393 pinmux = <STM32_PINMUX('B', 0, AF4)>; /* USART1_RX */ 1022 bias-pull-up; 394 bias-pull-up; 1023 }; 395 }; 1024 }; 396 }; 1025 397 1026 /omit-if-no-ref/ << 1027 usart1_sleep_pins_a: usart1-sleep-0 { 398 usart1_sleep_pins_a: usart1-sleep-0 { 1028 pins { 399 pins { 1029 pinmux = <STM32_PINMU 400 pinmux = <STM32_PINMUX('C', 0, ANALOG)>, /* USART1_TX */ 1030 <STM32_PINMU 401 <STM32_PINMUX('C', 2, ANALOG)>, /* USART1_RTS */ 1031 <STM32_PINMU 402 <STM32_PINMUX('A', 7, ANALOG)>, /* USART1_CTS_NSS */ 1032 <STM32_PINMU 403 <STM32_PINMUX('B', 0, ANALOG)>; /* USART1_RX */ 1033 }; 404 }; 1034 }; 405 }; 1035 406 1036 /omit-if-no-ref/ << 1037 usart1_pins_b: usart1-1 { << 1038 pins1 { << 1039 pinmux = <STM32_PINMU << 1040 bias-disable; << 1041 drive-push-pull; << 1042 slew-rate = <0>; << 1043 }; << 1044 pins2 { << 1045 pinmux = <STM32_PINMU << 1046 bias-pull-up; << 1047 }; << 1048 }; << 1049 << 1050 /omit-if-no-ref/ << 1051 usart1_idle_pins_b: usart1-idle-1 { << 1052 pins1 { << 1053 pinmux = <STM32_PINMU << 1054 }; << 1055 pins2 { << 1056 pinmux = <STM32_PINMU << 1057 bias-pull-up; << 1058 }; << 1059 }; << 1060 << 1061 /omit-if-no-ref/ << 1062 usart1_sleep_pins_b: usart1-sleep-1 { << 1063 pins { << 1064 pinmux = <STM32_PINMU << 1065 <STM32_PINMU << 1066 }; << 1067 }; << 1068 << 1069 /omit-if-no-ref/ << 1070 usart2_pins_a: usart2-0 { 407 usart2_pins_a: usart2-0 { 1071 pins1 { 408 pins1 { 1072 pinmux = <STM32_PINMU 409 pinmux = <STM32_PINMUX('H', 12, AF1)>, /* USART2_TX */ 1073 <STM32_PINMU 410 <STM32_PINMUX('D', 4, AF3)>; /* USART2_RTS */ 1074 bias-disable; 411 bias-disable; 1075 drive-push-pull; 412 drive-push-pull; 1076 slew-rate = <0>; 413 slew-rate = <0>; 1077 }; 414 }; 1078 pins2 { 415 pins2 { 1079 pinmux = <STM32_PINMU 416 pinmux = <STM32_PINMUX('D', 15, AF1)>, /* USART2_RX */ 1080 <STM32_PINMU 417 <STM32_PINMUX('E', 11, AF2)>; /* USART2_CTS_NSS */ 1081 bias-disable; 418 bias-disable; 1082 }; 419 }; 1083 }; 420 }; 1084 421 1085 /omit-if-no-ref/ << 1086 usart2_idle_pins_a: usart2-idle-0 { 422 usart2_idle_pins_a: usart2-idle-0 { 1087 pins1 { 423 pins1 { 1088 pinmux = <STM32_PINMU 424 pinmux = <STM32_PINMUX('H', 12, ANALOG)>, /* USART2_TX */ 1089 <STM32_PINMU 425 <STM32_PINMUX('E', 11, ANALOG)>; /* USART2_CTS_NSS */ 1090 }; 426 }; 1091 pins2 { 427 pins2 { 1092 pinmux = <STM32_PINMU 428 pinmux = <STM32_PINMUX('D', 4, AF3)>; /* USART2_RTS */ 1093 bias-disable; 429 bias-disable; 1094 drive-push-pull; 430 drive-push-pull; 1095 slew-rate = <0>; 431 slew-rate = <0>; 1096 }; 432 }; 1097 pins3 { 433 pins3 { 1098 pinmux = <STM32_PINMU 434 pinmux = <STM32_PINMUX('D', 15, AF1)>; /* USART2_RX */ 1099 bias-disable; 435 bias-disable; 1100 }; 436 }; 1101 }; 437 }; 1102 438 1103 /omit-if-no-ref/ << 1104 usart2_sleep_pins_a: usart2-sleep-0 { 439 usart2_sleep_pins_a: usart2-sleep-0 { 1105 pins { 440 pins { 1106 pinmux = <STM32_PINMU 441 pinmux = <STM32_PINMUX('H', 12, ANALOG)>, /* USART2_TX */ 1107 <STM32_PINMU 442 <STM32_PINMUX('D', 4, ANALOG)>, /* USART2_RTS */ 1108 <STM32_PINMU 443 <STM32_PINMUX('D', 15, ANALOG)>, /* USART2_RX */ 1109 <STM32_PINMU 444 <STM32_PINMUX('E', 11, ANALOG)>; /* USART2_CTS_NSS */ 1110 }; << 1111 }; << 1112 << 1113 /omit-if-no-ref/ << 1114 usart2_pins_b: usart2-1 { << 1115 pins1 { << 1116 pinmux = <STM32_PINMU << 1117 <STM32_PINMU << 1118 bias-disable; << 1119 drive-push-pull; << 1120 slew-rate = <0>; << 1121 }; << 1122 pins2 { << 1123 pinmux = <STM32_PINMU << 1124 <STM32_PINMU << 1125 bias-disable; << 1126 }; << 1127 }; << 1128 << 1129 /omit-if-no-ref/ << 1130 usart2_idle_pins_b: usart2-idle-1 { << 1131 pins1 { << 1132 pinmux = <STM32_PINMU << 1133 <STM32_PINMU << 1134 }; << 1135 pins2 { << 1136 pinmux = <STM32_PINMU << 1137 bias-disable; << 1138 drive-push-pull; << 1139 slew-rate = <0>; << 1140 }; << 1141 pins3 { << 1142 pinmux = <STM32_PINMU << 1143 bias-disable; << 1144 }; << 1145 }; << 1146 << 1147 /omit-if-no-ref/ << 1148 usart2_sleep_pins_b: usart2-sleep-1 { << 1149 pins { << 1150 pinmux = <STM32_PINMU << 1151 <STM32_PINMU << 1152 <STM32_PINMU << 1153 <STM32_PINMU << 1154 }; 445 }; 1155 }; 446 }; 1156 }; 447 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.