STMicroelectronics STi System Configuration Controlled IRQs
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/st,stih407-irq-syscfg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Patrice Chotard <patrice.chotard@foss.st.com>"
On STi based systems; External, CTI (Core Sight), PMU (Performance Management), and PL310 L2 Cache IRQs are controlled using System Configuration registers. This device is used to unmask them prior to use.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stih407-irq-syscfg"
st,syscfg — required here #
Phandle to Cortex-A9 IRQ system config registers
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
st,irq-device — required here #
Array of IRQs to enable.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Item 1
Enable the IRQ of the channel one.
Item 2
Enable the IRQ of the channel two.
st,fiq-device — required here #
Array of FIQs to enable.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Item 1
Enable the IRQ of the channel one.
Item 2
Enable the IRQ of the channel two.
st,invert-ext — not listed as required here #
External IRQs can be inverted at will. This property inverts these three IRQs using bitwise logic, each one being encoded respectively on the first, second and fourth bit.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 3, 4, 5, 6
Required in this object (required): "compatible", "st,syscfg", "st,irq-device", "st,fiq-device"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq-st.h>
irq-syscfg {
compatible = "st,stih407-irq-syscfg";
st,syscfg = <&syscfg_cpu>;
st,irq-device = <ST_IRQ_SYSCFG_PMU_0>,
<ST_IRQ_SYSCFG_PMU_1>;
st,fiq-device = <ST_IRQ_SYSCFG_DISABLED>,
<ST_IRQ_SYSCFG_DISABLED>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)