[PATCH 06/19] ARM: dts: stm32: Add alternate pinmux for MP13 MCAN1 pins
Patrice CHOTARD
patrice.chotard at foss.st.com
Fri Apr 26 09:58:46 CEST 2024
On 4/22/24 01:16, Marek Vasut wrote:
> Add another mux option for MCAN1 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 | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm/dts/stm32mp13-pinctrl.dtsi b/arch/arm/dts/stm32mp13-pinctrl.dtsi
> index cfbae71efc7..b38174504ff 100644
> --- a/arch/arm/dts/stm32mp13-pinctrl.dtsi
> +++ b/arch/arm/dts/stm32mp13-pinctrl.dtsi
> @@ -168,6 +168,26 @@
> };
> };
>
> + m_can1_pins_a: m-can1-0 {
> + pins1 {
> + pinmux = <STM32_PINMUX('G', 10, AF9)>; /* CAN1_TX */
> + slew-rate = <1>;
> + drive-push-pull;
> + bias-disable;
> + };
> + pins2 {
> + pinmux = <STM32_PINMUX('D', 0, AF9)>; /* CAN1_RX */
> + bias-disable;
> + };
> + };
> +
> + m_can1_sleep_pins_a: m_can1-sleep-0 {
> + pins {
> + pinmux = <STM32_PINMUX('G', 10, ANALOG)>, /* CAN1_TX */
> + <STM32_PINMUX('D', 0, ANALOG)>; /* CAN1_RX */
> + };
> + };
> +
> mcp23017_pins_a: mcp23017-0 {
> pins {
> pinmux = <STM32_PINMUX('G', 12, GPIO)>;
Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>
Thanks
Patrice
More information about the U-Boot
mailing list