Hisilicon mbigen v2

Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/hisilicon,mbigen-v2.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Wei Xu <xuwei5@hisilicon.com>"

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 and child nodes (properties) #

compatible — required here #

Exact value (const): "hisilicon,mbigen-v2"

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 2

msi-parent — required here #

Maximum number of items (maxItems): 1

num-pins — required here #

The total number of pins implemented in this Mbigen instance.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Required in this object (required): "interrupt-controller", "#interrupt-cells", "msi-parent", "num-pins"

Examples (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>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page