[PATCH v1 3/3] arm64: dts: imx8mp: add ABB spi sensors
Heiko Schocher
hs at denx.de
Fri Jul 18 23:33:54 PDT 2025
add for the spi busses the ABB sensor trivial compatible
entry, so they can be accessed from userspace.
Signed-off-by: Heiko Schocher <hs at denx.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 at 0 {
+ reg = <0>;
+ compatible = "abb,spi-sensor";
+ spi-max-frequency = <54000000>;
+ };
+
+ spidev0_1: spi at 1 {
+ compatible = "abb,spi-sensor";
+ reg = <1>;
+ spi-max-frequency = <54000000>;
+ };
+};
+
+&ecspi2 {
+ spidev1_0: spi at 0 {
+ reg = <0>;
+ compatible = "abb,spi-sensor";
+ spi-max-frequency = <54000000>;
+ };
+
+ spidev1_1: spi at 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 at 0 {
+ compatible = "abb,spi-sensor";
+ reg = <0>;
+ spi-max-frequency = <54000000>;
+ };
+
+ spidev0_1: spi at 1 {
+ compatible = "abb,spi-sensor";
+ reg = <1>;
+ spi-max-frequency = <54000000>;
+ };
+};
+
+&ecspi2 {
+ spidev1_0: spi at 0 {
+ compatible = "abb,spi-sensor";
+ reg = <0>;
+ spi-max-frequency = <54000000>;
+ };
+};
+
ðphy1 {
status = "disabled";
};
--
2.20.1
More information about the linux-arm-kernel
mailing list