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