diff options
author | Sebastian Reichel <sre@kernel.org> | 2017-03-06 05:11:57 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-03-06 17:04:30 +0100 |
commit | d2913a69929b777af896f3343edd0dcde5ff700d (patch) | |
tree | 658eec5ad0774a97aea42ce3a926d83b8db566f6 /arch/arm/boot/dts/omap4-droid4-xt894.dts | |
parent | ARM: dts: motorola-cpcap-mapphone: add pwrbutton (diff) | |
download | linux-d2913a69929b777af896f3343edd0dcde5ff700d.tar.xz linux-d2913a69929b777af896f3343edd0dcde5ff700d.zip |
ARM: dts: omap4-droid4: Add compass
Add compass.
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap4-droid4-xt894.dts')
-rw-r--r-- | arch/arm/boot/dts/omap4-droid4-xt894.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-droid4-xt894.dts b/arch/arm/boot/dts/omap4-droid4-xt894.dts index ac3df1f99131..31638598331a 100644 --- a/arch/arm/boot/dts/omap4-droid4-xt894.dts +++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts @@ -264,3 +264,20 @@ mode = <3>; power = <50>; }; + +&i2c4 { + ak8975: magnetometer@c { + compatible = "asahi-kasei,ak8975"; + reg = <0x0c>; + + vdd-supply = <&vhvio>; + + interrupt-parent = <&gpio6>; + interrupts = <15 IRQ_TYPE_EDGE_RISING>; /* gpio175 */ + + rotation-matrix = "-1", "0", "0", + "0", "1", "0", + "0", "0", "-1"; + + }; +}; |