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/interrupt-controller/sunplus,sp7021-intc.yaml

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 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 # Copyright (C) Sunplus Co., Ltd. 2021
    3 %YAML 1.2
    4 ---
    5 $id: http://devicetree.org/schemas/interrupt-controller/sunplus,sp7021-intc.yaml#
    6 $schema: http://devicetree.org/meta-schemas/core.yaml#
    7 
    8 title: Sunplus SP7021 SoC Interrupt Controller
    9 
   10 maintainers:
   11   - Qin Jian <qinjian@cqplus1.com>
   12 
   13 properties:
   14   compatible:
   15     items:
   16       - const: sunplus,sp7021-intc
   17 
   18   reg:
   19     maxItems: 2
   20     description:
   21       Specifies base physical address(s) and size of the controller regs.
   22       The 1st region include type/polarity/priority/mask regs.
   23       The 2nd region include clear/masked_ext0/masked_ext1/group regs.
   24 
   25   interrupt-controller: true
   26 
   27   "#interrupt-cells":
   28     const: 2
   29     description:
   30       The first cell is the IRQ number, the second cell is the trigger
   31       type as defined in interrupt.txt in this directory.
   32 
   33   interrupts:
   34     maxItems: 2
   35     description:
   36       EXT_INT0 & EXT_INT1, 2 interrupts references to primary interrupt
   37       controller.
   38 
   39 required:
   40   - compatible
   41   - reg
   42   - interrupt-controller
   43   - "#interrupt-cells"
   44   - interrupts
   45 
   46 additionalProperties: false
   47 
   48 examples:
   49   - |
   50     #include <dt-bindings/interrupt-controller/arm-gic.h>
   51 
   52     intc: interrupt-controller@9c000780 {
   53         compatible = "sunplus,sp7021-intc";
   54         reg = <0x9c000780 0x80>, <0x9c000a80 0x80>;
   55         interrupt-controller;
   56         #interrupt-cells = <2>;
   57         interrupt-parent = <&gic>;
   58         interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, /* EXT_INT0 */
   59                      <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; /* EXT_INT1 */
   60     };
   61 
   62 ...

Cache object: 0403aeec7bbe58281066312550d7a067


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