From patchwork Mon Sep 10 22:57:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 146357 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3001634ljw; Mon, 10 Sep 2018 15:58:06 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYovrTPNyt6dDu+jipZbjVVt0iYL6uVtJ9OqJ46z5u206COJGNL6+a5OOdtzscvmPkh1MJn X-Received: by 2002:a65:4c43:: with SMTP id l3-v6mr24960383pgr.451.1536620286068; 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=NEmJo+7UzYXJVaPKi9LZPT/4lZ/4Ec362Kypt6dvBRRUC9pLXoOZ7n+jQkTA9A0nt2 veqrXBRy5mt0oDfsiTg+pMNJAkEf+nZpD4g3y8K+qpiGS87YGL5T7qKDpfcA/Dq6QnU9 y9gDkGxpIr7pw2oOstGd4H1LeMrngheUY/JAIAo4ULp3HzV4714GYpxktKVVXJnBiAlM zQTmQjk0LrOi/jZVfGKa48UOdU+9V+Rl8yej5lpBSQ4aiuNHjpw15HsA8yhi5J4INog6 /N2vY9rZy9iqEI6fTLEP1kTvn7H7G/YY9XsSO6v7IfV4G9xSgy3x0E4l7VK0xuoAYjjG DJ/A== 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=UfN0tGnox1YVkPxcDKUfYK3LL3Tu/fDH7f597MvF5NE=; b=xj8j+UrbLaJEWAAR2KYD02nuLCTEd7poaAKJojSdFq5CVLfGvenuN3NyoEyK+OWaAy iRbxwsYfokt5sKAXyQxHxmHA2khawFGOXWJ9I+N+b270Ggx+M9T6NpN2gz1ClIl0o6EF EK9Qy3lIt8zY7RPYl8Y5TCD1NbXZ+vt9XYaTKHkvTBxg2mN75WnAxo0Xs25PdN4eOgl1 rBWmhk3uek6NBb5EE3Wh3/RsCZSx3p/3wSZ0O5+v8s60e0LH7dXkuR2Qe1e4Hf4jgqsc D6FLtmyw58pvjh1D9oWO/3dqF/uVWLfqeAUnltS+uXrvfoLA3gC9AwotDLr/avFXXCBt fJcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DQ9OeNax; 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.05; 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=DQ9OeNax; 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 S1726740AbeIKDyV (ORCPT + 5 others); Mon, 10 Sep 2018 23:54:21 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:46946 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726735AbeIKDyV (ORCPT ); Mon, 10 Sep 2018 23:54:21 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8AMw3qf028963; 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=UfN0tGnox1YVkPxcDKUfYK3LL3Tu/fDH7f597MvF5NE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DQ9OeNax2WaSnoN285k/N8n6dFFXKAQgk45Prki80yfPd15HuiIVpww3py8Rrhw/f WPCjtfGuy5Kdk+0ilI1g3wwrrbsOyUDQ3K5dbpXYARBTBdtVoDDwp8Xoar9Ld/K58k Eok0vVxSOxhOYh2o1R4PwaAKsPuvu1rcdNrtBmtw= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8AMw3Yq031543; Mon, 10 Sep 2018 17:58:03 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) 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; Mon, 10 Sep 2018 17:58:03 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE100.ent.ti.com (10.64.6.21) 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 dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8AMw36t023865; 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 w8AMw3x19476; Mon, 10 Sep 2018 17:58:03 -0500 (CDT) From: Grygorii Strashko To: Tony Lindgren CC: , Grygorii Strashko Subject: [PATCH 11/15] ARM: dts: am57xx-idk-common: get rid of phy_id property Date: Mon, 10 Sep 2018 17:57:51 -0500 Message-ID: <20180910225755.24611-12-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-idk-common.dtsi | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) -- 2.10.5 diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/boot/dts/am57xx-idk-common.dtsi index ad87f1a..84d4f6e 100644 --- a/arch/arm/boot/dts/am57xx-idk-common.dtsi +++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi @@ -372,17 +372,27 @@ }; &cpsw_emac0 { - phy_id = <&davinci_mdio>, <0>; + phy-handle = <ðphy0>; phy-mode = "rgmii"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <1>; + phy-handle = <ðphy1>; phy-mode = "rgmii"; dual_emac_res_vlan = <2>; }; +&davinci_mdio { + ethphy0: ethernet-phy@0 { + reg = <0>; + }; + + ethphy1: ethernet-phy@1 { + reg = <1>; + }; +}; + &usb2_phy1 { phy-supply = <&ldousb_reg>; };