1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2023 - All Rights Reserved
6 #include <dt-bindings/pinctrl/stm32-pinfunc.h>
11 pinmux = <STM32_PINMUX('B', 5, AF9)>, /* I2C2_SCL */
12 <STM32_PINMUX('B', 4, AF9)>; /* I2C2_SDA */
19 i2c2_sleep_pins_a: i2c2-sleep-0 {
21 pinmux = <STM32_PINMUX('B', 5, ANALOG)>, /* I2C2_SCL */
22 <STM32_PINMUX('B', 4, ANALOG)>; /* I2C2_SDA */
26 sdmmc1_b4_pins_a: sdmmc1-b4-0 {
28 pinmux = <STM32_PINMUX('E', 4, AF10)>, /* SDMMC1_D0 */
29 <STM32_PINMUX('E', 5, AF10)>, /* SDMMC1_D1 */
30 <STM32_PINMUX('E', 0, AF10)>, /* SDMMC1_D2 */
31 <STM32_PINMUX('E', 1, AF10)>, /* SDMMC1_D3 */
32 <STM32_PINMUX('E', 2, AF10)>; /* SDMMC1_CMD */
38 pinmux = <STM32_PINMUX('E', 3, AF10)>; /* SDMMC1_CK */
45 sdmmc1_b4_od_pins_a: sdmmc1-b4-od-0 {
47 pinmux = <STM32_PINMUX('E', 4, AF10)>, /* SDMMC1_D0 */
48 <STM32_PINMUX('E', 5, AF10)>, /* SDMMC1_D1 */
49 <STM32_PINMUX('E', 0, AF10)>, /* SDMMC1_D2 */
50 <STM32_PINMUX('E', 1, AF10)>; /* SDMMC1_D3 */
56 pinmux = <STM32_PINMUX('E', 3, AF10)>; /* SDMMC1_CK */
62 pinmux = <STM32_PINMUX('E', 2, AF10)>; /* SDMMC1_CMD */
69 sdmmc1_b4_sleep_pins_a: sdmmc1-b4-sleep-0 {
71 pinmux = <STM32_PINMUX('E', 4, ANALOG)>, /* SDMMC1_D0 */
72 <STM32_PINMUX('E', 5, ANALOG)>, /* SDMMC1_D1 */
73 <STM32_PINMUX('E', 0, ANALOG)>, /* SDMMC1_D2 */
74 <STM32_PINMUX('E', 1, ANALOG)>, /* SDMMC1_D3 */
75 <STM32_PINMUX('E', 3, ANALOG)>, /* SDMMC1_CK */
76 <STM32_PINMUX('E', 2, ANALOG)>; /* SDMMC1_CMD */
82 pinmux = <STM32_PINMUX('B', 7, AF1)>, /* SPI3_SCK */
83 <STM32_PINMUX('B', 8, AF1)>; /* SPI3_MOSI */
89 pinmux = <STM32_PINMUX('B', 10, AF1)>; /* SPI3_MISO */
94 spi3_sleep_pins_a: spi3-sleep-0 {
96 pinmux = <STM32_PINMUX('B', 7, ANALOG)>, /* SPI3_SCK */
97 <STM32_PINMUX('B', 8, ANALOG)>, /* SPI3_MOSI */
98 <STM32_PINMUX('B', 10, ANALOG)>; /* SPI3_MISO */
102 usart2_pins_a: usart2-0 {
104 pinmux = <STM32_PINMUX('A', 4, AF6)>; /* USART2_TX */
110 pinmux = <STM32_PINMUX('A', 8, AF8)>; /* USART2_RX */
115 usart2_idle_pins_a: usart2-idle-0 {
117 pinmux = <STM32_PINMUX('A', 4, ANALOG)>; /* USART2_TX */
120 pinmux = <STM32_PINMUX('A', 8, AF8)>; /* USART2_RX */
125 usart2_sleep_pins_a: usart2-sleep-0 {
127 pinmux = <STM32_PINMUX('A', 4, ANALOG)>, /* USART2_TX */
128 <STM32_PINMUX('A', 8, ANALOG)>; /* USART2_RX */
134 i2c8_pins_a: i2c8-0 {
136 pinmux = <STM32_PINMUX('Z', 4, AF8)>, /* I2C8_SCL */
137 <STM32_PINMUX('Z', 3, AF8)>; /* I2C8_SDA */
144 i2c8_sleep_pins_a: i2c8-sleep-0 {
146 pinmux = <STM32_PINMUX('Z', 4, ANALOG)>, /* I2C8_SCL */
147 <STM32_PINMUX('Z', 3, ANALOG)>; /* I2C8_SDA */
153 spi8_pins_a: spi8-0 {
155 pinmux = <STM32_PINMUX('Z', 2, AF3)>, /* SPI8_SCK */
156 <STM32_PINMUX('Z', 0, AF3)>; /* SPI8_MOSI */
162 pinmux = <STM32_PINMUX('Z', 1, AF3)>; /* SPI8_MISO */
167 spi8_sleep_pins_a: spi8-sleep-0 {
169 pinmux = <STM32_PINMUX('Z', 2, ANALOG)>, /* SPI8_SCK */
170 <STM32_PINMUX('Z', 0, ANALOG)>, /* SPI8_MOSI */
171 <STM32_PINMUX('Z', 1, ANALOG)>; /* SPI8_MISO */