[PATCH v3 2/3] dt-bindings: phy: airoha: Document support for AN7583 Gen2 PCIe PHY
From: Christian Marangi
Date: Thu Aug 27 2026 - 09:44:13 EST
Document support for AN7583 Gen2 PCIe PHY used to make the Gen2 PCIe port
work. Add the required register to configure the PCIe PHY and provide an
example for it.
Similar to the USB 3.0 PHY, a dedicated phys property is required to
configure the serdes for PCIe or Ethernet usage.
Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>
---
.../phy/airoha,an7583-pcie-gen2-phy.yaml | 63 +++++++++++++++++++
1 file changed, 63 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/airoha,an7583-pcie-gen2-phy.yaml
diff --git a/Documentation/devicetree/bindings/phy/airoha,an7583-pcie-gen2-phy.yaml b/Documentation/devicetree/bindings/phy/airoha,an7583-pcie-gen2-phy.yaml
new file mode 100644
index 000000000000..f31d838871fc
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/airoha,an7583-pcie-gen2-phy.yaml
@@ -0,0 +1,63 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/airoha,an7583-pcie-gen2-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Airoha AN7581 SoC PCIe Gen2 PHY
+
+maintainers:
+ - Christian Marangi <ansuelsmth@xxxxxxxxx>
+
+description: >
+ The Airoha AN7583 SoC PCIe Gen2 PHY describes the PCIe PHY for the
+ Gen2 PCIe controller.
+
+ This PCIe PHY makes use of a dedicated USB PHY for PCIe usage and
+ can also be used for Ethernet usage for SGMII or HSGMII mode.
+
+properties:
+ compatible:
+ const: airoha,an7583-pcie-phy
+
+ reg:
+ items:
+ - description: ana register
+ - description: pma register
+ - description: dig register
+
+ reg-names:
+ items:
+ - const: ana
+ - const: pma
+ - const: dig
+
+ phys:
+ items:
+ - description: phandle to Serdes PHY
+
+ '#phy-cells':
+ const: 0
+
+required:
+ - compatible
+ - reg
+ - reg-names
+ - phys
+ - '#phy-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ phy@1fa5f000 {
+ compatible = "airoha,an7583-pcie-phy";
+ reg = <0x1fa5f000 0xff>,
+ <0x1fa5e000 0x3ff>,
+ <0x1fa5a000 0x8ff>;
+ reg-names = "ana", "pma", "dig";
+
+ phys = <&serdes_phy>;
+
+ #phy-cells = <0>;
+ };
--
2.53.0