xref: /linux/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.yaml (revision bf373e4c786bfe989e637195252698f45b157a68)
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
7title: Aspeed I2C Interrupt Controller (AST24XX/AST25XX)
8
9maintainers:
10  - Ryan Chen <ryan_chen@aspeedtech.com>
11
12properties:
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
29required:
30  - compatible
31  - reg
32  - '#interrupt-cells'
33  - interrupts
34  - interrupt-controller
35
36additionalProperties: false
37
38examples:
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    };
47