]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: stm32: phyboard-sargas: Fix uart4 and sai2 pinctrl
authorChristophe Parant <c.parant@phytec.fr>
Wed, 10 Dec 2025 10:16:05 +0000 (11:16 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 6 Mar 2026 09:38:45 +0000 (10:38 +0100)
- UART4:
  "uart4_pins_a" pinmux option does not apply here, as PB9 should be
  used for UART4_TX instead of PG11 (PG11 is LCD_B3 on Sargas).
  Use "uart4_pins_f" instead.
  Also remove "pinctrl-3" which is useless (identical to "pinctrl-1").

- SAI2 A:
  "sai2a_pins_b" pinmux option does not apply here, as only PI6 is used
  for SAI2 A ("SAI2_SD_A"). Other pins of this group (PI7 and PD13) are
  not used for audio.
  Use "sai2a_sleep_pins_d" instead.

Signed-off-by: Christophe Parant <c.parant@phytec.fr>
Link: https://lore.kernel.org/r/20251210101611.27008-6-c.parant@phytec.fr
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp15xx-phyboard-sargas.dtsi

index 56b9e9cfc921456f55d75c0a70a87fdda13174d1..04e29c90085dd207a38272864166ee0e6104cb1c 100644 (file)
        clocks = <&rcc SAI2>, <&rcc PLL3_Q>, <&rcc PLL3_R>;
        clock-names = "pclk", "x8k", "x11k";
        pinctrl-names = "default", "sleep";
-       pinctrl-0 = <&sai2a_pins_b>, <&sai2b_pins_d>;
-       pinctrl-1 = <&sai2a_sleep_pins_b>, <&sai2b_sleep_pins_d>;
+       pinctrl-0 = <&sai2a_pins_d>, <&sai2b_pins_d>;
+       pinctrl-1 = <&sai2a_sleep_pins_d>, <&sai2b_sleep_pins_d>;
        status = "okay";
 };
 
 
 &uart4 {
        pinctrl-names = "default", "sleep", "idle";
-       pinctrl-0 = <&uart4_pins_a>;
-       pinctrl-1 = <&uart4_sleep_pins_a>;
-       pinctrl-2 = <&uart4_idle_pins_a>;
-       pinctrl-3 = <&uart4_pins_a>;
+       pinctrl-0 = <&uart4_pins_f>;
+       pinctrl-1 = <&uart4_sleep_pins_f>;
+       pinctrl-2 = <&uart4_idle_pins_f>;
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "okay";