* [PATCH v1 1/1] arm64: dts: imx95-var-dart-sonata: add CAN controller
@ 2026-05-28 15:29 Stefano Radaelli
0 siblings, 0 replies; only message in thread
From: Stefano Radaelli @ 2026-05-28 15:29 UTC (permalink / raw)
To: linux-kernel, devicetree, imx, linux-arm-kernel
Cc: pierluigi.p, Stefano Radaelli, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Frank Li, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam
From: Stefano Radaelli <stefano.r@variscite.com>
Add the MCP251xFD CAN controller connected to LPSPI7 chip select 1 on
the Sonata carrier board.
Add the second SPI chip select GPIO and describe the CAN interrupt and
pinctrl configuration.
Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
---
.../dts/freescale/imx95-var-dart-sonata.dts | 22 ++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx95-var-dart-sonata.dts b/arch/arm64/boot/dts/freescale/imx95-var-dart-sonata.dts
index 0f3d2e488f4a..62133b40d64b 100644
--- a/arch/arm64/boot/dts/freescale/imx95-var-dart-sonata.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-var-dart-sonata.dts
@@ -280,7 +280,8 @@ st33ktpm2xi2c: tpm@2e {
&lpspi7 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpspi7>;
- cs-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
+ cs-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>,
+ <&gpio1 7 GPIO_ACTIVE_LOW>;
status = "okay";
/* Resistive touch controller */
@@ -306,6 +307,18 @@ ads7846: touchscreen@0 {
ti,settle-delay-usec = /bits/ 16 <150>;
ti,keep-vref-on;
};
+
+ /* CAN controller */
+ can0: can@1 {
+ compatible = "microchip,mcp251xfd";
+ reg = <1>;
+ clocks = <&clk_osc_can0>;
+ interrupt-parent = <&gpio5>;
+ interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_can>;
+ spi-max-frequency = <12000000>;
+ };
};
/* Console */
@@ -442,6 +455,13 @@ IMX95_PAD_GPIO_IO37__GPIO5_IO_BIT17 0x31e
>;
};
+ pinctrl_can: cangrp {
+ fsl,pins = <
+ IMX95_PAD_GPIO_IO35__GPIO5_IO_BIT15 0x31e
+ IMX95_PAD_GPIO_IO22__GPIO2_IO_BIT22 0x31e
+ >;
+ };
+
pinctrl_captouch: captouchgrp {
fsl,pins = <
IMX95_PAD_GPIO_IO33__GPIO5_IO_BIT13 0x31e
--
2.47.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-28 15:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-28 15:29 [PATCH v1 1/1] arm64: dts: imx95-var-dart-sonata: add CAN controller Stefano Radaelli
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®