1 From 62e7f0b553038e3a1a1b2b067dd1fbdacd634e37 Mon Sep 17 00:00:00 2001
2 From: Robert Jones <rjones@gateworks.com>
3 Date: Fri, 14 Feb 2020 13:02:41 -0800
4 Subject: [PATCH] ARM: dts: imx6qdl-gw553x: add lsm9ds1 iio imu/magn support
6 Add one node for the accel/gyro i2c device and another for the separate
7 magnetometer device in the lsm9ds1.
9 Signed-off-by: Robert Jones <rjones@gateworks.com>
10 Signed-off-by: Shawn Guo <shawnguo@kernel.org>
12 arch/arm/boot/dts/imx6qdl-gw553x.dtsi | 31 +++++++++++++++++++++++++++++++
13 1 file changed, 31 insertions(+)
15 --- a/arch/arm/boot/dts/imx6qdl-gw553x.dtsi
16 +++ b/arch/arm/boot/dts/imx6qdl-gw553x.dtsi
18 pinctrl-0 = <&pinctrl_i2c2>;
22 + compatible = "st,lsm9ds1-magn";
24 + pinctrl-names = "default";
25 + pinctrl-0 = <&pinctrl_mag>;
26 + interrupt-parent = <&gpio1>;
27 + interrupts = <2 IRQ_TYPE_EDGE_RISING>;
31 + compatible = "st,lsm9ds1-imu";
33 + st,drdy-int-pin = <1>;
34 + pinctrl-names = "default";
35 + pinctrl-0 = <&pinctrl_imu>;
36 + interrupt-parent = <&gpio7>;
37 + interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
41 compatible = "lltc,ltc3676";
47 + pinctrl_imu: imugrp {
49 + MX6QDL_PAD_GPIO_18__GPIO7_IO13 0x1b0b0
53 pinctrl_ipu1_csi0: ipu1csi0grp {
55 MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12 0x1b0b0
60 + pinctrl_mag: maggrp {
62 + MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0
66 pinctrl_pcie: pciegrp {
68 MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0