[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250719063355.73111-4-hs@denx.de>
Date: Sat, 19 Jul 2025 08:33:54 +0200
From: Heiko Schocher <hs@...x.de>
To: linux-spi@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Heiko Schocher <hs@...x.de>,
Conor Dooley <conor+dt@...nel.org>,
Fabio Estevam <festevam@...il.com>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Rob Herring <robh@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Shawn Guo <shawnguo@...nel.org>,
devicetree@...r.kernel.org,
imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH v1 3/3] arm64: dts: imx8mp: add ABB spi sensors
add for the spi busses the ABB sensor trivial compatible
entry, so they can be accessed from userspace.
Signed-off-by: Heiko Schocher <hs@...x.de>
---
.../freescale/imx8mp-aristainetos3-helios.dts | 28 +++++++++++++++++++
.../imx8mp-aristainetos3-proton2s.dts | 22 +++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dts b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dts
index a4e649a8239b..b6ba6229acd7 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-helios.dts
@@ -52,6 +52,34 @@
};
};
+&ecspi1 {
+ spidev0_0: spi@0 {
+ reg = <0>;
+ compatible = "abb,spi-sensor";
+ spi-max-frequency = <54000000>;
+ };
+
+ spidev0_1: spi@1 {
+ compatible = "abb,spi-sensor";
+ reg = <1>;
+ spi-max-frequency = <54000000>;
+ };
+};
+
+&ecspi2 {
+ spidev1_0: spi@0 {
+ reg = <0>;
+ compatible = "abb,spi-sensor";
+ spi-max-frequency = <54000000>;
+ };
+
+ spidev1_1: spi@1 {
+ reg = <1>;
+ compatible = "abb,spi-sensor";
+ spi-max-frequency = <54000000>;
+ };
+};
+
ðphy1 {
status = "disabled";
};
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dts b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dts
index 2a736dbe96b4..e804688b2e74 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-aristainetos3-proton2s.dts
@@ -28,6 +28,28 @@
};
};
+&ecspi1 {
+ spidev0_0: spi@0 {
+ compatible = "abb,spi-sensor";
+ reg = <0>;
+ spi-max-frequency = <54000000>;
+ };
+
+ spidev0_1: spi@1 {
+ compatible = "abb,spi-sensor";
+ reg = <1>;
+ spi-max-frequency = <54000000>;
+ };
+};
+
+&ecspi2 {
+ spidev1_0: spi@0 {
+ compatible = "abb,spi-sensor";
+ reg = <0>;
+ spi-max-frequency = <54000000>;
+ };
+};
+
ðphy1 {
status = "disabled";
};
--
2.20.1
Powered by blists - more mailing lists