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/mailbox/altera-mailbox.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 Altera Mailbox Driver
    2 =====================
    3 
    4 Required properties:
    5 - compatible :  "altr,mailbox-1.0".
    6 - reg :         physical base address of the mailbox and length of
    7                 memory mapped region.
    8 - #mbox-cells:  Common mailbox binding property to identify the number
    9                 of cells required for the mailbox specifier. Should be 1.
   10 
   11 Optional properties:
   12 - interrupts :          interrupt number. The interrupt specifier format
   13                         depends on the interrupt controller parent.
   14 
   15 Example:
   16         mbox_tx: mailbox@100 {
   17                 compatible = "altr,mailbox-1.0";
   18                 reg = <0x100 0x8>;
   19                 interrupt-parent = < &gic_0 >;
   20                 interrupts = <5>;
   21                 #mbox-cells = <1>;
   22         };
   23 
   24         mbox_rx: mailbox@200 {
   25                 compatible = "altr,mailbox-1.0";
   26                 reg = <0x200 0x8>;
   27                 interrupt-parent = < &gic_0 >;
   28                 interrupts = <6>;
   29                 #mbox-cells = <1>;
   30         };
   31 
   32 Mailbox client
   33 ===============
   34 "mboxes" and the optional "mbox-names" (please see
   35 Documentation/devicetree/bindings/mailbox/mailbox.txt for details). Each value
   36 of the mboxes property should contain a phandle to the mailbox controller
   37 device node and second argument is the channel index. It must be 0 (hardware
   38 support only one channel).The equivalent "mbox-names" property value can be
   39 used to give a name to the communication channel to be used by the client user.
   40 
   41 Example:
   42         mclient0: mclient0@400 {
   43                 compatible = "client-1.0";
   44                 reg = <0x400 0x10>;
   45                 mbox-names = "mbox-tx", "mbox-rx";
   46                 mboxes = <&mbox_tx 0>,
   47                          <&mbox_rx 0>;
   48         };

Cache object: 39deed0602b79a04c67292c95224d8ad


[ 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.