From patchwork Mon Oct 8 23:49:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 148473 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4243635lji; Mon, 8 Oct 2018 16:50:54 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Rtp3UHiVbd3/cbXB5OfEZtfUVShzHgHIPn8qV+oTHDzyp35bOLmIsbxrPG5SKcma7Suj9 X-Received: by 2002:a62:d206:: with SMTP id c6-v6mr7262401pfg.8.1539042654425; Mon, 08 Oct 2018 16:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539042654; cv=none; d=google.com; s=arc-20160816; b=xQLpjAXLydJ51BHgt/kRKCUtyk+ZJ24zk+FrE0UGVLYvIeOVBDVvw6tI3C2Kfao8l1 D12Tg4wgK4zFYeeAX60KA5POKckDb4IkUzGo0SHH8VxNbNz4LjKUnAKBQ57ZK+GjqnDA +3LflRcgIcznarVtsUHbpRiqIilRq3zXaeqUblmZvqrSdT2czez8qOOCC6LcQrOIftSc z23mcnj/mHnRFRQlm8wYY+VKjYiZCUwHvSWfvTjxhrJV7HLXvT5FXJI09Hmay+aLIW/G VdRJms5rOckbmY7UaznVvMnsIfxiwrPDRtqsjg+92wXVLM1BDjn1i2bNFcH3c2rywoDu LcQg== 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=9cZr7Nn2/H3Cn+hGCY3taoQux5m7n9inHKQE01z0P+o=; b=LcoBX8vrH5DVFqQQ1EZGuwwEOAebOq7fuwCSzAzLmrVRAJtJu8pciP+xvdRumdkR6w mPhvvG3ME+GfioBFrLWQFLbC9YYGIY4Lq5XhMKVz1Qtlzc4TOkG54eYjOY6BBT1iXnkg d4MB9eYiw5FKQ6ZFXI+njencQ3HCjnAPsRKCYyHTvxLto4Zmjo9epl71HxZK33w5agvN WHKmuSXGTCCb7LJEY0EemhOqwFXZDnSOz9KrwFtvgJ0YsXWbi+j6BLVcTDO6XZF+JK4s HFYJ9wSqPbCS+095rsM0llyQf/TSEGZoAguZCDKT8wUMjHVzTxoO07ktqCIL4bMmA27d ycDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xDuWurKl; 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 w4-v6si18754958pgj.566.2018.10.08.16.50.54; Mon, 08 Oct 2018 16:50:54 -0700 (PDT) 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=xDuWurKl; 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 S1727181AbeJIHEy (ORCPT + 32 others); Tue, 9 Oct 2018 03:04:54 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:53466 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726752AbeJIHEJ (ORCPT ); Tue, 9 Oct 2018 03:04:09 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w98NnreE030748; Mon, 8 Oct 2018 18:49:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539042593; bh=9cZr7Nn2/H3Cn+hGCY3taoQux5m7n9inHKQE01z0P+o=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xDuWurKlz+9zJYzm3xARdM+z4GkPNvQht8eiiO3tEHoy+/PF2grgT65rG1FzhKcXH +x+9ksDXG9QOpP+nmi2XOy5c9xBsQnd4HyudfXtD8WHmZO53ggJKMrz1rznN0HfcOs /bfvEVykaNis3tPM4lUrazGMsWfj4xTGlqORAuzI= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w98NnrWe023967; Mon, 8 Oct 2018 18:49:53 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 8 Oct 2018 18:49:52 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 8 Oct 2018 18:49:52 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w98NnqE8019780; Mon, 8 Oct 2018 18:49:52 -0500 Received: from localhost (uda0226610.dhcp.ti.com [128.247.59.147]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w98Nnqx25232; Mon, 8 Oct 2018 18:49:52 -0500 (CDT) From: Grygorii Strashko To: "David S. Miller" , , Tony Lindgren , Rob Herring , Kishon Vijay Abraham I CC: Sekhar Nori , , , , Grygorii Strashko Subject: [RFC PATCH 06/11] ARM: dts: dra7: switch to use phy-gmii-sel Date: Mon, 8 Oct 2018 18:49:44 -0500 Message-ID: <20181008234949.15416-7-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.10.5 In-Reply-To: <20181008234949.15416-1-grygorii.strashko@ti.com> References: <20181008234949.15416-1-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. Cc: Kishon Vijay Abraham I Cc: Tony Lindgren Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/dra7.dtsi | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) -- 2.10.5 diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index a0ddf49..07a0edf 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -187,6 +187,12 @@ }; }; + phy_gmii_sel: phy-gmii-sel { + compatible = "ti,dra7xx-phy-gmii-sel"; + syscon-scm = <&scm_conf>; + #phy-cells = <1>; + }; + scm_conf_clocks: clocks { #address-cells = <1>; #size-cells = <0>; @@ -1879,17 +1885,13 @@ cpsw_emac0: slave@48480200 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; + phys = <&phy_gmii_sel 1>; }; cpsw_emac1: slave@48480300 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; - }; - - phy_sel: cpsw-phy-sel@4a002554 { - compatible = "ti,dra7xx-cpsw-phy-sel"; - reg= <0x4a002554 0x4>; - reg-names = "gmii-sel"; + phys = <&phy_gmii_sel 2>; }; };