Open PIC Interrupt Controller
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/chrp,open-pic.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
This binding specifies what properties must be available in the device tree representation of an Open PIC compliant interrupt controller. This binding is based on the binding defined for Open PIC in [1] and is a superset of that binding.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"fsl,mpic"Item 2
Exact value (
const):"chrp,open-pic"
Rule 2
Exact value (
const):"chrp,open-pic"
device_type — not listed as required here #
Exact value (const): "open-pci"
Deprecated (deprecated): true
reg — required here #
Maximum number of items (maxItems): 1
interrupt-controller — required here #
true — No constraints added by this property rule.
#address-cells — required here #
Exact value (const): 0
#interrupt-cells — required here #
A value of 4 means that interrupt specifiers contain the interrupt-type or type-specific information cells.
pic-no-reset — not listed as required here #
Indicates the PIC shall not be reset during runtime initialization.
Value type (type): "boolean"
single-cpu-affinity — not listed as required here #
If present, non-IPI interrupts will be routed to a single CPU at a time.
Value type (type): "boolean"
last-interrupt-source — not listed as required here #
Some MPICs do not correctly report the number of hardware sources in the global feature registers. This value, if specified, overrides the value read from MPIC_GREG_FEATURE_LAST_SRC.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Required in this object (required): "compatible", "reg", "interrupt-controller", "#address-cells", "#interrupt-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
interrupt-controller@40000 {
compatible = "chrp,open-pic";
reg = <0x40000 0x40000>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
pic-no-reset;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)