From patchwork Sat Dec 29 22:31:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Bauer X-Patchwork-Id: 1019390 X-Patchwork-Delegate: openwrt@kresin.me Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=david-bauer.net Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HDQQ+gWK"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43RyxQ06ygz9s0n for ; Sun, 30 Dec 2018 09:32:09 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=IP4+GKO57kXQzBMZHsDGiyEmrdKu4lM3/VP3d3Qg4sg=; b=HDQQ+gWKM4BDa2 nN1iveAreK6WT2o3P0w9NL4WWhleNSSar5oqGwHZ/GQheLuApDXZL061OmOvaAlOA8mx2huyNvbEp vm+9htXnVMEyXTW6QoDbRbuATp82V5yJoL+B9NhErtqSA4vuoV1Y+drEaj2CqLEyOohJv3PkqAC/m Kv8A7jOH/RGy3Xuby9r3zMZiDxAYSDX6W3ywtvD8lahybSPCMZhvvx78qGB4XSoOgNPW29Q6ZWLPk a7cCXa2I9C0bD7BcfmBbNMgMocuktt+uN1B/dYLO6TmE/1P0DAu64xFLXoi+RXnTfAWRuvh3qKZY6 J+zWk3TGwshRihnmCdgg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gdN93-0001he-Gw; Sat, 29 Dec 2018 22:31:49 +0000 Received: from mars.blocktrron.ovh ([2001:41d0:401:3000::cbd] helo=mail.blocktrron.ovh) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gdN8y-0001hJ-Aa for openwrt-devel@lists.openwrt.org; Sat, 29 Dec 2018 22:31:46 +0000 Received: from localhost.localdomain (p20030071CF398200D2B6432849FB8ED0.dip0.t-ipconnect.de [IPv6:2003:71:cf39:8200:d2b6:4328:49fb:8ed0]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.blocktrron.ovh (Postfix) with ESMTPSA id 415501E24C for ; Sat, 29 Dec 2018 23:31:26 +0100 (CET) From: David Bauer To: openwrt-devel@lists.openwrt.org Date: Sat, 29 Dec 2018 23:31:19 +0100 Message-Id: <20181229223119.9893-1-mail@david-bauer.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181229_143144_513771_0D586E07 X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record Subject: [OpenWrt-Devel] [PATCH] ath79: fix OCEDO Koala ethernet configuration X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org The OCEDO Koala has incorrect PLL settings which result in ~3% packet loss on ethernet connections. Also omit the gmac-configuration as it's incorrect too. Signed-off-by: David Bauer --- target/linux/ath79/dts/qca9558_ocedo_koala.dts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/target/linux/ath79/dts/qca9558_ocedo_koala.dts b/target/linux/ath79/dts/qca9558_ocedo_koala.dts index 2c150971db..23835492a3 100644 --- a/target/linux/ath79/dts/qca9558_ocedo_koala.dts +++ b/target/linux/ath79/dts/qca9558_ocedo_koala.dts @@ -156,15 +156,5 @@ phy-handle = <&phy5>; phy-mode = "rgmii-rxid"; - pll-data = <0xae000000 0xa0000101 0xa0001313>; - - gmac-config { - device = <&gmac>; - - rxdv-delay = <3>; - rxd-delay = <3>; - txen-delay = <0>; - txd-delay = <0>; - rgmii-enabled = <1>; - }; + pll-data = <0x8e000000 0x80000101 0x80001313>; };