Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Anson Huang and committed by
Shawn Guo
47853f18 9e6a7c47

+15
+15
arch/arm/boot/dts/imx6qdl-sabresd.dtsi
··· 243 243 >; 244 244 }; 245 245 246 + accelerometer@1c { 247 + compatible = "fsl,mma8451"; 248 + reg = <0x1c>; 249 + pinctrl-names = "default"; 250 + pinctrl-0 = <&pinctrl_i2c1_mma8451_int>; 251 + interrupt-parent = <&gpio1>; 252 + interrupts = <18 IRQ_TYPE_LEVEL_LOW>; 253 + }; 254 + 246 255 ov5642: camera@3c { 247 256 compatible = "ovti,ov5642"; 248 257 pinctrl-names = "default"; ··· 528 519 fsl,pins = < 529 520 MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1 530 521 MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1 522 + >; 523 + }; 524 + 525 + pinctrl_i2c1_mma8451_int: i2c1mma8451intgrp { 526 + fsl,pins = < 527 + MX6QDL_PAD_SD1_CMD__GPIO1_IO18 0xb0b1 531 528 >; 532 529 }; 533 530