[PATCH 5/6] ARM: dts: stm32: Add alternate pinmux for SPI2 pins

Patrice CHOTARD patrice.chotard at foss.st.com
Wed Jun 15 08:44:55 CEST 2022


HI Marek

On 6/13/22 11:55, Marek Vasut wrote:
> Add another mux option for SPI2 pins, this is used on DRC Compact 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>
> ---
>  arch/arm/dts/stm32mp15-pinctrl.dtsi | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm/dts/stm32mp15-pinctrl.dtsi b/arch/arm/dts/stm32mp15-pinctrl.dtsi
> index e0965c5936e..b92a149a186 100644
> --- a/arch/arm/dts/stm32mp15-pinctrl.dtsi
> +++ b/arch/arm/dts/stm32mp15-pinctrl.dtsi
> @@ -1778,6 +1778,21 @@
>  		};
>  	};
>  
> +	spi2_pins_b: spi2-1 {
> +		pins1 {
> +			pinmux = <STM32_PINMUX('I', 1, AF5)>, /* SPI1_SCK */
> +				 <STM32_PINMUX('I', 3, AF5)>; /* SPI1_MOSI */
> +			bias-disable;
> +			drive-push-pull;
> +			slew-rate = <1>;
> +		};
> +
> +		pins2 {
> +			pinmux = <STM32_PINMUX('I', 2, AF5)>; /* SPI1_MISO */
> +			bias-disable;
> +		};
> +	};
> +
>  	spi4_pins_a: spi4-0 {
>  		pins {
>  			pinmux = <STM32_PINMUX('E', 12, AF5)>, /* SPI4_SCK */

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

Thanks
Patrice


More information about the U-Boot mailing list