Re: [PATCH net-next] dt-bindings: net: ethernet-controller: Allow "ethernet-N" node names
From: Conor Dooley
Date: Fri Oct 09 2026 - 15:31:32 EST
On Fri, Oct 09, 2026 at 10:54:45AM -0500, Rob Herring (Arm) wrote:
> The HiSilicon hisilicon,hns-nic-v2 binding uses "ethernet-N" node names
> as there is no "reg" property and multiple instances. Add support for
> this pattern which is a common pattern on other node names.
>
> Signed-off-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/net/ethernet-controller.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
> index 1bafd687dcb1..30b2a335116e 100644
> --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
> +++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
> @@ -11,7 +11,7 @@ maintainers:
>
> properties:
> $nodename:
> - pattern: "^ethernet(@.*)?$"
> + pattern: "^ethernet(@.+|-[0-9]+)?$"
>
> label:
> description: Human readable label on a port of a box.
> --
> 2.53.0
>
Attachment:
signature.asc
Description: PGP signature