Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/interrupt-controller/idt,32434-pic.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: IDT 79RC32434 Interrupt Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Thomas Bogendoerfer <tsbogend@alpha.franken.de> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: /schemas/interrupt-controller.yaml# |
| 14 | |
| 15 | properties: |
| 16 | "#interrupt-cells": |
| 17 | const: 1 |
| 18 | |
| 19 | compatible: |
| 20 | const: idt,32434-pic |
| 21 | |
| 22 | reg: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | interrupts: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | interrupt-controller: true |
| 29 | |
| 30 | required: |
| 31 | - "#interrupt-cells" |
| 32 | - compatible |
| 33 | - reg |
| 34 | - interrupt-controller |
| 35 | - interrupts |
| 36 | |
| 37 | additionalProperties: false |
| 38 | |
| 39 | examples: |
| 40 | - | |
| 41 | idtpic3: interrupt-controller@3800c { |
| 42 | compatible = "idt,32434-pic"; |
| 43 | reg = <0x3800c 0x0c>; |
| 44 | |
| 45 | interrupt-controller; |
| 46 | #interrupt-cells = <1>; |
| 47 | |
| 48 | interrupt-parent = <&cpuintc>; |
| 49 | interrupts = <3>; |
| 50 | }; |
| 51 | |
| 52 | ... |