From: Sean Nyekjaer <sean@geanix.com>
To: a.fatoum@pengutronix.de, 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: Sean Nyekjaer <sean@geanix.com>,
dantuguf14105@gmail.com,
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 v3 3/8] ARM: dts: stm32: Add alternate pinmux for can pins
Date: Wed, 12 Jul 2023 08:29:48 +0200 [thread overview]
Message-ID: <20230712062954.2194505-3-sean@geanix.com> (raw)
In-Reply-To: <20230712062954.2194505-1-sean@geanix.com>
Add another mux option for can pins, this is used on Octavo OSD32MP1-RED board.
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Reviewed-by: Olivier Moysan <olivier.moysan@foss.st.com>
---
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
index 422db6dd466c..537908a20efb 100644
--- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
@@ -1144,6 +1144,26 @@ pins {
};
};
+ m_can1_pins_d: m-can1-3 {
+ pins1 {
+ pinmux = <STM32_PINMUX('D', 1, AF9)>; /* CAN1_TX */
+ slew-rate = <1>;
+ drive-push-pull;
+ bias-disable;
+ };
+ pins2 {
+ pinmux = <STM32_PINMUX('D', 0, AF9)>; /* CAN1_RX */
+ bias-disable;
+ };
+ };
+
+ m_can1_sleep_pins_d: m_can1-sleep-3 {
+ pins {
+ pinmux = <STM32_PINMUX('D', 1, ANALOG)>, /* CAN1_TX */
+ <STM32_PINMUX('D', 0, ANALOG)>; /* CAN1_RX */
+ };
+ };
+
m_can2_pins_a: m-can2-0 {
pins1 {
pinmux = <STM32_PINMUX('B', 13, AF9)>; /* CAN2_TX */
--
2.40.0
next prev parent reply other threads:[~2023-07-12 6:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-12 6:29 [PATCH v3 1/8] ARM: dts: stm32: Add alternate pinmux for i2s pins Sean Nyekjaer
2023-07-12 6:29 ` [PATCH v3 2/8] ARM: dts: stm32: Add alternate pinmux for ldtc pins Sean Nyekjaer
2023-07-12 6:29 ` Sean Nyekjaer [this message]
2023-07-12 6:29 ` [PATCH v3 4/8] ARM: dts: stm32: osd32: fix ldo1 not required to be always-on Sean Nyekjaer
2023-07-12 6:29 ` [PATCH v3 5/8] ARM: dts: stm32: osd32: fix ldo2 " Sean Nyekjaer
2023-07-12 6:29 ` [PATCH v3 6/8] ARM: dts: stm32: osd32: fix ldo6 " Sean Nyekjaer
2023-07-12 6:29 ` [PATCH v3 7/8] dt-bindings: arm: stm32: add extra SiP compatible for oct,stm32mp157c-osd32-red Sean Nyekjaer
2023-07-12 8:38 ` Ahmad Fatoum
2023-07-12 9:11 ` Sean Nyekjaer
2023-07-12 9:18 ` Ahmad Fatoum
2023-07-12 12:19 ` Leonard Göhrs
2023-07-12 6:29 ` [PATCH v3 8/8] ARM: dts: stm32: Add Octavo OSD32MP1-RED board Sean Nyekjaer
2023-07-12 8:34 ` Krzysztof Kozlowski
2023-07-12 9:17 ` Sean Nyekjaer
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=20230712062954.2194505-3-sean@geanix.com \
--to=sean@geanix.com \
--cc=a.fatoum@pengutronix.de \
--cc=alexandre.torgue@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=dantuguf14105@gmail.com \
--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=olivier.moysan@foss.st.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).