Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2032292rwb; Fri, 12 Aug 2022 10:39:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR5REGkvKLc1tRfHuO8BJ/8g9CquMacGxoDTCafA9MWKo0ytm/V78VVj40wRDX1QVdVINTms X-Received: by 2002:a17:906:9b92:b0:730:a237:40fe with SMTP id dd18-20020a1709069b9200b00730a23740femr3410339ejc.464.1660325999386; Fri, 12 Aug 2022 10:39:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660325999; cv=none; d=google.com; s=arc-20160816; b=tQwQ74BvjZc5aUfkaGeL8/M7ip6DUedqJJYQYB6JSkQccQ12+XNzBucpwCTd9mX1S1 ZvTRi3kGlzYl19lrbDu0TT7fPdOtUdHLZryMdMkMKf8dvg8Gb7RLTImxQTYvhxtgCzmR TNqtRj9gN+WE5oUQxs8N5m/806XUyleT7CHMC0tde4wJcG5Y3M6ApyWE6chRtPFc8VpA qwCqgWf8tLO80W1K36zdvtyWpK1I7dpG/LI8mqEzjz0og9ZYWzN7GS3IFcsO0UW40YFV wX/V2uDvqEvv0ulWd9C5dBvdraUPMZMNVY8qFUdcQgakFkf0Ks8INikZ8SHo2LJ+6ob4 3OTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=K4xyvqDAI4Gya0bIvfzhxPW4u66Q++ovg9F5jCl6c3I=; b=h4nKfYcP42gpDdop7WqjxYGFOslURNMEJpbbVkiGQE4dsxBQg4NN3JEVPnRUqbtk6A ZvZktlgt16BFOaoQzsT9mOto/VxiysfNTe/S2knZldA/9IWqCTUspUAI52NJPsrKhsCW leT/EOKTTESrMiXF0JNCp4XoZ733fLCzWo09D4KgXy1bQnSO89m6e753z/iQJOV3p+Ji ucd6qN5pDR4w0uO5a3+EPc+ca2rzspFWEu74bPJ0xVZjtVKywa+n49L1aKE2nL5XPqew 7+Usr6CAnfcz8CpqE18KlIMTUCEXvGYlGl7qeD7589LUEu/LQHLS0gTtCrpGrLn8KzmF aOMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e18-20020a17090658d200b00730e93aa2ddsi2387376ejs.903.2022.08.12.10.39.33; Fri, 12 Aug 2022 10:39:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239563AbiHLRhk (ORCPT + 99 others); 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: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 = <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.25.1