[PATCH 01/11] dt-bindings: interrupt-controller: Add Cortina Systems CS7542 peripheral interrupt controller
From: Fil Dunsky via B4 Relay
Date: Mon Oct 12 2026 - 13:34:03 EST
From: Fil Dunsky <filipp.dunsky@xxxxxxxxx>
The low speed peripherals of the Cortina Systems CS75xx SoCs share one
GIC interrupt. A small controller in the peripheral register block
reports which of its 15 sources are asserted and allows masking them.
Signed-off-by: Fil Dunsky <filipp.dunsky@xxxxxxxxx>
---
.../interrupt-controller/cortina,cs7542-intc.yaml | 57 ++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/Documentation/devicetree/bindings/interrupt-controller/cortina,cs7542-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/cortina,cs7542-intc.yaml
new file mode 100644
index 000000000..2963acaf7
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/cortina,cs7542-intc.yaml
@@ -0,0 +1,57 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/interrupt-controller/cortina,cs7542-intc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Cortina Systems CS7542 peripheral interrupt controller
+
+maintainers:
+ - Fil Dunsky <filipp.dunsky@xxxxxxxxx>
+
+description:
+ The low speed peripherals of the Cortina Systems CS75xx (Goldengate G2)
+ SoCs (two software interrupts, two timers, the AXI bridge, SPI, the five
+ GPIO banks, I2C, MDIO, SSP and the random number generator) share one GIC
+ interrupt. This controller has a status register showing the level of the
+ 15 sources and an enable register to mask them. The sources are cleared in
+ the peripherals themselves.
+
+properties:
+ compatible:
+ const: cortina,cs7542-intc
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ interrupt-controller: true
+
+ "#interrupt-cells":
+ const: 1
+ description:
+ The number of the source, 0 to 14. All sources are active high level
+ interrupts.
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - interrupt-controller
+ - "#interrupt-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ interrupt-controller@f0070004 {
+ compatible = "cortina,cs7542-intc";
+ reg = <0xf0070004 0x8>;
+ interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ };
--
2.53.0