MLK-14451 ARM: dts: imx7ulp: Move dts entry for sensors into another dts
authorAdriana Reus <adriana.reus@nxp.com>
Wed, 12 Apr 2017 10:45:13 +0000 (13:45 +0300)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:20:55 +0000 (11:20 +0800)
Sensors are connected to M4 and not to A-Core.
Sensors will not be exposed to A-Core via standard
i2c interface but via an i2c proxy layer over rpmsg.

Remove the dts entry to avoid the probe error messages and
add a separate dts file for the case where someone wishes to
rework the board themselves and connect sensors for testing purposes.

Signed-off-by: Adriana Reus <adriana.reus@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
(cherry picked from commit 05f0c61222bcb43b400b239d780df1ee55c5668f)

arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx7ulp-evkb-sensors-to-i2c5.dts [new file with mode: 0644]

index 2ffd111..5b7b4b4 100644 (file)
@@ -730,6 +730,7 @@ dtb-$(CONFIG_SOC_IMX7ULP) += \
        imx7ulp-evkb-emmc.dtb \
        imx7ulp-evkb-sd1.dtb \
        imx7ulp-evkb-spi-slave.dtb \
+       imx7ulp-evkb-sensors-to-i2c5.dtb \
        imx7ulp-evkb-lpuart.dtb \
        imx7ulp-evkb-mipi.dtb \
        imx7ulp-evkb-rm68200-wxga.dtb \
diff --git a/arch/arm/boot/dts/imx7ulp-evkb-sensors-to-i2c5.dts b/arch/arm/boot/dts/imx7ulp-evkb-sensors-to-i2c5.dts
new file mode 100644 (file)
index 0000000..83a712b
--- /dev/null
@@ -0,0 +1,21 @@
+
+#include "imx7ulp-evkb.dts"
+
+&lpi2c5 {
+
+       fxas2100x@20 {
+               compatible = "fsl,fxas2100x";
+               reg = <0x20>;
+       };
+
+       fxos8700@1e {
+               compatible = "fsl,fxos8700";
+               reg = <0x1e>;
+       };
+
+       mpl3115@60 {
+               compatible = "fsl,mpl3115";
+               reg = <0x60>;
+       };
+
+};