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 <linus.walleij@linaro.org>
This commit is contained in:
parent
b557457f63
commit
93deea9a60
@ -100,9 +100,9 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&accel_tvk_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>;
|
||||
|
@ -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>;
|
||||
|
Loading…
Reference in New Issue
Block a user