From: Olivier Moysan <olivier.moysan@foss.st.com>
To: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Olivier Moysan <olivier.moysan@foss.st.com>,
<devicetree@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH 2/2] ARM: dts: stm32: add pins muxing for dfsdm on stm32mp13
Date: Tue, 19 Sep 2023 18:30:09 +0200 [thread overview]
Message-ID: <20230919163009.203752-3-olivier.moysan@foss.st.com> (raw)
In-Reply-To: <20230919163009.203752-1-olivier.moysan@foss.st.com>
These pins are used for DFSDM on STM32MP13x Disco boards expansion
connector.
Pins mapping:
- EXP_GPIO27 DFSDM1_CKOUT
- EXP_GPIO22 DFSDM1_DATIN3
- EXP_GPIO4 DFSDM1_DATIN1 (shared with TIM3_CH4)
Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
---
arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi | 39 +++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi
index 5e3e627ceb54..50490053f03d 100644
--- a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi
@@ -13,6 +13,45 @@ pins {
};
};
+ dfsdm_clkout_pins_a: dfsdm-clkout-pins-0 {
+ pins {
+ pinmux = <STM32_PINMUX('C', 3, AF3)>; /* DFSDM_CKOUT */
+ bias-disable;
+ drive-push-pull;
+ slew-rate = <0>;
+ };
+ };
+
+ dfsdm_clkout_sleep_pins_a: dfsdm-clkout-sleep-pins-0 {
+ pins {
+ pinmux = <STM32_PINMUX('C', 3, ANALOG)>; /* DFSDM_CKOUT */
+ };
+ };
+
+ dfsdm_datin1_pins_a: dfsdm-datin1-pins-0 {
+ pins {
+ pinmux = <STM32_PINMUX('B', 1, AF6)>; /* DFSDM_DATIN1 */
+ };
+ };
+
+ dfsdm_datin1_sleep_pins_a: dfsdm-datin1-sleep-pins-0 {
+ pins {
+ pinmux = <STM32_PINMUX('B', 1, ANALOG)>; /* DFSDM_DATIN1 */
+ };
+ };
+
+ dfsdm_datin3_pins_a: dfsdm-datin3-pins-0 {
+ pins {
+ pinmux = <STM32_PINMUX('F', 13, AF6)>; /* DFSDM_DATIN3 */
+ };
+ };
+
+ dfsdm_datin3_sleep_pins_a: dfsdm-datin3-sleep-pins-0 {
+ pins {
+ pinmux = <STM32_PINMUX('F', 13, ANALOG)>; /* DFSDM_DATIN3 */
+ };
+ };
+
i2c1_pins_a: i2c1-0 {
pins {
pinmux = <STM32_PINMUX('D', 12, AF5)>, /* I2C1_SCL */
--
2.25.1
next prev parent reply other threads:[~2023-09-19 16:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-19 16:30 [PATCH 0/2] ARM: dts: stm32: add dfsdm & sai pin muxings on stm32mp13 Olivier Moysan
2023-09-19 16:30 ` [PATCH 1/2] ARM: dts: stm32: add pins muxing for sai1 " Olivier Moysan
2023-09-19 16:30 ` Olivier Moysan [this message]
2023-09-22 10:24 ` [PATCH 0/2] ARM: dts: stm32: add dfsdm & sai pin muxings " Alexandre TORGUE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230919163009.203752-3-olivier.moysan@foss.st.com \
--to=olivier.moysan@foss.st.com \
--cc=alexandre.torgue@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).