# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright 2025 Eddie James
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2500-scu-ic.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Aspeed AST25XX and AST26XX SCU Interrupt Controller

maintainers:
  - Eddie James <eajames@linux.ibm.com>

properties:
  compatible:
    enum:
      - aspeed,ast2500-scu-ic
      - aspeed,ast2600-scu-ic0
      - aspeed,ast2600-scu-ic1

  reg:
    maxItems: 1

  '#interrupt-cells':
    const: 1

  interrupts:
    maxItems: 1

  interrupt-controller: true

required:
  - compatible
  - reg
  - '#interrupt-cells'
  - interrupts
  - interrupt-controller

additionalProperties: false

examples:
  - |
    interrupt-controller@18 {
        compatible = "aspeed,ast2500-scu-ic";
        reg = <0x18 0x4>;
        #interrupt-cells = <1>;
        interrupts = <21>;
        interrupt-controller;
    };
