.../devicetree/bindings/net/nvidia,tegra234-mgbe.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
From: Thierry Reding <treding@nvidia.com>
Being a DWMAC derivative, the Tegra234 MGBE supports AXI configuration
nodes named stmmac-axi-config and phandle references to them using the
snps,axi-config property.
While at it, add the 10gbase-r PHY mode.
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
This gets rid of the remaining warnings on half of the Tegra234 boards.
.../devicetree/bindings/net/nvidia,tegra234-mgbe.yaml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml b/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml
index 215f14d1897d..dc897e312c55 100644
--- a/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml
+++ b/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml
@@ -81,8 +81,9 @@ properties:
phy-mode:
contains:
enum:
- - usxgmii
- 10gbase-kr
+ - 10gbase-r
+ - usxgmii
mdio:
$ref: mdio.yaml#
@@ -90,6 +91,12 @@ properties:
description:
Optional node for embedded MDIO controller.
+ snps,axi-config:
+ $ref: snps,dwmac.yaml#/properties/snps,axi-config
+
+ stmmac-axi-config:
+ $ref: snps,dwmac.yaml#/properties/stmmac-axi-config
+
required:
- compatible
- reg
--
2.54.0
On Thu, Jul 16, 2026 at 11:20:01PM +0200, Thierry Reding wrote: > From: Thierry Reding <treding@nvidia.com> > > Being a DWMAC derivative, the Tegra234 MGBE supports AXI configuration > nodes named stmmac-axi-config and phandle references to them using the > snps,axi-config property. > > While at it, add the 10gbase-r PHY mode. > > Signed-off-by: Thierry Reding <treding@nvidia.com> > --- > This gets rid of the remaining warnings on half of the Tegra234 boards. > > .../devicetree/bindings/net/nvidia,tegra234-mgbe.yaml | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml b/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml > index 215f14d1897d..dc897e312c55 100644 > --- a/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml > +++ b/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml > @@ -81,8 +81,9 @@ properties: > phy-mode: > contains: > enum: > - - usxgmii > - 10gbase-kr > + - 10gbase-r > + - usxgmii > > mdio: > $ref: mdio.yaml# > @@ -90,6 +91,12 @@ properties: > description: > Optional node for embedded MDIO controller. > > + snps,axi-config: > + $ref: snps,dwmac.yaml#/properties/snps,axi-config > + > + stmmac-axi-config: > + $ref: snps,dwmac.yaml#/properties/stmmac-axi-config You should be referencing the whole snps,dwmac.yaml. Rob
On Thu, 16 Jul 2026 23:20:01 +0200, Thierry Reding wrote: > From: Thierry Reding <treding@nvidia.com> > > Being a DWMAC derivative, the Tegra234 MGBE supports AXI configuration > nodes named stmmac-axi-config and phandle references to them using the > snps,axi-config property. > > While at it, add the 10gbase-r PHY mode. > > Signed-off-by: Thierry Reding <treding@nvidia.com> > --- > This gets rid of the remaining warnings on half of the Tegra234 boards. > > .../devicetree/bindings/net/nvidia,tegra234-mgbe.yaml | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml: properties:snps,axi-config: 'anyOf' conditional failed, one must be fixed: 'description' is a dependency of '$ref' 'snps,dwmac.yaml#/properties/snps,axi-config' does not match 'types.yaml#\\/definitions\\/' hint: A vendor property needs a $ref to types.yaml 'snps,dwmac.yaml#/properties/snps,axi-config' does not match '^#\\/(definitions|\\$defs)\\/' hint: A vendor property can have a $ref to a a $defs schema hint: Vendor specific properties must have a type and description unless they have a defined, common suffix. from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml doc reference errors (make refcheckdocs): See https://patchwork.kernel.org/project/devicetree/patch/20260716212001.989872-1-thierry.reding@kernel.org The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
© 2016 - 2026 Red Hat, Inc.