Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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/ralink,rt2880-intc.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Ralink SoCs Interrupt Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Sergio Paracuellos <sergio.paracuellos@gmail.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: /schemas/interrupt-controller.yaml# |
| 14 | |
| 15 | description: |
| 16 | This interrupt controller support a central point for interrupt aggregation |
| 17 | for platform related blocks. |
| 18 | |
| 19 | properties: |
| 20 | compatible: |
| 21 | const: ralink,rt2880-intc |
| 22 | |
| 23 | reg: |
| 24 | maxItems: 1 |
| 25 | |
| 26 | interrupts: |
| 27 | maxItems: 1 |
| 28 | |
| 29 | interrupt-controller: true |
| 30 | |
| 31 | '#interrupt-cells': |
| 32 | const: 1 |
| 33 | |
| 34 | required: |
| 35 | - compatible |
| 36 | - reg |
| 37 | - interrupts |
| 38 | - interrupt-controller |
| 39 | - '#interrupt-cells' |
| 40 | |
| 41 | additionalProperties: false |
| 42 | |
| 43 | examples: |
| 44 | - | |
| 45 | interrupt-controller@200 { |
| 46 | compatible = "ralink,rt2880-intc"; |
| 47 | reg = <0x200 0x100>; |
| 48 | interrupt-controller; |
| 49 | #interrupt-cells = <1>; |
| 50 | |
| 51 | interrupt-parent = <&cpuintc>; |
| 52 | interrupts = <2>; |
| 53 | }; |
| 54 | ... |