From patchwork Mon Sep 10 22:57:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 146358 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3001641ljw; Mon, 10 Sep 2018 15:58:06 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZfa08/Q3GwZkAjf8QtvExLb0APq8PbMGtPB8H5Plb1s5dd+VO7q+0BfmGtjr8tUDgatIIs X-Received: by 2002:a17:902:a613:: with SMTP id u19-v6mr24450166plq.234.1536620286669; Mon, 10 Sep 2018 15:58:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536620286; cv=none; d=google.com; s=arc-20160816; b=b1q1YcJ5VqQg0SnuQygjsvxBnml58XwfMjwj0/4vScbntlXFiCSTndO6uFj60GZSm1 vVzZ2WcYuNN1eFeoZpr9pinNA8y5Pef1JGtpom4q3aAJA4nvNY/EJxFFXZpNrpt2ot35 qodIcRS3A2KIfpAPic2fn+hVBEadbjm6Ueq5kXX3N6/uqo92KGCzfuEqsV8bUW13A6+f bOV5XrBorzN9e9GDahNMpkgk7e7TWhrBqFE2jQkSsjTbZ/cKG3ODzLZbZYGXVqKxvuxb K/DAZPLS3Ey07l2nCe2Ygh7QgCyvIPOnUqIgR4dPYrFJvQlKw1hqtMIOUgNVBo9+D+E6 K2mQ== 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=rPm1ZTVp0yb+atlmDaZ1vQ7kQtT+6tSttrL9mUEIX2Y=; b=03zov7WPKNizrqa91GCd8sBjWZ3Bi1XYtAjMGKlLufw/Md9J2W+Uxf5O6acDQSTgGY tsa8DarQ5BlTuvbo0mp2NT3dfb+KiDzIv+KVwY7e2/unoi4F2E7o2bpZMBdAPI9vhFrA GHVV4KPyfPTw6cS1yigngm6aBf999DMQx4VjHnBRdtELeCjjGv69O0n+v4zFYYy5b8A9 B1FA+nqqUtF/8BHLfdH1L772G4qBxsFdLhY2D7JJZ06Ojx2BMs8is4kZMYCk4ydOq/Qw EOdIOYMUFZQY6podQCVW8+CJcAuehfZIp8HBCEbZy1HpQH/i/r5gv7Xx3D/Pcjt9HEh0 I6rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=rohQHA2F; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 s27-v6si17674123pgo.395.2018.09.10.15.58.06; Mon, 10 Sep 2018 15:58:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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=rohQHA2F; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 S1726735AbeIKDyW (ORCPT + 5 others); Mon, 10 Sep 2018 23:54:22 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:46150 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbeIKDyW (ORCPT ); Mon, 10 Sep 2018 23:54:22 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8AMw3xt087468; Mon, 10 Sep 2018 17:58:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1536620283; bh=rPm1ZTVp0yb+atlmDaZ1vQ7kQtT+6tSttrL9mUEIX2Y=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=rohQHA2FQriQIapkY6fhyXAtHqTb8PLR6OGUw1gX9xqd+zkWAIcRbdt4HQeY7ogBI bFJVIv/TeeFHUrS8rnxSNT92AO5ofgfDiQQJv6ugGioa+uWK6/A744a+pcGYrzT4kL mz2T3roWgAv4uiwc5zZBKbBIib4K+LMWvy9U7XwU= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8AMw3NG031526; Mon, 10 Sep 2018 17:58:03 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) 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.1466.3; Mon, 10 Sep 2018 17:58:02 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 10 Sep 2018 17:58:03 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8AMw2V8020195; Mon, 10 Sep 2018 17:58:02 -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 w8AMw2x19464; Mon, 10 Sep 2018 17:58:02 -0500 (CDT) From: Grygorii Strashko To: Tony Lindgren CC: , Grygorii Strashko Subject: [PATCH 10/15] ARM: dts: dra7-evm: get rid of phy_id property Date: Mon, 10 Sep 2018 17:57:50 -0500 Message-ID: <20180910225755.24611-11-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.10.5 In-Reply-To: <20180910225755.24611-1-grygorii.strashko@ti.com> References: <20180910225755.24611-1-grygorii.strashko@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The phy_id property is deprecated and phy-handle has to be used instead. Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/dra7-evm.dts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) -- 2.10.5 diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 0894593..0506fe8 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -521,17 +521,27 @@ }; &cpsw_emac0 { - phy_id = <&davinci_mdio>, <2>; + phy-handle = <ðphy0>; phy-mode = "rgmii"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <3>; + phy-handle = <ðphy1>; phy-mode = "rgmii"; dual_emac_res_vlan = <2>; }; +&davinci_mdio { + ethphy0: ethernet-phy@2 { + reg = <2>; + }; + + ethphy1: ethernet-phy@3 { + reg = <3>; + }; +}; + &dcan1 { status = "ok"; pinctrl-names = "default", "sleep", "active";