| 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/csky,mpintc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: C-SKY Multi-processors Interrupt Controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Guo Ren <[email protected]> |
| 11 |
|
| 12 |
description: > |
| 13 |
C-SKY Multi-processors Interrupt Controller is designed for ck807/ck810/ck860 |
| 14 |
SMP soc, and it also could be used in non-SMP system. |
| 15 |
|
| 16 |
Interrupt number definition: |
| 17 |
0-15 : software irq, and we use 15 as our IPI_IRQ. |
| 18 |
16-31 : private irq, and we use 16 as the co-processor timer. |
| 19 |
31-1024: common irq for soc ip. |
| 20 |
|
| 21 |
properties: |
| 22 |
compatible: |
| 23 |
const: csky,mpintc |
| 24 |
|
| 25 |
'#interrupt-cells': |
| 26 |
const: 2 |
| 27 |
|
| 28 |
interrupt-controller: true |
| 29 |
|
| 30 |
required: |
| 31 |
- compatible |
| 32 |
- "#interrupt-cells" |
| 33 |
- interrupt-controller |
| 34 |
|
| 35 |
additionalProperties: false |
| 36 |
|
| 37 |
examples: |
| 38 |
- | |
| 39 |
interrupt-controller { |
| 40 |
compatible = "csky,mpintc"; |
| 41 |
#interrupt-cells = <2>; |
| 42 |
interrupt-controller; |
| 43 |
}; |