diff options
author | Anson Huang <anson.huang@nxp.com> | 2018-12-06 01:42:38 +0000 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-12-10 10:03:08 +0800 |
commit | 9e6a7c47c3c4b5478c0ba0e42b271930038b1765 (patch) | |
tree | f9192647bdd00fbdb24277e6002b2468518897c9 /arch/arm/boot/dts/imx6qdl-sabresd.dtsi | |
parent | ab43e984049008ecfca7cba7a9d7666da4916d2e (diff) | |
download | linux-9e6a7c47c3c4b5478c0ba0e42b271930038b1765.tar.gz linux-9e6a7c47c3c4b5478c0ba0e42b271930038b1765.tar.bz2 linux-9e6a7c47c3c4b5478c0ba0e42b271930038b1765.zip |
ARM: dts: imx6qdl-sabresd: add magnetometer sensor support
Add magnetometer sensor mag3110 support on i2c3 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>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-sabresd.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index 2e071b20b1fc..366fa8fbae4d 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -424,6 +424,15 @@ wakeup-gpios = <&gpio6 7 0>; }; + magnetometer@e { + compatible = "fsl,mag3110"; + reg = <0x0e>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c3_mag3110_int>; + interrupt-parent = <&gpio3>; + interrupts = <16 IRQ_TYPE_EDGE_RISING>; + }; + light-sensor@44 { compatible = "isil,isl29023"; reg = <0x44>; @@ -539,6 +548,12 @@ >; }; + pinctrl_i2c3_mag3110_int: i2c3mag3110intgrp { + fsl,pins = < + MX6QDL_PAD_EIM_D16__GPIO3_IO16 0xb0b1 + >; + }; + pinctrl_ipu1_csi0: ipu1csi0grp { fsl,pins = < MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12 0x1b0b0 |