summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdriana Reus <adriana.reus@nxp.com>2017-04-12 13:45:13 +0300
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 16:09:45 +0800
commit6e65f83857ddf720badbae6d679772a1927a1b42 (patch)
tree1219d1d1e30983a37f494d71f5c6b92acf647879
parent2f6b19528e7a206d99b131b7fbfb0f0b9cbac27d (diff)
MLK-14451 ARM: dts: imx7ulp: Move dts entry for sensors into another dts
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)
-rw-r--r--arch/arm/boot/dts/Makefile1
-rw-r--r--arch/arm/boot/dts/imx7ulp-evkb-sensors-to-i2c5.dts21
2 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 0e90f38a3d85..264aedde7ce8 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -677,6 +677,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
index 000000000000..83a712b9b4f3
--- /dev/null
+++ b/arch/arm/boot/dts/imx7ulp-evkb-sensors-to-i2c5.dts
@@ -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>;
+ };
+
+};