Commit 47853f18 authored by Anson Huang's avatar Anson Huang Committed by Shawn Guo

ARM: dts: imx6qdl-sabresd: add accelerometer sensor support

Add accelerometer sensor mma8451 support on i2c1 bus.
Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 9e6a7c47
...@@ -243,6 +243,15 @@ codec: wm8962@1a { ...@@ -243,6 +243,15 @@ codec: wm8962@1a {
>; >;
}; };
accelerometer@1c {
compatible = "fsl,mma8451";
reg = <0x1c>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c1_mma8451_int>;
interrupt-parent = <&gpio1>;
interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
};
ov5642: camera@3c { ov5642: camera@3c {
compatible = "ovti,ov5642"; compatible = "ovti,ov5642";
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -522,6 +531,12 @@ MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1 ...@@ -522,6 +531,12 @@ MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1
>; >;
}; };
pinctrl_i2c1_mma8451_int: i2c1mma8451intgrp {
fsl,pins = <
MX6QDL_PAD_SD1_CMD__GPIO1_IO18 0xb0b1
>;
};
pinctrl_i2c2: i2c2grp { pinctrl_i2c2: i2c2grp {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment