From nobody Fri Dec 19 07:47:19 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9BDCC54EE9 for ; Tue, 13 Sep 2022 14:20:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233220AbiIMOU0 (ORCPT ); Tue, 13 Sep 2022 10:20:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233243AbiIMOSV (ORCPT ); Tue, 13 Sep 2022 10:18:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EBE6642E2; Tue, 13 Sep 2022 07:13:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 73BAF614A1; Tue, 13 Sep 2022 14:11:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7EF57C433D6; Tue, 13 Sep 2022 14:11:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663078283; bh=uIofCi0Hq0ncIEsKL+pvSHVWYNdGR66vS1390wvSg9M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ByD6JRlc50LxEyWJ8WcZU1qK908edWx/3yV2GDkZU9eRrt2NtXRqV2KhwXVR1N2LZ UMW5t7mzD9IzTwYRYCMc3wOofSEv9SaCZMBuB47DdC3wvRZOYU+y9fkf/nN3YwNfFq wK1bqXNi0MzrIUgKpm8I2frXmlcdrr2paibK3Xgc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tim Harvey , Shawn Guo , Sasha Levin Subject: [PATCH 5.19 081/192] arm64: dts: imx8mm-venice-gw7901: fix port/phy validation Date: Tue, 13 Sep 2022 16:03:07 +0200 Message-Id: <20220913140413.998313219@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220913140410.043243217@linuxfoundation.org> References: <20220913140410.043243217@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Tim Harvey [ 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 Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- 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 =3D <0>; label =3D "lan1"; + phy-mode =3D "internal"; local-mac-address =3D [00 00 00 00 00 00]; }; =20 lan2: port@1 { reg =3D <1>; label =3D "lan2"; + phy-mode =3D "internal"; local-mac-address =3D [00 00 00 00 00 00]; }; =20 lan3: port@2 { reg =3D <2>; label =3D "lan3"; + phy-mode =3D "internal"; local-mac-address =3D [00 00 00 00 00 00]; }; =20 lan4: port@3 { reg =3D <3>; label =3D "lan4"; + phy-mode =3D "internal"; local-mac-address =3D [00 00 00 00 00 00]; }; =20 --=20 2.35.1