Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp303657ybh; Wed, 15 Jul 2020 02:20:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxInyJGcpcS76Ojek+dc7BDT/IRkdzi90AVn+ZmOoMgQ1Gv8iAYaVXQMzEYuV27Y0alG5Ow X-Received: by 2002:a17:906:3c56:: with SMTP id i22mr8747348ejg.12.1594804856340; Wed, 15 Jul 2020 02:20:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594804856; cv=none; d=google.com; s=arc-20160816; b=bZ2ylx8HJDXBODNsgzjCf7sznCn0Kvhg4plMvZI7gNOEooLf5LHtDIeqhAOtEECwbr OQk8WILH+C7TluEzQOaZ6HhtmyBWe0MRpgbXaXwDk1zaM5PRAUKmlx59uDVFnlhCqyfv qC9takombO1qW679o5dHvkFsbWmql6DVm94zCp/nXpvCJzfvw12IfzaNHcIFd5HIU0i7 9WRgyGadYKkVtE5l8e4EYv3Iweo7fZ1DAeF2cL7auTLTPnOfsrtedkDnLIlmeZcYM1ZN b6WhlSnXIJt4oz0mqA/5gMVyfJ3U9Uarshcc8TuT0KfDkhpN6kcK4FXI0z6bTQiqPmqc BIuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=EENDgKjYGdyjuwWFWxbHFsIqJ467mMOcoygJG/xnCoI=; b=gMc5a00YvkwtjFCPd6yq/a3J3leijpobg38s3mivH6Ht/cyoBnrcMHP2GRXkJvRyRP ZHaDMXQVuf6cYFzA4yO59y1uf1kuWcvWyoj1ueVIMVcP9C0/kV+bbnYmgNzt3aA9y0X5 SBTJIg+SRDACCcYc7pnpi+J9laXCGDLxGczQ5pCpBRgVCcuI+16dg6uJig3AZJXj+Hng 0j0GWPvBBokUjR0fx7OwcJXaGG6JSqbo+PSEHfh/MYpREoceULRpkDe8yjwqbuXHkq6u EgYKeF1dt/5KigJEbth39udb9rdfIsCAsmn1Kbd/za3uorBeMGGvR2eu+xlkbpBO8/Y+ NtwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="w/6ahaWO"; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e9si787433ejj.498.2020.07.15.02.20.33; Wed, 15 Jul 2020 02:20:56 -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=@ti.com header.s=ti-com-17Q1 header.b="w/6ahaWO"; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730196AbgGOIzK (ORCPT + 99 others); Wed, 15 Jul 2020 04:55:10 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:39694 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728145AbgGOIzK (ORCPT ); Wed, 15 Jul 2020 04:55:10 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06F8shml045489; Wed, 15 Jul 2020 03:54:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1594803283; bh=EENDgKjYGdyjuwWFWxbHFsIqJ467mMOcoygJG/xnCoI=; h=From:To:CC:Subject:Date; b=w/6ahaWOLc3Al2remRtic1KNxtjy8NyQHZwA6/7kv8bGX42MPZ//WcUfZKVTO/+VC bXBodufclEFzdmdMe5lObjVCP376kpk/ROB70TnAxgTV5V5W3Mv/TNT9e11osRrOT4 laKyEB6zi1501izD9WHYg3VuQsCHr5tqcRDOpn/M= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06F8shsb016045; Wed, 15 Jul 2020 03:54:43 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 15 Jul 2020 03:54:42 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 15 Jul 2020 03:54:42 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06F8sf8x088537; Wed, 15 Jul 2020 03:54:42 -0500 From: Grygorii Strashko To: Murali Karicheri , "David S. Miller" , Sekhar Nori , Santosh Shilimkar CC: , , , Jakub Kicinski , Rob Herring , , Grygorii Strashko , Oleksij Rempel , Andrew Lunn , Philippe Schenker Subject: [PATCH] ARM: dts: keystone-k2g-evm: fix rgmii phy-mode for ksz9031 phy Date: Wed, 15 Jul 2020 11:54:27 +0300 Message-ID: <20200715085427.8713-1-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") the networking is broken on keystone-k2g-evm board. The above board have phy-mode = "rgmii-id" and it is worked before because KSZ9031 PHY started with default RGMII internal delays configuration (TX off, RX on 1.2 ns) and MAC provided TX delay by default. After above commit, the KSZ9031 PHY starts handling phy mode properly and enables both RX and TX delays, as result networking is become broken. Fix it by switching to phy-mode = "rgmii-rxid" to reflect previous behavior. Cc: Oleksij Rempel Cc: Andrew Lunn Cc: Philippe Schenker Fixes: bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY") Signed-off-by: Grygorii Strashko --- Fix for one more broken TI board with KSZ9031 PHY. arch/arm/boot/dts/keystone-k2g-evm.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts index db640bab8c1d..8b3d64c913d8 100644 --- a/arch/arm/boot/dts/keystone-k2g-evm.dts +++ b/arch/arm/boot/dts/keystone-k2g-evm.dts @@ -402,7 +402,7 @@ &gbe0 { phy-handle = <ðphy0>; - phy-mode = "rgmii-id"; + phy-mode = "rgmii-rxid"; status = "okay"; }; -- 2.17.1