Commit 843f6037 authored by Samin Guo's avatar Samin Guo Committed by Paolo Abeni

dt-bindings: net: snps,dwmac: Add 'ahb' reset/reset-name

According to:
stmmac_platform.c: stmmac_probe_config_dt
stmmac_main.c: stmmac_dvr_probe

dwmac controller may require one (stmmaceth) or two (stmmaceth+ahb)
reset signals, and the maxItems of resets/reset-names is going to be 2.

The gmac of Starfive Jh7110 SOC must have two resets.
it uses snps,dwmac-5.20 IP.
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarSamin Guo <samin.guo@starfivetech.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 65a1d72f
...@@ -136,12 +136,16 @@ properties: ...@@ -136,12 +136,16 @@ properties:
- ptp_ref - ptp_ref
resets: resets:
maxItems: 1 minItems: 1
description: items:
MAC Reset signal. - description: GMAC stmmaceth reset
- description: AHB reset
reset-names: reset-names:
const: stmmaceth minItems: 1
items:
- const: stmmaceth
- const: ahb
power-domains: power-domains:
maxItems: 1 maxItems: 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment