mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-30 13:03:01 +00:00

Convert the Applied Micro X-Gene MSI controller binding to DT schema format. MSI controllers go in interrupt-controller directory so move the schema there. Link: https://lore.kernel.org/r/20250710180757.2970583-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/interrupt-controller/apm,xgene1-msi.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: AppliedMicro X-Gene v1 PCIe MSI controller
|
|
|
|
maintainers:
|
|
- Toan Le <toan@os.amperecomputing.com>
|
|
|
|
properties:
|
|
compatible:
|
|
const: apm,xgene1-msi
|
|
|
|
msi-controller: true
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 16
|
|
|
|
required:
|
|
- compatible
|
|
- msi-controller
|
|
- reg
|
|
- interrupts
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
msi@79000000 {
|
|
compatible = "apm,xgene1-msi";
|
|
msi-controller;
|
|
reg = <0x79000000 0x900000>;
|
|
interrupts = <0x0 0x10 0x4>,
|
|
<0x0 0x11 0x4>,
|
|
<0x0 0x12 0x4>,
|
|
<0x0 0x13 0x4>,
|
|
<0x0 0x14 0x4>,
|
|
<0x0 0x15 0x4>,
|
|
<0x0 0x16 0x4>,
|
|
<0x0 0x17 0x4>,
|
|
<0x0 0x18 0x4>,
|
|
<0x0 0x19 0x4>,
|
|
<0x0 0x1a 0x4>,
|
|
<0x0 0x1b 0x4>,
|
|
<0x0 0x1c 0x4>,
|
|
<0x0 0x1d 0x4>,
|
|
<0x0 0x1e 0x4>,
|
|
<0x0 0x1f 0x4>;
|
|
};
|