[PATCH v3 1/3] dt-bindings: net: Add support for rk3562 dwmac
Jonas Karlman
jonas at kwiboo.se
Mon Apr 21 09:25:05 PDT 2025
Hi Kever,
On 2025-04-18 11:51, Kever Yang wrote:
> 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
This compatible does not need to be added in snps,dwmac.yaml because
snps,dwmac-4.20a is already listed in this file.
Regards,
Jonas
> - rockchip,rk3576-gmac
> - rockchip,rk3588-gmac
> - rockchip,rk3399-gmac
More information about the Linux-rockchip
mailing list