Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3866823pxv; Mon, 19 Jul 2021 10:38:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNp5jxfLNNWhyg4ooN7v5gjQIm7FLNp2FT17xRe68P6DivRaRFQRQkDQnYIjuhUY8t/XJn X-Received: by 2002:a05:6402:2044:: with SMTP id bc4mr36895667edb.307.1626716299035; Mon, 19 Jul 2021 10:38:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626716299; cv=none; d=google.com; s=arc-20160816; b=E2SIAa8iDn5nuyY7fEHc9tALxNTJnRtEMle1FVbBNHCHoCzISRcoOWWD2vMH9vnOrG h5yTVoasiKK8YEHl5H2gSsovhv5yojnV5muxBIa94opBiyw4Q7mVaufF7LXgxZLRYld6 BKmM7vMrlglxMtg/AMemSYl0ci96yuMPe5N1gY0smdemnZ93FbZ6K8vfwXfX0fSzWNIO dlmWoRGtjpMylrc130XH96YR+A4ROhcsyDouSLZIkEuuotR/2yQJxkC8dDLbfOUZQQ0U TEcgynYOuDFJJwoRAFQc05glqI1gm0wlfYRIOSoYZHskIPmYzjKkBr8b2KGmZYHGJ2Py kxWA== 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=CmR6XtkNuqT8d0UXan+K65rGSoA0OqFrAnPNv0h11v8=; b=fHgIC5/UnymtsxSv38O1n6QoSKX7cb0XjAwdWqh54rvxZ+1rxycgu8Gt44UAZylnQD ybzUga6riYhbpctNNKKm0Y1mE/jGrvonVG0z8Nwwlcw+8BI3FWQwi3Zm38QptABWBodj ZaN6t4nlp7Y+SLsy5+asFFPgypGVhoGUuVBGc0YmyAQexdHRJZNvHFF4dvZz5ccgGAtv EIkcCJkq2RbvnoCJqKIyb0z1VuAgyIEPqm2m4D7E5w+nMNrQj5GQq8W0ESoT7W6Abx74 7UwBJKissUH9f7Z1e0YJmZR5OeWI6p0q+uKiCy50nI+rxcxe8bqzepA/eBqPGBFR+4dd 9Djg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yOUFcPV6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hh4si22770644ejb.79.2021.07.19.10.37.56; Mon, 19 Jul 2021 10:38:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yOUFcPV6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1357694AbhGSQwO (ORCPT + 99 others); Mon, 19 Jul 2021 12:52:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:39206 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347873AbhGSPXA (ORCPT ); Mon, 19 Jul 2021 11:23:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F16EC61376; Mon, 19 Jul 2021 15:59:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710393; bh=LDL4Bqi17LueZ8n7BQx1SbwuFjKuWJ/E8uFrCXGqHxA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yOUFcPV6Odtn75YLh3BQ5zCJ7Svf00gduqB+aYx7o5IVISjEGV6VVJGPraZacfJOH lcoYAc4Aqo0lImXGHPfq65DhZSI5k8IqOqoJ3cIpAFx6rlZu+ZwAXjiFHYi9Qwon/e GoQBeTEM2FVv+i5H0RONIkJKEqMe9ZcT8MkOThBQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "B.R. Oake" , Vagrant Cascadian , Salvatore Bonaccorso , Maxime Ripard , Sasha Levin Subject: [PATCH 5.10 198/243] ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode Date: Mon, 19 Jul 2021 16:53:47 +0200 Message-Id: <20210719144947.321830593@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210719144940.904087935@linuxfoundation.org> References: <20210719144940.904087935@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Salvatore Bonaccorso [ Upstream commit b19d3479f25e8a0ff24df0b46c82e50ef0f900dd ] Commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config") sets the RX/TX delay according to the phy-mode property in the device tree. For the Orange Pi Plus board this is "rgmii", which is the wrong setting. Following the example of a900cac3750b ("ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode") the phy-mode is changed to "rgmii-id" which gets the Ethernet working again on this board. Fixes: bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config") Reported-by: "B.R. Oake" Reported-by: Vagrant Cascadian Link: https://bugs.debian.org/988574 Signed-off-by: Salvatore Bonaccorso Signed-off-by: Maxime Ripard Link: https://lore.kernel.org/r/20210524122111.416885-1-carnil@debian.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts index 97f497854e05..d05fa679dcd3 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts @@ -85,7 +85,7 @@ pinctrl-0 = <&emac_rgmii_pins>; phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; status = "okay"; }; -- 2.30.2