pn544.txt 953 B

1234567891011121314151617181920212223242526272829303132333435
  1. * NXP Semiconductors PN544 NFC Controller
  2. Required properties:
  3. - compatible: Should be "nxp,pn544-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 PN544
  9. - firmware-gpios: Output GPIO pin used to enter firmware download mode
  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. Example (for ARM-based BeagleBone with PN544 on I2C2):
  14. &i2c2 {
  15. status = "okay";
  16. pn544: pn544@28 {
  17. compatible = "nxp,pn544-i2c";
  18. reg = <0x28>;
  19. clock-frequency = <400000>;
  20. interrupt-parent = <&gpio1>;
  21. interrupts = <17 GPIO_ACTIVE_HIGH>;
  22. enable-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
  23. firmware-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
  24. };
  25. };