Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
47 lines
1.3 KiB
Diff
47 lines
1.3 KiB
Diff
From 3b0609e57e031a3b680131b3fc25bc1165e3360f Mon Sep 17 00:00:00 2001
|
|
From: Samin Guo <samin.guo@starfivetech.com>
|
|
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 <krzysztof.kozlowski@linaro.org>
|
|
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
|
|
---
|
|
.../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
|