Xilinx Interrupt Controller
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/xlnx,intc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michal Simek <michal.simek@amd.com>"
The controller is a soft IP core that is configured at build time for the number of interrupts and the type of each interrupt. These details cannot be changed at run time.
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "xlnx,xps-intc-1.00.a"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
#interrupt-cells — required here #
Exact value (const): 2
Specifies the number of cells needed to encode an interrupt source. The value shall be a minimum of 1. The Xilinx device trees typically use 2 but the 2nd value is not used.
interrupt-controller — required here #
true — No constraints added by this property rule.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Specifies the interrupt of the parent controller from which it is chained.
xlnx,kind-of-intr — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
A 32 bit value specifying the interrupt type for each possible interrupt (1 = edge, 0 = level). The interrupt type typically comes in thru the device tree node of the interrupt generating device, but in this case the interrupt type is determined by the interrupt controller based on how it was implemented.
xlnx,num-intr-inputs — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 32
Specifies the number of interrupts supported by the specific implementation of the controller.
Required in this object (required): "reg", "#interrupt-cells", "interrupt-controller", "xlnx,kind-of-intr", "xlnx,num-intr-inputs"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
interrupt-controller@41800000 {
compatible = "xlnx,xps-intc-1.00.a";
reg = <0x41800000 0x10000>;
#interrupt-cells = <2>;
interrupt-controller;
xlnx,kind-of-intr = <0x1>;
xlnx,num-intr-inputs = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)