st-nci-spi.txt 1.0 KB

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