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

Commit 964655fc authored by Arjun Singh's avatar Arjun Singh
Browse files

ARM: dts: msm: add bg-spi node to apq8009w Blackghost WTP



Add bg-spi node to support Bgcom driver on apq variant. bgcom
driver is a thin layer over SPI to communicate with Blackghost.
Add gpio to handle interrupt raised by Blackghost.

Signed-off-by: default avatarArjun Singh <arsingh@codeaurora.org>
Change-Id: I87ec1db95eeab799d3431295e9fcaa2264a80d7b
parent dde75303
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -87,6 +87,20 @@
	pinctrl-0 = <&uart_console_sleep>;
};

&soc
{
	spi@78b6000 { /* BLSP1 QUP2 */
		status = "ok";
		qcom,bg-spi {
			compatible = "qcom,bg-spi";
			reg = <0>;
			spi-max-frequency = <19200000>;
			interrupt-parent = <&msm_gpio>;
			qcom,irq-gpio = <&msm_gpio 110 1>;
		};
	};
};

/* Pinctrl dt nodes for interrupt and reset gpio for ITE tech controller */
&ts_int_active {
	mux {
+14 −0
Original line number Diff line number Diff line
@@ -102,3 +102,17 @@
	pinctrl-names = "default";
	pinctrl-0 = <&uart_console_sleep>;
};

&soc
{
	spi@78b6000 { /* BLSP1 QUP2 */
		status = "ok";
		qcom,bg-spi {
			compatible = "qcom,bg-spi";
			reg = <0>;
			spi-max-frequency = <19200000>;
			interrupt-parent = <&msm_gpio>;
			qcom,irq-gpio = <&msm_gpio 110 1>;
		};
	};
};