| 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/aspeed,ast2400-i2c-ic.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Aspeed I2C Interrupt Controller (AST24XX/AST25XX) |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Ryan Chen <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
- aspeed,ast2400-i2c-ic |
| 16 |
- aspeed,ast2500-i2c-ic |
| 17 |
|
| 18 |
reg: |
| 19 |
maxItems: 1 |
| 20 |
|
| 21 |
interrupts: |
| 22 |
maxItems: 1 |
| 23 |
|
| 24 |
interrupt-controller: true |
| 25 |
|
| 26 |
'#interrupt-cells': |
| 27 |
const: 1 |
| 28 |
|
| 29 |
required: |
| 30 |
- compatible |
| 31 |
- reg |
| 32 |
- '#interrupt-cells' |
| 33 |
- interrupts |
| 34 |
- interrupt-controller |
| 35 |
|
| 36 |
additionalProperties: false |
| 37 |
|
| 38 |
examples: |
| 39 |
- | |
| 40 |
interrupt-controller@0 { |
| 41 |
compatible = "aspeed,ast2400-i2c-ic"; |
| 42 |
reg = <0x0 0x40>; |
| 43 |
#interrupt-cells = <1>; |
| 44 |
interrupts = <12>; |
| 45 |
interrupt-controller; |
| 46 |
}; |