From patchwork Fri Nov 25 13:01:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9447523 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 21EA660778 for ; Fri, 25 Nov 2016 13:04:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 126452756B for ; Fri, 25 Nov 2016 13:04:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0714328047; Fri, 25 Nov 2016 13:04:57 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AACEB2756B for ; Fri, 25 Nov 2016 13:04:52 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cAGBI-0006Wx-KZ; Fri, 25 Nov 2016 13:04:44 +0000 Received: from mail-wj0-x244.google.com ([2a00:1450:400c:c01::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cAG9Y-0004Y8-0R; Fri, 25 Nov 2016 13:03:09 +0000 Received: by mail-wj0-x244.google.com with SMTP id kp2so5533671wjc.0; Fri, 25 Nov 2016 05:02:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CuXzAUvRkWSYBk+ZCYS7H8PYucvA1ty7srIs3M/oU3w=; b=aHnc0Q4TjMgMij5GRqSUVWU8bXdPg2e6MxxC3F2ZpU82jOE/MkkURP//Q5+uDJyEP4 hw/35PJVPl6U1PzBhjnrF5BUyOMWWggBwuDelZYoiCygXmnhOfsnQoJZAFgwyOLCvgCf G7DRNqfkBdIKuvjJZ1vTMyR2dirZ/u9n66un3p8/g8h9Ck/8nf7ZwNKvP0xp+SdIHhEr HfNhqsDfoDRyvw8o5OtvqHxtQ60YfOoiAtNlO/2HVTGkRDDXknInC58vbrQITBUKM5/l 1jISohKednO6M9ytzJIvUvEZXoN5l+ZDa/xDK6DS7kjaxOBGKikAMO7xjZQEKl6Ca5ZQ p5IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=CuXzAUvRkWSYBk+ZCYS7H8PYucvA1ty7srIs3M/oU3w=; b=G/xiSFkiK5neU2PSX6TQ9SFT3sIyki8fvNorpmzdA4MCJPv2kTLMc/dbXUbgVsrisV V9F+teAlj6YgLECXcYZbreFq86RvP14wqL0WNEoz4/4QVfWcJfoF0w1As/aHEMx+qa9Z KnyB/5aVIPDI6UREyn+Dy7/VdGy1uYizUVrxmT2c04LgIjKU6o/oF82X+Bf3XRODSOG4 eRmyrj9hr4h6eAmjcknOFRYryoXUjMsV3XjXywveIWSzZMkvk8GauWJI2Lum2OkaooQn NAIYXR9wuEzF1WKhX6xvybaYRcTKySogyQb2Hl9wio6mugs0oTIRqZFpNziyKqw9Cwqp JlXQ== X-Gm-Message-State: AKaTC023w28J8f4EL5W1WB/MnE69mN7PtIPJ+71HGeSnqoiRr/1j9cx0IgjsF+7wYab7Hg== X-Received: by 10.194.106.41 with SMTP id gr9mr8413933wjb.202.1480078955247; Fri, 25 Nov 2016 05:02:35 -0800 (PST) Received: from blackbox.darklights.net ([2003:dc:d3d3:9204:9426:48db:352f:a6de]) by smtp.googlemail.com with ESMTPSA id ua15sm46937433wjb.1.2016.11.25.05.02.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Nov 2016 05:02:34 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, davem@davemloft.net, khilman@baylibre.com, mark.rutland@arm.com, robh+dt@kernel.org Subject: [PATCH v2 7/7] ARM64: dts: amlogic: add the ethernet TX delay configuration Date: Fri, 25 Nov 2016 14:01:56 +0100 Message-Id: <20161125130156.17879-8-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161125130156.17879-1-martin.blumenstingl@googlemail.com> References: <20161124143417.10178-1-martin.blumenstingl@googlemail.com> <20161125130156.17879-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161125_050256_460561_660B80C9 X-CRM114-Status: UNSURE ( 8.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: f.fainelli@gmail.com, alexandre.torgue@st.com, Martin Blumenstingl , catalin.marinas@arm.com, will.deacon@arm.com, carlo@caione.org, peppe.cavallaro@st.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the amlogic,tx-delay-ns with the old (hardcoded) default value of 2ns to all boards which are using an RGMII ethernet PHY. Signed-off-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 2 ++ arch/arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts | 2 ++ 6 files 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 cbaf024..fdade07 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -161,6 +161,8 @@ snps,reset-delays-us = <0 10000 1000000>; snps,reset-active-low; + amlogic,tx-delay-ns = <2>; + phy-mode = "rgmii"; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi index 2abc553..8172e12 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi @@ -152,6 +152,8 @@ snps,reset-delays-us = <0 10000 1000000>; snps,reset-active-low; + amlogic,tx-delay-ns = <2>; + phy-mode = "rgmii"; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi index a0e92e3..ab49712 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi @@ -131,6 +131,8 @@ snps,reset-delays-us = <0 10000 1000000>; snps,reset-active-low; + amlogic,tx-delay-ns = <2>; + phy-mode = "rgmii"; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts index f66939c..7fd11c6 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts @@ -64,6 +64,8 @@ snps,reset-delays-us = <0 10000 1000000>; snps,reset-active-low; + amlogic,tx-delay-ns = <2>; + /* External PHY is in RGMII */ phy-mode = "rgmii"; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts index d320727..f83d6dc 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts @@ -156,6 +156,8 @@ snps,reset-delays-us = <0 10000 1000000>; snps,reset-active-low; + amlogic,tx-delay-ns = <2>; + /* External PHY is in RGMII */ phy-mode = "rgmii"; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts index 5dbc660..e428e29 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts @@ -64,6 +64,8 @@ snps,reset-delays-us = <0 10000 1000000>; snps,reset-active-low; + amlogic,tx-delay-ns = <2>; + /* External PHY is in RGMII */ phy-mode = "rgmii"; };