12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- From 3b0609e57e031a3b680131b3fc25bc1165e3360f Mon Sep 17 00:00:00 2001
- From: Samin Guo <[email protected]>
- Date: Mon, 27 Feb 2023 18:26:04 +0800
- Subject: [PATCH 042/122] 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: Krzysztof Kozlowski <[email protected]>
- Signed-off-by: Samin Guo <[email protected]>
- Signed-off-by: Paolo Abeni <[email protected]>
- ---
- .../devicetree/bindings/net/snps,dwmac.yaml | 12 ++++++++----
- 1 file changed, 8 insertions(+), 4 deletions(-)
- --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
- +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
- @@ -133,12 +133,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
|