The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/net/nfc/pn532.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * NXP Semiconductors PN532 NFC Controller
    2 
    3 Required properties:
    4 - compatible: Should be
    5     - "nxp,pn532" Place a node with this inside the devicetree node of the bus
    6                   where the NFC chip is connected to.
    7                   Currently the kernel has phy bindings for uart and i2c.
    8     - "nxp,pn532-i2c" (DEPRECATED) only works for the i2c binding.
    9     - "nxp,pn533-i2c" (DEPRECATED) only works for the i2c binding.
   10 
   11 Required properties if connected on i2c:
   12 - clock-frequency: I²C work frequency.
   13 - reg: for the I²C bus address. This is fixed at 0x24 for the PN532.
   14 - interrupts: GPIO interrupt to which the chip is connected
   15 
   16 Optional SoC Specific Properties:
   17 - pinctrl-names: Contains only one value - "default".
   18 - pintctrl-0: Specifies the pin control groups used for this controller.
   19 
   20 Example (for ARM-based BeagleBone with PN532 on I2C2):
   21 
   22 &i2c2 {
   23 
   24 
   25         pn532: nfc@24 {
   26 
   27                 compatible = "nxp,pn532";
   28 
   29                 reg = <0x24>;
   30                 clock-frequency = <400000>;
   31 
   32                 interrupt-parent = <&gpio1>;
   33                 interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
   34 
   35         };
   36 };
   37 
   38 Example (for PN532 connected via uart):
   39 
   40 uart4: serial@49042000 {
   41         compatible = "ti,omap3-uart";
   42 
   43         pn532: nfc {
   44                 compatible = "nxp,pn532";
   45         };
   46 };

Cache object: 76c14cdbc62f4fb8fd8af399a610163a


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.