xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/marvell,ap806-gicp.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/marvell,ap806-gicp.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Marvell GICP Controller
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Thomas Petazzoni <thomas.petazzoni@bootlin.com>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotdescription:
13*ae5de77eSEmmanuel Vadot  GICP is a Marvell extension of the GIC that allows to trigger GIC SPI
14*ae5de77eSEmmanuel Vadot  interrupts by doing a memory transaction. It is used by the ICU
15*ae5de77eSEmmanuel Vadot  located in the Marvell CP110 to turn wired interrupts inside the CP
16*ae5de77eSEmmanuel Vadot  into GIC SPI interrupts.
17*ae5de77eSEmmanuel Vadot
18*ae5de77eSEmmanuel Vadotproperties:
19*ae5de77eSEmmanuel Vadot  compatible:
20*ae5de77eSEmmanuel Vadot    const: marvell,ap806-gicp
21*ae5de77eSEmmanuel Vadot
22*ae5de77eSEmmanuel Vadot  reg:
23*ae5de77eSEmmanuel Vadot    maxItems: 1
24*ae5de77eSEmmanuel Vadot
25*ae5de77eSEmmanuel Vadot  marvell,spi-ranges:
26*ae5de77eSEmmanuel Vadot    description: Tuples of GIC SPI interrupt ranges available for this GICP
27*ae5de77eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32-matrix
28*ae5de77eSEmmanuel Vadot    items:
29*ae5de77eSEmmanuel Vadot      items:
30*ae5de77eSEmmanuel Vadot        - description: SPI interrupt base
31*ae5de77eSEmmanuel Vadot        - description: Number of interrupts in the range
32*ae5de77eSEmmanuel Vadot
33*ae5de77eSEmmanuel Vadot  msi-controller: true
34*ae5de77eSEmmanuel Vadot
35*ae5de77eSEmmanuel Vadotrequired:
36*ae5de77eSEmmanuel Vadot  - compatible
37*ae5de77eSEmmanuel Vadot  - reg
38*ae5de77eSEmmanuel Vadot  - msi-controller
39*ae5de77eSEmmanuel Vadot  - marvell,spi-ranges
40*ae5de77eSEmmanuel Vadot
41*ae5de77eSEmmanuel VadotadditionalProperties: false
42*ae5de77eSEmmanuel Vadot
43*ae5de77eSEmmanuel Vadotexamples:
44*ae5de77eSEmmanuel Vadot  - |
45*ae5de77eSEmmanuel Vadot    msi-controller@3f0040 {
46*ae5de77eSEmmanuel Vadot        compatible = "marvell,ap806-gicp";
47*ae5de77eSEmmanuel Vadot        reg = <0x3f0040 0x10>;
48*ae5de77eSEmmanuel Vadot        marvell,spi-ranges = <64 64>, <288 64>;
49*ae5de77eSEmmanuel Vadot        msi-controller;
50*ae5de77eSEmmanuel Vadot    };
51