1cd989bfcSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2cd989bfcSEmmanuel Vadot%YAML 1.2 3cd989bfcSEmmanuel Vadot--- 4cd989bfcSEmmanuel Vadot$id: http://devicetree.org/schemas/misc/aspeed,ast2400-cvic.yaml# 5cd989bfcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6cd989bfcSEmmanuel Vadot 7cd989bfcSEmmanuel Vadottitle: Aspeed Coprocessor Vectored Interrupt Controller 8cd989bfcSEmmanuel Vadot 9cd989bfcSEmmanuel Vadotmaintainers: 10cd989bfcSEmmanuel Vadot - Andrew Jeffery <andrew@codeconstruct.com.au> 11cd989bfcSEmmanuel Vadot 12cd989bfcSEmmanuel Vadotdescription: 13cd989bfcSEmmanuel Vadot The Aspeed AST2400 and AST2500 SoCs have a controller that provides interrupts 14cd989bfcSEmmanuel Vadot to the ColdFire coprocessor. It's not a normal interrupt controller and it 15cd989bfcSEmmanuel Vadot would be rather inconvenient to create an interrupt tree for it, as it 16cd989bfcSEmmanuel Vadot somewhat shares some of the same sources as the main ARM interrupt controller 17cd989bfcSEmmanuel Vadot but with different numbers. 18cd989bfcSEmmanuel Vadot 19cd989bfcSEmmanuel Vadot The AST2500 also supports a software generated interrupt. 20cd989bfcSEmmanuel Vadot 21cd989bfcSEmmanuel Vadotproperties: 22cd989bfcSEmmanuel Vadot compatible: 23cd989bfcSEmmanuel Vadot items: 24cd989bfcSEmmanuel Vadot - enum: 25cd989bfcSEmmanuel Vadot - aspeed,ast2400-cvic 26cd989bfcSEmmanuel Vadot - aspeed,ast2500-cvic 27cd989bfcSEmmanuel Vadot - const: aspeed,cvic 28cd989bfcSEmmanuel Vadot 29cd989bfcSEmmanuel Vadot reg: 30cd989bfcSEmmanuel Vadot maxItems: 1 31cd989bfcSEmmanuel Vadot 32cd989bfcSEmmanuel Vadot valid-sources: 33cd989bfcSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32-array 34cd989bfcSEmmanuel Vadot maxItems: 1 35cd989bfcSEmmanuel Vadot description: 36cd989bfcSEmmanuel Vadot A bitmap of supported sources for the implementation. 37cd989bfcSEmmanuel Vadot 38cd989bfcSEmmanuel Vadot copro-sw-interrupts: 39cd989bfcSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32-array 40cd989bfcSEmmanuel Vadot minItems: 1 41cd989bfcSEmmanuel Vadot maxItems: 32 42cd989bfcSEmmanuel Vadot description: 43cd989bfcSEmmanuel Vadot A list of interrupt numbers that can be used as software interrupts from 44cd989bfcSEmmanuel Vadot the ARM to the coprocessor. 45cd989bfcSEmmanuel Vadot 46cd989bfcSEmmanuel Vadotrequired: 47cd989bfcSEmmanuel Vadot - compatible 48cd989bfcSEmmanuel Vadot - reg 49cd989bfcSEmmanuel Vadot - valid-sources 50cd989bfcSEmmanuel Vadot 51cd989bfcSEmmanuel VadotadditionalProperties: false 52cd989bfcSEmmanuel Vadot 53cd989bfcSEmmanuel Vadotexamples: 54cd989bfcSEmmanuel Vadot - | 55cd989bfcSEmmanuel Vadot interrupt-controller@1e6c2000 { 56cd989bfcSEmmanuel Vadot compatible = "aspeed,ast2500-cvic", "aspeed,cvic"; 57cd989bfcSEmmanuel Vadot reg = <0x1e6c2000 0x80>; 58cd989bfcSEmmanuel Vadot valid-sources = <0xffffffff>; 59cd989bfcSEmmanuel Vadot copro-sw-interrupts = <1>; 60cd989bfcSEmmanuel Vadot }; 61