summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/interrupt-controller/fsl,vf610-mscm-ir.yaml
blob: fdc254f8d013cc9c7c6d7bc06b832fc18ad57703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/fsl,vf610-mscm-ir.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale Vybrid Miscellaneous System Control - Interrupt Router

description:
  The MSCM IP contains multiple sub modules, this binding describes the second
  block of registers which control the interrupt router. The interrupt router
  allows to configure the recipient of each peripheral interrupt. Furthermore
  it controls the directed processor interrupts. The module is available in all
  Vybrid SoC's but is only really useful in dual core configurations (VF6xx
  which comes with a Cortex-A5/Cortex-M4 combination).


maintainers:
  - Frank Li <Frank.Li@nxp.com>

properties:
  compatible:
    const: fsl,vf610-mscm-ir

  reg:
    maxItems: 1

  fsl,cpucfg:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
      The handle to the MSCM CPU configuration node, required
      to get the current CPU ID

  interrupt-controller: true

  '#interrupt-cells':
    const: 2
    description:
      Two cells, interrupt number and cells.
      The hardware interrupt number according to interrupt
      assignment of the interrupt router is required.
      Flags get passed only when using GIC as parent. Flags
      encoding as documented by the GIC bindings.

required:
  - compatible
  - reg
  - fsl,cpucfg
  - interrupt-controller
  - '#interrupt-cells'

additionalProperties: false

examples:
  - |
    interrupt-controller@40001800 {
        compatible = "fsl,vf610-mscm-ir";
        reg = <0x40001800 0x400>;
        fsl,cpucfg = <&mscm_cpucfg>;
        interrupt-controller;
        #interrupt-cells = <2>;
        interrupt-parent = <&intc>;
    };