From patchwork Mon Sep 10 22:57:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 146360 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3001662ljw; Mon, 10 Sep 2018 15:58:08 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaNmDmGLIYUVBgSybatwQoku+2RXIUZzUyqTpa/8nvpqs44aV3tXNoQvsP/MX6syN1OWhRQ X-Received: by 2002:a17:902:a715:: with SMTP id w21-v6mr24206820plq.61.1536620287967; Mon, 10 Sep 2018 15:58:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536620287; cv=none; d=google.com; s=arc-20160816; b=L9fBZyb8rAJeSkGOwfVZn+c28FbxntJgi6YF0+xapjjTVmrWQ6dnTboDqCsEsqX3fn 9e7d337G+UWVpAm/h3nyC0k4Qq4VFex/VYUZGvdcFUQaWqGW1ELI47JHCrPcAGQ6MoI5 DXwLvzMOgHMFZTfz956OXZ6CRUPC403CL6T4niZJ09oW17lTj0ABvDUENhmQD4VBIkyc HqOKbYF+iJnB0RsOBL45fsfbaeucwvGrGzAE0vM2ZDr1XZ40uneTyIo+G5cfe+lVQhAX ijLeunp3j5ilKTNsfKOf/hlLftoB8+ffJyS7lblrIcIfXvqIe33yEMTdscViYoVmwals sJeQ== 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=bPiI16Wc80E25dFW53b2m+apu9E+UZrpOoDzuU3Enrc=; b=S7uqg2ujZkpSSLBBe8Z5w7t4K7ceuTBYyE1tj6QQrgdjfKrzg55zrzgmXvCFRlZac/ sz0OCypKHGi1T4A8enCZ6Wdn7avL1Y7Bb/gay4gw/aFbdMo0+smiyMiTxa46XcFxe1+6 L6InnBBeC8Q8fmVjbKjrMiVlq4lmpWHyMbtRx3DvmppDo+bDGkwCszjlHes+21qA5EwD yykurhAqhK9tgdXsvCXgPwx6P/OIwtgyfdmF8IzeW1UO76E3dHG9r4Egu3Ln6z7YBE5u rXAsdCwOtc7rvWLb7yiGsBMJI7dj+/e94WdhV+mxfLLhSwgahMr1Hz4Vqm2e3PBpZcmC iPKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=UDygZkBn; 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.07; Mon, 10 Sep 2018 15:58:07 -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=UDygZkBn; 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 S1726795AbeIKDyX (ORCPT + 5 others); Mon, 10 Sep 2018 23:54:23 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:44510 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726780AbeIKDyX (ORCPT ); Mon, 10 Sep 2018 23:54:23 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8AMw3Ux015484; 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=bPiI16Wc80E25dFW53b2m+apu9E+UZrpOoDzuU3Enrc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=UDygZkBnvpYukhEPbSm2HPJr0gHNhRQrw62Gf7rNDdUO1YA3x99NhXjAxSEy+OdU4 hOC53M4XPualptIakvbyterXLS4zdUyqtMkHtwFi2EFi9eAkBFShScaJ20zR7DJziG cxEvltsW6d89jbT+o0b/RhJ4Fs7EQer+3pFbCKGw= 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 w8AMw31Z019050; Mon, 10 Sep 2018 17:58:03 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) 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, 10 Sep 2018 17:58:03 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE103.ent.ti.com (157.170.170.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 dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8AMw3mN014236; Mon, 10 Sep 2018 17:58:03 -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 w8AMw3x19480; Mon, 10 Sep 2018 17:58:03 -0500 (CDT) From: Grygorii Strashko To: Tony Lindgren CC: , Grygorii Strashko Subject: [PATCH 12/15] ARM: dts: am57xx-cl-som-am57x: get rid of phy_id property Date: Mon, 10 Sep 2018 17:57:52 -0500 Message-ID: <20180910225755.24611-13-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/am57xx-cl-som-am57x.dts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- 2.10.5 diff --git a/arch/arm/boot/dts/am57xx-cl-som-am57x.dts b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts index 203266f..7a25613 100644 --- a/arch/arm/boot/dts/am57xx-cl-som-am57x.dts +++ b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts @@ -558,13 +558,13 @@ }; &cpsw_emac0 { - phy_id = <&davinci_mdio>, <0>; + phy-handle = <ðphy0>; phy-mode = "rgmii-txid"; dual_emac_res_vlan = <0>; }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <1>; + phy-handle = <ðphy1>; phy-mode = "rgmii-txid"; dual_emac_res_vlan = <1>; }; @@ -573,6 +573,14 @@ pinctrl-names = "default", "sleep"; pinctrl-0 = <&davinci_mdio_pins_default>; pinctrl-1 = <&davinci_mdio_pins_sleep>; + + ethphy0: ethernet-phy@0 { + reg = <0>; + }; + + ethphy1: ethernet-phy@1 { + reg = <1>; + }; }; &usb2_phy1 {