All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: linux-arm-kernel@lists.infradead.org
Cc: Marek Vasut <marex@denx.de>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	linux-stm32@st-md-mailman.stormreply.com
Subject: [PATCH v3 3/7] ARM: dts: stm32: Add alternate pinmux for SPI2 pins
Date: Sun, 26 Jun 2022 02:21:01 +0200	[thread overview]
Message-ID: <20220626002105.198854-3-marex@denx.de> (raw)
In-Reply-To: <20220626002105.198854-1-marex@denx.de>

Add another mux option for SPI2 pins, this is used on DRC Compact board.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
---
V2: No change
V3: Fix SPI1_ comments to SPI2_ to match reality
---
 arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
index b4cfa11fc9be9..58f5924902b82 100644
--- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
@@ -1879,6 +1879,21 @@ pins2 {
 		};
 	};
 
+	spi2_pins_b: spi2-1 {
+		pins1 {
+			pinmux = <STM32_PINMUX('I', 1, AF5)>, /* SPI2_SCK */
+				 <STM32_PINMUX('I', 3, AF5)>; /* SPI2_MOSI */
+			bias-disable;
+			drive-push-pull;
+			slew-rate = <1>;
+		};
+
+		pins2 {
+			pinmux = <STM32_PINMUX('I', 2, AF5)>; /* SPI2_MISO */
+			bias-disable;
+		};
+	};
+
 	spi4_pins_a: spi4-0 {
 		pins {
 			pinmux = <STM32_PINMUX('E', 12, AF5)>, /* SPI4_SCK */
-- 
2.35.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-06-26  0:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-26  0:20 [PATCH v3 1/7] dt-bindings: arm: stm32: Add compatible string for DH electronics DHCOR DRC Compact Marek Vasut
2022-06-26  0:20 ` Marek Vasut
2022-06-26  0:21 ` [PATCH v3 2/7] ARM: dts: stm32: Add alternate pinmux for CAN1 pins Marek Vasut
2022-06-26  0:21 ` Marek Vasut [this message]
2022-06-26  0:21 ` [PATCH v3 4/7] ARM: dts: stm32: Add alternate pinmux for UART3 pins Marek Vasut
2022-06-26  0:21 ` [PATCH v3 5/7] ARM: dts: stm32: Add alternate pinmux for UART4 pins Marek Vasut
2022-06-26  0:21 ` [PATCH v3 6/7] ARM: dts: stm32: Add alternate pinmux for UART5 pins Marek Vasut
2022-06-26  0:21 ` [PATCH v3 7/7] ARM: dts: stm32: Add DHCOR based DRC Compact board Marek Vasut
2022-07-01 12:25   ` Alexandre TORGUE
2022-06-30 23:12 ` [PATCH v3 1/7] dt-bindings: arm: stm32: Add compatible string for DH electronics DHCOR DRC Compact Rob Herring
2022-06-30 23:12   ` Rob Herring

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=20220626002105.198854-3-marex@denx.de \
    --to=marex@denx.de \
    --cc=alexandre.torgue@foss.st.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.