st-nci-i2c.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. * STMicroelectronics SAS. ST NCI NFC Controller
  2. Required properties:
  3. - compatible: Should be "st,st21nfcb-i2c" or "st,st21nfcc-i2c".
  4. - clock-frequency: I²C work frequency.
  5. - reg: address on the bus
  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. 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. - ese-present: Specifies that an ese is physically connected to the nfc
  13. controller.
  14. - uicc-present: Specifies that the uicc swp signal can be physically
  15. connected to the nfc controller.
  16. Example (for ARM-based BeagleBoard xM with ST21NFCB on I2C2):
  17. &i2c2 {
  18. status = "okay";
  19. st21nfcb: st21nfcb@8 {
  20. compatible = "st,st21nfcb-i2c";
  21. reg = <0x08>;
  22. clock-frequency = <400000>;
  23. interrupt-parent = <&gpio5>;
  24. interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
  25. reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
  26. ese-present;
  27. uicc-present;
  28. };
  29. };