brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 1d14576 Raw
58 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/interrupt-controller/loongson,htvec.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Loongson-3 HyperTransport Interrupt Vector Controller8 9maintainers:10  - Jiaxun Yang <jiaxun.yang@flygoat.com>11 12description:13  This interrupt controller is found in the Loongson-3 family of chips for14  receiving vectorized interrupts from PCH's interrupt controller.15 16properties:17  compatible:18    const: loongson,htvec-1.019 20  reg:21    maxItems: 122 23  interrupts:24    minItems: 125    maxItems: 826    description: Eight parent interrupts that receive chained interrupts.27 28  interrupt-controller: true29 30  '#interrupt-cells':31    const: 132 33required:34  - compatible35  - reg36  - interrupts37  - interrupt-controller38  - '#interrupt-cells'39 40additionalProperties: false41 42examples:43  - |44    #include <dt-bindings/interrupt-controller/irq.h>45    htvec: interrupt-controller@fb000080 {46      compatible = "loongson,htvec-1.0";47      reg = <0xfb000080 0x40>;48      interrupt-controller;49      #interrupt-cells = <1>;50 51      interrupt-parent = <&liointc>;52      interrupts = <24 IRQ_TYPE_LEVEL_HIGH>,53                    <25 IRQ_TYPE_LEVEL_HIGH>,54                    <26 IRQ_TYPE_LEVEL_HIGH>,55                    <27 IRQ_TYPE_LEVEL_HIGH>;56    };57...58