[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230919163009.203752-2-olivier.moysan@foss.st.com>
Date: Tue, 19 Sep 2023 18:30:08 +0200
From: Olivier Moysan <olivier.moysan@...s.st.com>
To: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>
CC: Olivier Moysan <olivier.moysan@...s.st.com>,
<devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 1/2] ARM: dts: stm32: add pins muxing for sai1 on stm32mp13
These pins are used for SAI1 on STM32MP13 Disco boards expansion
connector.
Pins mapping:
- EXP_GPIO18 SAI1_SCKA (PA4)
- EXP_GPIO19 SAI1_FSA (PF11)
- EXP_GPIO20 SAI1_SDA (PA5)
- EXP_GPIO21 SAI1_SDB (PA0)
Signed-off-by: Olivier Moysan <olivier.moysan@...s.st.com>
---
arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi
index 27e0c3826789..5e3e627ceb54 100644
--- a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi
@@ -114,6 +114,27 @@ pins {
};
};
+ sai1a_pins_a: sai1a-0 {
+ pins {
+ pinmux = <STM32_PINMUX('A', 4, AF12)>, /* SAI1_SCK_A */
+ <STM32_PINMUX('A', 0, AF6)>, /* SAI1_SD_B */
+ <STM32_PINMUX('A', 5, AF6)>, /* SAI1_SD_A */
+ <STM32_PINMUX('F', 11, AF6)>; /* SAI1_FS_A */
+ slew-rate = <0>;
+ drive-push-pull;
+ bias-disable;
+ };
+ };
+
+ sai1a_sleep_pins_a: sai1a-sleep-0 {
+ pins {
+ pinmux = <STM32_PINMUX('A', 4, ANALOG)>, /* SAI1_SCK_A */
+ <STM32_PINMUX('A', 0, ANALOG)>, /* SAI1_SD_B */
+ <STM32_PINMUX('A', 5, ANALOG)>, /* SAI1_SD_A */
+ <STM32_PINMUX('F', 11, ANALOG)>; /* SAI1_FS_A */
+ };
+ };
+
sdmmc1_b4_pins_a: sdmmc1-b4-0 {
pins {
pinmux = <STM32_PINMUX('C', 8, AF12)>, /* SDMMC1_D0 */
--
2.25.1
Powered by blists - more mailing lists