[PATCH v3 1/3] dt-bindings: net: Add support for rk3562 dwmac

Kever Yang kever.yang at rock-chips.com
Fri Apr 18 02:51:12 PDT 2025


Add a rockchip,rk3562-gmac compatible for supporting the 2 gmac
devices on the rk3562.
rk3562 only has 4 clocks available for gmac module.

Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
Acked-by: Conor Dooley <conor.dooley at microchip.com>
---

Changes in v3:
- Collect ack tag
- rebase to v6.15-rc1

Changes in v2:
- Fix schema entry and add clocks minItem change

 Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 3 +++
 Documentation/devicetree/bindings/net/snps,dwmac.yaml     | 1 +
 2 files changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
index 0ac7c4b47d6b..a0814e807bd5 100644
--- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
@@ -25,6 +25,7 @@ select:
           - rockchip,rk3368-gmac
           - rockchip,rk3399-gmac
           - rockchip,rk3528-gmac
+          - rockchip,rk3562-gmac
           - rockchip,rk3568-gmac
           - rockchip,rk3576-gmac
           - rockchip,rk3588-gmac
@@ -51,6 +52,7 @@ properties:
       - items:
           - enum:
               - rockchip,rk3528-gmac
+              - rockchip,rk3562-gmac
               - rockchip,rk3568-gmac
               - rockchip,rk3576-gmac
               - rockchip,rk3588-gmac
@@ -149,6 +151,7 @@ allOf:
             contains:
               enum:
                 - rockchip,rk3528-gmac
+                - rockchip,rk3562-gmac
     then:
       properties:
         clocks:
diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
index 78b3030dc56d..7498bcad895a 100644
--- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
@@ -83,6 +83,7 @@ properties:
         - rockchip,rk3328-gmac
         - rockchip,rk3366-gmac
         - rockchip,rk3368-gmac
+        - rockchip,rk3562-gmac
         - rockchip,rk3576-gmac
         - rockchip,rk3588-gmac
         - rockchip,rk3399-gmac
-- 
2.25.1




More information about the linux-arm-kernel mailing list