Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3557238pxp; Tue, 8 Mar 2022 17:23:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIu70Rq/Na9TLRKNp6zUXVOhKuyURrPbAOucFTnoXFj+T5tkCNSNHFX3kKbdjj6ZAtKOGN X-Received: by 2002:a17:903:292:b0:149:460a:9901 with SMTP id j18-20020a170903029200b00149460a9901mr20241580plr.44.1646789015638; Tue, 08 Mar 2022 17:23:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646789015; cv=none; d=google.com; s=arc-20160816; b=jWBcqXqh8aTD9QT6Q+pUf9HO7jNNeMAB6clY8nAXzBPQ5b+D4bhbYQTLKKq+K3iMG+ O7vLTwZnD7Kd+uB4LycN8EHG1jfEn2BVBL1hfki16Lkc6v5jroOwLXk0uIe1K65sfKt0 nkkhflhQJ9npOhH7hA+xrvDdO15Y5vpis9f2497WbCGjg5PpA7wy1mc1vYvK/24w2pI2 DBHqtFE91sGLFYYx4JqERZzF4KmrPx32NKkEpWSjW72/mLxsvbhbJyC0tZbh62OrK4bX DfdjHUy1+W+Vz9De3xPtMGh53Jy8ywhUNO2EKzOzHYFvYdEFfNPxPJvpwfldyRulXVnc qBOQ== 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:dkim-signature; bh=Kn55hzN0Ekr9UZe8dqoK2OdKEfB3VJQiC1+1ULSjOu8=; b=kyqkqWZTcoeJ1uYHnDA6pT0dobplLpySZfoLyfZQsOIlRJWe7ZrNQiqRtGInyjhXLf sueTIu2D4+nKXgACjFdvcagSrsR/5iSnl3AcVWbOLkBZ2T4zRmkoSTnsL1epCHSJRgQ1 2llIjT56YKOoPPIsdagVc8Px7lrNmp22gCkv/C++bofT0YNbLHgccdBAN4BvqC/2LmbH ijDYaMqI75pVtVYZttYKTe4xFSNZ1XxCjmuRUnJ4c7thM/leN3Gj0nAwEAJBSq+ehEQE su/MwxwuYlusR8IJELPE91CDEtROxdHzYv8MdwlNxkz8nsCh1SpoSyFgZpbC+jf1eeY7 QXHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@true.cz header.s=xnet header.b=V5hxtIpN; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id v189-20020a6389c6000000b00380ada1cd48si433282pgd.643.2022.03.08.17.23.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 17:23:35 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@true.cz header.s=xnet header.b=V5hxtIpN; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 220DD1959D4; Tue, 8 Mar 2022 16:15:17 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347052AbiCHNGU (ORCPT + 99 others); Tue, 8 Mar 2022 08:06:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232603AbiCHNGS (ORCPT ); Tue, 8 Mar 2022 08:06:18 -0500 X-Greylist: delayed 573 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 08 Mar 2022 05:05:20 PST Received: from smtp-out.xnet.cz (smtp-out.xnet.cz [178.217.244.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E683C47AEE; Tue, 8 Mar 2022 05:05:20 -0800 (PST) Received: from meh.true.cz (meh.true.cz [108.61.167.218]) (Authenticated sender: petr@true.cz) by smtp-out.xnet.cz (Postfix) with ESMTPSA id 800163ED0; Tue, 8 Mar 2022 13:55:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=true.cz; s=xnet; t=1646744145; bh=IQtZfpMDBgNq+XqyyqcXkjpmhkMzPfrWtiIPXWEftkA=; h=From:To:Cc:Subject:Date; b=V5hxtIpNw/RdC4vprgPE1HhlvLfGbHUa5Tk2RyGpT+nY+b83oDxPMgcfj4vD6ZE2q 8y7IzJPJQwUvH1syMkj1OUpsAUlQW7EpTcSAfeQXMqxKkLgOhM/sr0aWclNPacgOy+ WTW7GwtOyIUCkK40klQ4OwlNiRTIeS5XFZVDaazY= Received: by meh.true.cz (OpenSMTPD) with ESMTP id 78341216; Tue, 8 Mar 2022 13:55:20 +0100 (CET) From: =?UTF-8?q?Petr=20=C5=A0tetiar?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec Cc: =?UTF-8?q?Petr=20=C5=A0tetiar?= , stable@vger.kernel.org, =?UTF-8?q?Bastien=20Roucari=C3=A8s?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] Revert "ARM: dts: sun7i: A20-olinuxino-lime2: Fix ethernet phy-mode" Date: Tue, 8 Mar 2022 13:55:30 +0100 Message-Id: <20220308125531.27305-1-ynezz@true.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 This reverts commit 55dd7e059098ce4bd0a55c251cb78e74604abb57 as it breaks network on my A20-olinuxino-lime2 hardware revision "K" which has Micrel KSZ9031RNXCC-TR Gigabit PHY. Bastien has probably some previous hardware revisions which were based on RTL8211E-VB-CG1 PHY and thus this fix was working on his board. Cc: stable@vger.kernel.org Cc: Bastien Roucariès References: https://github.com/openwrt/openwrt/issues/9153 References: https://github.com/OLIMEX/OLINUXINO/blob/master/HARDWARE/A20-OLinuXino-LIME2/hardware_revision_changes_log.txt Signed-off-by: Petr Štetiar --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts index ecb91fb899ff..8077f1716fbc 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts @@ -112,7 +112,7 @@ &gmac { pinctrl-names = "default"; pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; - phy-mode = "rgmii-id"; + phy-mode = "rgmii"; status = "okay"; };