1*7ef62cebSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2*7ef62cebSEmmanuel Vadot%YAML 1.2 3*7ef62cebSEmmanuel Vadot--- 4*7ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/mti,cpu-interrupt-controller.yaml# 5*7ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*7ef62cebSEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: MIPS CPU Interrupt Controller 8*7ef62cebSEmmanuel Vadot 9*7ef62cebSEmmanuel Vadotdescription: > 10*7ef62cebSEmmanuel Vadot On MIPS the mips_cpu_irq_of_init() helper can be used to initialize the 8 CPU 11*7ef62cebSEmmanuel Vadot IRQs from a devicetree file and create a irq_domain for IRQ controller. 12*7ef62cebSEmmanuel Vadot 13*7ef62cebSEmmanuel Vadot With the irq_domain in place we can describe how the 8 IRQs are wired to the 14*7ef62cebSEmmanuel Vadot platforms internal interrupt controller cascade. 15*7ef62cebSEmmanuel Vadot 16*7ef62cebSEmmanuel Vadotmaintainers: 17*7ef62cebSEmmanuel Vadot - Thomas Bogendoerfer <tsbogend@alpha.franken.de> 18*7ef62cebSEmmanuel Vadot 19*7ef62cebSEmmanuel Vadotproperties: 20*7ef62cebSEmmanuel Vadot compatible: 21*7ef62cebSEmmanuel Vadot const: mti,cpu-interrupt-controller 22*7ef62cebSEmmanuel Vadot 23*7ef62cebSEmmanuel Vadot '#interrupt-cells': 24*7ef62cebSEmmanuel Vadot const: 1 25*7ef62cebSEmmanuel Vadot 26*7ef62cebSEmmanuel Vadot '#address-cells': 27*7ef62cebSEmmanuel Vadot const: 0 28*7ef62cebSEmmanuel Vadot 29*7ef62cebSEmmanuel Vadot interrupt-controller: true 30*7ef62cebSEmmanuel Vadot 31*7ef62cebSEmmanuel VadotadditionalProperties: false 32*7ef62cebSEmmanuel Vadot 33*7ef62cebSEmmanuel Vadotrequired: 34*7ef62cebSEmmanuel Vadot - compatible 35*7ef62cebSEmmanuel Vadot - '#interrupt-cells' 36*7ef62cebSEmmanuel Vadot - '#address-cells' 37*7ef62cebSEmmanuel Vadot - interrupt-controller 38*7ef62cebSEmmanuel Vadot 39*7ef62cebSEmmanuel Vadotexamples: 40*7ef62cebSEmmanuel Vadot - | 41*7ef62cebSEmmanuel Vadot interrupt-controller { 42*7ef62cebSEmmanuel Vadot compatible = "mti,cpu-interrupt-controller"; 43*7ef62cebSEmmanuel Vadot #address-cells = <0>; 44*7ef62cebSEmmanuel Vadot #interrupt-cells = <1>; 45*7ef62cebSEmmanuel Vadot interrupt-controller; 46*7ef62cebSEmmanuel Vadot }; 47