From nobody Sat Apr 11 09:20:55 2026 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 C6285C3F6B0 for ; Fri, 12 Aug 2022 17:37:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239570AbiHLRhk (ORCPT ); Fri, 12 Aug 2022 13:37:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239540AbiHLRhi (ORCPT ); Fri, 12 Aug 2022 13:37:38 -0400 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45FAAAA4EB; Fri, 12 Aug 2022 10:37:38 -0700 (PDT) Received: from 068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by finn.localdomain with esmtp (Exim 4.93) (envelope-from ) id 1oMYLA-00FqJb-ME; Fri, 12 Aug 2022 17:20:56 +0000 From: Tim Harvey To: Shawn Guo , Fabio Estevam , NXP Linux Team , Sascha Hauer , Rob Herring , Krzysztof Kozlowski , Pengutronix Kernel Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Tim Harvey Subject: [PATCH] arm64: dts: imx8mm-venice-gw7901: fix port/phy validation Date: Fri, 12 Aug 2022 10:20:54 -0700 Message-Id: <20220812172054.13858-1-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 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" 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 --- 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 24737e89038a..96cac0f969a7 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 @@ ports { 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.25.1