Files
cubelinux-kernel/Documentation/devicetree/bindings/interrupt-controller/hisilicon,mbigen-v2.yaml
T
Greg Kroah-Hartman 598cf27219 Linux 6.19.3
Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com>
Tested-by: Peter Schneider <pschneider1968@googlemail.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Salvatore Bonaccorso <carnil@debian.org>
Tested-by: Brett A C Sheffield <bacs@librecast.net>
Tested-by: Mark Brown <broonie@kernel.org>
Tested-by: Luna Jernberg <droidbittin@gmail.com>
Tested-by: Ronald Warsow <rwarsow@gmx.de>
Tested-by: Justin M. Forbes <jforbes@fedoraproject.org>
Tested-by: Ron Economos <re@w6rz.net>
Tested-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-02-19 16:33:27 +01:00

77 lines
1.6 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/hisilicon,mbigen-v2.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Hisilicon mbigen v2
maintainers:
- Wei Xu <xuwei5@hisilicon.com>
description: >
Mbigen means: message based interrupt generator.
MBI is kind of msi interrupt only used on Non-PCI devices.
To reduce the wired interrupt number connected to GIC, Hisilicon designed
mbigen to collect and generate interrupt.
Non-pci devices can connect to mbigen and generate the interrupt by writing
ITS register.
properties:
compatible:
const: hisilicon,mbigen-v2
reg:
maxItems: 1
required:
- compatible
- reg
additionalProperties:
type: object
additionalProperties: false
properties:
interrupt-controller: true
'#interrupt-cells':
const: 2
msi-parent:
maxItems: 1
num-pins:
description: The total number of pins implemented in this Mbigen instance.
$ref: /schemas/types.yaml#/definitions/uint32
required:
- interrupt-controller
- "#interrupt-cells"
- msi-parent
- num-pins
examples:
- |
mbigen@c0080000 {
compatible = "hisilicon,mbigen-v2";
reg = <0xc0080000 0x10000>;
mbigen_gmac: intc_gmac {
interrupt-controller;
#interrupt-cells = <2>;
msi-parent = <&its_dsa 0x40b1c>;
num-pins = <9>;
};
mbigen_i2c: intc_i2c {
interrupt-controller;
#interrupt-cells = <2>;
msi-parent = <&its_dsa 0x40b0e>;
num-pins = <2>;
};
};