Re: [PATCH 2/2] arm64: dts: marvell: eDPU: add support for version with external switch

From: Robert Marko
Date: Thu Sep 14 2023 - 08:53:10 EST


On Thu, Sep 14, 2023 at 2:51 PM Andrew Lunn <andrew@xxxxxxx> wrote:
>
> > +&mdio {
> > + status = "disabled";
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&smi_pins>;
> > +
> > + /* Actual device is MV88E6361 */
> > + switch: switch@0 {
> > + compatible = "marvell,mv88e6190";
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <0>;
> > + status = "disabled";
> > +
> > + ports {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + port@0 {
> > + reg = <0>;
> > + label = "cpu";
> > + phy-mode = "2500base-x";
> > + managed = "in-band-status";
> > + ethernet = <&eth0>;
> > + };
> > +
>
> So ports 1 through 7 are completely unused?

Yes, only 3 ports are used.
Regards,
Robert
>
> > + port@9 {
> > + reg = <9>;
> > + label = "downlink";
> > + phy-mode = "2500base-x";
> > + managed = "in-band-status";
> > + };
>
> Andrew



--
Robert Marko
Staff Embedded Linux Engineer
Sartura Ltd.
Lendavska ulica 16a
10000 Zagreb, Croatia
Email: robert.marko@xxxxxxxxxx
Web: www.sartura.hr