Re: [PATCH 4/5] arm: dts: mt7623: mux phy0 on Bananapi BPI-R2

From: Matthias Brugger
Date: Tue Jan 31 2023 - 06:55:27 EST




On 25/01/2023 17:54, Arınç ÜNAL wrote:
On 25.01.2023 19:41, Frank Wunderlich wrote:
Am 20. Januar 2023 21:53:17 MEZ schrieb "Arınç ÜNAL" <arinc.unal@xxxxxxxxxx>:

        switch@1f {
            compatible = "mediatek,mt7530";
            reg = <0x1f>;
@@ -199,11 +208,6 @@ ports {
                #address-cells = <1>;
                #size-cells = <0>;

-                port@0 {
-                    reg = <0>;
-                    label = "wan";
-                };
-

This will break existing userspace setups using wan as interface name.

Yup. The OS being used will have to either rename the interface or adapt to the new name, eth1.


In that case please explain in the commit message why this is needed. We are trying really hard to not break userspace by a device-tree update.

Regards,
Matthias