| 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/via,vt8500-intc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: VIA and WonderMedia SoCs Interrupt Controller |
| 8 |
|
| 9 |
description: |
| 10 |
This is the interrupt controller used in single-core ARM SoCs made by |
| 11 |
VIA and WonderMedia (up to and including WM8950). Each block handles |
| 12 |
up to 64 interrupt sources (level or edge triggered) and can generate |
| 13 |
up to 8 interrupts to its parent when used in a chained configuration. |
| 14 |
|
| 15 |
maintainers: |
| 16 |
- Alexey Charkov <[email protected]> |
| 17 |
|
| 18 |
allOf: |
| 19 |
- $ref: /schemas/interrupt-controller.yaml# |
| 20 |
|
| 21 |
properties: |
| 22 |
compatible: |
| 23 |
const: via,vt8500-intc |
| 24 |
|
| 25 |
reg: |
| 26 |
maxItems: 1 |
| 27 |
|
| 28 |
interrupts: |
| 29 |
items: |
| 30 |
- description: |
| 31 |
Interrupt number raised by the IRQ0 output of this controller |
| 32 |
Only used if this controller is chained |
| 33 |
- description: |
| 34 |
Interrupt number raised by the IRQ1 output of this controller |
| 35 |
Only used if this controller is chained |
| 36 |
- description: |
| 37 |
Interrupt number raised by the IRQ2 output of this controller |
| 38 |
Only used if this controller is chained |
| 39 |
- description: |
| 40 |
Interrupt number raised by the IRQ3 output of this controller |
| 41 |
Only used if this controller is chained |
| 42 |
- description: |
| 43 |
Interrupt number raised by the IRQ4 output of this controller |
| 44 |
Only used if this controller is chained |
| 45 |
- description: |
| 46 |
Interrupt number raised by the IRQ5 output of this controller |
| 47 |
Only used if this controller is chained |
| 48 |
- description: |
| 49 |
Interrupt number raised by the IRQ6 output of this controller |
| 50 |
Only used if this controller is chained |
| 51 |
- description: |
| 52 |
Interrupt number raised by the IRQ7 output of this controller |
| 53 |
Only used if this controller is chained |
| 54 |
|
| 55 |
interrupt-controller: true |
| 56 |
|
| 57 |
'#interrupt-cells': |
| 58 |
const: 1 |
| 59 |
|
| 60 |
required: |
| 61 |
- compatible |
| 62 |
- reg |
| 63 |
- interrupt-controller |
| 64 |
- '#interrupt-cells' |
| 65 |
|
| 66 |
additionalProperties: false |
| 67 |
|
| 68 |
examples: |
| 69 |
- | |
| 70 |
interrupt-controller@d8140000 { |
| 71 |
compatible = "via,vt8500-intc"; |
| 72 |
interrupt-controller; |
| 73 |
reg = <0xd8140000 0x10000>; |
| 74 |
#interrupt-cells = <1>; |
| 75 |
}; |
| 76 |
... |