From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.visioncatalog.de ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XlEcm-0007Kl-7y for barebox@lists.infradead.org; Mon, 03 Nov 2014 10:12:36 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 39B59A0035B for ; Mon, 3 Nov 2014 11:12:24 +0100 (CET) From: Wadim Egorov Date: Mon, 3 Nov 2014 11:12:15 +0100 Message-Id: <1415009535-6294-1-git-send-email-w.egorov@phytec.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [For next PATCH] ARM: dts: phyFLEX: Add SKEW clock delays to emac0 node To: barebox@lists.infradead.org The KSZ9031 gigabit phy on the PBA-B-01 carrier board needs special settings for the RGMII skew control register. Signed-off-by: Wadim Egorov --- arch/arm/dts/am335x-phytec-phyflex.dts | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/am335x-phytec-phyflex.dts b/arch/arm/dts/am335x-phytec-phyflex.dts index 4dde328..c4481f5 100644 --- a/arch/arm/dts/am335x-phytec-phyflex.dts +++ b/arch/arm/dts/am335x-phytec-phyflex.dts @@ -212,6 +212,17 @@ phy_id = <&davinci_mdio>, <1>; phy-mode = "rgmii"; dual_emac_res_vlan = <1>; + + /* clock skew correction, maximum possible on KSZ9031 is + 2^5 - 1 * 0,06ns = 1860ps, micrel datasheet M9999-081712-0.11 p.58*/ + rxc-skew-ps = <1860>; + txc-skew-ps = <1860>; + + /* align tx signals to zero, leave rx to default */ + txd0-skew-ps = <0>; + txd1-skew-ps = <0>; + txd2-skew-ps = <0>; + txd3-skew-ps = <0>; }; &cpsw_emac1 { -- 1.7.0.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox