[PATCH 05/11] ARM: dts: stm32: phyboard-sargas: Fix uart4 and sai2 pinctrl
Christophe Parant
c.parant at phytec.fr
Thu Feb 27 07:40:06 PST 2025
- 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_e" 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 at phytec.fr>
---
arch/arm/boot/dts/st/stm32mp15xx-phyboard-sargas.dtsi | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/st/stm32mp15xx-phyboard-sargas.dtsi b/arch/arm/boot/dts/st/stm32mp15xx-phyboard-sargas.dtsi
index 2fdab99fc562..564b2607bb9d 100644
--- a/arch/arm/boot/dts/st/stm32mp15xx-phyboard-sargas.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp15xx-phyboard-sargas.dtsi
@@ -143,8 +143,8 @@ &sai2 {
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";
};
@@ -202,10 +202,9 @@ &spi1 {
&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_e>;
+ pinctrl-1 = <&uart4_sleep_pins_e>;
+ pinctrl-2 = <&uart4_idle_pins_e>;
/delete-property/dmas;
/delete-property/dma-names;
status = "okay";
--
2.34.1
More information about the linux-arm-kernel
mailing list