Marvell MMP/Orion Interrupt controller

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

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

Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Exact value (const): "marvell,orion-intc"

When the condition matches (then) #

Required in this object (required): "mrvl,intc-nr-irqs"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "mrvl,mmp-intc", "mrvl,mmp2-intc"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 1

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "marvell,mmp3-intc", "mrvl,mmp2-mux-intc"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 2

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "mrvl,mmp2-mux-intc"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — required here

Maximum number of items (maxItems): 1

reg-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "mux status"

Item 2

Exact value (const): "mux mask"

Required in this object (required): "interrupts"

When the condition does not match (else) #

Properties and child nodes (properties)

interrupts — not listed as required here

false — Not permitted by this property rule.

Properties and child nodes (properties) #

#interrupt-cells — required here #

Exact value (const): 1

compatible — required here #

Allowed values (enum): "mrvl,mmp-intc", "mrvl,mmp2-intc", "marvell,mmp3-intc", "marvell,orion-intc", "mrvl,mmp2-mux-intc"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reg-names — not listed as required here #

true — No constraints added by this property rule.

interrupts — not listed as required here #

true — No constraints added by this property rule.

interrupt-controller — required here #

true — No constraints added by this property rule.

mrvl,intc-nr-irqs — not listed as required here #

Specifies the number of interrupts in the interrupt controller.

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

mrvl,clr-mfp-irq — not listed as required here #

Specifies the interrupt that needs to clear MFP edge detection first.

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

Required in this object (required): "#interrupt-cells", "compatible", "reg", "interrupt-controller"

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

false

Not allowed by this rule.

Examples (examples) #

interrupt-controller@d4282000 {
    compatible = "mrvl,mmp2-intc";
    interrupt-controller;
    #interrupt-cells = <1>;
    reg = <0xd4282000 0x1000>;
    mrvl,intc-nr-irqs = <64>;
};

interrupt-controller@d4282150 {
    compatible = "mrvl,mmp2-mux-intc";
    interrupts = <4>;
    interrupt-controller;
    #interrupt-cells = <1>;
    reg = <0x150 0x4>, <0x168 0x4>;
    reg-names = "mux status", "mux mask";
    mrvl,intc-nr-irqs = <2>;
};
interrupt-controller@fed20204 {
    compatible = "marvell,orion-intc";
    interrupt-controller;
    #interrupt-cells = <1>;
    reg = <0xfed20204 0x04>,
          <0xfed20214 0x04>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Edit this page