Madan Mohan Koyyalamudi | f2e7dcc | 2013-06-18 13:03:26 -0700 | [diff] [blame] | 1 | Qualcomm QCA199x NFC NCI device |
| 2 | |
| 3 | Near Field Communication (NFC) device is based on NFC Controller Interface (NCI) |
| 4 | |
| 5 | Required 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 Gopalachari | be0e4d9 | 2013-09-19 19:30:36 +0100 | [diff] [blame] | 11 | - 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 Koyyalamudi | f2e7dcc | 2013-06-18 13:03:26 -0700 | [diff] [blame] | 13 | - 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 | |
| 18 | Example: |
| 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 Gopalachari | be0e4d9 | 2013-09-19 19:30:36 +0100 | [diff] [blame] | 26 | qcom,clk-src = "BBCLK2"; |
| 27 | qcom,clk-en-gpio = <&msmgpio 0 0x00>; |
Madan Mohan Koyyalamudi | f2e7dcc | 2013-06-18 13:03:26 -0700 | [diff] [blame] | 28 | interrupt-parent = <&msmgpio>; |
| 29 | interrupts = <21 0>; |
| 30 | qcom,clk-gpio = <&pm8226_gpios 3 0>; |
| 31 | }; |
| 32 | }; |