[PATCH 11/19] ARM: dts: stm32: Add alternate pinmux for MP13 SAI1 pins

Patrice CHOTARD patrice.chotard at foss.st.com
Fri Apr 26 10:01:56 CEST 2024



On 4/22/24 01:16, Marek Vasut wrote:
> Add another mux option for SAI1 pins, this is used on
> DH electronics STM32MP13xx DHCOR DHSBC board.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> ---
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Cc: u-boot at dh-electronics.com
> Cc: uboot-stm32 at st-md-mailman.stormreply.com
> ---
>  arch/arm/dts/stm32mp13-pinctrl.dtsi | 32 +++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/arch/arm/dts/stm32mp13-pinctrl.dtsi b/arch/arm/dts/stm32mp13-pinctrl.dtsi
> index 77a222903de..f2b41104a58 100644
> --- a/arch/arm/dts/stm32mp13-pinctrl.dtsi
> +++ b/arch/arm/dts/stm32mp13-pinctrl.dtsi
> @@ -356,6 +356,38 @@
>  		};
>  	};
>  
> +	sai1a_pins_a: sai1a-0 {
> +		pins {
> +			pinmux = <STM32_PINMUX('A', 4, AF12)>, /* SAI1_SCK_A */
> +				 <STM32_PINMUX('D', 6, AF6)>, /* SAI1_SD_A */
> +				 <STM32_PINMUX('E', 11, AF6)>; /* SAI1_FS_A */
> +			slew-rate = <0>;
> +			drive-push-pull;
> +			bias-disable;
> +		};
> +	};
> +
> +	sai1a_sleep_pins_a: sai1a-sleep-0 {
> +		pins {
> +			pinmux = <STM32_PINMUX('A', 4, ANALOG)>, /* SAI1_SCK_A */
> +				 <STM32_PINMUX('D', 6, ANALOG)>, /* SAI1_SD_A */
> +				 <STM32_PINMUX('E', 11, ANALOG)>; /* SAI1_FS_A */
> +		};
> +	};
> +
> +	sai1b_pins_a: sai1b-0 {
> +		pins {
> +			pinmux = <STM32_PINMUX('A', 0, AF6)>; /* SAI1_SD_B */
> +			bias-disable;
> +		};
> +	};
> +
> +	sai1b_sleep_pins_a: sai1b-sleep-0 {
> +		pins {
> +			pinmux = <STM32_PINMUX('A', 0, ANALOG)>; /* SAI1_SD_B */
> +		};
> +	};
> +
>  	sdmmc1_b4_pins_a: sdmmc1-b4-0 {
>  		pins {
>  			pinmux = <STM32_PINMUX('C', 8, AF12)>, /* SDMMC1_D0 */

Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>

Thanks
Patrice


More information about the U-Boot mailing list