[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+h21hpCBjo18zHc-SvMj5Y=C+e=rna5MUgp7SW1u0btma+wfg@mail.gmail.com>
Date: Sat, 22 Feb 2020 14:25:36 +0200
From: Vladimir Oltean <olteanv@...il.com>
To: Michael Walle <michael@...le.cc>
Cc: Andrew Lunn <andrew@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
devicetree@...r.kernel.org,
Florian Fainelli <f.fainelli@...il.com>,
lkml <linux-kernel@...r.kernel.org>,
Mark Rutland <mark.rutland@....com>,
netdev <netdev@...r.kernel.org>,
Rob Herring <robh+dt@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
Vivien Didelot <vivien.didelot@...il.com>
Subject: Re: [PATCH v2 net-next/devicetree 4/5] arm64: dts: fsl: ls1028a: add
node for Felix switch
Hi Michael,
On Sat, 22 Feb 2020 at 13:38, Michael Walle <michael@...le.cc> wrote:
>
> Hi,
>
> > +
> > + enetc_port2: ethernet@0,2 {
> > + compatible = "fsl,enetc";
> > + reg = <0x000200 0 0 0 0>;
> > + phy-mode = "gmii";
> Can we disable this port by default in this dtsi? As mentioned in the other
> mail, I'd prefer to have all ports disabled because it doesn't make sense
> to have this port while having all the external ports disabled.
>
Ok. What would you want to happen with the "ethernet" property? Do you
want the board dts to set that too?
> > + /* Internal port with DSA tagging */
> > + mscc_felix_port4: port@4 {
> > + reg = <4>;
> > + phy-mode = "internal";
> > + ethernet = <&enetc_port2>;
> Likewise, I'd prefer to have this disabled.
>
Ok.
> > + enetc_port3: ethernet@0,6 {
> > + compatible = "fsl,enetc";
> > + reg = <0x000600 0 0 0 0>;
> > + status = "disabled";
> > + phy-mode = "gmii";
> shouldn't the status be after the phy-mode property?
Why?
>
> -michael
>
Regards,
-Vladimir
Powered by blists - more mailing lists