MediaTek sysirq
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/mediatek,mt6577-sysirq.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
MediaTek SOCs sysirq support controllable irq inverter for each GIC SPI interrupt.
Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"mediatek,mt6577-sysirq"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt2701-sysirq","mediatek,mt2712-sysirq","mediatek,mt6572-sysirq","mediatek,mt6580-sysirq","mediatek,mt6582-sysirq","mediatek,mt6589-sysirq","mediatek,mt6592-sysirq","mediatek,mt6755-sysirq","mediatek,mt6765-sysirq","mediatek,mt6779-sysirq","mediatek,mt6795-sysirq","mediatek,mt6797-sysirq","mediatek,mt7622-sysirq","mediatek,mt7623-sysirq","mediatek,mt7629-sysirq","mediatek,mt8127-sysirq","mediatek,mt8135-sysirq","mediatek,mt8173-sysirq","mediatek,mt8183-sysirq","mediatek,mt8365-sysirq","mediatek,mt8516-sysirq"Item 2
Exact value (
const):"mediatek,mt6577-sysirq"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-controller — required here #
true — No constraints added by this property rule.
#interrupt-cells — required here #
Shared schema rule ($ref): arm,gic.yaml#/properties/#interrupt-cells
Required in this object (required): "reg", "interrupt-controller", "#interrupt-cells"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/interrupt-controller.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"mediatek,mt6797-sysirq"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
interrupt-controller@10200620 {
compatible = "mediatek,mt6797-sysirq", "mediatek,mt6577-sysirq";
reg = <0x10220620 0x20>,
<0x10220690 0x10>;
interrupt-parent = <&gic>;
interrupt-controller;
#interrupt-cells = <3>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause