lkml.org 
[lkml]   [2022]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.19 081/192] arm64: dts: imx8mm-venice-gw7901: fix port/phy validation
    Date
    From: Tim Harvey <tharvey@gateworks.com>

    [ Upstream commit 7f4dbc3f26e5cb1f056faaaf14277f48c4682fff ]

    Since commit 65ac79e18120 ("net: dsa: microchip: add the phylink
    get_caps") the phy-mode must be set otherwise the switch driver will
    assume "NA" mode and invalidate the port.

    Fixes: 65ac79e18120 ("net: dsa: microchip: add the phylink get_caps")
    Signed-off-by: Tim Harvey <tharvey@gateworks.com>
    Signed-off-by: Shawn Guo <shawnguo@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts | 4 ++++
    1 file changed, 4 insertions(+)

    diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts
    index 24737e89038a4..96cac0f969a77 100644
    --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts
    +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts
    @@ -626,24 +626,28 @@
    lan1: port@0 {
    reg = <0>;
    label = "lan1";
    + phy-mode = "internal";
    local-mac-address = [00 00 00 00 00 00];
    };

    lan2: port@1 {
    reg = <1>;
    label = "lan2";
    + phy-mode = "internal";
    local-mac-address = [00 00 00 00 00 00];
    };

    lan3: port@2 {
    reg = <2>;
    label = "lan3";
    + phy-mode = "internal";
    local-mac-address = [00 00 00 00 00 00];
    };

    lan4: port@3 {
    reg = <3>;
    label = "lan4";
    + phy-mode = "internal";
    local-mac-address = [00 00 00 00 00 00];
    };

    --
    2.35.1


    \
     
     \ /
      Last update: 2022-09-13 16:21    [W:2.437 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site