1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*cb7aa33aSEmmanuel Vadot%YAML 1.2 3*cb7aa33aSEmmanuel Vadot--- 4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/loongson,ls1x-intc.yaml# 5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*cb7aa33aSEmmanuel Vadot 7*cb7aa33aSEmmanuel Vadottitle: Loongson-1 Interrupt Controller 8*cb7aa33aSEmmanuel Vadot 9*cb7aa33aSEmmanuel Vadotmaintainers: 10*cb7aa33aSEmmanuel Vadot - Keguang Zhang <keguang.zhang@gmail.com> 11*cb7aa33aSEmmanuel Vadot 12*cb7aa33aSEmmanuel Vadotdescription: 13*cb7aa33aSEmmanuel Vadot Loongson-1 interrupt controller is connected to the MIPS core interrupt 14*cb7aa33aSEmmanuel Vadot controller, which controls several groups of interrupts. 15*cb7aa33aSEmmanuel Vadot 16*cb7aa33aSEmmanuel Vadotproperties: 17*cb7aa33aSEmmanuel Vadot compatible: 18*cb7aa33aSEmmanuel Vadot const: loongson,ls1x-intc 19*cb7aa33aSEmmanuel Vadot 20*cb7aa33aSEmmanuel Vadot reg: 21*cb7aa33aSEmmanuel Vadot maxItems: 1 22*cb7aa33aSEmmanuel Vadot 23*cb7aa33aSEmmanuel Vadot interrupt-controller: true 24*cb7aa33aSEmmanuel Vadot 25*cb7aa33aSEmmanuel Vadot '#interrupt-cells': 26*cb7aa33aSEmmanuel Vadot const: 2 27*cb7aa33aSEmmanuel Vadot 28*cb7aa33aSEmmanuel Vadot interrupts: 29*cb7aa33aSEmmanuel Vadot maxItems: 1 30*cb7aa33aSEmmanuel Vadot 31*cb7aa33aSEmmanuel Vadotrequired: 32*cb7aa33aSEmmanuel Vadot - compatible 33*cb7aa33aSEmmanuel Vadot - reg 34*cb7aa33aSEmmanuel Vadot - interrupt-controller 35*cb7aa33aSEmmanuel Vadot - '#interrupt-cells' 36*cb7aa33aSEmmanuel Vadot - interrupts 37*cb7aa33aSEmmanuel Vadot 38*cb7aa33aSEmmanuel VadotadditionalProperties: false 39*cb7aa33aSEmmanuel Vadot 40*cb7aa33aSEmmanuel Vadotexamples: 41*cb7aa33aSEmmanuel Vadot - | 42*cb7aa33aSEmmanuel Vadot intc0: interrupt-controller@1fd01040 { 43*cb7aa33aSEmmanuel Vadot compatible = "loongson,ls1x-intc"; 44*cb7aa33aSEmmanuel Vadot reg = <0x1fd01040 0x18>; 45*cb7aa33aSEmmanuel Vadot 46*cb7aa33aSEmmanuel Vadot interrupt-controller; 47*cb7aa33aSEmmanuel Vadot #interrupt-cells = <2>; 48*cb7aa33aSEmmanuel Vadot 49*cb7aa33aSEmmanuel Vadot interrupt-parent = <&cpu_intc>; 50*cb7aa33aSEmmanuel Vadot interrupts = <2>; 51*cb7aa33aSEmmanuel Vadot }; 52