blob: a22c8239bc51a814d9469e97710d427f603fc940 [file] [log] [blame]
Alexandre Torgueff173d12021-01-07 14:15:12 +01001// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause)
2/*
Yann Gautier99c23c02024-05-21 11:17:30 +02003 * Copyright (C) 2023-2024, STMicroelectronics - All Rights Reserved
Alexandre Torgueff173d12021-01-07 14:15:12 +01004 * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
5 */
6#include <dt-bindings/pinctrl/stm32-pinfunc.h>
Alexandre Torgue00510af2021-11-18 12:26:49 +01007
8&pinctrl {
Yann Gautierc55e2ee2023-10-18 14:17:04 +02009 /omit-if-no-ref/
Yann Gautier59471c72023-04-19 10:25:43 +020010 i2c7_pins_a: i2c7-0 {
11 pins1 {
12 pinmux = <STM32_PINMUX('D', 15, AF10)>, /* I2C7_SCL */
13 <STM32_PINMUX('D', 14, AF10)>; /* I2C7_SDA */
14 bias-disable;
15 drive-open-drain;
16 slew-rate = <0>;
17 };
18 };
19
20 /omit-if-no-ref/
Yann Gautier99c23c02024-05-21 11:17:30 +020021 sdmmc1_b4_pins_a: sdmmc1-b4-0 {
22 pins1 {
23 pinmux = <STM32_PINMUX('E', 4, AF10)>, /* SDMMC1_D0 */
24 <STM32_PINMUX('E', 5, AF10)>, /* SDMMC1_D1 */
25 <STM32_PINMUX('E', 0, AF10)>, /* SDMMC1_D2 */
26 <STM32_PINMUX('E', 1, AF10)>, /* SDMMC1_D3 */
27 <STM32_PINMUX('E', 2, AF10)>; /* SDMMC1_CMD */
28 slew-rate = <2>;
29 drive-push-pull;
30 bias-disable;
31 };
32 pins2 {
33 pinmux = <STM32_PINMUX('E', 3, AF10)>; /* SDMMC1_CK */
34 slew-rate = <3>;
35 drive-push-pull;
36 bias-disable;
37 };
38 };
39
40 /omit-if-no-ref/
41 sdmmc2_b4_pins_a: sdmmc2-b4-0 {
42 pins1 {
43 pinmux = <STM32_PINMUX('E', 13, AF12)>, /* SDMMC2_D0 */
44 <STM32_PINMUX('E', 11, AF12)>, /* SDMMC2_D1 */
45 <STM32_PINMUX('E', 8, AF12)>, /* SDMMC2_D2 */
46 <STM32_PINMUX('E', 12, AF12)>, /* SDMMC2_D3 */
47 <STM32_PINMUX('E', 15, AF12)>; /* SDMMC2_CMD */
48 slew-rate = <2>;
49 drive-push-pull;
50 bias-pull-up;
51 };
52 pins2 {
53 pinmux = <STM32_PINMUX('E', 14, AF12)>; /* SDMMC2_CK */
54 slew-rate = <3>;
55 drive-push-pull;
56 bias-pull-up;
57 };
58 };
59
60 /omit-if-no-ref/
61 sdmmc2_d47_pins_a: sdmmc2-d47-0 {
62 pins {
63 pinmux = <STM32_PINMUX('E', 10, AF12)>, /* SDMMC2_D4 */
64 <STM32_PINMUX('E', 9, AF12)>, /* SDMMC2_D5 */
65 <STM32_PINMUX('E', 6, AF12)>, /* SDMMC2_D6 */
66 <STM32_PINMUX('E', 7, AF12)>; /* SDMMC2_D7 */
67 slew-rate = <2>;
68 drive-push-pull;
69 bias-pull-up;
70 };
71 };
72
73 /omit-if-no-ref/
Alexandre Torgue00510af2021-11-18 12:26:49 +010074 usart2_pins_a: usart2-0 {
75 pins1 {
76 pinmux = <STM32_PINMUX('A', 4, AF6)>; /* USART2_TX */
77 bias-disable;
78 drive-push-pull;
79 slew-rate = <0>;
80 };
81 pins2 {
82 pinmux = <STM32_PINMUX('A', 8, AF8)>; /* USART2_RX */
83 bias-disable;
84 };
85 };
86};