ARM: dts: imx6qdl-sabresd: add accelerometer sensor support
Add accelerometer sensor mma8451 support on i2c1 bus. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
9e6a7c47c3
commit
47853f18b6
|
@ -243,6 +243,15 @@
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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 @@
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue