Message ID | 20240614130812.72425-2-christophe.roullier@foss.st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Series to deliver Ethernet for STM32MP25 | expand |
On 6/14/24 3:08 PM, Christophe Roullier wrote: > New STM32 SOC have 2 GMACs instances. > GMAC IP version is SNPS 5.30 > > Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com> > --- > Documentation/devicetree/bindings/net/stm32-dwmac.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml > index f6e5e0626a3f..d087d8eaea12 100644 > --- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml > @@ -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,6 +126,7 @@ allOf: > compatible: > contains: > enum: > + - st,stm32mp25-dwmac > - st,stm32mp1-dwmac > - st,stm32-dwmac Keep the list sorted please.
diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml index f6e5e0626a3f..d087d8eaea12 100644 --- a/Documentation/devicetree/bindings/net/stm32-dwmac.yaml +++ b/Documentation/devicetree/bindings/net/stm32-dwmac.yaml @@ -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,6 +126,7 @@ allOf: compatible: contains: enum: + - st,stm32mp25-dwmac - st,stm32mp1-dwmac - st,stm32-dwmac then:
New STM32 SOC have 2 GMACs instances. GMAC IP version is SNPS 5.30 Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com> --- Documentation/devicetree/bindings/net/stm32-dwmac.yaml | 6 ++++++ 1 file changed, 6 insertions(+)