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

Commit 4892f465 authored by Bansidhar Gopalachari's avatar Bansidhar Gopalachari
Browse files

ARM: dts: msm: Add NFC device for samarium



Add nfc nci device to the device tree for samarium  and nfcc is
dependant on i2c BLSP1 QUP6. The data is represented in
device tree format and pass by the driver using of framework API

Change-Id: I550e48dec6acc09f72756597e0ce84bb1c0db631
Acked-by: default avatarUmesh Jagga <ujagga@qti.qualcomm.com>
Signed-off-by: default avatarBansidhar Gopalachari <bansid@codeaurora.org>
parent d6e87cbf
Loading
Loading
Loading
Loading
+21 −2
Original line number Diff line number Diff line
@@ -24,6 +24,20 @@
		startup-delay-us = <500>;
		enable-active-high;
	};

	i2c@f9928000 { /* BLSP1 QUP6 */
		nfc-nci@0e {
			compatible = "qcom,nfc-nci";
			reg = <0x0e>;
			qcom,irq-gpio = <&msmgpio 59 0x00>;
			qcom,dis-gpio = <&msmgpio 60 0x00>;
			qcom,clk-src = "BBCLK2";
			qcom,clk-en-gpio = <&msmgpio 0 0x00>;
			interrupt-parent = <&msmgpio>;
			interrupts = <59 0>;
			qcom,clk-gpio = <&pma8084_gpios 12 0>;
		};
	};
};

&blsp1_uart1 {
@@ -108,7 +122,7 @@
	};

	gpio@c900 { /* GPIO 10 */
		/* NFC clock request */
		/* NFC power request */
	};

	gpio@ca00 { /* GPIO 11 */
@@ -116,7 +130,12 @@
	};

	gpio@cb00 { /* GPIO 12 */
		/* NFC power request */
		/* NFC clk request */
		qcom,mode = <0>;		/* QPNP_PIN_MODE_DIG_IN */
		qcom,pull = <5>;		/* QPNP_PIN_PULL_NO */
		qcom,vin-sel = <2>;		/* QPNP_PIN_VIN2 */
		qcom,src-sel = <2>;		/* QPNP_PIN_SEL_FUNC_1 */
		qcom,master-en = <1>;
	};

	gpio@cc00 { /* GPIO 13 */
+16 −0
Original line number Diff line number Diff line
@@ -1171,6 +1171,22 @@
		qcom,master-id = <84>;
	};

	i2c@f9928000 { /* BLSP-1 QUP-6 */
		cell-index = <3>;
		compatible = "qcom,i2c-qup";
		reg = <0xf9928000 0x1000>;
		#address-cells = <1>;
		#size-cells = <0>;
		reg-names = "qup_phys_addr";
		interrupts = <0 100 0>;
		interrupt-names = "qup_err_intr";
		qcom,i2c-bus-freq = <400000>;
		qcom,i2c-src-freq = <19200000>;
		qcom,sda-gpio = <&msmgpio 87 0>;
		qcom,scl-gpio = <&msmgpio 88 0>;
		qcom,master-id = <86>;
	};

	qcom,wdt@f9017000 {
		compatible = "qcom,msm-watchdog";
		reg = <0xf9017000 0x1000>;