xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/fsl,vf610-mscm-ir.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*833e5d42SEmmanuel Vadot%YAML 1.2
3*833e5d42SEmmanuel Vadot---
4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/fsl,vf610-mscm-ir.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: Freescale Vybrid Miscellaneous System Control - Interrupt Router
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotdescription:
10*833e5d42SEmmanuel Vadot  The MSCM IP contains multiple sub modules, this binding describes the second
11*833e5d42SEmmanuel Vadot  block of registers which control the interrupt router. The interrupt router
12*833e5d42SEmmanuel Vadot  allows to configure the recipient of each peripheral interrupt. Furthermore
13*833e5d42SEmmanuel Vadot  it controls the directed processor interrupts. The module is available in all
14*833e5d42SEmmanuel Vadot  Vybrid SoC's but is only really useful in dual core configurations (VF6xx
15*833e5d42SEmmanuel Vadot  which comes with a Cortex-A5/Cortex-M4 combination).
16*833e5d42SEmmanuel Vadot
17*833e5d42SEmmanuel Vadot
18*833e5d42SEmmanuel Vadotmaintainers:
19*833e5d42SEmmanuel Vadot  - Frank Li <Frank.Li@nxp.com>
20*833e5d42SEmmanuel Vadot
21*833e5d42SEmmanuel Vadotproperties:
22*833e5d42SEmmanuel Vadot  compatible:
23*833e5d42SEmmanuel Vadot    const: fsl,vf610-mscm-ir
24*833e5d42SEmmanuel Vadot
25*833e5d42SEmmanuel Vadot  reg:
26*833e5d42SEmmanuel Vadot    maxItems: 1
27*833e5d42SEmmanuel Vadot
28*833e5d42SEmmanuel Vadot  fsl,cpucfg:
29*833e5d42SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
30*833e5d42SEmmanuel Vadot    description:
31*833e5d42SEmmanuel Vadot      The handle to the MSCM CPU configuration node, required
32*833e5d42SEmmanuel Vadot      to get the current CPU ID
33*833e5d42SEmmanuel Vadot
34*833e5d42SEmmanuel Vadot  interrupt-controller: true
35*833e5d42SEmmanuel Vadot
36*833e5d42SEmmanuel Vadot  '#interrupt-cells':
37*833e5d42SEmmanuel Vadot    const: 2
38*833e5d42SEmmanuel Vadot    description:
39*833e5d42SEmmanuel Vadot      Two cells, interrupt number and cells.
40*833e5d42SEmmanuel Vadot      The hardware interrupt number according to interrupt
41*833e5d42SEmmanuel Vadot      assignment of the interrupt router is required.
42*833e5d42SEmmanuel Vadot      Flags get passed only when using GIC as parent. Flags
43*833e5d42SEmmanuel Vadot      encoding as documented by the GIC bindings.
44*833e5d42SEmmanuel Vadot
45*833e5d42SEmmanuel Vadotrequired:
46*833e5d42SEmmanuel Vadot  - compatible
47*833e5d42SEmmanuel Vadot  - reg
48*833e5d42SEmmanuel Vadot  - fsl,cpucfg
49*833e5d42SEmmanuel Vadot  - interrupt-controller
50*833e5d42SEmmanuel Vadot  - '#interrupt-cells'
51*833e5d42SEmmanuel Vadot
52*833e5d42SEmmanuel VadotadditionalProperties: false
53*833e5d42SEmmanuel Vadot
54*833e5d42SEmmanuel Vadotexamples:
55*833e5d42SEmmanuel Vadot  - |
56*833e5d42SEmmanuel Vadot    interrupt-controller@40001800 {
57*833e5d42SEmmanuel Vadot        compatible = "fsl,vf610-mscm-ir";
58*833e5d42SEmmanuel Vadot        reg = <0x40001800 0x400>;
59*833e5d42SEmmanuel Vadot        fsl,cpucfg = <&mscm_cpucfg>;
60*833e5d42SEmmanuel Vadot        interrupt-controller;
61*833e5d42SEmmanuel Vadot        #interrupt-cells = <2>;
62*833e5d42SEmmanuel Vadot        interrupt-parent = <&intc>;
63*833e5d42SEmmanuel Vadot    };
64