[PATCH 4/8] dt-bindings: phy: Describe CS7542 PCIe SerDes
Fil Dunsky via B4 Relay
devnull+filipp.dunsky.gmail.com at kernel.org
Mon Nov 23 10:43:32 PST 2026
From: Fil Dunsky <filipp.dunsky at gmail.com>
Describe three Snow Bush lanes, their shared status bank, global reset
controls and 24 MHz reference. PCIe is the only supported operating mode.
Signed-off-by: Fil Dunsky <filipp.dunsky at gmail.com>
---
.../bindings/phy/cortina,cs7542-pcie-phy.yaml | 67 ++++++++++++++++++++++
1 file changed, 67 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/cortina,cs7542-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/cortina,cs7542-pcie-phy.yaml
new file mode 100644
index 000000000..9ccde6e05
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/cortina,cs7542-pcie-phy.yaml
@@ -0,0 +1,67 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/cortina,cs7542-pcie-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Cortina Systems CS7542 PCIe SerDes
+
+maintainers:
+ - Fil Dunsky <filipp.dunsky at gmail.com>
+
+description: |
+ Three Snow Bush SerDes lanes shared by PCIe and SATA. Only PCIe mode
+ with a 24 MHz reference is described. The PHY specifier is the lane
+ number, 0 through 2. The status resource contains the shared PHY
+ status registers, with a stride of 0x80 bytes per lane.
+
+properties:
+ compatible:
+ const: cortina,cs7542-pcie-phy
+
+ reg:
+ items:
+ - description: Lane 0 programming registers
+ - description: Lane 1 programming registers
+ - description: Lane 2 programming registers
+ - description: Shared PHY status registers
+
+ reg-names:
+ items:
+ - const: phy0
+ - const: phy1
+ - const: phy2
+ - const: status
+
+ clocks:
+ maxItems: 1
+ description: 24 MHz SerDes reference clock
+
+ cortina,global-syscon:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description: Global control syscon providing lane reset and mode selection
+
+ "#phy-cells":
+ const: 1
+
+required:
+ - compatible
+ - reg
+ - reg-names
+ - clocks
+ - cortina,global-syscon
+ - "#phy-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ phy at f00a1000 {
+ compatible = "cortina,cs7542-pcie-phy";
+ reg = <0xf00a1000 0x400>, <0xf00a5000 0x400>,
+ <0xf00a9000 0x400>, <0xf00a0e00 0x180>;
+ reg-names = "phy0", "phy1", "phy2", "status";
+ clocks = <&ref24>;
+ cortina,global-syscon = <&global>;
+ #phy-cells = <1>;
+ };
--
2.53.0
More information about the linux-phy
mailing list