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/loongson,cpu-interrupt-controller.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: LoongArch CPU Interrupt Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Liu Peibao <liupeibao@loongson.cn> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: loongson,cpu-interrupt-controller |
| 15 | |
| 16 | '#interrupt-cells': |
| 17 | const: 1 |
| 18 | |
| 19 | interrupt-controller: true |
| 20 | |
| 21 | additionalProperties: false |
| 22 | |
| 23 | required: |
| 24 | - compatible |
| 25 | - '#interrupt-cells' |
| 26 | - interrupt-controller |
| 27 | |
| 28 | examples: |
| 29 | - | |
| 30 | interrupt-controller { |
| 31 | compatible = "loongson,cpu-interrupt-controller"; |
| 32 | #interrupt-cells = <1>; |
| 33 | interrupt-controller; |
| 34 | }; |