Commit 9e6a7c47 authored by Anson Huang's avatar Anson Huang Committed by Shawn Guo

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

Add magnetometer sensor mag3110 support on i2c3 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 ab43e984
...@@ -424,6 +424,15 @@ egalax_ts@4 { ...@@ -424,6 +424,15 @@ egalax_ts@4 {
wakeup-gpios = <&gpio6 7 0>; 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 { light-sensor@44 {
compatible = "isil,isl29023"; compatible = "isil,isl29023";
reg = <0x44>; reg = <0x44>;
...@@ -539,6 +548,12 @@ MX6QDL_PAD_EIM_DA9__GPIO3_IO09 0xb0b1 ...@@ -539,6 +548,12 @@ MX6QDL_PAD_EIM_DA9__GPIO3_IO09 0xb0b1
>; >;
}; };
pinctrl_i2c3_mag3110_int: i2c3mag3110intgrp {
fsl,pins = <
MX6QDL_PAD_EIM_D16__GPIO3_IO16 0xb0b1
>;
};
pinctrl_ipu1_csi0: ipu1csi0grp { pinctrl_ipu1_csi0: ipu1csi0grp {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12 0x1b0b0 MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12 0x1b0b0
......
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