Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun4i-a10-ic.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Allwinner A10 Interrupt Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Chen-Yu Tsai <wens@csie.org> |
| 11 | - Maxime Ripard <mripard@kernel.org> |
| 12 | |
| 13 | allOf: |
| 14 | - $ref: /schemas/interrupt-controller.yaml# |
| 15 | |
| 16 | properties: |
| 17 | "#interrupt-cells": |
| 18 | const: 1 |
| 19 | |
| 20 | compatible: |
| 21 | enum: |
| 22 | - allwinner,sun4i-a10-ic |
| 23 | - allwinner,suniv-f1c100s-ic |
| 24 | |
| 25 | reg: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | interrupt-controller: true |
| 29 | |
| 30 | required: |
| 31 | - "#interrupt-cells" |
| 32 | - compatible |
| 33 | - reg |
| 34 | - interrupt-controller |
| 35 | |
| 36 | additionalProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | intc: interrupt-controller@1c20400 { |
| 41 | compatible = "allwinner,sun4i-a10-ic"; |
| 42 | reg = <0x01c20400 0x400>; |
| 43 | interrupt-controller; |
| 44 | #interrupt-cells = <1>; |
| 45 | }; |
| 46 | |
| 47 | ... |