1*29860e29SAndrew Jeffery# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*29860e29SAndrew Jeffery%YAML 1.2 3*29860e29SAndrew Jeffery--- 4*29860e29SAndrew Jeffery$id: http://devicetree.org/schemas/interrupt-controller/aspeed,ast2400-vic.yaml# 5*29860e29SAndrew Jeffery$schema: http://devicetree.org/meta-schemas/core.yaml# 6*29860e29SAndrew Jeffery 7*29860e29SAndrew Jefferytitle: Aspeed Vectored Interrupt Controller 8*29860e29SAndrew Jeffery 9*29860e29SAndrew Jefferymaintainers: 10*29860e29SAndrew Jeffery - Andrew Jeffery <andrew@codeconstruct.com.au> 11*29860e29SAndrew Jeffery 12*29860e29SAndrew Jefferydescription: 13*29860e29SAndrew Jeffery The AST2400 and AST2500 SoC families include a legacy register layout before 14*29860e29SAndrew Jeffery a redesigned layout, but the bindings do not prescribe the use of one or the 15*29860e29SAndrew Jeffery other. 16*29860e29SAndrew Jeffery 17*29860e29SAndrew Jefferyproperties: 18*29860e29SAndrew Jeffery compatible: 19*29860e29SAndrew Jeffery enum: 20*29860e29SAndrew Jeffery - aspeed,ast2400-vic 21*29860e29SAndrew Jeffery - aspeed,ast2500-vic 22*29860e29SAndrew Jeffery 23*29860e29SAndrew Jeffery reg: 24*29860e29SAndrew Jeffery maxItems: 1 25*29860e29SAndrew Jeffery 26*29860e29SAndrew Jeffery interrupt-controller: true 27*29860e29SAndrew Jeffery 28*29860e29SAndrew Jeffery "#interrupt-cells": 29*29860e29SAndrew Jeffery const: 1 30*29860e29SAndrew Jeffery description: 31*29860e29SAndrew Jeffery Specifies the number of cells needed to encode an interrupt source. It 32*29860e29SAndrew Jeffery must be 1 as the VIC has no configuration options for interrupt sources. 33*29860e29SAndrew Jeffery The single cell defines the interrupt number. 34*29860e29SAndrew Jeffery 35*29860e29SAndrew Jeffery valid-sources: 36*29860e29SAndrew Jeffery $ref: /schemas/types.yaml#/definitions/uint32-array 37*29860e29SAndrew Jeffery maxItems: 2 38*29860e29SAndrew Jeffery description: 39*29860e29SAndrew Jeffery A bitmap of supported sources for the implementation. 40*29860e29SAndrew Jeffery 41*29860e29SAndrew Jefferyrequired: 42*29860e29SAndrew Jeffery - compatible 43*29860e29SAndrew Jeffery - reg 44*29860e29SAndrew Jeffery - interrupt-controller 45*29860e29SAndrew Jeffery - "#interrupt-cells" 46*29860e29SAndrew Jeffery 47*29860e29SAndrew JefferyallOf: 48*29860e29SAndrew Jeffery - $ref: /schemas/interrupt-controller.yaml 49*29860e29SAndrew Jeffery 50*29860e29SAndrew JefferyadditionalProperties: false 51*29860e29SAndrew Jeffery 52*29860e29SAndrew Jefferyexamples: 53*29860e29SAndrew Jeffery - | 54*29860e29SAndrew Jeffery interrupt-controller@1e6c0080 { 55*29860e29SAndrew Jeffery compatible = "aspeed,ast2400-vic"; 56*29860e29SAndrew Jeffery reg = <0x1e6c0080 0x80>; 57*29860e29SAndrew Jeffery interrupt-controller; 58*29860e29SAndrew Jeffery #interrupt-cells = <1>; 59*29860e29SAndrew Jeffery valid-sources = <0xffffffff 0x0007ffff>; 60*29860e29SAndrew Jeffery }; 61*29860e29SAndrew Jeffery 62*29860e29SAndrew Jeffery... 63