Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5584018rwn; Mon, 12 Sep 2022 11:11:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR4cGEd/3KdwVIpnZHhGFfONW6m9zI7bOOmo9Cvn/O+9CDm9n9ekhcCcu9vHuZ0m6Po2B8nJ X-Received: by 2002:a17:907:ea0:b0:779:6c9d:7355 with SMTP id ho32-20020a1709070ea000b007796c9d7355mr12248435ejc.542.1663006264755; Mon, 12 Sep 2022 11:11:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663006264; cv=none; d=google.com; s=arc-20160816; b=msRjkPl6pCCC+JnzdlgRt2VH5WHmDi+iN5dqB4clGitL307li4zNXfk0MC93dDspwc Onp+UCiP23wQDegSRsslHpzQ+2VArM/KyPG+jPmvVOwfzBNeCdot5qV/afH0LLHwtYgv hbdzaDhzMaLI1zHxhIsAC92dg2cRdHHk28Y/AQGZr0f2E6dY7ZYL4MVO+k2ueWg3BzXG SNdy7Uke3Vf9mn8MB0h9At9uZRZKA6batdh02Roiud+V+NIl0nEAarwhUWTTma5eJ1Cr ozyrRWqfn90mfCXVxECyQv6NQ7QwKgLmlxG4tiZ4x5mUF4xjBkxkVO/T9+1HtWPDekLX LZgw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=W8tL1H3H4DYnhJfBVukHLoDZDjOsj7fgMR/S7oVQthg=; b=aLnx4pHXVkmmHlNSsxWuuN1GnbVndVN/LLJUh4S1nAaDJxkdz4KU1Od9qoMgS+/ib7 wE45h5NyetbGZAwXVdgwiBN9i0tqM6gOk1zolwBQIOlKRcM3Ze59elXxtuzn4HbMPFiI Y97L5E/Fw1/yMb+4iu/WAFApnSjGs2Wk9VxCIEWikosMLhQpqPx8FOJfeOtI0YOx+doD 9gIBIGaczGWXlDtUJbr5EIe8qlC5aGdyKLmVSqFPkzU1m6WKmsRH9/nlsTq6oXJ4BTuZ lFnCZK3qxpNWpy9Wl6wDYA9F3NvSsLBUzJIiNTFbBmcbigpUA63XOc05xDduVTT8vT+0 MDXQ== 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 hp3-20020a1709073e0300b0073dc32ccd9fsi8660412ejc.104.2022.09.12.11.10.33; Mon, 12 Sep 2022 11:11:04 -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 S229969AbiILSIu (ORCPT + 99 others); Mon, 12 Sep 2022 14:08:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbiILSIp (ORCPT ); Mon, 12 Sep 2022 14:08:45 -0400 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81B2A40BCA; Mon, 12 Sep 2022 11:08:43 -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 1oXnrM-00GaLM-Ir; Mon, 12 Sep 2022 18:08:40 +0000 From: Tim Harvey To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: NXP Linux Team , Fabio Estevam , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Krzysztof Kozlowski , Rob Herring , Tim Harvey Subject: [PATCH v2 3/5] arm64: dts: imx8mp-venice-gw74xx: fix port/phy validation Date: Mon, 12 Sep 2022 11:08:34 -0700 Message-Id: <20220912180836.773729-3-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220912180836.773729-1-tharvey@gateworks.com> References: <20220912180836.773729-1-tharvey@gateworks.com> 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: 7899eb6cb15d ("arm64: dts: imx: Add i.MX8M Plus Gateworks gw7400 dts support") Signed-off-by: Tim Harvey --- v2: no changes --- arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts index 3df7ee9a2fe1..211e6a1b296e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts @@ -483,30 +483,35 @@ 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]; }; lan5: port@4 { reg = <4>; label = "lan5"; + phy-mode = "internal"; local-mac-address = [00 00 00 00 00 00]; }; -- 2.25.1