ARM: dts: ux500: samsung-skomer: Add magnetometer

Add the ALPS magnetometer to the Skomer phone.

Cc: Stephan Gerhold <stephan@gerhold.net>
Cc: Nick Reitemeyer <nick.reitemeyer@web.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20200430150245.7935-2-linus.walleij@linaro.org
This commit is contained in:
Linus Walleij 2020-04-30 17:02:45 +02:00
parent 521d6678b9
commit 3c278a4749

View File

@ -140,7 +140,12 @@ i2c-gpio-1 {
pinctrl-0 = <&i2c_gpio_1_default>;
#address-cells = <1>;
#size-cells = <0>;
/* TODO: this should be used by the ALPS HSCDTD008A compass sensor */
magnetometer@c {
compatible = "alps,hscdtd008a";
reg = <0x0c>;
avdd-supply = <&ab8500_ldo_aux1_reg>;
dvdd-supply = <&ab8500_ldo_aux8_reg>;
};
};
soc {