[PATCH 2/8] dt-bindings: clock: Describe CS7542 PCIe gates and resets

Fil Dunsky via B4 Relay devnull+filipp.dunsky.gmail.com at kernel.org
Mon Nov 23 10:43:30 PST 2026


From: Fil Dunsky <filipp.dunsky at gmail.com>

Describe the global-syscon child providing three PCIe controller gates
and reset lines. Port indices are shared by clock and reset specifiers.
The gate-only clocks do not claim a source frequency.

Signed-off-by: Fil Dunsky <filipp.dunsky at gmail.com>
---
 .../clock/cortina,cs7542-pcie-control.yaml         | 47 ++++++++++++++++++++++
 .../soc/cortina/cortina,cs7542-syscon.yaml         |  4 ++
 2 files changed, 51 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/cortina,cs7542-pcie-control.yaml b/Documentation/devicetree/bindings/clock/cortina,cs7542-pcie-control.yaml
new file mode 100644
index 000000000..08e0214d2
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/cortina,cs7542-pcie-control.yaml
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/cortina,cs7542-pcie-control.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Cortina Systems CS7542 PCIe gates and resets
+
+maintainers:
+  - Fil Dunsky <filipp.dunsky at gmail.com>
+
+description: |
+  Child of the CS7542 global control syscon. Clock and reset specifiers
+  select controller 0, 1 or 2. These clocks describe only the controller
+  enable gates; their source frequency and rate control are not described.
+  SerDes reference clocks and lane reset controls are separate.
+
+properties:
+  compatible:
+    const: cortina,cs7542-pcie-control
+
+  "#clock-cells":
+    const: 1
+
+  "#reset-cells":
+    const: 1
+
+required:
+  - compatible
+  - "#clock-cells"
+  - "#reset-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    syscon at f0000000 {
+        compatible = "cortina,cs7542-syscon", "syscon", "simple-mfd";
+        reg = <0xf0000000 0x100>;
+        #clock-cells = <1>;
+
+        pcie-control {
+            compatible = "cortina,cs7542-pcie-control";
+            #clock-cells = <1>;
+            #reset-cells = <1>;
+        };
+    };
diff --git a/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml b/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
index fb074de87..52597c4e8 100644
--- a/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
+++ b/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
@@ -29,6 +29,10 @@ properties:
   "#clock-cells":
     const: 1
 
+  pcie-control:
+    type: object
+    $ref: /schemas/clock/cortina,cs7542-pcie-control.yaml#
+
   pinctrl:
     type: object
     $ref: /schemas/pinctrl/cortina,cs7542-pinctrl.yaml#

-- 
2.53.0





More information about the linux-phy mailing list