Commit | Line | Data |
---|---|---|
ed06aeef | 1 | * STMicroelectronics SAS. ST NCI NFC Controller |
955164eb CR |
2 | |
3 | Required properties: | |
a6be357e | 4 | - compatible: Should be "st,st21nfcb-spi" |
3648dc6d | 5 | - spi-max-frequency: Maximum SPI frequency (<= 4000000). |
955164eb CR |
6 | - interrupt-parent: phandle for the interrupt gpio controller |
7 | - interrupts: GPIO interrupt to which the chip is connected | |
8 | - reset-gpios: Output GPIO pin used to reset the ST21NFCB | |
9 | ||
10 | Optional SoC Specific Properties: | |
11 | - pinctrl-names: Contains only one value - "default". | |
12 | - pintctrl-0: Specifies the pin control groups used for this controller. | |
3648dc6d CR |
13 | - ese-present: Specifies that an ese is physically connected to the nfc |
14 | controller. | |
15 | - uicc-present: Specifies that the uicc swp signal can be physically | |
16 | connected to the nfc controller. | |
955164eb | 17 | |
a6be357e | 18 | Example (for ARM-based BeagleBoard xM with ST21NFCB on SPI4): |
955164eb | 19 | |
a6be357e | 20 | &mcspi4 { |
955164eb | 21 | |
955164eb | 22 | |
a6be357e | 23 | st21nfcb: st21nfcb@0 { |
955164eb | 24 | |
a6be357e | 25 | compatible = "st,st21nfcb-spi"; |
955164eb | 26 | |
a6be357e | 27 | clock-frequency = <4000000>; |
955164eb CR |
28 | |
29 | interrupt-parent = <&gpio5>; | |
a6be357e | 30 | interrupts = <2 IRQ_TYPE_EDGE_RISING>; |
955164eb CR |
31 | |
32 | reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>; | |
3648dc6d CR |
33 | |
34 | ese-present; | |
35 | uicc-present; | |
955164eb CR |
36 | }; |
37 | }; |