blob: cdd1e68dd1bd45aa46325a1f3b9a9e0241b64d91 [file] [log] [blame]
Madan Mohan Koyyalamudif2e7dcc2013-06-18 13:03:26 -07001Qualcomm QCA199x NFC NCI device
2
3Near Field Communication (NFC) device is based on NFC Controller Interface (NCI)
4
5Required properties:
6
7- compatible: "qcom,nfc-nci"
8- reg: NCI i2c slave address.
9- qcom,dis-gpio: specific gpio for hardware reset.
10- qcom,irq-gpio: specific gpio for read interrupt.
Bansidhar Gopalacharibe0e4d92013-09-19 19:30:36 +010011- qcom,clk-src: nfc clock source ("BBCLK2", "RFCLK3", "GPCLK", ...)
12- qcom,clk-en-gpio: msm gpio clock,used ony if clock source is msm gpio
Madan Mohan Koyyalamudif2e7dcc2013-06-18 13:03:26 -070013- interrupt-parent: Should be phandle for the interrupt controller
14 that services interrupts for this device.
15- interrupts: should contain the NFC interrupt. NFC has one read interrupt.
16- qcom,clk-gpio: pmic gpio on which bbclk2 signal is coming.
17
18Example:
19
20 i2c@f9925000 { /* BLSP1 QUP3 */
21 nfc-nci@0e {
22 compatible = "qcom,nfc-nci";
23 reg = <0x0e>;
24 qcom,irq-gpio = <&msmgpio 21 0x00>;
25 qcom,dis-gpio = <&msmgpio 20 0x00>;
Bansidhar Gopalacharibe0e4d92013-09-19 19:30:36 +010026 qcom,clk-src = "BBCLK2";
27 qcom,clk-en-gpio = <&msmgpio 0 0x00>;
Madan Mohan Koyyalamudif2e7dcc2013-06-18 13:03:26 -070028 interrupt-parent = <&msmgpio>;
29 interrupts = <21 0>;
30 qcom,clk-gpio = <&pm8226_gpios 3 0>;
31 };
32 };