Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2913a69 authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Tony Lindgren
Browse files

ARM: dts: omap4-droid4: Add compass



Add compass.

Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 594e808b
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -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";

	};
};