Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp832444rwb; Mon, 26 Sep 2022 06:28:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7nCHr2ScWF0eC+Fo9xkrobsckuMlxIH5MXaSjcQlW2iYgqf/JUeoK4pp1Ov+Igdh9+lWE8 X-Received: by 2002:a17:907:80d:b0:73d:a576:dfbd with SMTP id wv13-20020a170907080d00b0073da576dfbdmr18106966ejb.402.1664198928036; Mon, 26 Sep 2022 06:28:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664198928; cv=none; d=google.com; s=arc-20160816; b=p6MSth07nE54bAkFGPgb3Zmcm6FO3x0iuJCt8dqokbaLqlNh7MwBd128k71bN377gn tJeCQF8FNOsf+iQvcsOEG2TPXS03O9pydUvJ5haI8FNUzQqbwy9WXeVk+MHsAlvrIdTv SkGxKJLH3I+nrUB8OHeeMXrfcnZNDSUPswgsq/OTOxMD+sPJg0CWm1bQeQ1j6G9j8Mov PEJs0cXFkoCmC71nZCMcjTYr4lHyPOXsPtHGWbBT6P8CfLNzqV844hgee/sF7+kauD1r +x48n+NePKJj84MLdjTopn39rQCjxvaskCylXpQjciur/aEOEJnqHYc2w94shzmnd701 0biw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DNvpv9qZEEx6TiVhR+iT2gxegag64eBDn+7cV3pfw4g=; b=dR7Z89EYIzNOPEKXjKtGZWST7z79vG6GLi6vSwf9LrF04wawAqQ89t9wbk5hKdUvgF mAyFQhsAPIanZM8EHdu8rL0Z6sjpyqKuvhOoM8lXCzRrYnRaBvEsS41CIor1VqA26GSd rFztitjeyfmKGuBrYIgcX/Z2nA6fWdXlxY9iXt8hO8q/OJuJA5cy/aLxLYnNYXqovQgc cLPzR/nz+8hHRVICQXQH9jVNAoJkya/cUlAowgAvzY1A2mDixujogdmsF+zp608ko2Bm ux4gEoSHdI00EXVUM27Dc4j2aFxj1O6QCt0FtgHaOX4qYvlqf6NDpFY1zy4Eilq+usz7 y26w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jlch9tFw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s7-20020a50ab07000000b00446dc8f5e44si15756048edc.243.2022.09.26.06.28.22; Mon, 26 Sep 2022 06:28:48 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jlch9tFw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238668AbiIZLvF (ORCPT + 99 others); Mon, 26 Sep 2022 07:51:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238663AbiIZLt3 (ORCPT ); Mon, 26 Sep 2022 07:49:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8DFC74DD9; Mon, 26 Sep 2022 03:48:02 -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 ams.source.kernel.org (Postfix) with ESMTPS id 089C1B802C7; Mon, 26 Sep 2022 10:48:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55CB8C433B5; Mon, 26 Sep 2022 10:48:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664189280; bh=Ct3miofx3F/zPwYmpdA0sas9EW659SuBF+YogFlBK7A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jlch9tFw2PBu0K9YKwXPTvoP/x8L1xQZTk613enFthi6aSNr6XDYQgCmLJnhIiOJt hsVoz63gHHU/DhWIpVdk1tCYk7GSxAJK+3SuzyKG6ov712KItH9XkplbLRokLwh8DW 3pz94xwjSEdastSUsYmz7d7Y4Ihabgby1DI41+OQ= 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 102/207] arm64: dts: imx8mp-venice-gw74xx: fix port/phy validation Date: Mon, 26 Sep 2022 12:11:31 +0200 Message-Id: <20220926100811.157024871@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220926100806.522017616@linuxfoundation.org> References: <20220926100806.522017616@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 From: Tim Harvey [ Upstream commit f7fc391a5e28216150ab5390df35032309ead7e5 ] 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 Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- 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.35.1