From patchwork Wed Feb 20 15:25:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 158812 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5050531jaa; Wed, 20 Feb 2019 07:26:41 -0800 (PST) X-Google-Smtp-Source: AHgI3IZFxM+kkjr2tvhEbBolekvE3iPuabGuGXdI5wIxkNmN9VYLVmuUvFpOX+AVVwaAOq2xsU1P X-Received: by 2002:a17:902:8697:: with SMTP id g23mr28399568plo.30.1550676401093; Wed, 20 Feb 2019 07:26:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550676401; cv=none; d=google.com; s=arc-20160816; b=tLUBLmJIW82nK385rVqEsPFPehjEGK6SpKfTCMnoUurms50EiyfOUkrUJ/v1MEOZhV yWaGhsBaV8kRXZsKScEU1mx3PLz47xBvsaR7zlXWhDW5mCYHdKLgiZ8AlhTg9Z4HwGQe caQnZAIVJnJed7wZ/nrzqfeldlSBRgY8bJ1Yn7QlFdN6Wu8M9WsI9+YGP2KfalHFLx7v sNs0Eg48gXiOAsESlzlMQAczkW+obUnap+Vl3XW7lV7gnMgd6A0T9yIB+uR32Itg67e5 XvN5d1OAgkDLcplQZh1jthE+1YtjNTAwEJDHpcvfQdVr5Y9lyFx/BE5cb2DHUZo8nfKb bFlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=QKzjUjKCPfDXcTiEnGu7cK4JzcDDNuwmd+3LS5W6iS4=; b=TaEYQWcnHn5jQQl1JDO4uJCIunXl9p+2/tPdenmBYqEmX4YmcOJpA43Pcat/cdm/eR Ym5apawwdaRChDmocTiTQgs7eUTrdKj0Mcq2AMZyVkBDjLJxgUjz+kVebOOMDSPDNdPw t+9D9f/QlE42yZ5Lq2FPBcuIjgAyDnXN7Z9h5qTSt1xa9Df1RNdSFPbnSuPohn47GSmE N0D22SzxU0aDNT+VOqIaiKEkrHXzEOuaM/+juyF0YvFhCMMRv1BVxCsrH62ADotj0HAs OhouwOI6u569eafDOTGSiXsbm9GS9oWJfoNeanPv6dCknXhHnkZHi69C656Y1NNAQSjt 93Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=P+eBkAGl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 30si19542387ple.287.2019.02.20.07.26.40; Wed, 20 Feb 2019 07:26:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=P+eBkAGl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727715AbfBTP0j (ORCPT + 32 others); Wed, 20 Feb 2019 10:26:39 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:37612 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726154AbfBTP0M (ORCPT ); Wed, 20 Feb 2019 10:26:12 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x1KFQ0i3055557; Wed, 20 Feb 2019 09:26:00 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1550676360; bh=QKzjUjKCPfDXcTiEnGu7cK4JzcDDNuwmd+3LS5W6iS4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=P+eBkAGl9xnpNTJs4kDMxkMVb2gwAY1oLoOGLFNGJlA4MRVv80cI5eTWbDTUTmTnS izT7jeoHwOVSqcsce3ueFVy9/ea+JIsDVcqN7oP4cx9R8apBzBr111XGmbmpx/9jZu jbz3OYSTa6ui+1S5qcPxW5D7nI9eMQiMfVm+GZd0= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x1KFQ0fP070042 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Feb 2019 09:26:00 -0600 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 20 Feb 2019 09:25:59 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Wed, 20 Feb 2019 09:25:59 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x1KFPwmi009382; Wed, 20 Feb 2019 09:25:59 -0600 From: Grygorii Strashko To: "David S. Miller" , Kishon Vijay Abraham I , Rob Herring , Tony Lindgren CC: , Sekhar Nori , , , , , Grygorii Strashko Subject: [PATCH 1/6] ARM: dts: dra7: switch to use phy-gmii-sel Date: Wed, 20 Feb 2019 17:25:14 +0200 Message-ID: <1550676319-6440-2-git-send-email-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550676319-6440-1-git-send-email-grygorii.strashko@ti.com> References: <1550676319-6440-1-git-send-email-grygorii.strashko@ti.com> MIME-Version: 1.0 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 Switch to use phy-gmii-sel PHY instead of cpsw-phy-sel. Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/dra7-l4.dtsi | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/dra7-l4.dtsi b/arch/arm/boot/dts/dra7-l4.dtsi index bb45cb7fc3b6..414f1cd68733 100644 --- a/arch/arm/boot/dts/dra7-l4.dtsi +++ b/arch/arm/boot/dts/dra7-l4.dtsi @@ -77,18 +77,18 @@ }; }; + phy_gmii_sel: phy-gmii-sel { + compatible = "ti,dra7xx-phy-gmii-sel"; + reg = <0x554 0x4>; + #phy-cells = <1>; + }; + scm_conf_clocks: clocks { #address-cells = <1>; #size-cells = <0>; }; }; - phy_sel: cpsw-phy-sel@554 { - compatible = "ti,dra7xx-cpsw-phy-sel"; - reg= <0x554 0x4>; - reg-names = "gmii-sel"; - }; - dra7_pmx_core: pinmux@1400 { compatible = "ti,dra7-padconf", "pinctrl-single"; @@ -3099,7 +3099,6 @@ ; ranges = <0 0 0x4000>; syscon = <&scm_conf>; - cpsw-phy-sel = <&phy_sel>; status = "disabled"; davinci_mdio: mdio@1000 { @@ -3114,11 +3113,13 @@ cpsw_emac0: slave@200 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; + phys = <&phy_gmii_sel 1>; }; cpsw_emac1: slave@300 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; + phys = <&phy_gmii_sel 2>; }; }; }; From patchwork Wed Feb 20 15:25:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 158808 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5050002jaa; Wed, 20 Feb 2019 07:26:15 -0800 (PST) X-Google-Smtp-Source: AHgI3IZCWiQZP+CEMBGfbe+noF3kTfaiOnLRqCSl0AXoinQrHr2stIfDXAufvq/+tDOjQxxdTO0p X-Received: by 2002:a17:902:b402:: with SMTP id x2mr36963335plr.53.1550676375319; Wed, 20 Feb 2019 07:26:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550676375; cv=none; d=google.com; s=arc-20160816; b=tDlvPHY28jWYE9/Mdl5ZrtEG3YSYRb8qQoWfeJ1TNSJuowFINll0yDw+DUI8VJqhtT pg1hzQG4fRxyfNFjO4AdkOenCpHtzjr418BuCf2iML21uw9/ianqUQY+1iEE4gQjYzVY lIrxrLlzWJtRSEGD/swfOYGOYwzJVfbnHgUbRMipcrCQ+heDKIqw7ZyqOeIuu266ZoMJ f1gYirh3Y0fG0jqdi7EE4VB29ojTKgOu8UAJoXGRIbOISB91LRzKtOPL9+O/3zbk2bNx L3WewnWzdPRYdRw6U19MobMvv4vU8Dp3vRbrcAVJ1OswOYeOUdogHCmcO1vOYZ+Yj5ua q50w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=h68KHKQLhtXDqCDtLbr+og+xANh/4Lq0WSDAxfGRz44=; b=I6EH6svWDINlxSAFnJ9Hgh6sNIBSoEcQsl7/D7Fp0Jn2ILcmMBgdrMGlErPzGiq2Iy Tso9DkdF+ajMyNwqus1zokSoU/tTGfjsPVxBHi3/mNbC8pt4l9aWPLI3k8QgtBhbuh4S kC6TQ7YCTqQAO6SLcfx38rlChb39U6OGu+V6TuRAIDZ1khtBWQlfKO/rKboaOFWM/8dL 1TLP4eCc5HtjRVFGywbUk9w8Q65c76G7SNmoKR3S41xgyzoJY2LXQGjEFpgWVweUBR1E nrmIs+b1ClM2g0lki/3wB5z74WO/W6qPoCWrJT6AB8U3CPK+s8S5PSVrOr/0SBwG+j1N 2OVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=w+czkUnk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id z20si19211705pfl.3.2019.02.20.07.26.14; Wed, 20 Feb 2019 07:26:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=w+czkUnk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727561AbfBTP0M (ORCPT + 32 others); Wed, 20 Feb 2019 10:26:12 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:50022 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726630AbfBTP0M (ORCPT ); Wed, 20 Feb 2019 10:26:12 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x1KFQ1aL065772; Wed, 20 Feb 2019 09:26:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1550676361; bh=h68KHKQLhtXDqCDtLbr+og+xANh/4Lq0WSDAxfGRz44=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=w+czkUnkwsfzNvtecBs3of3wAk0v7kaxMe5Rwy+BaqCGyuxCtll7be0iPop1d8P8F xpSUus6xv139+0neOMcQ3YvvhJbQHmiPXaaigt7Fzf7YRa5hmEvfEsohGY9ydra63l UWC5m5yD7D6PhnhXofa91W+xAQwZXjwHlSMN59Ac= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x1KFQ127085225 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Feb 2019 09:26:01 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 20 Feb 2019 09:26:01 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Wed, 20 Feb 2019 09:26:01 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x1KFQ0mW006289; Wed, 20 Feb 2019 09:26:00 -0600 From: Grygorii Strashko To: "David S. Miller" , Kishon Vijay Abraham I , Rob Herring , Tony Lindgren CC: , Sekhar Nori , , , , , Grygorii Strashko Subject: [PATCH 2/6] ARM: dts: dm814x: switch to use phy-gmii-sel Date: Wed, 20 Feb 2019 17:25:15 +0200 Message-ID: <1550676319-6440-3-git-send-email-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550676319-6440-1-git-send-email-grygorii.strashko@ti.com> References: <1550676319-6440-1-git-send-email-grygorii.strashko@ti.com> MIME-Version: 1.0 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 Switch to use phy-gmii-sel PHY instead of cpsw-phy-sel. Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/dm814x.dtsi | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/dm814x.dtsi b/arch/arm/boot/dts/dm814x.dtsi index 601c57afd4fe..413ae19dd5f0 100644 --- a/arch/arm/boot/dts/dm814x.dtsi +++ b/arch/arm/boot/dts/dm814x.dtsi @@ -343,6 +343,12 @@ #size-cells = <1>; ranges = <0 0 0x800>; + phy_gmii_sel: phy-gmii-sel { + compatible = "ti,dm814-phy-gmii-sel"; + reg = <0x650 0x4>; + #phy-cells = <1>; + }; + scm_clocks: clocks { #address-cells = <1>; #size-cells = <0>; @@ -549,17 +555,14 @@ cpsw_emac0: slave@4a100200 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; + phys = <&phy_gmii_sel 1>; + }; cpsw_emac1: slave@4a100300 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; - }; - - phy_sel: cpsw-phy-sel@48140650 { - compatible = "ti,am3352-cpsw-phy-sel"; - reg= <0x48140650 0x4>; - reg-names = "gmii-sel"; + phys = <&phy_gmii_sel 2>; }; }; From patchwork Wed Feb 20 15:25:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 158813 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5050692jaa; Wed, 20 Feb 2019 07:26:48 -0800 (PST) X-Google-Smtp-Source: AHgI3IZp6exo72l/yYpQqYnKXORVichPz7bdYaSEad/J6xxWMZ95F0QZ7gKEAJLA9iI4NSw2L+Cm X-Received: by 2002:aa7:8019:: with SMTP id j25mr20727210pfi.82.1550676408501; Wed, 20 Feb 2019 07:26:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550676408; cv=none; d=google.com; s=arc-20160816; b=xB6yqPjp1lWk02D/aroSLcfl1RcVppAl9fZVVaJBTPOMZHMtdNuSr4RY6aXkP4g7x2 qbjxXbOIRM/zUG21tw2voDC+4pZUrIVmMeTuMgF8qHkBQH9XlNjjRF5mBqG6RhqLMmdh 5lFfkucbPe4PwsORduavju3OMzwppET4gsd4FRnkNjNvDlmrQUE8zAL3zSNyBNxehwD1 qbJMyNWYRmsuW+8NaHZEwXFsQV+o3Z3hYDgLrwRnn47ctkHEAf9zBGwMZcQx6hAigI1J nqJxHZJemIQynuAVRERpeBdSPsi5/Xki5/ml7HbTrf9xzJ55yHJA2jVn1dySAWH5rc1y ijdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=MlJ1Ct4/G7vc0vGnmopDdnlbzOaq/tosiy3N86uCRBg=; b=BN6vQpnoRLHUgRcaDoVxGOBgYCXgx7fwr3b8ar3FUWkZKMzmeAsyG6QQFShPCNC42L BUF7QiA/9jXZyfLftgkCNokW4ESHTxkPnzkAV/juVuCkshlbcFpO2sv73pQ/bPAHbh5U mGvsp8Kfb+MfGS5NJi8eNxhDrlm0mwUnG/SP/9V9dxFJkzahb+JgVP2GIWsEmKhyOSgy dmszh3fU9WgvFibXL6MfdZO87d12O87ojYwgKiJo67GSGDN1Ypj28wFFPQdNvwerjg0g 8yhIeMX3afWQBKcKOyB5BASXMJPPHYy5JmtW85s1AhqDwlOK9N6P8Uxn15khytRJfQd5 QCCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TTGa4ki9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id f6si18182712pgc.509.2019.02.20.07.26.48; Wed, 20 Feb 2019 07:26:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TTGa4ki9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727750AbfBTP0r (ORCPT + 32 others); Wed, 20 Feb 2019 10:26:47 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:43018 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725801AbfBTP0M (ORCPT ); Wed, 20 Feb 2019 10:26:12 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x1KFQ4M5127263; Wed, 20 Feb 2019 09:26:04 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1550676364; bh=MlJ1Ct4/G7vc0vGnmopDdnlbzOaq/tosiy3N86uCRBg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TTGa4ki9oYsY8jCrpkbXvJkLxlxnTnAUuotFzVUmIUXXGOZEjuF+J7nWSY5k9g9Ca kkc/mkxdWyGkIqP/icgVUlKzGz/6kW+fYbvT8nPUGv5FqSLstAwZVof2cG2vbca25D 0vTNtTU+RhcnQBLu3s9ycoR8BLef4usLHGR5oyDo= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x1KFQ3ut070209 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Feb 2019 09:26:04 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 20 Feb 2019 09:26:02 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Wed, 20 Feb 2019 09:26:02 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x1KFQ1rt009519; Wed, 20 Feb 2019 09:26:02 -0600 From: Grygorii Strashko To: "David S. Miller" , Kishon Vijay Abraham I , Rob Herring , Tony Lindgren CC: , Sekhar Nori , , , , , Grygorii Strashko Subject: [PATCH 3/6] ARM: dts: am4372: switch to use phy-gmii-sel Date: Wed, 20 Feb 2019 17:25:16 +0200 Message-ID: <1550676319-6440-4-git-send-email-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550676319-6440-1-git-send-email-grygorii.strashko@ti.com> References: <1550676319-6440-1-git-send-email-grygorii.strashko@ti.com> MIME-Version: 1.0 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 Switch to use phy-gmii-sel PHY instead of cpsw-phy-sel. Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/am437x-l4.dtsi | 17 +++++++++-------- arch/arm/boot/dts/am43x-epos-evm.dts | 5 +---- 2 files changed, 10 insertions(+), 12 deletions(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/am437x-l4.dtsi b/arch/arm/boot/dts/am437x-l4.dtsi index ca0896f80248..85c6f4ff1824 100644 --- a/arch/arm/boot/dts/am437x-l4.dtsi +++ b/arch/arm/boot/dts/am437x-l4.dtsi @@ -280,12 +280,6 @@ #size-cells = <1>; ranges = <0 0 0x4000>; - phy_sel: cpsw-phy-sel@650 { - compatible = "ti,am43xx-cpsw-phy-sel"; - reg= <0x650 0x4>; - reg-names = "gmii-sel"; - }; - am43xx_pinmux: pinmux@800 { compatible = "ti,am437-padconf", "pinctrl-single"; @@ -300,11 +294,17 @@ }; scm_conf: scm_conf@0 { - compatible = "syscon"; + compatible = "syscon", "simple-bus"; reg = <0x0 0x800>; #address-cells = <1>; #size-cells = <1>; + phy_gmii_sel: phy-gmii-sel { + compatible = "ti,am43xx-phy-gmii-sel"; + reg = <0x650 0x4>; + #phy-cells = <2>; + }; + scm_clocks: clocks { #address-cells = <1>; #size-cells = <0>; @@ -555,7 +555,6 @@ cpts_clock_shift = <29>; ranges = <0 0 0x8000>; syscon = <&scm_conf>; - cpsw-phy-sel = <&phy_sel>; davinci_mdio: mdio@1000 { compatible = "ti,am4372-mdio","ti,cpsw-mdio","ti,davinci_mdio"; @@ -572,11 +571,13 @@ cpsw_emac0: slave@200 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; + phys = <&phy_gmii_sel 1 0>; }; cpsw_emac1: slave@300 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; + phys = <&phy_gmii_sel 2 0>; }; }; }; diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 4ea753b3ee43..9dfd80e3b76e 100644 --- a/arch/arm/boot/dts/am43x-epos-evm.dts +++ b/arch/arm/boot/dts/am43x-epos-evm.dts @@ -584,10 +584,7 @@ &cpsw_emac0 { phy-handle = <ðphy0>; phy-mode = "rmii"; -}; - -&phy_sel { - rmii-clock-ext; + phys = <&phy_gmii_sel 1 1>; }; &i2c0 {