[PATCH net-next v4 3/3] dt-bindings: net: phy: add BCM63268 GPHY
From: Kyle Hendry
Date: Thu Mar 06 2025 - 00:33:08 EST
Add YAML bindings for BCM63268 internal GPHY
Signed-off-by: Kyle Hendry <kylehendrydev@xxxxxxxxx>
---
.../bindings/net/brcm,bcm63268-gphy.yaml | 52 +++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/brcm,bcm63268-gphy.yaml
diff --git a/Documentation/devicetree/bindings/net/brcm,bcm63268-gphy.yaml b/Documentation/devicetree/bindings/net/brcm,bcm63268-gphy.yaml
new file mode 100644
index 000000000000..1f91cf0541eb
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/brcm,bcm63268-gphy.yaml
@@ -0,0 +1,52 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/brcm,bcm63268-gphy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom BCM63268 GPHY
+
+description: Broadcom's internal gigabit ethernet PHY on BCM63268 SoC
+
+maintainers:
+ - TBD
+
+allOf:
+ - $ref: ethernet-phy.yaml#
+
+properties:
+ compatible:
+ const: ethernet-phy-id0362.5f50
+
+ reg:
+ maxItems: 1
+
+ brcm,gpio-ctrl:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description: Phandle to the SoC GPIO controller
+ which contains PHY control registers
+
+required:
+ - reg
+ - brcm,gpio-ctrl
+ - resets
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/reset/bcm63268-reset.h>
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethernet-phy@4 {
+ compatible = "ethernet-phy-id0362.5f50";
+ reg = <4>;
+
+ resets = <&periph_rst BCM63268_RST_GPHY>;
+
+ brcm,gpio-ctrl = <&gpio_cntl>;
+ };
+ };
--
2.43.0