63 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2400-vic.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Aspeed Vectored Interrupt Controller8 9maintainers:10 - Andrew Jeffery <andrew@codeconstruct.com.au>11 12description:13 The AST2400 and AST2500 SoC families include a legacy register layout before14 a redesigned layout, but the bindings do not prescribe the use of one or the15 other.16 17properties:18 compatible:19 enum:20 - aspeed,ast2400-vic21 - aspeed,ast2500-vic22 23 reg:24 maxItems: 125 26 interrupt-controller: true27 28 "#interrupt-cells":29 const: 130 description:31 Specifies the number of cells needed to encode an interrupt source. It32 must be 1 as the VIC has no configuration options for interrupt sources.33 The single cell defines the interrupt number.34 35 valid-sources:36 $ref: /schemas/types.yaml#/definitions/uint32-array37 maxItems: 238 description:39 A bitmap of supported sources for the implementation.40 41required:42 - compatible43 - reg44 - interrupt-controller45 - "#interrupt-cells"46 47allOf:48 - $ref: /schemas/interrupt-controller.yaml49 50additionalProperties: false51 52examples:53 - |54 interrupt-controller@1e6c0080 {55 compatible = "aspeed,ast2400-vic";56 reg = <0x1e6c0080 0x80>;57 interrupt-controller;58 #interrupt-cells = <1>;59 valid-sources = <0xffffffff 0x0007ffff>;60 };61 62...63