blob: dca7d5c0b50aba81ed378c6f4d94b97c3b660dcb [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.
Houston Hoffman326e02a2013-11-14 03:16:58 -080011- qcom,clk-src: nfc clock source ("BBCLK2", "RFCLK3", "GPCLK","GPCLK2" ...)
Bansidhar Gopalacharibe0e4d92013-09-19 19:30:36 +010012- qcom,clk-en-gpio: msm gpio clock,used ony if clock source is msm gpio
Bansidhar Gopalacharid093f1f2013-10-22 20:44:07 -070013- vlogic-supply: LDO for power supply
Madan Mohan Koyyalamudif2e7dcc2013-06-18 13:03:26 -070014- interrupt-parent: Should be phandle for the interrupt controller
15 that services interrupts for this device.
16- interrupts: should contain the NFC interrupt. NFC has one read interrupt.
17- qcom,clk-gpio: pmic gpio on which bbclk2 signal is coming.
18
Bansidhar Gopalacharid093f1f2013-10-22 20:44:07 -070019LDO example:
Madan Mohan Koyyalamudif2e7dcc2013-06-18 13:03:26 -070020
Bansidhar Gopalacharid093f1f2013-10-22 20:44:07 -070021 i2c@f9925000 { /* BLSP-1 QUP-3 */
22 nfc-nci@e {
23 compatible = "qcom,nfc-nci";
24 reg = <0x0e>;
25 qcom,irq-gpio = <&msmgpio 77 0x00>;
26 qcom,dis-gpio = <&msmgpio 93 0x00>;
27 qcom,clk-en-gpio = <&msmgpio 78 0x00>;
28 qcom,clk-src = "GPCLK";
29 interrupt-parent = <&msmgpio>;
30 interrupts = <77 0>;
31 qcom,clk-gpio = <&msmgpio 75 0x00>;
32 vlogic-supply = <&pm8110_l14>;
33 };
Madan Mohan Koyyalamudif2e7dcc2013-06-18 13:03:26 -070034 };
Bansidhar Gopalacharid093f1f2013-10-22 20:44:07 -070035