st-nci.txt 866 B

12345678910111213141516171819202122232425262728293031323334
  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. Example (for ARM-based BeagleBoard xM with ST21NFCB on I2C2):
  13. &i2c2 {
  14. status = "okay";
  15. st21nfcb: st21nfcb@8 {
  16. compatible = "st,st21nfcb-i2c";
  17. reg = <0x08>;
  18. clock-frequency = <400000>;
  19. interrupt-parent = <&gpio5>;
  20. interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
  21. reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
  22. };
  23. };