Merge tag 'powerpc-4.6-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / net / nfc / nfcmrvl.txt
blob76df9173825a00e39cca99a9a8c35bc51f2b57b8
1 * Marvell International Ltd. NCI NFC Controller
3 Required properties:
4 - compatible: Should be:
5   - "marvell,nfc-uart" or "mrvl,nfc-uart" for UART devices
6   - "marvell,nfc-i2c" for I2C devices
7   - "marvell,nfc-spi" for SPI devices
9 Optional SoC specific properties:
10 - pinctrl-names: Contains only one value - "default".
11 - pintctrl-0: Specifies the pin control groups used for this controller.
12 - reset-n-io: Output GPIO pin used to reset the chip (active low).
13 - hci-muxed: Specifies that the chip is muxing NCI over HCI frames.
15 Optional UART-based chip specific properties:
16 - flow-control: Specifies that the chip is using RTS/CTS.
17 - break-control: Specifies that the chip needs specific break management.
19 Optional I2C-based chip specific properties:
20 - i2c-int-falling: Specifies that the chip read event shall be trigged on
21                    falling edge.
22 - i2c-int-rising: Specifies that the chip read event shall be trigged on
23                   rising edge.
25 Example (for ARM-based BeagleBoard Black with 88W8887 on UART5):
27 &uart5 {
28         status = "okay";
30         nfcmrvluart: nfcmrvluart@5 {
31                 compatible = "marvell,nfc-uart";
33                 reset-n-io = <&gpio3 16 0>;
35                 hci-muxed;
36                 flow-control;
37         }
41 Example (for ARM-based BeagleBoard Black with 88W8887 on I2C1):
43 &i2c1 {
44         status = "okay";
45         clock-frequency = <400000>;
47         nfcmrvli2c0: i2c@1 {
48                 compatible = "marvell,nfc-i2c";
50                 reg = <0x8>;
52                 /* I2C INT configuration */
53                 interrupt-parent = <&gpio3>;
54                 interrupts = <21 0>;
56                 /* I2C INT trigger configuration */
57                 i2c-int-rising;
59                 /* Reset IO */
60                 reset-n-io = <&gpio3 19 0>;
61         };
65 Example (for ARM-based BeagleBoard Black on SPI0):
67 &spi0 {
69         mrvlnfcspi0: spi@0 {
70                 compatible = "marvell,nfc-spi";
72                 reg = <0>;
74                 /* SPI Bus configuration */
75                 spi-max-frequency = <3000000>;
76                 spi-cpha;
77                 spi-cpol;
79                 /* SPI INT configuration */
80                 interrupt-parent = <&gpio1>;
81                 interrupts = <17 0>;
83                 /* Reset IO */
84                 reset-n-io = <&gpio3 19 0>;
85         };