[PATCH 09/19] ARM: dts: stm32: Add alternate pinmux for MP13 PWM13 pins

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



On 4/22/24 01:16, Marek Vasut wrote:
> Add another mux option for PWM13 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 | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm/dts/stm32mp13-pinctrl.dtsi b/arch/arm/dts/stm32mp13-pinctrl.dtsi
> index d19408f19f9..cf070fbd7f7 100644
> --- a/arch/arm/dts/stm32mp13-pinctrl.dtsi
> +++ b/arch/arm/dts/stm32mp13-pinctrl.dtsi
> @@ -275,6 +275,21 @@
>  		};
>  	};
>  
> +	pwm13_pins_a: pwm13-0 {
> +		pins {
> +			pinmux = <STM32_PINMUX('A', 6, AF9)>; /* TIM13_CH1 */
> +			bias-pull-down;
> +			drive-push-pull;
> +			slew-rate = <0>;
> +		};
> +	};
> +
> +	pwm13_sleep_pins_a: pwm13-sleep-0 {
> +		pins {
> +			pinmux = <STM32_PINMUX('A', 6, ANALOG)>; /* TIM13_CH1 */
> +		};
> +	};
> +
>  	pwm14_pins_a: pwm14-0 {
>  		pins {
>  			pinmux = <STM32_PINMUX('F', 9, AF9)>; /* TIM14_CH1 */

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

Thanks
Patrice


More information about the U-Boot mailing list