arm64: dts: st: add usart6 pinctrl used on stm32mp257f-ev1 board
authorValentin Caron <valentin.caron@foss.st.com>
Mon, 20 May 2024 14:00:23 +0000 (16:00 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 5 Jun 2024 07:33:42 +0000 (09:33 +0200)
Add pins for USART6 on GPIO connector on stm32mp257f-ev1 board.

Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi

index 7a82896dcbf602763c78fd6d087d2df302a60dea..4e677e64c406f91e68c4d577332c8767be60f578 100644 (file)
                                 <STM32_PINMUX('A', 8, ANALOG)>; /* USART2_RX */
                };
        };
+
+       usart6_pins_a: usart6-0 {
+               pins1 {
+                       pinmux = <STM32_PINMUX('F', 13, AF3)>, /* USART6_TX */
+                                <STM32_PINMUX('G', 5, AF3)>;  /* USART6_RTS */
+                       bias-disable;
+                       drive-push-pull;
+                       slew-rate = <0>;
+               };
+               pins2 {
+                       pinmux = <STM32_PINMUX('F', 14, AF3)>, /* USART6_RX */
+                                <STM32_PINMUX('F', 15, AF3)>; /* USART6_CTS_NSS */
+                       bias-pull-up;
+               };
+       };
+
+       usart6_idle_pins_a: usart6-idle-0 {
+               pins1 {
+                       pinmux = <STM32_PINMUX('F', 13, ANALOG)>, /* USART6_TX */
+                                <STM32_PINMUX('F', 15, ANALOG)>; /* USART6_CTS_NSS */
+               };
+               pins2 {
+                       pinmux = <STM32_PINMUX('G', 5, AF3)>; /* USART6_RTS */
+                       bias-disable;
+                       drive-push-pull;
+                       slew-rate = <0>;
+               };
+               pins3 {
+                       pinmux = <STM32_PINMUX('F', 14, AF3)>; /* USART6_RX */
+                       bias-pull-up;
+               };
+       };
+
+       usart6_sleep_pins_a: usart6-sleep-0 {
+               pins {
+                       pinmux = <STM32_PINMUX('F', 13, ANALOG)>, /* USART6_TX */
+                                <STM32_PINMUX('G', 5, ANALOG)>,  /* USART6_RTS */
+                                <STM32_PINMUX('F', 15, ANALOG)>, /* USART6_CTS_NSS */
+                                <STM32_PINMUX('F', 14, ANALOG)>; /* USART6_RX */
+               };
+       };
 };
 
 &pinctrl_z {