From 32f2c393fcf4dfc51be310856cdb16e6f1d0edf9 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Sat, 1 Mar 2014 14:58:49 +0100 Subject: [PATCH] ARM: dts: omap3-gta04: Add support for magnetometer Add magnetometer hmc5843 node. Signed-off-by: NeilBrown Signed-off-by: Marek Belisko Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/omap3-gta04.dts | 6 ++++++ 1 file changed, 6 insertions(+) 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 {