From 95283b892955d03f60d698702d354636085d4d4c Mon Sep 17 00:00:00 2001 From: Adriana Reus Date: Wed, 12 Apr 2017 13:45:13 +0300 Subject: [PATCH] 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 Signed-off-by: Arulpandiyan Vadivel Signed-off-by: Srikanth Krishnakar (cherry picked from commit 05f0c61222bcb43b400b239d780df1ee55c5668f) --- arch/arm/boot/dts/Makefile | 1 + .../boot/dts/imx7ulp-evkb-sensors-to-i2c5.dts | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 arch/arm/boot/dts/imx7ulp-evkb-sensors-to-i2c5.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 2ffd111cb221..5b7b4b4dbeff 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -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 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>; + }; + +}; -- 2.17.1