st21nfca.txt 862 B

123456789101112131415161718192021222324252627282930313233
  1. * STMicroelectronics SAS. ST21NFCA NFC Controller
  2. Required properties:
  3. - compatible: Should be "st,st21nfca_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. - enable-gpios: Output GPIO pin used for enabling/disabling the ST21NFCA
  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. Example (for ARM-based BeagleBoard xM with ST21NFCA on I2C2):
  13. &i2c2 {
  14. status = "okay";
  15. st21nfca: st21nfca@1 {
  16. compatible = "st,st21nfca_i2c";
  17. reg = <0x01>;
  18. clock-frequency = <400000>;
  19. interrupt-parent = <&gpio5>;
  20. interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
  21. enable-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
  22. };
  23. };