summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-03-01 14:58:49 +0100
committerTony Lindgren <tony@atomide.com>2014-03-02 09:51:47 -0800
commit32f2c393fcf4dfc51be310856cdb16e6f1d0edf9 (patch)
treef9c316b5f59e2caaa7cc890d3018a759be1f01c0 /arch
parenteda1a4bf10e23e50d682d18bbab1a279f46a6924 (diff)
downloadlinux-32f2c393fcf4dfc51be310856cdb16e6f1d0edf9.tar.bz2
ARM: dts: omap3-gta04: Add support for magnetometer
Add magnetometer hmc5843 node. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Marek Belisko <marek@goldelico.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/omap3-gta04.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts
index b9b55c95a566..7144ccde1e5a 100644
--- a/arch/arm/boot/dts/omap3-gta04.dts
+++ b/arch/arm/boot/dts/omap3-gta04.dts
@@ -122,6 +122,12 @@
reg = <0x4>;
};
};
+
+ /* compass aka magnetometer */
+ hmc5843@1e {
+ compatible = "honeywell,hmc5843";
+ reg = <0x1e>;
+ };
};
&i2c3 {