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

Commit 36e5fb16 authored by shaoxing's avatar shaoxing Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: support spi0 and imu9250 sensor for APQ8096 drone



Apq8096 drone has a imu9250 sensor mounted on spi0.
Enable and update the spi0 node configuration.

Change-Id: I4267694c045132160148fc6bcae8c8289b5280fe
Signed-off-by: default avatarshaoxing <shaoxing@codeaurora.org>
parent 3d9ef14d
Loading
Loading
Loading
Loading
+13 −4
Original line number Original line Diff line number Diff line
/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * it under the terms of the GNU General Public License version 2 and
@@ -249,9 +249,18 @@
	};
	};


	spi@7575000 { /* BLSP1 QUP1 - SPI1 */
	spi@7575000 { /* BLSP1 QUP1 - SPI1 */
		pinctrl-0 = <&spi_0_active &spi_0_cs0_active &spi_0_cs1_active>;
		pinctrl-0 = <&spi_0_active>;
		pinctrl-1 = <&spi_0_sleep &spi_0_cs0_sleep &spi_0_cs1_sleep>;
		pinctrl-1 = <&spi_0_sleep>;
		status = "disabled";
		status = "ok";
		mpu9250-spi@0 {
			compatible = "invn,mpu9250";
			reg = <0>;
			spi-max-frequency = <8000000>;
			invn,mpu9250-irq = <&tlmm 79 0>;
			spi-cpol;
			spi-cpha;
			status = "ok";
		};
	};
	};


	spi@75B8000 { /* BLSP2 QUP4 - SPI10 */
	spi@75B8000 { /* BLSP2 QUP4 - SPI10 */