xref: /freebsd/sys/contrib/device-tree/Bindings/net/nfc/pn544.txt (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1c66ec88fSEmmanuel Vadot* NXP Semiconductors PN544 NFC Controller
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotRequired properties:
4c66ec88fSEmmanuel Vadot- compatible: Should be "nxp,pn544-i2c".
5c66ec88fSEmmanuel Vadot- clock-frequency: I²C work frequency.
6c66ec88fSEmmanuel Vadot- reg: address on the bus
7c66ec88fSEmmanuel Vadot- interrupts: GPIO interrupt to which the chip is connected
8c66ec88fSEmmanuel Vadot- enable-gpios: Output GPIO pin used for enabling/disabling the PN544
9c66ec88fSEmmanuel Vadot- firmware-gpios: Output GPIO pin used to enter firmware download mode
10c66ec88fSEmmanuel Vadot
11c66ec88fSEmmanuel VadotOptional SoC Specific Properties:
12c66ec88fSEmmanuel Vadot- pinctrl-names: Contains only one value - "default".
13c66ec88fSEmmanuel Vadot- pintctrl-0: Specifies the pin control groups used for this controller.
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel VadotExample (for ARM-based BeagleBone with PN544 on I2C2):
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadot&i2c2 {
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadot	pn544: pn544@28 {
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot		compatible = "nxp,pn544-i2c";
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot		reg = <0x28>;
25c66ec88fSEmmanuel Vadot		clock-frequency = <400000>;
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio1>;
28*6be33864SEmmanuel Vadot		interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot		enable-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
31c66ec88fSEmmanuel Vadot		firmware-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;
32c66ec88fSEmmanuel Vadot	};
33c66ec88fSEmmanuel Vadot};
34