| 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/opencores,or1k-pic.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: OpenRISC 1000 Programmable Interrupt Controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Stefan Kristiansson <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
- opencores,or1k-pic-level |
| 16 |
- opencores,or1k-pic-edge |
| 17 |
- opencores,or1200-pic |
| 18 |
- opencores,or1k-pic |
| 19 |
|
| 20 |
interrupt-controller: true |
| 21 |
|
| 22 |
'#interrupt-cells': |
| 23 |
const: 1 |
| 24 |
|
| 25 |
required: |
| 26 |
- compatible |
| 27 |
- interrupt-controller |
| 28 |
- '#interrupt-cells' |
| 29 |
|
| 30 |
additionalProperties: false |
| 31 |
|
| 32 |
examples: |
| 33 |
- | |
| 34 |
interrupt-controller { |
| 35 |
compatible = "opencores,or1k-pic-level"; |
| 36 |
interrupt-controller; |
| 37 |
#interrupt-cells = <1>; |
| 38 |
}; |