From patchwork Sun Sep 9 00:05:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 146255 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1002505ljw; Sat, 8 Sep 2018 17:05:18 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbgu4tcNQmCC5RvZUBhpUS6S975kNeVW1mTmeZJRFejKEY/v7kXjTnQIx0zvtJ6b9D3jUqH X-Received: by 2002:a63:5756:: with SMTP id h22-v6mr15523509pgm.423.1536451518316; Sat, 08 Sep 2018 17:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536451518; cv=none; d=google.com; s=arc-20160816; b=KPOgNp6v4LxR6LN62nYokujnu5qGig0Mcf9elKeh3fXDtyraq4PQiAS/wek+EQX3Ti 1SlVg/CQRJNIB0+tmrysE8C+Ddgbi3+ILI+R6BkVyvG30pxli8iDbXe05PKYbPAkBbwD ohlJgRRBwIbPetYxgk9LklH8wQ4DpjyZSyQ9GvO6OR8Z/yzkWr75THUqoF6+D+oOzOVv zU6xCif0GTHz2fBrDmifc0APXCV2UkVuFYOQ0gEGG7FMHicwTGYWhZM8Mo7HZO3h1ZVf 8t74Mj9ylFcvWhl7cjsipJgrCzUBggXrHuluD38n+7qQ8sgDS1V2g3GX9Ibb+RLkaN5X QKDA== 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=DoAYBsWXUDzFWku3wBTRAWx5U23h1pfZusvI1cX+DLc=; b=K36pNh1QwXkbi9fSAuKmrASipxPAz2cq/Q7jUlRS2gC5fap6s/wxzke7v4l3kafc/V 0Ge1Ic+KZVwek5rzrG3NIZn3UCK6NXuwbGOyXFjDhvTDMCE9BZ32g3il3quxrcRAj5zI UUdl086esJJjKSuu5T24F3oIU0Um882bOoo8l/xgED4JY9EdjL+qz34hGJ+y18czscgD N6fs66Oz0/7T+edxxYN5kHuNW1E+L/pupLkMdgZMqCN1oc+c812oLJcYo7IHF/Gi/yp3 98lAFS4SvBuWkqmBDEGQhD9W5dxy1ZTZZ11n0MXLuIKzcWSd4+FCpV0HtXTnTuJtUZIw XuhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tTiTFjB5; 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 s2-v6si11875297plp.144.2018.09.08.17.05.18; Sat, 08 Sep 2018 17:05:18 -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=tTiTFjB5; 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 S1726603AbeIIEwq (ORCPT + 5 others); Sun, 9 Sep 2018 00:52:46 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:51048 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726192AbeIIEwq (ORCPT ); Sun, 9 Sep 2018 00:52:46 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8905Bmf063710; Sat, 8 Sep 2018 19:05:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1536451511; bh=DoAYBsWXUDzFWku3wBTRAWx5U23h1pfZusvI1cX+DLc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=tTiTFjB5CA5G+Ur+69Iy7cIdOxAxqxkUyUiWQQUgWb/c5ZjVlwdM6+pq0lQPOqqhZ Ie3abKj/i2uDJCDUFna9pTU4yVG6ph+cxgHi8L+EarBmgznY11EazB4ELqwVYK5C9z aEboNzUCaEJFUG/4D5uXQMATv+y7QddsghuBzdWs= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8905BQd019634; Sat, 8 Sep 2018 19:05:11 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Sat, 8 Sep 2018 19:05:11 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Sat, 8 Sep 2018 19:05:11 -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 w8905Bc5006281; Sat, 8 Sep 2018 19:05:11 -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 w8905Ax02171; Sat, 8 Sep 2018 19:05:11 -0500 (CDT) From: Grygorii Strashko To: Tony Lindgren CC: , Grygorii Strashko Subject: [PATCH 08/12] ARM: dts: am335x-igep0033: get rid of phy_id property Date: Sat, 8 Sep 2018 19:05:04 -0500 Message-ID: <20180909000508.25305-9-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.10.5 In-Reply-To: <20180909000508.25305-1-grygorii.strashko@ti.com> References: <20180909000508.25305-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/am335x-igep0033.dtsi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) -- 2.10.5 diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi index a5769a8..55b4c94 100644 --- a/arch/arm/boot/dts/am335x-igep0033.dtsi +++ b/arch/arm/boot/dts/am335x-igep0033.dtsi @@ -102,15 +102,24 @@ &davinci_mdio { status = "okay"; + + ethphy0: ethernet-phy@0 { + reg = <0>; + }; + + ethphy1: ethernet-phy@1 { + reg = <1>; + }; }; &cpsw_emac0 { - phy_id = <&davinci_mdio>, <0>; + phy-handle = <ðphy0>; phy-mode = "rmii"; + }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <1>; + phy-handle = <ðphy1>; phy-mode = "rmii"; };