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