Commit 3649a120 authored by Rudraksha Gupta's avatar Rudraksha Gupta Committed by Bjorn Andersson
Browse files

ARM: dts: qcom: msm8960: expressatt: Add Magnetometer

parent 7f07c278
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -487,3 +487,22 @@ nfc@2b {
		pinctrl-names = "default";
	};
};

&gsbi12 {
	qcom,mode = <GSBI_PROT_I2C>;

	status = "okay";
};

&gsbi12_i2c {
	status = "okay";

	magnetometer@2e {
		compatible = "yamaha,yas532";
		reg = <0x2e>;
		vdd-supply = <&pm8921_l9>;
		iovdd-supply = <&pm8921_lvs4>;

		/* TODO: Figure out Mount Matrix */
	};
};