From patchwork Fri Jan 20 16:20:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 9528915 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D23B96045F for ; Fri, 20 Jan 2017 16:22:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B39D028653 for ; Fri, 20 Jan 2017 16:22:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A89412865B; Fri, 20 Jan 2017 16:22:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5C0AF2866D for ; Fri, 20 Jan 2017 16:22:08 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cUbww-0001Gr-Sl; Fri, 20 Jan 2017 16:22:02 +0000 Received: from mail-pf0-f169.google.com ([209.85.192.169]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cUbwi-0000pC-GR for linux-amlogic@lists.infradead.org; Fri, 20 Jan 2017 16:21:52 +0000 Received: by mail-pf0-f169.google.com with SMTP id f144so23557476pfa.2 for ; Fri, 20 Jan 2017 08:21:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JIsNOu/xT8QylX6hQcWRCznCHOTbfuEiwwuYKchRoJE=; b=RwOp3NbLsChwx+YaMJdc/Vk2O7MDCaUxhEc0zUOFkEhf14bN8p+IJmg4kcntUR+VEs pv8SrNhMLwboGuowzMwBuFy3nr35sodYGB+T6ysyfawrQ65Gq0Tn0e3Jxo+/Qbujo+Tn Hfje7hUagT3YAVyK7n/CtTVDH3eVyrQS/kGj8e4VZMvwhqif6YnFh2guNuAZxWnWd9P6 RSvzkQjGyb6j0HTLNOC7hgCdwxI/IqxoSc23o0Im3Tc1EDzMSPLryVB4IrNiouW0/c25 t4pDwh61YRVOPU7/o7oPflB1Hjn+JGvN+XQN5tqnL0dc8kqDka3A6sY5OdconMplAt9b wIPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JIsNOu/xT8QylX6hQcWRCznCHOTbfuEiwwuYKchRoJE=; b=I+vsLhjBqFeQ/NTH8xT9LxAWUaSZWjm+VHVQyhmJzSICp45I5sTCgWFAg93i31jpFl xXfNkRtD9siVgDLH1gVNstrjkg3Vj9LEFUuYySUhsLYZ3WHAh8mcHjmDRq6O8NbfnAVO Lz41wYEklSfdFvPzgwhdlAeKWK5db7v/iK4LND7/ebSbH5qaFM4OvNUR6dJyTALCShCi g46kpU1abdAN+zrivlQbqi43JTb44GviAIZmVlI6rhxnJ32VRXIbU0qITI1BQjqEY2j6 6Y109FRBEjTNLB/9b6vgp1uMq6TH4xGX6Qxe22cADgbP6ryXmK1b3Gof5M30vavK8YCm +bSg== X-Gm-Message-State: AIkVDXIaAo6Y/5Aau+B5kzMnr9JnknEtP5xKyKJcSR1v36v9BxVQYrBhEBV0Ar2Ia27nGNZf X-Received: by 10.99.147.81 with SMTP id w17mr17839318pgm.111.1484929227517; Fri, 20 Jan 2017 08:20:27 -0800 (PST) Received: from localhost (c-98-203-232-209.hsd1.wa.comcast.net. [98.203.232.209]) by smtp.gmail.com with ESMTPSA id p1sm18049785pgc.29.2017.01.20.08.20.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jan 2017 08:20:27 -0800 (PST) From: Kevin Hilman To: arm@kernel.org Subject: [PATCH 1/2] ARM64: dts: meson-gxbb-odroidc2: fix GbE tx link breakage Date: Fri, 20 Jan 2017 08:20:24 -0800 Message-Id: <20170120162025.31806-2-khilman@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170120162025.31806-1-khilman@baylibre.com> References: <20170120162025.31806-1-khilman@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170120_082148_573198_9703C3C1 X-CRM114-Status: UNSURE ( 7.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jerome Brunet OdroidC2 GbE link breaks under heavy tx transfer. This happens even if the MAC does not enable Energy Efficient Ethernet (No Low Power state Idle on the Tx path). The problem seems to come from the phy Rx path, entering the LPI state. Disabling EEE advertisement on the phy prevent this feature to be negociated with the link partner and solve the issue. Signed-off-by: Jerome Brunet Signed-off-by: Kevin Hilman --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 5d28e1cdc998..c59403adb387 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -151,6 +151,18 @@ status = "okay"; pinctrl-0 = <ð_rgmii_pins>; pinctrl-names = "default"; + phy-handle = <ð_phy0>; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + eth_phy0: ethernet-phy@0 { + reg = <0>; + eee-broken-1000t; + }; + }; }; &ir {