new file mode 100644
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/microchip,lan966x-serdes.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Microchip Lan966x Serdes controller
+
+maintainers:
+ - Horatiu Vultur <horatiu.vultur@microchip.com>
+
+properties:
+ $nodename:
+ pattern: "serdes"
+
+ compatible:
+ const: microchip,lan966x-serdes
+
+ switch-syscon:
+ description: |
+ Handle to general configuration block
+ maxItems: 1
+
+ '#phy-cells':
+ const: 2
+ description: |
+ First argument represents the port index,
+ the second one represents the serdes index.
+
+required:
+ - compatible
+ - '#phy-cells'
+ - switch-syscon
+
+additionalProperties: false
+
+examples:
+ - |
+ serdes: serdes {
+ compatible = "microchip,lan966x-serdes";
+ #phy-cells = <2>;
+ switch-syscon = <&switch_ctrl>;
+ };
+
+...
Document the lan966x ethernet serdes phy driver bindings. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> --- .../phy/microchip,lan966x-serdes.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/microchip,lan966x-serdes.yaml