dt-bindings: net: dwmac: Add Rockchip DWMAC support

Add Rockchip DWMAC controllers, which are based on snps,dwmac.
Some of the SoCs require up to eight clocks, so maxItems
for clocks and clock-names need to be increased.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Ezequiel Garcia 2021-04-25 23:41:17 -03:00 committed by David S. Miller
parent b9460dd84a
commit 517a882aa2
1 changed files with 11 additions and 2 deletions

View File

@ -56,6 +56,15 @@ properties:
- amlogic,meson8m2-dwmac - amlogic,meson8m2-dwmac
- amlogic,meson-gxbb-dwmac - amlogic,meson-gxbb-dwmac
- amlogic,meson-axg-dwmac - amlogic,meson-axg-dwmac
- rockchip,px30-gmac
- rockchip,rk3128-gmac
- rockchip,rk3228-gmac
- rockchip,rk3288-gmac
- rockchip,rk3328-gmac
- rockchip,rk3366-gmac
- rockchip,rk3368-gmac
- rockchip,rk3399-gmac
- rockchip,rv1108-gmac
- snps,dwmac - snps,dwmac
- snps,dwmac-3.50a - snps,dwmac-3.50a
- snps,dwmac-3.610 - snps,dwmac-3.610
@ -89,7 +98,7 @@ properties:
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 5 maxItems: 8
additionalItems: true additionalItems: true
items: items:
- description: GMAC main clock - description: GMAC main clock
@ -101,7 +110,7 @@ properties:
clock-names: clock-names:
minItems: 1 minItems: 1
maxItems: 5 maxItems: 8
additionalItems: true additionalItems: true
contains: contains:
enum: enum: