| 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/technologic,ts4800-irqc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: TS-4800 FPGA Interrupt Controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Damien Riegel <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
TS-4800 FPGA has an internal interrupt controller. When one of the interrupts |
| 14 |
is triggered, the SoC is notified, usually using a GPIO as parent interrupt |
| 15 |
source. |
| 16 |
|
| 17 |
properties: |
| 18 |
compatible: |
| 19 |
const: technologic,ts4800-irqc |
| 20 |
|
| 21 |
reg: |
| 22 |
maxItems: 1 |
| 23 |
|
| 24 |
'#interrupt-cells': |
| 25 |
const: 1 |
| 26 |
|
| 27 |
interrupt-controller: true |
| 28 |
|
| 29 |
interrupts: |
| 30 |
maxItems: 1 |
| 31 |
|
| 32 |
required: |
| 33 |
- compatible |
| 34 |
- reg |
| 35 |
- interrupt-controller |
| 36 |
- '#interrupt-cells' |
| 37 |
- interrupts |
| 38 |
|
| 39 |
additionalProperties: false |
| 40 |
|
| 41 |
examples: |
| 42 |
- | |
| 43 |
interrupt-controller@1000 { |
| 44 |
compatible = "technologic,ts4800-irqc"; |
| 45 |
reg = <0x1000 0x80>; |
| 46 |
interrupt-controller; |
| 47 |
#interrupt-cells = <1>; |
| 48 |
interrupts = <10>; |
| 49 |
}; |