Skip to content

Commit

Permalink
dt-bindings: net: snps,dwmac: Add 'ahb' reset/reset-name
Browse files Browse the repository at this point in the history
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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
  • Loading branch information
Samin Guo authored and Paolo Abeni committed Apr 18, 2023
1 parent 65a1d72 commit 843f603
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Documentation/devicetree/bindings/net/snps,dwmac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,16 @@ properties:
- ptp_ref

resets:
maxItems: 1
description:
MAC Reset signal.
minItems: 1
items:
- description: GMAC stmmaceth reset
- description: AHB reset

reset-names:
const: stmmaceth
minItems: 1
items:
- const: stmmaceth
- const: ahb

power-domains:
maxItems: 1
Expand Down

0 comments on commit 843f603

Please sign in to comment.