]> www.infradead.org Git - linux.git/commitdiff
dt-bindings: net: add STM32MP25 compatible in documentation for stm32
authorChristophe Roullier <christophe.roullier@foss.st.com>
Mon, 24 Jun 2024 07:10:51 +0000 (09:10 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 27 Jun 2024 07:59:26 +0000 (09:59 +0200)
New STM32 SOC have 2 GMACs instances.
GMAC IP version is SNPS 5.30

Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Documentation/devicetree/bindings/net/stm32-dwmac.yaml

index f6e5e0626a3fbfc762a4ed3d1f5f049b5de0e5fd..bf23838fe6e8bdfcd936868ff83adaeb5f69cd52 100644 (file)
@@ -23,12 +23,17 @@ select:
           - st,stm32-dwmac
           - st,stm32mp1-dwmac
           - st,stm32mp13-dwmac
+          - st,stm32mp25-dwmac
   required:
     - compatible
 
 properties:
   compatible:
     oneOf:
+      - items:
+          - enum:
+              - st,stm32mp25-dwmac
+          - const: snps,dwmac-5.20
       - items:
           - enum:
               - st,stm32mp1-dwmac
@@ -121,8 +126,9 @@ allOf:
         compatible:
           contains:
             enum:
-              - st,stm32mp1-dwmac
               - st,stm32-dwmac
+              - st,stm32mp1-dwmac
+              - st,stm32mp25-dwmac
     then:
       properties:
         st,syscon: