brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · a71fc22 Raw
63 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,pch-msi.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Loongson PCH MSI Controller8 9maintainers:10  - Jiaxun Yang <jiaxun.yang@flygoat.com>11 12description:13  This interrupt controller is found in the Loongson LS7A family of PCH for14  transforming interrupts from PCIe MSI into HyperTransport vectorized15  interrupts.16 17properties:18  compatible:19    const: loongson,pch-msi-1.020 21  reg:22    maxItems: 123 24  loongson,msi-base-vec:25    description:26      u32 value of the base of parent HyperTransport vector allocated27      to PCH MSI.28    $ref: /schemas/types.yaml#/definitions/uint3229    minimum: 030    maximum: 25531 32  loongson,msi-num-vecs:33    description:34      u32 value of the number of parent HyperTransport vectors allocated35      to PCH MSI.36    $ref: /schemas/types.yaml#/definitions/uint3237    minimum: 138    maximum: 25639 40  msi-controller: true41 42required:43  - compatible44  - reg45  - msi-controller46  - loongson,msi-base-vec47  - loongson,msi-num-vecs48 49additionalProperties: true # fixme50 51examples:52  - |53    #include <dt-bindings/interrupt-controller/irq.h>54    msi: msi-controller@2ff00000 {55      compatible = "loongson,pch-msi-1.0";56      reg = <0x2ff00000 0x4>;57      msi-controller;58      loongson,msi-base-vec = <64>;59      loongson,msi-num-vecs = <64>;60      interrupt-parent = <&htvec>;61    };62...63