xref: /freebsd-src/sys/contrib/device-tree/src/arm/st/stm32mp13-pinctrl.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (C) STMicroelectronics 2021 - All Rights Reserved
4f126890aSEmmanuel Vadot * Author: Alexandre Torgue <alexandre.torgue@foss.st.com>
5f126890aSEmmanuel Vadot */
6f126890aSEmmanuel Vadot#include <dt-bindings/pinctrl/stm32-pinfunc.h>
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot&pinctrl {
90e8011faSEmmanuel Vadot	/omit-if-no-ref/
100e8011faSEmmanuel Vadot	adc1_pins_a: adc1-pins-0 {
110e8011faSEmmanuel Vadot		pins {
120e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1 in12 */
130e8011faSEmmanuel Vadot		};
140e8011faSEmmanuel Vadot	};
150e8011faSEmmanuel Vadot
160e8011faSEmmanuel Vadot	/omit-if-no-ref/
17f126890aSEmmanuel Vadot	adc1_usb_cc_pins_a: adc1-usb-cc-pins-0 {
18f126890aSEmmanuel Vadot		pins {
19f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 12, ANALOG)>, /* ADC1 in6 */
20f126890aSEmmanuel Vadot				 <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1 in12 */
21f126890aSEmmanuel Vadot		};
22f126890aSEmmanuel Vadot	};
23f126890aSEmmanuel Vadot
240e8011faSEmmanuel Vadot	/omit-if-no-ref/
250e8011faSEmmanuel Vadot	adc1_usb_cc_pins_b: adc1-usb-cc-pins-1 {
260e8011faSEmmanuel Vadot		pins {
270e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 5, ANALOG)>, /* ADC1_INP2 */
280e8011faSEmmanuel Vadot				 <STM32_PINMUX('F', 13, ANALOG)>; /* ADC1_INP11 */
290e8011faSEmmanuel Vadot		};
300e8011faSEmmanuel Vadot	};
310e8011faSEmmanuel Vadot
320e8011faSEmmanuel Vadot	/omit-if-no-ref/
330e8011faSEmmanuel Vadot	dcmipp_pins_a: dcmi-0 {
340e8011faSEmmanuel Vadot		pins1 {
350e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('H',  8,  AF13)>,/* DCMI_HSYNC */
360e8011faSEmmanuel Vadot				 <STM32_PINMUX('G',  9,  AF13)>,/* DCMI_VSYNC */
370e8011faSEmmanuel Vadot				 <STM32_PINMUX('B',  7,  AF14)>,/* DCMI_PIXCLK */
380e8011faSEmmanuel Vadot				 <STM32_PINMUX('A',  9,  AF13)>,/* DCMI_D0 */
390e8011faSEmmanuel Vadot				 <STM32_PINMUX('D',  0,  AF13)>,/* DCMI_D1 */
400e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 10,  AF13)>,/* DCMI_D2 */
410e8011faSEmmanuel Vadot				 <STM32_PINMUX('E',  4,  AF13)>,/* DCMI_D3 */
420e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 11,  AF14)>,/* DCMI_D4 */
430e8011faSEmmanuel Vadot				 <STM32_PINMUX('D',  3,  AF13)>,/* DCMI_D5 */
440e8011faSEmmanuel Vadot				 <STM32_PINMUX('B',  8,  AF13)>,/* DCMI_D6 */
450e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 14,  AF13)>;/* DCMI_D7 */
460e8011faSEmmanuel Vadot			bias-disable;
470e8011faSEmmanuel Vadot		};
480e8011faSEmmanuel Vadot	};
490e8011faSEmmanuel Vadot
500e8011faSEmmanuel Vadot	/omit-if-no-ref/
510e8011faSEmmanuel Vadot	dcmipp_sleep_pins_a: dcmi-sleep-0 {
520e8011faSEmmanuel Vadot		pins1 {
530e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('H',  8,  ANALOG)>,/* DCMI_HSYNC */
540e8011faSEmmanuel Vadot				 <STM32_PINMUX('G',  9,  ANALOG)>,/* DCMI_VSYNC */
550e8011faSEmmanuel Vadot				 <STM32_PINMUX('B',  7,  ANALOG)>,/* DCMI_PIXCLK */
560e8011faSEmmanuel Vadot				 <STM32_PINMUX('A',  9,  ANALOG)>,/* DCMI_D0 */
570e8011faSEmmanuel Vadot				 <STM32_PINMUX('D',  0,  ANALOG)>,/* DCMI_D1 */
580e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 10,  ANALOG)>,/* DCMI_D2 */
590e8011faSEmmanuel Vadot				 <STM32_PINMUX('E',  4,  ANALOG)>,/* DCMI_D3 */
600e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 11,  ANALOG)>,/* DCMI_D4 */
610e8011faSEmmanuel Vadot				 <STM32_PINMUX('D',  3,  ANALOG)>,/* DCMI_D5 */
620e8011faSEmmanuel Vadot				 <STM32_PINMUX('B',  8,  ANALOG)>,/* DCMI_D6 */
630e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 14,  ANALOG)>;/* DCMI_D7 */
640e8011faSEmmanuel Vadot		};
650e8011faSEmmanuel Vadot	};
660e8011faSEmmanuel Vadot
670e8011faSEmmanuel Vadot	/omit-if-no-ref/
680e8011faSEmmanuel Vadot	eth1_rgmii_pins_a: eth1-rgmii-0 {
690e8011faSEmmanuel Vadot		pins1 {
700e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('G', 13, AF11)>, /* ETH_RGMII_TXD0 */
710e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 14, AF11)>, /* ETH_RGMII_TXD1 */
720e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 2, AF11)>, /* ETH_RGMII_TXD2 */
730e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 5, AF10)>, /* ETH_RGMII_TXD3 */
740e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 11, AF11)>, /* ETH_RGMII_TX_CTL */
750e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 1, AF11)>, /* ETH_RGMII_GTX_CLK */
760e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 2, AF11)>, /* ETH_MDIO */
770e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 2, AF11)>; /* ETH_MDC */
780e8011faSEmmanuel Vadot			bias-disable;
790e8011faSEmmanuel Vadot			drive-push-pull;
800e8011faSEmmanuel Vadot			slew-rate = <2>;
810e8011faSEmmanuel Vadot		};
820e8011faSEmmanuel Vadot
830e8011faSEmmanuel Vadot		pins2 {
840e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 4, AF11)>, /* ETH_RGMII_RXD0 */
850e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 5, AF11)>, /* ETH_RGMII_RXD1 */
860e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 0, AF11)>, /* ETH_RGMII_RXD2 */
870e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 1, AF11)>, /* ETH_RGMII_RXD3 */
880e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 7, AF11)>, /* ETH_RGMII_RX_CTL */
890e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 7, AF10)>; /* ETH_RGMII_RX_CLK */
900e8011faSEmmanuel Vadot			bias-disable;
910e8011faSEmmanuel Vadot		};
920e8011faSEmmanuel Vadot	};
930e8011faSEmmanuel Vadot
940e8011faSEmmanuel Vadot	/omit-if-no-ref/
950e8011faSEmmanuel Vadot	eth1_rgmii_sleep_pins_a: eth1-rgmii-sleep-0 {
960e8011faSEmmanuel Vadot		pins1 {
97*b2d2a78aSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 2, AF11)>, /* ETH_MDIO */
98*b2d2a78aSEmmanuel Vadot				 <STM32_PINMUX('G', 2, AF11)>; /* ETH_MDC */
99*b2d2a78aSEmmanuel Vadot			bias-disable;
100*b2d2a78aSEmmanuel Vadot			drive-push-pull;
101*b2d2a78aSEmmanuel Vadot			slew-rate = <2>;
102*b2d2a78aSEmmanuel Vadot		};
103*b2d2a78aSEmmanuel Vadot
104*b2d2a78aSEmmanuel Vadot		pins2 {
1050e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('G', 13, ANALOG)>, /* ETH_RGMII_TXD0 */
1060e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 14, ANALOG)>, /* ETH_RGMII_TXD1 */
1070e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 2, ANALOG)>, /* ETH_RGMII_TXD2 */
1080e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 5, ANALOG)>, /* ETH_RGMII_TXD3 */
1090e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 11, ANALOG)>, /* ETH_RGMII_TX_CTL */
1100e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 1, ANALOG)>, /* ETH_RGMII_GTX_CLK */
1110e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 4, ANALOG)>, /* ETH_RGMII_RXD0 */
1120e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 5, ANALOG)>, /* ETH_RGMII_RXD1 */
1130e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 0, ANALOG)>, /* ETH_RGMII_RXD1 */
1140e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 1, ANALOG)>, /* ETH_RGMII_RXD1 */
1150e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 7, ANALOG)>, /* ETH_RGMII_RX_CTL */
1160e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 7, ANALOG)>; /* ETH_RGMII_RX_CLK */
1170e8011faSEmmanuel Vadot		};
1180e8011faSEmmanuel Vadot	};
1190e8011faSEmmanuel Vadot
1200e8011faSEmmanuel Vadot	/omit-if-no-ref/
1210e8011faSEmmanuel Vadot	eth1_rmii_pins_a: eth1-rmii-0 {
1220e8011faSEmmanuel Vadot		pins1 {
1230e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('G', 13, AF11)>, /* ETH_RMII_TXD0 */
1240e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 14, AF11)>, /* ETH_RMII_TXD1 */
1250e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 11, AF11)>, /* ETH_RMII_TX_EN */
1260e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 1, AF11)>, /* ETH_RMII_REF_CLK */
1270e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 2, AF11)>, /* ETH_MDIO */
1280e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 2, AF11)>; /* ETH_MDC */
1290e8011faSEmmanuel Vadot			bias-disable;
1300e8011faSEmmanuel Vadot			drive-push-pull;
1310e8011faSEmmanuel Vadot			slew-rate = <1>;
1320e8011faSEmmanuel Vadot		};
1330e8011faSEmmanuel Vadot
1340e8011faSEmmanuel Vadot		pins2 {
1350e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 4, AF11)>, /* ETH_RMII_RXD0 */
1360e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 5, AF11)>, /* ETH_RMII_RXD1 */
1370e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 1, AF10)>; /* ETH_RMII_CRS_DV */
1380e8011faSEmmanuel Vadot			bias-disable;
1390e8011faSEmmanuel Vadot		};
1400e8011faSEmmanuel Vadot	};
1410e8011faSEmmanuel Vadot
1420e8011faSEmmanuel Vadot	/omit-if-no-ref/
1430e8011faSEmmanuel Vadot	eth1_rmii_sleep_pins_a: eth1-rmii-sleep-0 {
1440e8011faSEmmanuel Vadot		pins1 {
1450e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('G', 13, ANALOG)>, /* ETH_RMII_TXD0 */
1460e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 14, ANALOG)>, /* ETH_RMII_TXD1 */
1470e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 11, ANALOG)>, /* ETH_RMII_TX_EN */
1480e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 1, ANALOG)>, /* ETH_RMII_REF_CLK */
1490e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 2, ANALOG)>, /* ETH_MDIO */
1500e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 2, ANALOG)>, /* ETH_MDC */
1510e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 4, ANALOG)>, /* ETH_RMII_RXD0 */
1520e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 5, ANALOG)>, /* ETH_RMII_RXD1 */
1530e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 1, ANALOG)>; /* ETH_RMII_CRS_DV */
1540e8011faSEmmanuel Vadot		};
1550e8011faSEmmanuel Vadot	};
1560e8011faSEmmanuel Vadot
1570e8011faSEmmanuel Vadot	/omit-if-no-ref/
1580e8011faSEmmanuel Vadot	eth2_rgmii_pins_a: eth2-rgmii-0 {
1590e8011faSEmmanuel Vadot		pins1 {
1600e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 7, AF11)>, /* ETH_RGMII_TXD0 */
1610e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 11, AF10)>, /* ETH_RGMII_TXD1 */
1620e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 1, AF10)>, /* ETH_RGMII_TXD2 */
1630e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 6, AF11)>, /* ETH_RGMII_TXD3 */
1640e8011faSEmmanuel Vadot				 <STM32_PINMUX('F', 6, AF11)>, /* ETH_RGMII_TX_CTL */
1650e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 3, AF10)>, /* ETH_RGMII_GTX_CLK */
1660e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 6, AF11)>, /* ETH_MDIO */
1670e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 5, AF10)>; /* ETH_MDC */
1680e8011faSEmmanuel Vadot			bias-disable;
1690e8011faSEmmanuel Vadot			drive-push-pull;
1700e8011faSEmmanuel Vadot			slew-rate = <2>;
1710e8011faSEmmanuel Vadot		};
1720e8011faSEmmanuel Vadot
1730e8011faSEmmanuel Vadot		pins2 {
1740e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 4, AF11)>, /* ETH_RGMII_RXD0 */
1750e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 2, AF10)>, /* ETH_RGMII_RXD1 */
1760e8011faSEmmanuel Vadot				 <STM32_PINMUX('H', 6, AF12)>, /* ETH_RGMII_RXD2 */
1770e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 8, AF11)>, /* ETH_RGMII_RXD3 */
1780e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 12, AF11)>, /* ETH_RGMII_RX_CTL */
1790e8011faSEmmanuel Vadot				 <STM32_PINMUX('H', 11, AF11)>; /* ETH_RGMII_RX_CLK */
1800e8011faSEmmanuel Vadot			bias-disable;
1810e8011faSEmmanuel Vadot		};
1820e8011faSEmmanuel Vadot	};
1830e8011faSEmmanuel Vadot
1840e8011faSEmmanuel Vadot	/omit-if-no-ref/
1850e8011faSEmmanuel Vadot	eth2_rgmii_sleep_pins_a: eth2-rgmii-sleep-0 {
1860e8011faSEmmanuel Vadot		pins1 {
187*b2d2a78aSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 6, AF11)>, /* ETH_MDIO */
188*b2d2a78aSEmmanuel Vadot				 <STM32_PINMUX('G', 5, AF10)>; /* ETH_MDC */
189*b2d2a78aSEmmanuel Vadot			bias-disable;
190*b2d2a78aSEmmanuel Vadot			drive-push-pull;
191*b2d2a78aSEmmanuel Vadot			slew-rate = <2>;
192*b2d2a78aSEmmanuel Vadot		};
193*b2d2a78aSEmmanuel Vadot
194*b2d2a78aSEmmanuel Vadot		pins2 {
1950e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 7, ANALOG)>, /* ETH_RGMII_TXD0 */
1960e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 11, ANALOG)>, /* ETH_RGMII_TXD1 */
1970e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 1, ANALOG)>, /* ETH_RGMII_TXD2 */
1980e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 6, ANALOG)>, /* ETH_RGMII_TXD3 */
1990e8011faSEmmanuel Vadot				 <STM32_PINMUX('F', 6, ANALOG)>, /* ETH_RGMII_TX_CTL */
2000e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 3, ANALOG)>, /* ETH_RGMII_GTX_CLK */
2010e8011faSEmmanuel Vadot				 <STM32_PINMUX('F', 4, ANALOG)>, /* ETH_RGMII_RXD0 */
2020e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 2, ANALOG)>, /* ETH_RGMII_RXD1 */
2030e8011faSEmmanuel Vadot				 <STM32_PINMUX('H', 6, ANALOG)>, /* ETH_RGMII_RXD2 */
2040e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 8, ANALOG)>, /* ETH_RGMII_RXD3 */
2050e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 12, ANALOG)>, /* ETH_RGMII_RX_CTL */
2060e8011faSEmmanuel Vadot				 <STM32_PINMUX('H', 11, ANALOG)>; /* ETH_RGMII_RX_CLK */
2070e8011faSEmmanuel Vadot		};
2080e8011faSEmmanuel Vadot	};
2090e8011faSEmmanuel Vadot
2100e8011faSEmmanuel Vadot	/omit-if-no-ref/
2110e8011faSEmmanuel Vadot	eth2_rmii_pins_a: eth2-rmii-0 {
2120e8011faSEmmanuel Vadot		pins1 {
2130e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 7, AF11)>, /* ETH_RMII_TXD0 */
2140e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 11, AF10)>, /* ETH_RMII_TXD1 */
2150e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 8, AF13)>, /* ETH_RMII_ETHCK */
2160e8011faSEmmanuel Vadot				 <STM32_PINMUX('F', 6, AF11)>, /* ETH_RMII_TX_EN */
2170e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 2, AF11)>, /* ETH_MDIO */
2180e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 5, AF10)>; /* ETH_MDC */
2190e8011faSEmmanuel Vadot			bias-disable;
2200e8011faSEmmanuel Vadot			drive-push-pull;
2210e8011faSEmmanuel Vadot			slew-rate = <1>;
2220e8011faSEmmanuel Vadot		};
2230e8011faSEmmanuel Vadot
2240e8011faSEmmanuel Vadot		pins2 {
2250e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 4, AF11)>, /* ETH_RMII_RXD0 */
2260e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 2, AF10)>, /* ETH_RMII_RXD1 */
2270e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 12, AF11)>; /* ETH_RMII_CRS_DV */
2280e8011faSEmmanuel Vadot			bias-disable;
2290e8011faSEmmanuel Vadot		};
2300e8011faSEmmanuel Vadot	};
2310e8011faSEmmanuel Vadot
2320e8011faSEmmanuel Vadot	/omit-if-no-ref/
2330e8011faSEmmanuel Vadot	eth2_rmii_sleep_pins_a: eth2-rmii-sleep-0 {
2340e8011faSEmmanuel Vadot		pins1 {
2350e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 7, ANALOG)>, /* ETH_RMII_TXD0 */
2360e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 11, ANALOG)>, /* ETH_RMII_TXD1 */
2370e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 8, ANALOG)>, /* ETH_RMII_ETHCK */
2380e8011faSEmmanuel Vadot				 <STM32_PINMUX('F', 6, ANALOG)>, /* ETH_RMII_TX_EN */
2390e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 2, ANALOG)>, /* ETH_MDIO */
2400e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 5, ANALOG)>, /* ETH_MDC */
2410e8011faSEmmanuel Vadot				 <STM32_PINMUX('F', 4, ANALOG)>, /* ETH_RMII_RXD0 */
2420e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 2, ANALOG)>, /* ETH_RMII_RXD1 */
2430e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 12, ANALOG)>; /* ETH_RMII_CRS_DV */
2440e8011faSEmmanuel Vadot		};
2450e8011faSEmmanuel Vadot	};
2460e8011faSEmmanuel Vadot
2470e8011faSEmmanuel Vadot	/omit-if-no-ref/
2480e8011faSEmmanuel Vadot	goodix_pins_a: goodix-0 {
2490e8011faSEmmanuel Vadot		/*
2500e8011faSEmmanuel Vadot		 * touchscreen reset needs to be configured
2510e8011faSEmmanuel Vadot		 * via the pinctrl not the driver (a pull-down resistor
2520e8011faSEmmanuel Vadot		 * has been soldered onto the reset line which forces
2530e8011faSEmmanuel Vadot		 * the touchscreen to reset state).
2540e8011faSEmmanuel Vadot		 */
2550e8011faSEmmanuel Vadot		pins1 {
2560e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 2, GPIO)>;
2570e8011faSEmmanuel Vadot			output-high;
2580e8011faSEmmanuel Vadot			bias-pull-up;
2590e8011faSEmmanuel Vadot		};
2600e8011faSEmmanuel Vadot		/*
2610e8011faSEmmanuel Vadot		 * Interrupt line must have a pull-down resistor
2620e8011faSEmmanuel Vadot		 * in order to freeze the i2c address at 0x5D
2630e8011faSEmmanuel Vadot		 */
2640e8011faSEmmanuel Vadot		pins2 {
2650e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 5, GPIO)>;
2660e8011faSEmmanuel Vadot			bias-pull-down;
2670e8011faSEmmanuel Vadot		};
2680e8011faSEmmanuel Vadot	};
2690e8011faSEmmanuel Vadot
2700e8011faSEmmanuel Vadot	/omit-if-no-ref/
271f126890aSEmmanuel Vadot	i2c1_pins_a: i2c1-0 {
272f126890aSEmmanuel Vadot		pins {
273f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 12, AF5)>, /* I2C1_SCL */
274f126890aSEmmanuel Vadot				 <STM32_PINMUX('E', 8, AF5)>; /* I2C1_SDA */
275f126890aSEmmanuel Vadot			bias-disable;
276f126890aSEmmanuel Vadot			drive-open-drain;
277f126890aSEmmanuel Vadot			slew-rate = <0>;
278f126890aSEmmanuel Vadot		};
279f126890aSEmmanuel Vadot	};
280f126890aSEmmanuel Vadot
2810e8011faSEmmanuel Vadot	/omit-if-no-ref/
282f126890aSEmmanuel Vadot	i2c1_sleep_pins_a: i2c1-sleep-0 {
283f126890aSEmmanuel Vadot		pins {
284f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 12, ANALOG)>, /* I2C1_SCL */
285f126890aSEmmanuel Vadot				 <STM32_PINMUX('E', 8, ANALOG)>; /* I2C1_SDA */
286f126890aSEmmanuel Vadot		};
287f126890aSEmmanuel Vadot	};
288f126890aSEmmanuel Vadot
2890e8011faSEmmanuel Vadot	/omit-if-no-ref/
290f126890aSEmmanuel Vadot	i2c5_pins_a: i2c5-0 {
291f126890aSEmmanuel Vadot		pins {
292f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 1, AF4)>, /* I2C5_SCL */
293f126890aSEmmanuel Vadot				 <STM32_PINMUX('H', 6, AF4)>; /* I2C5_SDA */
294f126890aSEmmanuel Vadot			bias-disable;
295f126890aSEmmanuel Vadot			drive-open-drain;
296f126890aSEmmanuel Vadot			slew-rate = <0>;
297f126890aSEmmanuel Vadot		};
298f126890aSEmmanuel Vadot	};
299f126890aSEmmanuel Vadot
3000e8011faSEmmanuel Vadot	/omit-if-no-ref/
301f126890aSEmmanuel Vadot	i2c5_sleep_pins_a: i2c5-sleep-0 {
302f126890aSEmmanuel Vadot		pins {
303f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 1, ANALOG)>, /* I2C5_SCL */
304f126890aSEmmanuel Vadot				 <STM32_PINMUX('H', 6, ANALOG)>; /* I2C5_SDA */
305f126890aSEmmanuel Vadot		};
306f126890aSEmmanuel Vadot	};
307f126890aSEmmanuel Vadot
3080e8011faSEmmanuel Vadot	/omit-if-no-ref/
3090e8011faSEmmanuel Vadot	i2c5_pins_b: i2c5-1 {
3100e8011faSEmmanuel Vadot		pins {
3110e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 1, AF4)>, /* I2C5_SCL */
3120e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 13, AF4)>; /* I2C5_SDA */
3130e8011faSEmmanuel Vadot			bias-disable;
3140e8011faSEmmanuel Vadot			drive-open-drain;
3150e8011faSEmmanuel Vadot			slew-rate = <0>;
3160e8011faSEmmanuel Vadot		};
3170e8011faSEmmanuel Vadot	};
3180e8011faSEmmanuel Vadot
3190e8011faSEmmanuel Vadot	/omit-if-no-ref/
3200e8011faSEmmanuel Vadot	i2c5_sleep_pins_b: i2c5-sleep-1 {
3210e8011faSEmmanuel Vadot		pins {
3220e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 1, ANALOG)>, /* I2C5_SCL */
3230e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 13, ANALOG)>; /* I2C5_SDA */
3240e8011faSEmmanuel Vadot		};
3250e8011faSEmmanuel Vadot	};
3260e8011faSEmmanuel Vadot
3270e8011faSEmmanuel Vadot	/omit-if-no-ref/
3287d0873ebSEmmanuel Vadot	ltdc_pins_a: ltdc-0 {
3297d0873ebSEmmanuel Vadot		pins {
3307d0873ebSEmmanuel Vadot			pinmux = <STM32_PINMUX('D',  9, AF13)>, /* LCD_CLK */
3317d0873ebSEmmanuel Vadot				 <STM32_PINMUX('C',  6, AF14)>, /* LCD_HSYNC */
3327d0873ebSEmmanuel Vadot				 <STM32_PINMUX('G',  4, AF11)>, /* LCD_VSYNC */
3337d0873ebSEmmanuel Vadot				 <STM32_PINMUX('H',  9, AF11)>, /* LCD_DE */
3347d0873ebSEmmanuel Vadot				 <STM32_PINMUX('G',  7, AF14)>, /* LCD_R2 */
3357d0873ebSEmmanuel Vadot				 <STM32_PINMUX('B', 12, AF13)>, /* LCD_R3 */
3367d0873ebSEmmanuel Vadot				 <STM32_PINMUX('D', 14, AF14)>, /* LCD_R4 */
3377d0873ebSEmmanuel Vadot				 <STM32_PINMUX('E',  7, AF14)>, /* LCD_R5 */
3387d0873ebSEmmanuel Vadot				 <STM32_PINMUX('E', 13, AF14)>, /* LCD_R6 */
3397d0873ebSEmmanuel Vadot				 <STM32_PINMUX('E',  9, AF14)>, /* LCD_R7 */
3407d0873ebSEmmanuel Vadot				 <STM32_PINMUX('H', 13, AF14)>, /* LCD_G2 */
3417d0873ebSEmmanuel Vadot				 <STM32_PINMUX('F',  3, AF14)>, /* LCD_G3 */
3427d0873ebSEmmanuel Vadot				 <STM32_PINMUX('D',  5, AF14)>, /* LCD_G4 */
3437d0873ebSEmmanuel Vadot				 <STM32_PINMUX('G',  0, AF14)>, /* LCD_G5 */
3447d0873ebSEmmanuel Vadot				 <STM32_PINMUX('C',  7, AF14)>, /* LCD_G6 */
3457d0873ebSEmmanuel Vadot				 <STM32_PINMUX('A', 15, AF11)>, /* LCD_G7 */
3467d0873ebSEmmanuel Vadot				 <STM32_PINMUX('D', 10, AF14)>, /* LCD_B2 */
3477d0873ebSEmmanuel Vadot				 <STM32_PINMUX('F',  2, AF14)>, /* LCD_B3 */
3487d0873ebSEmmanuel Vadot				 <STM32_PINMUX('H', 14, AF11)>, /* LCD_B4 */
3497d0873ebSEmmanuel Vadot				 <STM32_PINMUX('E',  0, AF14)>, /* LCD_B5 */
3507d0873ebSEmmanuel Vadot				 <STM32_PINMUX('B',  6, AF7)>,  /* LCD_B6 */
3517d0873ebSEmmanuel Vadot				 <STM32_PINMUX('F',  1, AF13)>; /* LCD_B7 */
3527d0873ebSEmmanuel Vadot			bias-disable;
3537d0873ebSEmmanuel Vadot			drive-push-pull;
3547d0873ebSEmmanuel Vadot			slew-rate = <0>;
3557d0873ebSEmmanuel Vadot		};
3567d0873ebSEmmanuel Vadot	};
3577d0873ebSEmmanuel Vadot
3580e8011faSEmmanuel Vadot	/omit-if-no-ref/
3597d0873ebSEmmanuel Vadot	ltdc_sleep_pins_a: ltdc-sleep-0 {
3607d0873ebSEmmanuel Vadot		pins {
3617d0873ebSEmmanuel Vadot			pinmux = <STM32_PINMUX('D',  9, ANALOG)>, /* LCD_CLK */
3627d0873ebSEmmanuel Vadot				 <STM32_PINMUX('C',  6, ANALOG)>, /* LCD_HSYNC */
3637d0873ebSEmmanuel Vadot				 <STM32_PINMUX('G',  4, ANALOG)>, /* LCD_VSYNC */
3647d0873ebSEmmanuel Vadot				 <STM32_PINMUX('H',  9, ANALOG)>, /* LCD_DE */
3657d0873ebSEmmanuel Vadot				 <STM32_PINMUX('G',  7, ANALOG)>, /* LCD_R2 */
3667d0873ebSEmmanuel Vadot				 <STM32_PINMUX('B', 12, ANALOG)>, /* LCD_R3 */
3677d0873ebSEmmanuel Vadot				 <STM32_PINMUX('D', 14, ANALOG)>, /* LCD_R4 */
3687d0873ebSEmmanuel Vadot				 <STM32_PINMUX('E',  7, ANALOG)>, /* LCD_R5 */
3697d0873ebSEmmanuel Vadot				 <STM32_PINMUX('E', 13, ANALOG)>, /* LCD_R6 */
3707d0873ebSEmmanuel Vadot				 <STM32_PINMUX('E',  9, ANALOG)>, /* LCD_R7 */
3717d0873ebSEmmanuel Vadot				 <STM32_PINMUX('H', 13, ANALOG)>, /* LCD_G2 */
3727d0873ebSEmmanuel Vadot				 <STM32_PINMUX('F',  3, ANALOG)>, /* LCD_G3 */
3737d0873ebSEmmanuel Vadot				 <STM32_PINMUX('D',  5, ANALOG)>, /* LCD_G4 */
3747d0873ebSEmmanuel Vadot				 <STM32_PINMUX('G',  0, ANALOG)>, /* LCD_G5 */
3757d0873ebSEmmanuel Vadot				 <STM32_PINMUX('C',  7, ANALOG)>, /* LCD_G6 */
3767d0873ebSEmmanuel Vadot				 <STM32_PINMUX('A', 15, ANALOG)>, /* LCD_G7 */
3777d0873ebSEmmanuel Vadot				 <STM32_PINMUX('D', 10, ANALOG)>, /* LCD_B2 */
3787d0873ebSEmmanuel Vadot				 <STM32_PINMUX('F',  2, ANALOG)>, /* LCD_B3 */
3797d0873ebSEmmanuel Vadot				 <STM32_PINMUX('H', 14, ANALOG)>, /* LCD_B4 */
3807d0873ebSEmmanuel Vadot				 <STM32_PINMUX('E',  0, ANALOG)>, /* LCD_B5 */
3817d0873ebSEmmanuel Vadot				 <STM32_PINMUX('B',  6, ANALOG)>, /* LCD_B6 */
3827d0873ebSEmmanuel Vadot				 <STM32_PINMUX('F',  1, ANALOG)>; /* LCD_B7 */
3837d0873ebSEmmanuel Vadot		};
3847d0873ebSEmmanuel Vadot	};
3857d0873ebSEmmanuel Vadot
3860e8011faSEmmanuel Vadot	/omit-if-no-ref/
3870e8011faSEmmanuel Vadot	m_can1_pins_a: m-can1-0 {
3880e8011faSEmmanuel Vadot		pins1 {
3890e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('G', 10, AF9)>; /* CAN1_TX */
3900e8011faSEmmanuel Vadot			slew-rate = <1>;
3910e8011faSEmmanuel Vadot			drive-push-pull;
3920e8011faSEmmanuel Vadot			bias-disable;
3930e8011faSEmmanuel Vadot		};
3940e8011faSEmmanuel Vadot		pins2 {
3950e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 0, AF9)>; /* CAN1_RX */
3960e8011faSEmmanuel Vadot			bias-disable;
3970e8011faSEmmanuel Vadot		};
3980e8011faSEmmanuel Vadot	};
3990e8011faSEmmanuel Vadot
4000e8011faSEmmanuel Vadot	/omit-if-no-ref/
4010e8011faSEmmanuel Vadot	m_can1_sleep_pins_a: m_can1-sleep-0 {
4020e8011faSEmmanuel Vadot		pins {
4030e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('G', 10, ANALOG)>, /* CAN1_TX */
4040e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 0, ANALOG)>; /* CAN1_RX */
4050e8011faSEmmanuel Vadot		};
4060e8011faSEmmanuel Vadot	};
4070e8011faSEmmanuel Vadot
4080e8011faSEmmanuel Vadot	/omit-if-no-ref/
4090e8011faSEmmanuel Vadot	m_can2_pins_a: m-can2-0 {
4100e8011faSEmmanuel Vadot		pins1 {
4110e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('G', 0, AF9)>; /* CAN2_TX */
4120e8011faSEmmanuel Vadot			slew-rate = <1>;
4130e8011faSEmmanuel Vadot			drive-push-pull;
4140e8011faSEmmanuel Vadot			bias-disable;
4150e8011faSEmmanuel Vadot		};
4160e8011faSEmmanuel Vadot		pins2 {
4170e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('E', 0, AF9)>; /* CAN2_RX */
4180e8011faSEmmanuel Vadot			bias-disable;
4190e8011faSEmmanuel Vadot		};
4200e8011faSEmmanuel Vadot	};
4210e8011faSEmmanuel Vadot
4220e8011faSEmmanuel Vadot	/omit-if-no-ref/
4230e8011faSEmmanuel Vadot	m_can2_sleep_pins_a: m_can2-sleep-0 {
4240e8011faSEmmanuel Vadot		pins {
4250e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('G', 0, ANALOG)>, /* CAN2_TX */
4260e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 0, ANALOG)>; /* CAN2_RX */
4270e8011faSEmmanuel Vadot		};
4280e8011faSEmmanuel Vadot	};
4290e8011faSEmmanuel Vadot
4300e8011faSEmmanuel Vadot	/omit-if-no-ref/
431f126890aSEmmanuel Vadot	mcp23017_pins_a: mcp23017-0 {
432f126890aSEmmanuel Vadot		pins {
433f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('G', 12, GPIO)>;
434f126890aSEmmanuel Vadot			bias-pull-up;
435f126890aSEmmanuel Vadot		};
436f126890aSEmmanuel Vadot	};
437f126890aSEmmanuel Vadot
4380e8011faSEmmanuel Vadot	/omit-if-no-ref/
439f126890aSEmmanuel Vadot	pwm3_pins_a: pwm3-0 {
440f126890aSEmmanuel Vadot		pins {
441f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 1, AF2)>; /* TIM3_CH4 */
442f126890aSEmmanuel Vadot			bias-pull-down;
443f126890aSEmmanuel Vadot			drive-push-pull;
444f126890aSEmmanuel Vadot			slew-rate = <0>;
445f126890aSEmmanuel Vadot		};
446f126890aSEmmanuel Vadot	};
447f126890aSEmmanuel Vadot
4480e8011faSEmmanuel Vadot	/omit-if-no-ref/
449f126890aSEmmanuel Vadot	pwm3_sleep_pins_a: pwm3-sleep-0 {
450f126890aSEmmanuel Vadot		pins {
451f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 1, ANALOG)>; /* TIM3_CH4 */
452f126890aSEmmanuel Vadot		};
453f126890aSEmmanuel Vadot	};
454f126890aSEmmanuel Vadot
4550e8011faSEmmanuel Vadot	/omit-if-no-ref/
456f126890aSEmmanuel Vadot	pwm4_pins_a: pwm4-0 {
457f126890aSEmmanuel Vadot		pins {
458f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 13, AF2)>; /* TIM4_CH2 */
459f126890aSEmmanuel Vadot			bias-pull-down;
460f126890aSEmmanuel Vadot			drive-push-pull;
461f126890aSEmmanuel Vadot			slew-rate = <0>;
462f126890aSEmmanuel Vadot		};
463f126890aSEmmanuel Vadot	};
464f126890aSEmmanuel Vadot
4650e8011faSEmmanuel Vadot	/omit-if-no-ref/
466f126890aSEmmanuel Vadot	pwm4_sleep_pins_a: pwm4-sleep-0 {
467f126890aSEmmanuel Vadot		pins {
468f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 13, ANALOG)>; /* TIM4_CH2 */
469f126890aSEmmanuel Vadot		};
470f126890aSEmmanuel Vadot	};
471f126890aSEmmanuel Vadot
4720e8011faSEmmanuel Vadot	/omit-if-no-ref/
4730e8011faSEmmanuel Vadot	pwm5_pins_a: pwm5-0 {
4740e8011faSEmmanuel Vadot		pins {
4750e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 12, AF2)>; /* TIM5_CH3 */
4760e8011faSEmmanuel Vadot			bias-pull-down;
4770e8011faSEmmanuel Vadot			drive-push-pull;
4780e8011faSEmmanuel Vadot			slew-rate = <0>;
4790e8011faSEmmanuel Vadot		};
4800e8011faSEmmanuel Vadot	};
4810e8011faSEmmanuel Vadot
4820e8011faSEmmanuel Vadot	/omit-if-no-ref/
4830e8011faSEmmanuel Vadot	pwm5_sleep_pins_a: pwm5-sleep-0 {
4840e8011faSEmmanuel Vadot		pins {
4850e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 12, ANALOG)>; /* TIM5_CH3 */
4860e8011faSEmmanuel Vadot		};
4870e8011faSEmmanuel Vadot	};
4880e8011faSEmmanuel Vadot
4890e8011faSEmmanuel Vadot	/omit-if-no-ref/
490f126890aSEmmanuel Vadot	pwm8_pins_a: pwm8-0 {
491f126890aSEmmanuel Vadot		pins {
492f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('E', 5, AF3)>; /* TIM8_CH3 */
493f126890aSEmmanuel Vadot			bias-pull-down;
494f126890aSEmmanuel Vadot			drive-push-pull;
495f126890aSEmmanuel Vadot			slew-rate = <0>;
496f126890aSEmmanuel Vadot		};
497f126890aSEmmanuel Vadot	};
498f126890aSEmmanuel Vadot
4990e8011faSEmmanuel Vadot	/omit-if-no-ref/
500f126890aSEmmanuel Vadot	pwm8_sleep_pins_a: pwm8-sleep-0 {
501f126890aSEmmanuel Vadot		pins {
502f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('E', 5, ANALOG)>; /* TIM8_CH3 */
503f126890aSEmmanuel Vadot		};
504f126890aSEmmanuel Vadot	};
505f126890aSEmmanuel Vadot
5060e8011faSEmmanuel Vadot	/omit-if-no-ref/
5070e8011faSEmmanuel Vadot	pwm13_pins_a: pwm13-0 {
5080e8011faSEmmanuel Vadot		pins {
5090e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 6, AF9)>; /* TIM13_CH1 */
5100e8011faSEmmanuel Vadot			bias-pull-down;
5110e8011faSEmmanuel Vadot			drive-push-pull;
5120e8011faSEmmanuel Vadot			slew-rate = <0>;
5130e8011faSEmmanuel Vadot		};
5140e8011faSEmmanuel Vadot	};
5150e8011faSEmmanuel Vadot
5160e8011faSEmmanuel Vadot	/omit-if-no-ref/
5170e8011faSEmmanuel Vadot	pwm13_sleep_pins_a: pwm13-sleep-0 {
5180e8011faSEmmanuel Vadot		pins {
5190e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 6, ANALOG)>; /* TIM13_CH1 */
5200e8011faSEmmanuel Vadot		};
5210e8011faSEmmanuel Vadot	};
5220e8011faSEmmanuel Vadot
5230e8011faSEmmanuel Vadot	/omit-if-no-ref/
524f126890aSEmmanuel Vadot	pwm14_pins_a: pwm14-0 {
525f126890aSEmmanuel Vadot		pins {
526f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 9, AF9)>; /* TIM14_CH1 */
527f126890aSEmmanuel Vadot			bias-pull-down;
528f126890aSEmmanuel Vadot			drive-push-pull;
529f126890aSEmmanuel Vadot			slew-rate = <0>;
530f126890aSEmmanuel Vadot		};
531f126890aSEmmanuel Vadot	};
532f126890aSEmmanuel Vadot
5330e8011faSEmmanuel Vadot	/omit-if-no-ref/
534f126890aSEmmanuel Vadot	pwm14_sleep_pins_a: pwm14-sleep-0 {
535f126890aSEmmanuel Vadot		pins {
536f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 9, ANALOG)>; /* TIM14_CH1 */
537f126890aSEmmanuel Vadot		};
538f126890aSEmmanuel Vadot	};
539f126890aSEmmanuel Vadot
5400e8011faSEmmanuel Vadot	/omit-if-no-ref/
5410e8011faSEmmanuel Vadot	qspi_clk_pins_a: qspi-clk-0 {
5420e8011faSEmmanuel Vadot		pins {
5430e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 10, AF9)>; /* QSPI_CLK */
5440e8011faSEmmanuel Vadot			bias-disable;
5450e8011faSEmmanuel Vadot			drive-push-pull;
5460e8011faSEmmanuel Vadot			slew-rate = <3>;
5470e8011faSEmmanuel Vadot		};
5480e8011faSEmmanuel Vadot	};
5490e8011faSEmmanuel Vadot
5500e8011faSEmmanuel Vadot	/omit-if-no-ref/
5510e8011faSEmmanuel Vadot	qspi_clk_sleep_pins_a: qspi-clk-sleep-0 {
5520e8011faSEmmanuel Vadot		pins {
5530e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 10, ANALOG)>; /* QSPI_CLK */
5540e8011faSEmmanuel Vadot		};
5550e8011faSEmmanuel Vadot	};
5560e8011faSEmmanuel Vadot
5570e8011faSEmmanuel Vadot	/omit-if-no-ref/
5580e8011faSEmmanuel Vadot	qspi_bk1_pins_a: qspi-bk1-0 {
5590e8011faSEmmanuel Vadot		pins {
5600e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 8, AF10)>, /* QSPI_BK1_IO0 */
5610e8011faSEmmanuel Vadot				 <STM32_PINMUX('F', 9, AF10)>, /* QSPI_BK1_IO1 */
5620e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 11, AF9)>, /* QSPI_BK1_IO2 */
5630e8011faSEmmanuel Vadot				 <STM32_PINMUX('H', 7, AF13)>; /* QSPI_BK1_IO3 */
5640e8011faSEmmanuel Vadot			bias-disable;
5650e8011faSEmmanuel Vadot			drive-push-pull;
5660e8011faSEmmanuel Vadot			slew-rate = <1>;
5670e8011faSEmmanuel Vadot		};
5680e8011faSEmmanuel Vadot	};
5690e8011faSEmmanuel Vadot
5700e8011faSEmmanuel Vadot	/omit-if-no-ref/
5710e8011faSEmmanuel Vadot	qspi_bk1_sleep_pins_a: qspi-bk1-sleep-0 {
5720e8011faSEmmanuel Vadot		pins {
5730e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 8, ANALOG)>, /* QSPI_BK1_IO0 */
5740e8011faSEmmanuel Vadot				 <STM32_PINMUX('F', 9, ANALOG)>, /* QSPI_BK1_IO1 */
5750e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 11, ANALOG)>, /* QSPI_BK1_IO2 */
5760e8011faSEmmanuel Vadot				 <STM32_PINMUX('H', 7, ANALOG)>; /* QSPI_BK1_IO3 */
5770e8011faSEmmanuel Vadot		};
5780e8011faSEmmanuel Vadot	};
5790e8011faSEmmanuel Vadot
5800e8011faSEmmanuel Vadot	/omit-if-no-ref/
5810e8011faSEmmanuel Vadot	qspi_cs1_pins_a: qspi-cs1-0 {
5820e8011faSEmmanuel Vadot		pins {
5830e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 2, AF9)>; /* QSPI_BK1_NCS */
5840e8011faSEmmanuel Vadot			bias-pull-up;
5850e8011faSEmmanuel Vadot			drive-push-pull;
5860e8011faSEmmanuel Vadot			slew-rate = <1>;
5870e8011faSEmmanuel Vadot		};
5880e8011faSEmmanuel Vadot	};
5890e8011faSEmmanuel Vadot
5900e8011faSEmmanuel Vadot	/omit-if-no-ref/
5910e8011faSEmmanuel Vadot	qspi_cs1_sleep_pins_a: qspi-cs1-sleep-0 {
5920e8011faSEmmanuel Vadot		pins {
5930e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 2, ANALOG)>; /* QSPI_BK1_NCS */
5940e8011faSEmmanuel Vadot		};
5950e8011faSEmmanuel Vadot	};
5960e8011faSEmmanuel Vadot
5970e8011faSEmmanuel Vadot	/omit-if-no-ref/
5980e8011faSEmmanuel Vadot	sai1a_pins_a: sai1a-0 {
5990e8011faSEmmanuel Vadot		pins {
6000e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 4, AF12)>, /* SAI1_SCK_A */
6010e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 6, AF6)>, /* SAI1_SD_A */
6020e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 11, AF6)>; /* SAI1_FS_A */
6030e8011faSEmmanuel Vadot			slew-rate = <0>;
6040e8011faSEmmanuel Vadot			drive-push-pull;
6050e8011faSEmmanuel Vadot			bias-disable;
6060e8011faSEmmanuel Vadot		};
6070e8011faSEmmanuel Vadot	};
6080e8011faSEmmanuel Vadot
6090e8011faSEmmanuel Vadot	/omit-if-no-ref/
6100e8011faSEmmanuel Vadot	sai1a_sleep_pins_a: sai1a-sleep-0 {
6110e8011faSEmmanuel Vadot		pins {
6120e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 4, ANALOG)>, /* SAI1_SCK_A */
6130e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 6, ANALOG)>, /* SAI1_SD_A */
6140e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 11, ANALOG)>; /* SAI1_FS_A */
6150e8011faSEmmanuel Vadot		};
6160e8011faSEmmanuel Vadot	};
6170e8011faSEmmanuel Vadot
6180e8011faSEmmanuel Vadot	/omit-if-no-ref/
6190e8011faSEmmanuel Vadot	sai1b_pins_a: sai1b-0 {
6200e8011faSEmmanuel Vadot		pins {
6210e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 0, AF6)>; /* SAI1_SD_B */
6220e8011faSEmmanuel Vadot			bias-disable;
6230e8011faSEmmanuel Vadot		};
6240e8011faSEmmanuel Vadot	};
6250e8011faSEmmanuel Vadot
6260e8011faSEmmanuel Vadot	/omit-if-no-ref/
6270e8011faSEmmanuel Vadot	sai1b_sleep_pins_a: sai1b-sleep-0 {
6280e8011faSEmmanuel Vadot		pins {
6290e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 0, ANALOG)>; /* SAI1_SD_B */
6300e8011faSEmmanuel Vadot		};
6310e8011faSEmmanuel Vadot	};
6320e8011faSEmmanuel Vadot
6330e8011faSEmmanuel Vadot	/omit-if-no-ref/
634f126890aSEmmanuel Vadot	sdmmc1_b4_pins_a: sdmmc1-b4-0 {
635f126890aSEmmanuel Vadot		pins {
636f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 8, AF12)>, /* SDMMC1_D0 */
637f126890aSEmmanuel Vadot				 <STM32_PINMUX('C', 9, AF12)>, /* SDMMC1_D1 */
638f126890aSEmmanuel Vadot				 <STM32_PINMUX('C', 10, AF12)>, /* SDMMC1_D2 */
639f126890aSEmmanuel Vadot				 <STM32_PINMUX('C', 11, AF12)>, /* SDMMC1_D3 */
640f126890aSEmmanuel Vadot				 <STM32_PINMUX('D', 2, AF12)>; /* SDMMC1_CMD */
641f126890aSEmmanuel Vadot			slew-rate = <1>;
642f126890aSEmmanuel Vadot			drive-push-pull;
643f126890aSEmmanuel Vadot			bias-disable;
644f126890aSEmmanuel Vadot		};
645f126890aSEmmanuel Vadot	};
646f126890aSEmmanuel Vadot
6470e8011faSEmmanuel Vadot	/omit-if-no-ref/
648f126890aSEmmanuel Vadot	sdmmc1_b4_od_pins_a: sdmmc1-b4-od-0 {
649f126890aSEmmanuel Vadot		pins1 {
650f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 8, AF12)>, /* SDMMC1_D0 */
651f126890aSEmmanuel Vadot				 <STM32_PINMUX('C', 9, AF12)>, /* SDMMC1_D1 */
652f126890aSEmmanuel Vadot				 <STM32_PINMUX('C', 10, AF12)>, /* SDMMC1_D2 */
653f126890aSEmmanuel Vadot				 <STM32_PINMUX('C', 11, AF12)>; /* SDMMC1_D3 */
654f126890aSEmmanuel Vadot			slew-rate = <1>;
655f126890aSEmmanuel Vadot			drive-push-pull;
656f126890aSEmmanuel Vadot			bias-disable;
657f126890aSEmmanuel Vadot		};
658f126890aSEmmanuel Vadot		pins2 {
659f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 2, AF12)>; /* SDMMC1_CMD */
660f126890aSEmmanuel Vadot			slew-rate = <1>;
661f126890aSEmmanuel Vadot			drive-open-drain;
662f126890aSEmmanuel Vadot			bias-disable;
663f126890aSEmmanuel Vadot		};
664f126890aSEmmanuel Vadot	};
665f126890aSEmmanuel Vadot
6660e8011faSEmmanuel Vadot	/omit-if-no-ref/
667f126890aSEmmanuel Vadot	sdmmc1_b4_sleep_pins_a: sdmmc1-b4-sleep-0 {
668f126890aSEmmanuel Vadot		pins {
669f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 8, ANALOG)>, /* SDMMC1_D0 */
670f126890aSEmmanuel Vadot				 <STM32_PINMUX('C', 9, ANALOG)>, /* SDMMC1_D1 */
671f126890aSEmmanuel Vadot				 <STM32_PINMUX('C', 10, ANALOG)>, /* SDMMC1_D2 */
672f126890aSEmmanuel Vadot				 <STM32_PINMUX('C', 11, ANALOG)>, /* SDMMC1_D3 */
673f126890aSEmmanuel Vadot				 <STM32_PINMUX('C', 12, ANALOG)>, /* SDMMC1_CK */
674f126890aSEmmanuel Vadot				 <STM32_PINMUX('D', 2, ANALOG)>; /* SDMMC1_CMD */
675f126890aSEmmanuel Vadot		};
676f126890aSEmmanuel Vadot	};
677f126890aSEmmanuel Vadot
6780e8011faSEmmanuel Vadot	/omit-if-no-ref/
679f126890aSEmmanuel Vadot	sdmmc1_clk_pins_a: sdmmc1-clk-0 {
680f126890aSEmmanuel Vadot		pins {
681f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 12, AF12)>; /* SDMMC1_CK */
682f126890aSEmmanuel Vadot			slew-rate = <1>;
683f126890aSEmmanuel Vadot			drive-push-pull;
684f126890aSEmmanuel Vadot			bias-disable;
685f126890aSEmmanuel Vadot		};
686f126890aSEmmanuel Vadot	};
687f126890aSEmmanuel Vadot
6880e8011faSEmmanuel Vadot	/omit-if-no-ref/
689f126890aSEmmanuel Vadot	sdmmc2_b4_pins_a: sdmmc2-b4-0 {
690f126890aSEmmanuel Vadot		pins {
691f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 14, AF10)>, /* SDMMC2_D0 */
692f126890aSEmmanuel Vadot				 <STM32_PINMUX('B', 15, AF10)>, /* SDMMC2_D1 */
693f126890aSEmmanuel Vadot				 <STM32_PINMUX('B', 3, AF10)>, /* SDMMC2_D2 */
694f126890aSEmmanuel Vadot				 <STM32_PINMUX('B', 4, AF10)>, /* SDMMC2_D3 */
695f126890aSEmmanuel Vadot				 <STM32_PINMUX('G', 6, AF10)>; /* SDMMC2_CMD */
696f126890aSEmmanuel Vadot			slew-rate = <1>;
697f126890aSEmmanuel Vadot			drive-push-pull;
698f126890aSEmmanuel Vadot			bias-pull-up;
699f126890aSEmmanuel Vadot		};
700f126890aSEmmanuel Vadot	};
701f126890aSEmmanuel Vadot
7020e8011faSEmmanuel Vadot	/omit-if-no-ref/
703f126890aSEmmanuel Vadot	sdmmc2_b4_od_pins_a: sdmmc2-b4-od-0 {
704f126890aSEmmanuel Vadot		pins1 {
705f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 14, AF10)>, /* SDMMC2_D0 */
706f126890aSEmmanuel Vadot				 <STM32_PINMUX('B', 15, AF10)>, /* SDMMC2_D1 */
707f126890aSEmmanuel Vadot				 <STM32_PINMUX('B', 3, AF10)>, /* SDMMC2_D2 */
708f126890aSEmmanuel Vadot				 <STM32_PINMUX('B', 4, AF10)>; /* SDMMC2_D3 */
709f126890aSEmmanuel Vadot			slew-rate = <1>;
710f126890aSEmmanuel Vadot			drive-push-pull;
711f126890aSEmmanuel Vadot			bias-pull-up;
712f126890aSEmmanuel Vadot		};
713f126890aSEmmanuel Vadot		pins2 {
714f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('G', 6, AF10)>; /* SDMMC2_CMD */
715f126890aSEmmanuel Vadot			slew-rate = <1>;
716f126890aSEmmanuel Vadot			drive-open-drain;
717f126890aSEmmanuel Vadot			bias-pull-up;
718f126890aSEmmanuel Vadot		};
719f126890aSEmmanuel Vadot	};
720f126890aSEmmanuel Vadot
7210e8011faSEmmanuel Vadot	/omit-if-no-ref/
722f126890aSEmmanuel Vadot	sdmmc2_b4_sleep_pins_a: sdmmc2-b4-sleep-0 {
723f126890aSEmmanuel Vadot		pins {
724f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 14, ANALOG)>, /* SDMMC2_D0 */
725f126890aSEmmanuel Vadot				 <STM32_PINMUX('B', 15, ANALOG)>, /* SDMMC2_D1 */
726f126890aSEmmanuel Vadot				 <STM32_PINMUX('B', 3, ANALOG)>, /* SDMMC2_D2 */
727f126890aSEmmanuel Vadot				 <STM32_PINMUX('B', 4, ANALOG)>, /* SDMMC2_D3 */
728f126890aSEmmanuel Vadot				 <STM32_PINMUX('E', 3, ANALOG)>, /* SDMMC2_CK */
729f126890aSEmmanuel Vadot				 <STM32_PINMUX('G', 6, ANALOG)>; /* SDMMC2_CMD */
730f126890aSEmmanuel Vadot		};
731f126890aSEmmanuel Vadot	};
732f126890aSEmmanuel Vadot
7330e8011faSEmmanuel Vadot	/omit-if-no-ref/
734f126890aSEmmanuel Vadot	sdmmc2_clk_pins_a: sdmmc2-clk-0 {
735f126890aSEmmanuel Vadot		pins {
736f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('E', 3, AF10)>; /* SDMMC2_CK */
737f126890aSEmmanuel Vadot			slew-rate = <1>;
738f126890aSEmmanuel Vadot			drive-push-pull;
739f126890aSEmmanuel Vadot			bias-pull-up;
740f126890aSEmmanuel Vadot		};
741f126890aSEmmanuel Vadot	};
742f126890aSEmmanuel Vadot
7430e8011faSEmmanuel Vadot	/omit-if-no-ref/
7440e8011faSEmmanuel Vadot	sdmmc2_d47_pins_a: sdmmc2-d47-0 {
7450e8011faSEmmanuel Vadot		pins {
7460e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 0, AF10)>, /* SDMMC2_D4 */
7470e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 9, AF10)>, /* SDMMC2_D5 */
7480e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 6, AF10)>, /* SDMMC2_D6 */
7490e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 7, AF10)>; /* SDMMC2_D7 */
7500e8011faSEmmanuel Vadot			slew-rate = <1>;
7510e8011faSEmmanuel Vadot			drive-push-pull;
7520e8011faSEmmanuel Vadot			bias-pull-up;
7530e8011faSEmmanuel Vadot		};
7540e8011faSEmmanuel Vadot	};
7550e8011faSEmmanuel Vadot
7560e8011faSEmmanuel Vadot	/omit-if-no-ref/
7570e8011faSEmmanuel Vadot	sdmmc2_d47_sleep_pins_a: sdmmc2-d47-sleep-0 {
7580e8011faSEmmanuel Vadot		pins {
7590e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 0, ANALOG)>, /* SDMMC2_D4 */
7600e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 9, ANALOG)>, /* SDMMC2_D5 */
7610e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 6, ANALOG)>, /* SDMMC2_D6 */
7620e8011faSEmmanuel Vadot				 <STM32_PINMUX('C', 7, ANALOG)>; /* SDMMC2_D7 */
7630e8011faSEmmanuel Vadot		};
7640e8011faSEmmanuel Vadot	};
7650e8011faSEmmanuel Vadot
7660e8011faSEmmanuel Vadot	/omit-if-no-ref/
7670e8011faSEmmanuel Vadot	spi2_pins_a: spi2-0 {
7680e8011faSEmmanuel Vadot		pins1 {
7690e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 10, AF6)>, /* SPI2_SCK */
7700e8011faSEmmanuel Vadot				 <STM32_PINMUX('H', 10, AF6)>; /* SPI2_MOSI */
7710e8011faSEmmanuel Vadot			bias-disable;
7720e8011faSEmmanuel Vadot			drive-push-pull;
7730e8011faSEmmanuel Vadot			slew-rate = <1>;
7740e8011faSEmmanuel Vadot		};
7750e8011faSEmmanuel Vadot
7760e8011faSEmmanuel Vadot		pins2 {
7770e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 5, AF5)>; /* SPI2_MISO */
7780e8011faSEmmanuel Vadot			bias-disable;
7790e8011faSEmmanuel Vadot		};
7800e8011faSEmmanuel Vadot	};
7810e8011faSEmmanuel Vadot
7820e8011faSEmmanuel Vadot	/omit-if-no-ref/
7830e8011faSEmmanuel Vadot	spi2_sleep_pins_a: spi2-sleep-0 {
7840e8011faSEmmanuel Vadot		pins {
7850e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* SPI2_SCK */
7860e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 5, ANALOG)>, /* SPI2_MISO */
7870e8011faSEmmanuel Vadot				 <STM32_PINMUX('H', 10, ANALOG)>; /* SPI2_MOSI */
7880e8011faSEmmanuel Vadot		};
7890e8011faSEmmanuel Vadot	};
7900e8011faSEmmanuel Vadot
7910e8011faSEmmanuel Vadot	/omit-if-no-ref/
7920e8011faSEmmanuel Vadot	spi3_pins_a: spi3-0 {
7930e8011faSEmmanuel Vadot		pins1 {
7940e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 13, AF6)>, /* SPI3_SCK */
7950e8011faSEmmanuel Vadot				 <STM32_PINMUX('F', 1, AF5)>; /* SPI3_MOSI */
7960e8011faSEmmanuel Vadot			bias-disable;
7970e8011faSEmmanuel Vadot			drive-push-pull;
7980e8011faSEmmanuel Vadot			slew-rate = <1>;
7990e8011faSEmmanuel Vadot		};
8000e8011faSEmmanuel Vadot
8010e8011faSEmmanuel Vadot		pins2 {
8020e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 4, AF5)>; /* SPI3_MISO */
8030e8011faSEmmanuel Vadot			bias-disable;
8040e8011faSEmmanuel Vadot		};
8050e8011faSEmmanuel Vadot	};
8060e8011faSEmmanuel Vadot
8070e8011faSEmmanuel Vadot	/omit-if-no-ref/
8080e8011faSEmmanuel Vadot	spi3_sleep_pins_a: spi3-sleep-0 {
8090e8011faSEmmanuel Vadot		pins {
8100e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 13, ANALOG)>, /* SPI3_SCK */
8110e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 4, ANALOG)>, /* SPI3_MISO */
8120e8011faSEmmanuel Vadot				 <STM32_PINMUX('F', 1, ANALOG)>; /* SPI3_MOSI */
8130e8011faSEmmanuel Vadot		};
8140e8011faSEmmanuel Vadot	};
8150e8011faSEmmanuel Vadot
8160e8011faSEmmanuel Vadot	/omit-if-no-ref/
817f126890aSEmmanuel Vadot	spi5_pins_a: spi5-0 {
818f126890aSEmmanuel Vadot		pins1 {
819f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 7, AF6)>, /* SPI5_SCK */
820f126890aSEmmanuel Vadot				 <STM32_PINMUX('H', 3, AF5)>; /* SPI5_MOSI */
821f126890aSEmmanuel Vadot			bias-disable;
822f126890aSEmmanuel Vadot			drive-push-pull;
823f126890aSEmmanuel Vadot			slew-rate = <1>;
824f126890aSEmmanuel Vadot		};
825f126890aSEmmanuel Vadot
826f126890aSEmmanuel Vadot		pins2 {
827f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 8, AF5)>; /* SPI5_MISO */
828f126890aSEmmanuel Vadot			bias-disable;
829f126890aSEmmanuel Vadot		};
830f126890aSEmmanuel Vadot	};
831f126890aSEmmanuel Vadot
8320e8011faSEmmanuel Vadot	/omit-if-no-ref/
833f126890aSEmmanuel Vadot	spi5_sleep_pins_a: spi5-sleep-0 {
834f126890aSEmmanuel Vadot		pins {
835f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 7, ANALOG)>, /* SPI5_SCK */
836f126890aSEmmanuel Vadot				 <STM32_PINMUX('A', 8, ANALOG)>, /* SPI5_MISO */
837f126890aSEmmanuel Vadot				 <STM32_PINMUX('H', 3, ANALOG)>; /* SPI5_MOSI */
838f126890aSEmmanuel Vadot		};
839f126890aSEmmanuel Vadot	};
840f126890aSEmmanuel Vadot
8410e8011faSEmmanuel Vadot	/omit-if-no-ref/
842f126890aSEmmanuel Vadot	stm32g0_intn_pins_a: stm32g0-intn-0 {
843f126890aSEmmanuel Vadot		pins {
844f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('I', 2, GPIO)>;
845f126890aSEmmanuel Vadot			bias-pull-up;
846f126890aSEmmanuel Vadot		};
847f126890aSEmmanuel Vadot	};
848f126890aSEmmanuel Vadot
8490e8011faSEmmanuel Vadot	/omit-if-no-ref/
850f126890aSEmmanuel Vadot	uart4_pins_a: uart4-0 {
851f126890aSEmmanuel Vadot		pins1 {
852f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 6, AF8)>; /* UART4_TX */
853f126890aSEmmanuel Vadot			bias-disable;
854f126890aSEmmanuel Vadot			drive-push-pull;
855f126890aSEmmanuel Vadot			slew-rate = <0>;
856f126890aSEmmanuel Vadot		};
857f126890aSEmmanuel Vadot		pins2 {
858f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 8, AF8)>; /* UART4_RX */
859f126890aSEmmanuel Vadot			bias-disable;
860f126890aSEmmanuel Vadot		};
861f126890aSEmmanuel Vadot	};
862f126890aSEmmanuel Vadot
8630e8011faSEmmanuel Vadot	/omit-if-no-ref/
864f126890aSEmmanuel Vadot	uart4_idle_pins_a: uart4-idle-0 {
865f126890aSEmmanuel Vadot		pins1 {
866f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 6, ANALOG)>; /* UART4_TX */
867f126890aSEmmanuel Vadot		};
868f126890aSEmmanuel Vadot		pins2 {
869f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 8, AF8)>; /* UART4_RX */
870f126890aSEmmanuel Vadot			bias-disable;
871f126890aSEmmanuel Vadot		};
872f126890aSEmmanuel Vadot	};
873f126890aSEmmanuel Vadot
8740e8011faSEmmanuel Vadot	/omit-if-no-ref/
875f126890aSEmmanuel Vadot	uart4_sleep_pins_a: uart4-sleep-0 {
876f126890aSEmmanuel Vadot		pins {
877f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 6, ANALOG)>, /* UART4_TX */
878f126890aSEmmanuel Vadot				 <STM32_PINMUX('D', 8, ANALOG)>; /* UART4_RX */
879f126890aSEmmanuel Vadot		};
880f126890aSEmmanuel Vadot	};
881f126890aSEmmanuel Vadot
8820e8011faSEmmanuel Vadot	/omit-if-no-ref/
8830e8011faSEmmanuel Vadot	uart4_pins_b: uart4-1 {
8840e8011faSEmmanuel Vadot		pins1 {
8850e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 9, AF8)>; /* UART4_TX */
8860e8011faSEmmanuel Vadot			bias-disable;
8870e8011faSEmmanuel Vadot			drive-push-pull;
8880e8011faSEmmanuel Vadot			slew-rate = <0>;
8890e8011faSEmmanuel Vadot		};
8900e8011faSEmmanuel Vadot		pins2 {
8910e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 8, AF8)>; /* UART4_RX */
8920e8011faSEmmanuel Vadot			bias-pull-up;
8930e8011faSEmmanuel Vadot		};
8940e8011faSEmmanuel Vadot	};
8950e8011faSEmmanuel Vadot
8960e8011faSEmmanuel Vadot	/omit-if-no-ref/
8970e8011faSEmmanuel Vadot	uart4_idle_pins_b: uart4-idle-1 {
8980e8011faSEmmanuel Vadot		pins1 {
8990e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 9, ANALOG)>; /* UART4_TX */
9000e8011faSEmmanuel Vadot		};
9010e8011faSEmmanuel Vadot		pins2 {
9020e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 8, AF8)>; /* UART4_RX */
9030e8011faSEmmanuel Vadot			bias-pull-up;
9040e8011faSEmmanuel Vadot		};
9050e8011faSEmmanuel Vadot	};
9060e8011faSEmmanuel Vadot
9070e8011faSEmmanuel Vadot	/omit-if-no-ref/
9080e8011faSEmmanuel Vadot	uart4_sleep_pins_b: uart4-sleep-1 {
9090e8011faSEmmanuel Vadot		pins {
9100e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 9, ANALOG)>, /* UART4_TX */
9110e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 8, ANALOG)>; /* UART4_RX */
9120e8011faSEmmanuel Vadot		};
9130e8011faSEmmanuel Vadot	};
9140e8011faSEmmanuel Vadot
9150e8011faSEmmanuel Vadot	/omit-if-no-ref/
9160e8011faSEmmanuel Vadot	uart7_pins_a: uart7-0 {
9170e8011faSEmmanuel Vadot		pins1 {
9180e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 2, AF8)>, /* UART7_TX */
9190e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 12, AF7)>; /* UART7_RTS */
9200e8011faSEmmanuel Vadot			bias-disable;
9210e8011faSEmmanuel Vadot			drive-push-pull;
9220e8011faSEmmanuel Vadot			slew-rate = <0>;
9230e8011faSEmmanuel Vadot		};
9240e8011faSEmmanuel Vadot		pins2 {
9250e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('E', 10, AF7)>, /* UART7_RX */
9260e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 7, AF8)>; /* UART7_CTS_NSS */
9270e8011faSEmmanuel Vadot			bias-disable;
9280e8011faSEmmanuel Vadot		};
9290e8011faSEmmanuel Vadot	};
9300e8011faSEmmanuel Vadot
9310e8011faSEmmanuel Vadot	/omit-if-no-ref/
9320e8011faSEmmanuel Vadot	uart7_idle_pins_a: uart7-idle-0 {
9330e8011faSEmmanuel Vadot		pins1 {
9340e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 2, ANALOG)>, /* UART7_TX */
9350e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 7, ANALOG)>; /* UART7_CTS_NSS */
9360e8011faSEmmanuel Vadot		};
9370e8011faSEmmanuel Vadot		pins2 {
9380e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 12, AF7)>; /* UART7_RTS */
9390e8011faSEmmanuel Vadot			bias-disable;
9400e8011faSEmmanuel Vadot			drive-push-pull;
9410e8011faSEmmanuel Vadot			slew-rate = <0>;
9420e8011faSEmmanuel Vadot		};
9430e8011faSEmmanuel Vadot		pins3 {
9440e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('E', 10, AF7)>; /* UART7_RX */
9450e8011faSEmmanuel Vadot			bias-disable;
9460e8011faSEmmanuel Vadot		};
9470e8011faSEmmanuel Vadot	};
9480e8011faSEmmanuel Vadot
9490e8011faSEmmanuel Vadot	/omit-if-no-ref/
9500e8011faSEmmanuel Vadot	uart7_sleep_pins_a: uart7-sleep-0 {
9510e8011faSEmmanuel Vadot		pins {
9520e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 2, ANALOG)>, /* UART7_TX */
9530e8011faSEmmanuel Vadot				 <STM32_PINMUX('B', 12, ANALOG)>, /* UART7_RTS */
9540e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 10, ANALOG)>, /* UART7_RX */
9550e8011faSEmmanuel Vadot				 <STM32_PINMUX('G', 7, ANALOG)>; /* UART7_CTS_NSS */
9560e8011faSEmmanuel Vadot		};
9570e8011faSEmmanuel Vadot	};
9580e8011faSEmmanuel Vadot
9590e8011faSEmmanuel Vadot	/omit-if-no-ref/
960f126890aSEmmanuel Vadot	uart8_pins_a: uart8-0 {
961f126890aSEmmanuel Vadot		pins1 {
962f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('E', 1, AF8)>; /* UART8_TX */
963f126890aSEmmanuel Vadot			bias-disable;
964f126890aSEmmanuel Vadot			drive-push-pull;
965f126890aSEmmanuel Vadot			slew-rate = <0>;
966f126890aSEmmanuel Vadot		};
967f126890aSEmmanuel Vadot		pins2 {
968f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 9, AF8)>; /* UART8_RX */
969f126890aSEmmanuel Vadot			bias-pull-up;
970f126890aSEmmanuel Vadot		};
971f126890aSEmmanuel Vadot	};
972f126890aSEmmanuel Vadot
9730e8011faSEmmanuel Vadot	/omit-if-no-ref/
974f126890aSEmmanuel Vadot	uart8_idle_pins_a: uart8-idle-0 {
975f126890aSEmmanuel Vadot		pins1 {
976f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('E', 1, ANALOG)>; /* UART8_TX */
977f126890aSEmmanuel Vadot		};
978f126890aSEmmanuel Vadot		pins2 {
979f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 9, AF8)>; /* UART8_RX */
980f126890aSEmmanuel Vadot			bias-pull-up;
981f126890aSEmmanuel Vadot		};
982f126890aSEmmanuel Vadot	};
983f126890aSEmmanuel Vadot
9840e8011faSEmmanuel Vadot	/omit-if-no-ref/
985f126890aSEmmanuel Vadot	uart8_sleep_pins_a: uart8-sleep-0 {
986f126890aSEmmanuel Vadot		pins {
987f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('E', 1, ANALOG)>, /* UART8_TX */
988f126890aSEmmanuel Vadot				 <STM32_PINMUX('F', 9, ANALOG)>; /* UART8_RX */
989f126890aSEmmanuel Vadot		};
990f126890aSEmmanuel Vadot	};
991f126890aSEmmanuel Vadot
9920e8011faSEmmanuel Vadot	/omit-if-no-ref/
993f126890aSEmmanuel Vadot	usart1_pins_a: usart1-0 {
994f126890aSEmmanuel Vadot		pins1 {
995f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 0, AF7)>, /* USART1_TX */
996f126890aSEmmanuel Vadot				 <STM32_PINMUX('C', 2, AF7)>; /* USART1_RTS */
997f126890aSEmmanuel Vadot			bias-disable;
998f126890aSEmmanuel Vadot			drive-push-pull;
999f126890aSEmmanuel Vadot			slew-rate = <0>;
1000f126890aSEmmanuel Vadot		};
1001f126890aSEmmanuel Vadot		pins2 {
1002f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 0, AF4)>, /* USART1_RX */
1003f126890aSEmmanuel Vadot				 <STM32_PINMUX('A', 7, AF7)>; /* USART1_CTS_NSS */
1004f126890aSEmmanuel Vadot			bias-pull-up;
1005f126890aSEmmanuel Vadot		};
1006f126890aSEmmanuel Vadot	};
1007f126890aSEmmanuel Vadot
10080e8011faSEmmanuel Vadot	/omit-if-no-ref/
1009f126890aSEmmanuel Vadot	usart1_idle_pins_a: usart1-idle-0 {
1010f126890aSEmmanuel Vadot		pins1 {
1011f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 0, ANALOG)>, /* USART1_TX */
1012f126890aSEmmanuel Vadot				 <STM32_PINMUX('A', 7, ANALOG)>; /* USART1_CTS_NSS */
1013f126890aSEmmanuel Vadot		};
1014f126890aSEmmanuel Vadot		pins2 {
1015f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 2, AF7)>; /* USART1_RTS */
1016f126890aSEmmanuel Vadot			bias-disable;
1017f126890aSEmmanuel Vadot			drive-push-pull;
1018f126890aSEmmanuel Vadot			slew-rate = <0>;
1019f126890aSEmmanuel Vadot		};
1020f126890aSEmmanuel Vadot		pins3 {
1021f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('B', 0, AF4)>; /* USART1_RX */
1022f126890aSEmmanuel Vadot			bias-pull-up;
1023f126890aSEmmanuel Vadot		};
1024f126890aSEmmanuel Vadot	};
1025f126890aSEmmanuel Vadot
10260e8011faSEmmanuel Vadot	/omit-if-no-ref/
1027f126890aSEmmanuel Vadot	usart1_sleep_pins_a: usart1-sleep-0 {
1028f126890aSEmmanuel Vadot		pins {
1029f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 0, ANALOG)>, /* USART1_TX */
1030f126890aSEmmanuel Vadot				 <STM32_PINMUX('C', 2, ANALOG)>, /* USART1_RTS */
1031f126890aSEmmanuel Vadot				 <STM32_PINMUX('A', 7, ANALOG)>, /* USART1_CTS_NSS */
1032f126890aSEmmanuel Vadot				 <STM32_PINMUX('B', 0, ANALOG)>; /* USART1_RX */
1033f126890aSEmmanuel Vadot		};
1034f126890aSEmmanuel Vadot	};
1035f126890aSEmmanuel Vadot
10360e8011faSEmmanuel Vadot	/omit-if-no-ref/
10370e8011faSEmmanuel Vadot	usart1_pins_b: usart1-1 {
10380e8011faSEmmanuel Vadot		pins1 {
10390e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 0, AF7)>; /* USART1_TX */
10400e8011faSEmmanuel Vadot			bias-disable;
10410e8011faSEmmanuel Vadot			drive-push-pull;
10420e8011faSEmmanuel Vadot			slew-rate = <0>;
10430e8011faSEmmanuel Vadot		};
10440e8011faSEmmanuel Vadot		pins2 {
10450e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 14, AF7)>; /* USART1_RX */
10460e8011faSEmmanuel Vadot			bias-pull-up;
10470e8011faSEmmanuel Vadot		};
10480e8011faSEmmanuel Vadot	};
10490e8011faSEmmanuel Vadot
10500e8011faSEmmanuel Vadot	/omit-if-no-ref/
10510e8011faSEmmanuel Vadot	usart1_idle_pins_b: usart1-idle-1 {
10520e8011faSEmmanuel Vadot		pins1 {
10530e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 0, ANALOG)>; /* USART1_TX */
10540e8011faSEmmanuel Vadot		};
10550e8011faSEmmanuel Vadot		pins2 {
10560e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 14, AF7)>; /* USART1_RX */
10570e8011faSEmmanuel Vadot			bias-pull-up;
10580e8011faSEmmanuel Vadot		};
10590e8011faSEmmanuel Vadot	};
10600e8011faSEmmanuel Vadot
10610e8011faSEmmanuel Vadot	/omit-if-no-ref/
10620e8011faSEmmanuel Vadot	usart1_sleep_pins_b: usart1-sleep-1 {
10630e8011faSEmmanuel Vadot		pins {
10640e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('C', 0, ANALOG)>, /* USART1_TX */
10650e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 14, ANALOG)>; /* USART1_RX */
10660e8011faSEmmanuel Vadot		};
10670e8011faSEmmanuel Vadot	};
10680e8011faSEmmanuel Vadot
10690e8011faSEmmanuel Vadot	/omit-if-no-ref/
1070f126890aSEmmanuel Vadot	usart2_pins_a: usart2-0 {
1071f126890aSEmmanuel Vadot		pins1 {
1072f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 12, AF1)>, /* USART2_TX */
1073f126890aSEmmanuel Vadot				 <STM32_PINMUX('D', 4, AF3)>; /* USART2_RTS */
1074f126890aSEmmanuel Vadot			bias-disable;
1075f126890aSEmmanuel Vadot			drive-push-pull;
1076f126890aSEmmanuel Vadot			slew-rate = <0>;
1077f126890aSEmmanuel Vadot		};
1078f126890aSEmmanuel Vadot		pins2 {
1079f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 15, AF1)>, /* USART2_RX */
1080f126890aSEmmanuel Vadot				 <STM32_PINMUX('E', 11, AF2)>; /* USART2_CTS_NSS */
1081f126890aSEmmanuel Vadot			bias-disable;
1082f126890aSEmmanuel Vadot		};
1083f126890aSEmmanuel Vadot	};
1084f126890aSEmmanuel Vadot
10850e8011faSEmmanuel Vadot	/omit-if-no-ref/
1086f126890aSEmmanuel Vadot	usart2_idle_pins_a: usart2-idle-0 {
1087f126890aSEmmanuel Vadot		pins1 {
1088f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 12, ANALOG)>, /* USART2_TX */
1089f126890aSEmmanuel Vadot				 <STM32_PINMUX('E', 11, ANALOG)>; /* USART2_CTS_NSS */
1090f126890aSEmmanuel Vadot		};
1091f126890aSEmmanuel Vadot		pins2 {
1092f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 4, AF3)>; /* USART2_RTS */
1093f126890aSEmmanuel Vadot			bias-disable;
1094f126890aSEmmanuel Vadot			drive-push-pull;
1095f126890aSEmmanuel Vadot			slew-rate = <0>;
1096f126890aSEmmanuel Vadot		};
1097f126890aSEmmanuel Vadot		pins3 {
1098f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 15, AF1)>; /* USART2_RX */
1099f126890aSEmmanuel Vadot			bias-disable;
1100f126890aSEmmanuel Vadot		};
1101f126890aSEmmanuel Vadot	};
1102f126890aSEmmanuel Vadot
11030e8011faSEmmanuel Vadot	/omit-if-no-ref/
1104f126890aSEmmanuel Vadot	usart2_sleep_pins_a: usart2-sleep-0 {
1105f126890aSEmmanuel Vadot		pins {
1106f126890aSEmmanuel Vadot			pinmux = <STM32_PINMUX('H', 12, ANALOG)>, /* USART2_TX */
1107f126890aSEmmanuel Vadot				 <STM32_PINMUX('D', 4, ANALOG)>, /* USART2_RTS */
1108f126890aSEmmanuel Vadot				 <STM32_PINMUX('D', 15, ANALOG)>, /* USART2_RX */
1109f126890aSEmmanuel Vadot				 <STM32_PINMUX('E', 11, ANALOG)>; /* USART2_CTS_NSS */
1110f126890aSEmmanuel Vadot		};
1111f126890aSEmmanuel Vadot	};
11120e8011faSEmmanuel Vadot
11130e8011faSEmmanuel Vadot	/omit-if-no-ref/
11140e8011faSEmmanuel Vadot	usart2_pins_b: usart2-1 {
11150e8011faSEmmanuel Vadot		pins1 {
11160e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 11, AF1)>, /* USART2_TX */
11170e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 1, AF7)>; /* USART2_RTS */
11180e8011faSEmmanuel Vadot			bias-disable;
11190e8011faSEmmanuel Vadot			drive-push-pull;
11200e8011faSEmmanuel Vadot			slew-rate = <0>;
11210e8011faSEmmanuel Vadot		};
11220e8011faSEmmanuel Vadot		pins2 {
11230e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 15, AF1)>, /* USART2_RX */
11240e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 15, AF3)>; /* USART2_CTS_NSS */
11250e8011faSEmmanuel Vadot			bias-disable;
11260e8011faSEmmanuel Vadot		};
11270e8011faSEmmanuel Vadot	};
11280e8011faSEmmanuel Vadot
11290e8011faSEmmanuel Vadot	/omit-if-no-ref/
11300e8011faSEmmanuel Vadot	usart2_idle_pins_b: usart2-idle-1 {
11310e8011faSEmmanuel Vadot		pins1 {
11320e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 11, ANALOG)>, /* USART2_TX */
11330e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 15, ANALOG)>; /* USART2_CTS_NSS */
11340e8011faSEmmanuel Vadot		};
11350e8011faSEmmanuel Vadot		pins2 {
11360e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('A', 1, AF7)>; /* USART2_RTS */
11370e8011faSEmmanuel Vadot			bias-disable;
11380e8011faSEmmanuel Vadot			drive-push-pull;
11390e8011faSEmmanuel Vadot			slew-rate = <0>;
11400e8011faSEmmanuel Vadot		};
11410e8011faSEmmanuel Vadot		pins3 {
11420e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('D', 15, AF1)>; /* USART2_RX */
11430e8011faSEmmanuel Vadot			bias-disable;
11440e8011faSEmmanuel Vadot		};
11450e8011faSEmmanuel Vadot	};
11460e8011faSEmmanuel Vadot
11470e8011faSEmmanuel Vadot	/omit-if-no-ref/
11480e8011faSEmmanuel Vadot	usart2_sleep_pins_b: usart2-sleep-1 {
11490e8011faSEmmanuel Vadot		pins {
11500e8011faSEmmanuel Vadot			pinmux = <STM32_PINMUX('F', 11, ANALOG)>, /* USART2_TX */
11510e8011faSEmmanuel Vadot				 <STM32_PINMUX('A', 1, ANALOG)>, /* USART2_RTS */
11520e8011faSEmmanuel Vadot				 <STM32_PINMUX('D', 15, ANALOG)>, /* USART2_RX */
11530e8011faSEmmanuel Vadot				 <STM32_PINMUX('E', 15, ANALOG)>; /* USART2_CTS_NSS */
11540e8011faSEmmanuel Vadot		};
11550e8011faSEmmanuel Vadot	};
1156f126890aSEmmanuel Vadot};
1157