xref: /freebsd/sys/contrib/device-tree/Bindings/net/nfc/nxp-nci.txt (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1c66ec88fSEmmanuel Vadot* NXP Semiconductors NXP NCI NFC Controllers
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotRequired properties:
4c66ec88fSEmmanuel Vadot- compatible: Should be "nxp,nxp-nci-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 chip
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel VadotOptional SoC Specific Properties:
11c66ec88fSEmmanuel Vadot- pinctrl-names: Contains only one value - "default".
12c66ec88fSEmmanuel Vadot- pintctrl-0: Specifies the pin control groups used for this controller.
13*5def4c47SEmmanuel Vadot- firmware-gpios: Output GPIO pin used to enter firmware download mode
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel VadotExample (for ARM-based BeagleBone with NPC100 NFC controller on I2C2):
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadot&i2c2 {
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadot	npc100: npc100@29 {
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot		compatible = "nxp,nxp-nci-i2c";
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot		reg = <0x29>;
25c66ec88fSEmmanuel Vadot		clock-frequency = <100000>;
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio1>;
286be33864SEmmanuel Vadot		interrupts = <29 IRQ_TYPE_LEVEL_HIGH>;
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadot		enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
31c66ec88fSEmmanuel Vadot		firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
32c66ec88fSEmmanuel Vadot	};
33c66ec88fSEmmanuel Vadot};
34