[PATCH 1/3] dt-bindings: rtc: Add Cortina Systems CS7542 RTC

From: Fil Dunsky via B4 Relay

Date: Mon Nov 23 2026 - 13:42:07 EST


From: Fil Dunsky <filipp.dunsky@xxxxxxxxx>

Describe the RTC register block and its optional alarm and periodic
interrupt lines. The initial driver supports the calendar without
requiring those interrupts.

Signed-off-by: Fil Dunsky <filipp.dunsky@xxxxxxxxx>
---
.../bindings/rtc/cortina,cs7542-rtc.yaml | 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)

diff --git a/Documentation/devicetree/bindings/rtc/cortina,cs7542-rtc.yaml b/Documentation/devicetree/bindings/rtc/cortina,cs7542-rtc.yaml
new file mode 100644
index 000000000..8c2cc7ec9
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/cortina,cs7542-rtc.yaml
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/cortina,cs7542-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Cortina Systems CS7542 real-time clock
+
+maintainers:
+ - Fil Dunsky <filipp.dunsky@xxxxxxxxx>
+
+allOf:
+ - $ref: rtc.yaml#
+
+properties:
+ compatible:
+ const: cortina,cs7542-rtc
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ items:
+ - description: Alarm interrupt
+ - description: Periodic interrupt
+
+ interrupt-names:
+ items:
+ - const: alarm
+ - const: periodic
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ rtc@f4920000 {
+ compatible = "cortina,cs7542-rtc";
+ reg = <0xf4920000 0x50>;
+ interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "alarm", "periodic";
+ };

--
2.53.0