From: <Ryan.Wanner@microchip.com>
To: <herbert@gondor.apana.org.au>, <davem@davemloft.net>,
<robh@kernel.org>, <krzk+dt@kernel.org>, <conor+dt@kernel.org>,
<nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>,
<claudiu.beznea@tuxon.dev>, <olivia@selenic.com>
Cc: <linux-crypto@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
"Ryan Wanner" <Ryan.Wanner@microchip.com>
Subject: [PATCH 9/9] ARM: dts: microchip: sama7d65: Enable CAN bus
Date: Mon, 12 May 2025 12:27:35 -0700 [thread overview]
Message-ID: <0e34e0416c43f4de6d2cef5cea46087af4577a50.1747077616.git.Ryan.Wanner@microchip.com> (raw)
In-Reply-To: <cover.1747077616.git.Ryan.Wanner@microchip.com>
From: Ryan Wanner <Ryan.Wanner@microchip.com>
Enable CAN bus for SAMA7D65 curiosity board.
Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
---
.../dts/microchip/at91-sama7d65_curiosity.dts | 35 +++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
index 53a657cf4efb..34935179897e 100644
--- a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
+++ b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
@@ -38,7 +38,24 @@ reg_5v: regulator-5v {
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
+};
+
+&can1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_can1_default>;
+ status = "okay";
+};
+&can2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_can2_default>;
+ status = "okay";
+};
+
+&can3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_can3_default>;
+ status = "okay";
};
&dma0 {
@@ -278,6 +295,24 @@ &main_xtal {
};
&pioa {
+ pinctrl_can1_default: can1-default {
+ pinmux = <PIN_PD10__CANTX1>,
+ <PIN_PD11__CANRX1>;
+ bias-disable;
+ };
+
+ pinctrl_can2_default: can2-default {
+ pinmux = <PIN_PD12__CANTX2>,
+ <PIN_PD13__CANRX2>;
+ bias-disable;
+ };
+
+ pinctrl_can3_default: can3-default {
+ pinmux = <PIN_PD14__CANTX3>,
+ <PIN_PD15__CANRX3>;
+ bias-disable;
+ };
+
pinctrl_gmac0_default: gmac0-default {
pinmux = <PIN_PA26__G0_TX0>,
<PIN_PA27__G0_TX1>,
--
2.43.0
next prev parent reply other threads:[~2025-05-12 19:29 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-12 19:27 [PATCH 0/9] SAMA7D65 Add support for Crypto, CAN and PWM Ryan.Wanner
2025-05-12 19:27 ` [PATCH 1/9] dt-bindings: crypto: add sama7d65 in Atmel AES Ryan.Wanner
2025-05-12 20:54 ` Rob Herring (Arm)
2025-06-07 11:40 ` Claudiu Beznea
2025-05-12 19:27 ` [PATCH 2/9] dt-bindings: crypto: add sama7d65 in Atmel SHA Ryan.Wanner
2025-05-12 20:54 ` Rob Herring (Arm)
2025-05-12 19:27 ` [PATCH 3/9] dt-bindings: crypto: add sama7d65 in Atmel TDES Ryan.Wanner
2025-05-12 20:54 ` Rob Herring (Arm)
2025-05-12 19:27 ` [PATCH 4/9] dt-bindings: rng: atmel,at91-trng: add sama7d65 TRNG Ryan.Wanner
2025-05-14 21:55 ` Rob Herring (Arm)
2025-06-07 11:41 ` Claudiu Beznea
2025-05-12 19:27 ` [PATCH 5/9] crypto: atmel - add support for AES and SHA IPs available on sama7d65 SoC Ryan.Wanner
2025-05-12 19:27 ` [PATCH 6/9] ARM: dts: microchip: sama7d65: Add crypto support Ryan.Wanner
2025-06-07 11:41 ` Claudiu Beznea
2025-05-12 19:27 ` [PATCH 7/9] ARM: dts: microchip: sama7d65: Add PWM support Ryan.Wanner
2025-06-07 11:42 ` Claudiu Beznea
2025-05-12 19:27 ` [PATCH 8/9] ARM: dts: microchip: sama7d65: Add CAN bus support Ryan.Wanner
2025-06-07 11:43 ` Claudiu Beznea
2025-05-12 19:27 ` Ryan.Wanner [this message]
2025-06-07 11:44 ` [PATCH 9/9] ARM: dts: microchip: sama7d65: Enable CAN bus Claudiu Beznea
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=0e34e0416c43f4de6d2cef5cea46087af4577a50.1747077616.git.Ryan.Wanner@microchip.com \
--to=ryan.wanner@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
--cc=olivia@selenic.com \
--cc=robh@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
all inboxes | Powered by JetHome®