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>; }; };