Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | * STMicroelectronics SAS. ST NCI NFC Controller |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: Should be "st,st21nfcb-spi" |
| 5 | - spi-max-frequency: Maximum SPI frequency (<= 4000000). |
| 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. |
| 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. |
| 17 | |
| 18 | Example (for ARM-based BeagleBoard xM with ST21NFCB on SPI4): |
| 19 | |
| 20 | &mcspi4 { |
| 21 | |
| 22 | status = "okay"; |
| 23 | |
| 24 | st21nfcb: st21nfcb@0 { |
| 25 | |
| 26 | compatible = "st,st21nfcb-spi"; |
| 27 | |
| 28 | clock-frequency = <4000000>; |
| 29 | |
| 30 | interrupt-parent = <&gpio5>; |
| 31 | interrupts = <2 IRQ_TYPE_EDGE_RISING>; |
| 32 | |
| 33 | reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>; |
| 34 | |
| 35 | ese-present; |
| 36 | uicc-present; |
| 37 | }; |
| 38 | }; |