summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaoran Wang <b50027@freescale.com>2015-05-04 21:29:01 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2015-05-08 17:26:52 +0800
commit2a09acfb950a98e7e5779230938dc851f3120b8e (patch)
tree99e26c0db095fe5ac8ed1caddb0ca2e4dc032005
parent71648230698d3e18cd2c06ac29ac0097f672e83b (diff)
MA-6376-1 Add DTS for sensors on sabresd_7d
Added DTS for fxos8700, fxas2100 and mpl3115. Modify SENSORS_RST pin to be always high in SPI GPIO. Signed-off-by: Haoran Wang <b50027@freescale.com>
-rw-r--r--arch/arm/boot/dts/imx7d-sdb.dts31
1 files changed, 30 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts
index 3256aa9c3f4e..d382e18299ad 100644
--- a/arch/arm/boot/dts/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/imx7d-sdb.dts
@@ -135,7 +135,7 @@
#gpio-cells = <2>;
reg = <0>;
registers-number = <1>;
- registers-default = /bits/ 8 <0x44>; /* Enable PERI_3V3 and HDMI_RST*/
+ registers-default = /bits/ 8 <0x54>; /* Enable PERI_3V3 and HDMI_RST*/
spi-max-frequency = <100000>;
};
};
@@ -336,6 +336,35 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2>;
status = "okay";
+
+
+ fxos8700@0e {
+ compatible = "fsl,fxos8700";
+ reg = <0x1e>;
+ position = <3>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <5 1>;
+ shared-interrupt;
+ };
+
+ fxas2100x@0e {
+ compatible = "fsl,fxas2100x";
+ reg = <0x20>;
+ position = <3>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <5 1>;
+ shared-interrupt;
+ };
+
+ mpl3115@0e {
+ compatible = "fsl,mpl3115";
+ reg = <0x60>;
+ position = <3>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <5 1>;
+ shared-interrupt;
+ };
+
};
&i2c3 {