[PATCH v2 02/10] dt-bindings: soc: aspeed: Add ASPEED PCIe PHY support
Jacky Chou
jacky_chou at aspeedtech.com
Mon Jul 14 20:43:12 PDT 2025
This PHY is used by many modules. In our design, our
PCIe has RC and EP funcitons. On the different function,
each driver will use configure and get some information
from the PHY interface to do somting that it wants to.
Getting link status, setting syscon credits and so on.
Therefore, define it as syscon for all modules.
Signed-off-by: Jacky Chou <jacky_chou at aspeedtech.com>
---
.../bindings/soc/aspeed/aspeed,pcie-phy.yaml | 44 +++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/aspeed/aspeed,pcie-phy.yaml
diff --git a/Documentation/devicetree/bindings/soc/aspeed/aspeed,pcie-phy.yaml b/Documentation/devicetree/bindings/soc/aspeed/aspeed,pcie-phy.yaml
new file mode 100644
index 000000000000..5fa585d63ca6
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/aspeed/aspeed,pcie-phy.yaml
@@ -0,0 +1,44 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/aspeed/aspeed,pcie-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ASPEED PCIe PHY
+
+maintainers:
+ - Jacky Chou <jacky_chou at aspeedtech.com>
+
+description:
+ The ASPEED PCIe PHY provides the physical layer interface for PCIe
+ controllers in the SoC. This node represents the register block for the PCIe
+ PHY, which is typically accessed by PCIe Root Complex or Endpoint drivers
+ via syscon. It is used to configure and get the status of the PCIe PHY
+ hardware, including power management, link training, and other PHY-specific
+ operations.
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - aspeed,pcie-phy
+ - const: syscon
+
+ reg:
+ maxItems: 1
+
+ "#phy-cells":
+ const: 0
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ syscon at 1e6ed200 {
+ compatible = "aspeed,pcie-phy", "syscon";
+ reg = <0x1e6ed200 0x100>;
+ };
--
2.43.0
More information about the linux-arm-kernel
mailing list