From 93deea9a60041e9c56bba97b6d3fb0bd147f5ebe Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Wed, 29 Apr 2015 14:08:38 +0200 Subject: ARM: ux500: fix lsm303dlh magnetometer compat string The magnetometer found on the Ux500 TVK and Snowball boards is a LSM303DLH not a LSM303DLM, small differences but still different. Put in the right compatible strings and things start working smoothly. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/ste-snowball.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/arm/boot/dts/ste-snowball.dts') diff --git a/arch/arm/boot/dts/ste-snowball.dts b/arch/arm/boot/dts/ste-snowball.dts index 206826a855c0..3844bbe61d71 100644 --- a/arch/arm/boot/dts/ste-snowball.dts +++ b/arch/arm/boot/dts/ste-snowball.dts @@ -250,9 +250,9 @@ pinctrl-names = "default"; pinctrl-0 = <&accel_snowball_mode>; }; - lsm303dlm@1e { + lsm303dlh@1e { /* Magnetometer */ - compatible = "st,lsm303dlm-magn"; + compatible = "st,lsm303dlh-magn"; reg = <0x1e>; vdd-supply = <&ab8500_ldo_aux1_reg>; vddio-supply = <&db8500_vsmps2_reg>; -- cgit v1.2.3