diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2016-04-12 11:34:02 +0200 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-04-20 22:03:15 +0200 |
commit | 2b9d49d8c749ce3c8f5cb28f54875a6f33fa1f72 (patch) | |
tree | 633935e6939b1e28558023284a5a3c2684056c70 /arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts | |
parent | ARM: dts: db600c: add spi support (diff) | |
download | linux-2b9d49d8c749ce3c8f5cb28f54875a6f33fa1f72.tar.xz linux-2b9d49d8c749ce3c8f5cb28f54875a6f33fa1f72.zip |
ARM: dts: db600c: add support to magnetometer
This patch adds support to on board LIS3MDLTR magnetometer.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to '')
-rw-r--r-- | arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts index 34bb4157872e..e01b27ea7fba 100644 --- a/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts +++ b/arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts @@ -153,6 +153,19 @@ /* On Low speed expansion and Sensors */ label = "LS-I2C0"; status = "okay"; + lis3mdl_mag@1e { + compatible = "st,lis3mdl-magn"; + reg = <0x1e>; + vdd-supply = <&vcc3v3>; + vddio-supply = <&pm8921_s4>; + pinctrl-names = "default"; + pinctrl-0 = <&magneto_pins>; + interrupt-parent = <&tlmm_pinmux>; + + st,drdy-int-pin = <2>; + interrupts = <48 IRQ_TYPE_EDGE_RISING>, /* DRDY line */ + <31 IRQ_TYPE_EDGE_RISING>; /* INT */ + }; }; }; |