Commit ecdb0048 authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Rob Herring
Browse files

dt-bindings: interrupt-controller: add Ralink SoCs interrupt controller



Add YAML doc for the interrupt controller which is present on Ralink SoCs.

Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20230623035901.1514341-1-sergio.paracuellos@gmail.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 3216ceeb
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/ralink,rt2880-intc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Ralink SoCs Interrupt Controller

maintainers:
  - Sergio Paracuellos <sergio.paracuellos@gmail.com>

allOf:
  - $ref: /schemas/interrupt-controller.yaml#

description:
  This interrupt controller support a central point for interrupt aggregation
  for platform related blocks.

properties:
  compatible:
    const: ralink,rt2880-intc

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  interrupt-controller: true

  '#interrupt-cells':
    const: 1

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

additionalProperties: false

examples:
  - |
    interrupt-controller@200 {
      compatible = "ralink,rt2880-intc";
      reg = <0x200 0x100>;
      interrupt-controller;
      #interrupt-cells = <1>;

      interrupt-parent = <&cpuintc>;
      interrupts = <2>;
    };
...