[PATCH 1/5] dt-bindings: phy: allwinner,sun60i-a733-combophy: Add binding
From: Alastair D'Silva
Date: Wed Nov 25 2026 - 01:30:26 EST
Add Devicetree binding for the Allwinner A733 (sun60i) Cadence Combo PHY
and register the SerDes subsystem syscon compatible in syscon.yaml.
Assisted-by: LLM
Signed-off-by: Alastair D'Silva <alastair@xxxxxxxxxxx>
---
.../devicetree/bindings/mfd/syscon.yaml | 1 +
.../phy/allwinner,sun60i-a733-combophy.yaml | 84 +++++++++++++++++++
2 files changed, 85 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-combophy.yaml
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index 945a168b613db..e58f5004c8cda 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -30,6 +30,7 @@ properties:
- allwinner,sun8i-h3-system-controller
- allwinner,sun8i-v3s-system-controller
- allwinner,sun50i-a64-system-controller
+ - allwinner,sun60i-a733-serdes-syscon
- altr,l3regs
- altr,sdr-ctl
- amd,pensando-elba-syscon
diff --git a/Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-combophy.yaml b/Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-combophy.yaml
new file mode 100644
index 0000000000000..5e6727acb832a
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-combophy.yaml
@@ -0,0 +1,84 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/allwinner,sun60i-a733-combophy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Allwinner A733 (sun60i) Cadence Combo PHY
+
+maintainers:
+ - Alastair D'Silva <alastair@xxxxxxxxxxx>
+ - Chen-Yu Tsai <wens@xxxxxxxxxx>
+ - Jernej Skrabec <jernej.skrabec@xxxxxxxxx>
+
+description: |
+ The Allwinner A733 (sun60i) SoC integrates a Cadence Combo PHY within its
+ SerDes subsystem, supporting PCIe Gen3 (up to 8.0 GT/s).
+
+properties:
+ compatible:
+ const: allwinner,sun60i-a733-combophy1
+
+ reg:
+ maxItems: 1
+ description: Cadence Combo PHY PMA/PCS analog registers
+
+ allwinner,serdes-syscon:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description: Phandle to the Allwinner A733 SerDes subsystem syscon
+
+ clocks:
+ items:
+ - description: SerDes PHY clock (100 MHz)
+ - description: SerDes AHB bus clock
+ - description: SerDes MBUS clock
+ - description: Reference oscillator / DCXO clock
+
+ clock-names:
+ items:
+ - const: serdes
+ - const: ahb
+ - const: mbus
+ - const: ref
+
+ resets:
+ maxItems: 1
+
+ power-domains:
+ maxItems: 1
+
+ phy-supply:
+ description: 1.8V SerDes PHY power supply
+
+ "#phy-cells":
+ const: 1
+ description: PHY type (e.g. PHY_TYPE_PCIE from dt-bindings/phy/phy.h)
+
+required:
+ - compatible
+ - reg
+ - allwinner,serdes-syscon
+ - clocks
+ - clock-names
+ - resets
+ - power-domains
+ - "#phy-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/sun6i-rtc.h>
+ #include <dt-bindings/power/allwinner,sun60i-a733-pck-600.h>
+
+ phy@6ca0000 {
+ compatible = "allwinner,sun60i-a733-combophy1";
+ reg = <0x06ca0000 0x20000>;
+ clocks = <&ccu 226>, <&ccu 68>, <&ccu 81>, <&rtc CLK_HOSC_SERDES1>;
+ clock-names = "serdes", "ahb", "mbus", "ref";
+ resets = <&ccu 92>;
+ power-domains = <&pck600 PD_PCIE>;
+ phy-supply = <®_serdes1v8>;
+ allwinner,serdes-syscon = <&serdes>;
+ #phy-cells = <1>;
+ };
--
2.53.0