// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) /* * Copyright (C) STMicroelectronics 2023 - All Rights Reserved * Author: Alexandre Torgue for STMicroelectronics. */ #include &pinctrl { eth2_rgmii_pins_a: eth2-rgmii-0 { pins1 { pinmux = , /* ETH_RGMII_TXD0 */ , /* ETH_RGMII_TXD1 */ , /* ETH_RGMII_TXD2 */ , /* ETH_RGMII_TXD3 */ ; /* ETH_RGMII_TX_CTL */ bias-disable; drive-push-pull; slew-rate = <3>; }; pins2 { pinmux = , /* ETH_RGMII_CLK125 */ , /* ETH_RGMII_GTX_CLK */ ; /* ETH_MDC */ bias-disable; drive-push-pull; slew-rate = <3>; }; pins3 { pinmux = ; /* ETH_MDIO */ bias-disable; drive-push-pull; slew-rate = <0>; }; pins4 { pinmux = , /* ETH_RGMII_RXD0 */ , /* ETH_RGMII_RXD1 */ , /* ETH_RGMII_RXD2 */ , /* ETH_RGMII_RXD3 */ ; /* ETH_RGMII_RX_CTL */ bias-disable; }; pins5 { pinmux = ; /* ETH_RGMII_RX_CLK */ bias-disable; }; }; eth2_rgmii_sleep_pins_a: eth2-rgmii-sleep-0 { pins { pinmux = , /* ETH_RGMII_TXD0 */ , /* ETH_RGMII_TXD1 */ , /* ETH_RGMII_TXD2 */ , /* ETH_RGMII_TXD3 */ , /* ETH_RGMII_TX_CTL */ , /* ETH_RGMII_CLK125 */ , /* ETH_RGMII_GTX_CLK */ , /* ETH_MDC */ , /* ETH_MDIO */ , /* ETH_RGMII_RXD0 */ , /* ETH_RGMII_RXD1 */ , /* ETH_RGMII_RXD2 */ , /* ETH_RGMII_RXD3 */ , /* ETH_RGMII_RX_CTL */ ; /* ETH_RGMII_RX_CLK */ }; }; i2c2_pins_a: i2c2-0 { pins { pinmux = , /* I2C2_SCL */ ; /* I2C2_SDA */ bias-disable; drive-open-drain; slew-rate = <0>; }; }; i2c2_sleep_pins_a: i2c2-sleep-0 { pins { pinmux = , /* I2C2_SCL */ ; /* I2C2_SDA */ }; }; sdmmc1_b4_pins_a: sdmmc1-b4-0 { pins1 { pinmux = , /* SDMMC1_D0 */ , /* SDMMC1_D1 */ , /* SDMMC1_D2 */ , /* SDMMC1_D3 */ ; /* SDMMC1_CMD */ slew-rate = <2>; drive-push-pull; bias-disable; }; pins2 { pinmux = ; /* SDMMC1_CK */ slew-rate = <3>; drive-push-pull; bias-disable; }; }; sdmmc1_b4_od_pins_a: sdmmc1-b4-od-0 { pins1 { pinmux = , /* SDMMC1_D0 */ , /* SDMMC1_D1 */ , /* SDMMC1_D2 */ ; /* SDMMC1_D3 */ slew-rate = <2>; drive-push-pull; bias-disable; }; pins2 { pinmux = ; /* SDMMC1_CK */ slew-rate = <3>; drive-push-pull; bias-disable; }; pins3 { pinmux = ; /* SDMMC1_CMD */ slew-rate = <2>; drive-open-drain; bias-disable; }; }; sdmmc1_b4_sleep_pins_a: sdmmc1-b4-sleep-0 { pins { pinmux = , /* SDMMC1_D0 */ , /* SDMMC1_D1 */ , /* SDMMC1_D2 */ , /* SDMMC1_D3 */ , /* SDMMC1_CK */ ; /* SDMMC1_CMD */ }; }; spi3_pins_a: spi3-0 { pins1 { pinmux = , /* SPI3_SCK */ ; /* SPI3_MOSI */ drive-push-pull; bias-disable; slew-rate = <1>; }; pins2 { pinmux = ; /* SPI3_MISO */ bias-disable; }; }; spi3_sleep_pins_a: spi3-sleep-0 { pins1 { pinmux = , /* SPI3_SCK */ , /* SPI3_MOSI */ ; /* SPI3_MISO */ }; }; usart2_pins_a: usart2-0 { pins1 { pinmux = ; /* USART2_TX */ bias-disable; drive-push-pull; slew-rate = <0>; }; pins2 { pinmux = ; /* USART2_RX */ bias-disable; }; }; usart2_idle_pins_a: usart2-idle-0 { pins1 { pinmux = ; /* USART2_TX */ }; pins2 { pinmux = ; /* USART2_RX */ bias-disable; }; }; usart2_sleep_pins_a: usart2-sleep-0 { pins { pinmux = , /* USART2_TX */ ; /* USART2_RX */ }; }; usart6_pins_a: usart6-0 { pins1 { pinmux = , /* USART6_TX */ ; /* USART6_RTS */ bias-disable; drive-push-pull; slew-rate = <0>; }; pins2 { pinmux = , /* USART6_RX */ ; /* USART6_CTS_NSS */ bias-pull-up; }; }; usart6_idle_pins_a: usart6-idle-0 { pins1 { pinmux = , /* USART6_TX */ ; /* USART6_CTS_NSS */ }; pins2 { pinmux = ; /* USART6_RTS */ bias-disable; drive-push-pull; slew-rate = <0>; }; pins3 { pinmux = ; /* USART6_RX */ bias-pull-up; }; }; usart6_sleep_pins_a: usart6-sleep-0 { pins { pinmux = , /* USART6_TX */ , /* USART6_RTS */ , /* USART6_CTS_NSS */ ; /* USART6_RX */ }; }; }; &pinctrl_z { i2c8_pins_a: i2c8-0 { pins { pinmux = , /* I2C8_SCL */ ; /* I2C8_SDA */ bias-disable; drive-open-drain; slew-rate = <0>; }; }; i2c8_sleep_pins_a: i2c8-sleep-0 { pins { pinmux = , /* I2C8_SCL */ ; /* I2C8_SDA */ }; }; }; &pinctrl_z { spi8_pins_a: spi8-0 { pins1 { pinmux = , /* SPI8_SCK */ ; /* SPI8_MOSI */ drive-push-pull; bias-disable; slew-rate = <1>; }; pins2 { pinmux = ; /* SPI8_MISO */ bias-disable; }; }; spi8_sleep_pins_a: spi8-sleep-0 { pins1 { pinmux = , /* SPI8_SCK */ , /* SPI8_MOSI */ ; /* SPI8_MISO */ }; }; };