Re: [PATCH net-next v2 2/4] dt-bindings: net: dsa: Add SoC-e SWIP switch

From: Andrew Lunn

Date: Mon Sep 07 2026 - 15:09:52 EST


> > +examples:
> > + - |
> > + ethernet-switch@80020000 {
> > + compatible = "soce,swip-00-04-0c-10";
> > + reg = <0x80020000 0x10000>;
> > +
> > + ports {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + port@0 {
> > + reg = <0>;
> > + label = "lan0";
>
> label is another thing in DSA which is today not best practice. I
> would drop this.

Humm, actually, since it is a DSA driver, it is O.K. You can keep
it. It is however better practice to allow udev to rename the
interface as it wants to.

Andrew