blob: 7af847c057dab6ce2465c62d677200c6914f0eac [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 Hoffman17f2dc52014-01-29 08:15:06 -080011- qcom,clk-src: nfc clock source ("BBCLK2", "RFCLK3", "GPCLK", "GPCLK2", ...)
12- qcom,clk-src-gpio: msm gpio clock,used ony if clock source is msm gpio
13- qcom,clk-req-gpio: clk-req input gpio for MSM based clocks.
14 not used for pmic implementation
Madan Mohan Koyyalamudif2e7dcc2013-06-18 13:03:26 -070015- interrupt-parent: Should be phandle for the interrupt controller
16 that services interrupts for this device.
Houston Hoffman17f2dc52014-01-29 08:15:06 -080017- interrupts: Nfc read interrupt,gpio-clk-req interrupt
18- qcom,clk-gpio: pmic or msm gpio on which bbclk2 signal is coming.
Madan Mohan Koyyalamudif2e7dcc2013-06-18 13:03:26 -070019
Houston Hoffman4fda2ff2014-01-31 18:17:37 -080020Example:
Madan Mohan Koyyalamudif2e7dcc2013-06-18 13:03:26 -070021
Bansidhar Gopalacharid093f1f2013-10-22 20:44:07 -070022 i2c@f9925000 { /* BLSP-1 QUP-3 */
23 nfc-nci@e {
24 compatible = "qcom,nfc-nci";
25 reg = <0x0e>;
26 qcom,irq-gpio = <&msmgpio 77 0x00>;
27 qcom,dis-gpio = <&msmgpio 93 0x00>;
Houston Hoffman17f2dc52014-01-29 08:15:06 -080028 qcom,clk-src-gpio = <&msmgpio 78 0x00>;
29 qcom,clk-src = "GPCLK2";
Bansidhar Gopalacharid093f1f2013-10-22 20:44:07 -070030 interrupt-parent = <&msmgpio>;
31 interrupts = <77 0>;
32 qcom,clk-gpio = <&msmgpio 75 0x00>;
Bansidhar Gopalacharid093f1f2013-10-22 20:44:07 -070033 };
Madan Mohan Koyyalamudif2e7dcc2013-06-18 13:03:26 -070034 };
Bansidhar Gopalacharid093f1f2013-10-22 20:44:07 -070035