Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | # Copyright 2018 Linaro Ltd. |
| 3 | %YAML 1.2 |
| 4 | --- |
| 5 | $id: http://devicetree.org/schemas/interrupt-controller/intel,ixp4xx-interrupt.yaml# |
| 6 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 | |
| 8 | title: Intel IXP4xx XScale Networking Processors Interrupt Controller |
| 9 | |
| 10 | maintainers: |
| 11 | - Linus Walleij <linus.walleij@linaro.org> |
| 12 | |
| 13 | description: | |
| 14 | This interrupt controller is found in the Intel IXP4xx processors. |
| 15 | Some processors have 32 interrupts, some have up to 64 interrupts. |
| 16 | The exact number of interrupts is determined from the compatible |
| 17 | string. |
| 18 | |
| 19 | The distinct IXP4xx families with different interrupt controller |
| 20 | variations are IXP42x, IXP43x, IXP45x and IXP46x. Those four |
| 21 | families were the only ones to reach the developer and consumer |
| 22 | market. |
| 23 | |
| 24 | properties: |
| 25 | compatible: |
| 26 | items: |
| 27 | - enum: |
| 28 | - intel,ixp42x-interrupt |
| 29 | - intel,ixp43x-interrupt |
| 30 | - intel,ixp45x-interrupt |
| 31 | - intel,ixp46x-interrupt |
| 32 | |
| 33 | reg: |
| 34 | maxItems: 1 |
| 35 | |
| 36 | interrupt-controller: true |
| 37 | |
| 38 | '#interrupt-cells': |
| 39 | const: 2 |
| 40 | |
| 41 | required: |
| 42 | - compatible |
| 43 | - reg |
| 44 | - interrupt-controller |
| 45 | - '#interrupt-cells' |
| 46 | |
| 47 | additionalProperties: false |
| 48 | |
| 49 | examples: |
| 50 | - | |
| 51 | intcon: interrupt-controller@c8003000 { |
| 52 | compatible = "intel,ixp43x-interrupt"; |
| 53 | reg = <0xc8003000 0x100>; |
| 54 | interrupt-controller; |
| 55 | #interrupt-cells = <2>; |
| 56 | }; |