| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/csky,apb-intc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: C-SKY APB Interrupt Controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Guo Ren <[email protected]> |
| 11 |
|
| 12 |
description: > |
| 13 |
C-SKY APB Interrupt Controller is a simple soc interrupt controller on the apb |
| 14 |
bus and we only use it as root irq controller. |
| 15 |
|
| 16 |
- csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums. |
| 17 |
- csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported. |
| 18 |
- csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums. |
| 19 |
|
| 20 |
properties: |
| 21 |
compatible: |
| 22 |
enum: |
| 23 |
- csky,apb-intc |
| 24 |
- csky,dual-apb-intc |
| 25 |
- csky,gx6605s-intc |
| 26 |
|
| 27 |
reg: |
| 28 |
maxItems: 1 |
| 29 |
|
| 30 |
'#interrupt-cells': |
| 31 |
const: 1 |
| 32 |
|
| 33 |
interrupt-controller: true |
| 34 |
|
| 35 |
csky,support-pulse-signal: |
| 36 |
type: boolean |
| 37 |
description: Support for pulse signal flag. |
| 38 |
|
| 39 |
additionalProperties: false |
| 40 |
|
| 41 |
required: |
| 42 |
- compatible |
| 43 |
- reg |
| 44 |
- '#interrupt-cells' |
| 45 |
- interrupt-controller |
| 46 |
|
| 47 |
examples: |
| 48 |
- | |
| 49 |
intc: interrupt-controller@500000 { |
| 50 |
compatible = "csky,apb-intc"; |
| 51 |
#interrupt-cells = <1>; |
| 52 |
reg = <0x00500000 0x400>; |
| 53 |
interrupt-controller; |
| 54 |
}; |