From patchwork Sun Sep 9 00:05:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 146250 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1002473ljw; Sat, 8 Sep 2018 17:05:16 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbZlWspyGOz2mzxqW0O5JSXhbCpt37UfSvE8XRIgC2EJVRgCaMImhhYQf2qmzFpT/AAJYXQ X-Received: by 2002:a63:1f0a:: with SMTP id f10-v6mr15308831pgf.66.1536451516542; Sat, 08 Sep 2018 17:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536451516; cv=none; d=google.com; s=arc-20160816; b=slS4XrrO3Q4ivFNQQz+Yjl6I3ptsHwRMMxYcVsGQglWRsbSHc+D9WIyhrG+GC6LINj PekSyBjsFKKQU3TBQR1m/jnOtx3fthcfACNVgGz4BMY8yFzeTidPI+qfjKa43BbOAhPE kRgsnTlxZHjmQtppWHGbhkHeIlqaZ1N7dw/YYRomnoJ6YLzQzxxBHV9cVxpbUVO7hJnX 37Ak+HMK1rOiptrsdVDN2f+tAbOAeD2NiFgVes1JqcFv8D1/5BAxfdZgdJ7nWvfmaM8A YpBim6xbsyNh+nzxwiDsFHQ+9EZo5B9qor4rqpj2C4h8XhniZ8siH4F0ozLoMn8x6Nvl bsyQ== 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=BZG7rmTW4/lAPoUaL5rTjtQs+R+LX7vx+rKhrfbx+vs=; b=X5sxhic7y2HEfjQwHWizXckl59YirW+K7pQ+Xf0s6EZlIrZQITwUUjTOj9cqMkkEoG W1Z00gEBGsRsNdjzMyfBzYJV/15qaIXfzRzJo/sY2k12CBE9ZZ41kY3aP0mghGoVYaqs H4EtivA6WxXwcKL5+ONQ183BWqOzlgyA/kIAmrYcqFa+fG/bYZrjSFFBfj/KvglGAcvZ uHO1ahmZdJ9YNghNQjJ5zUH/8AZ7U6hVCfnaSrHp4MQTRSpahhHcpZtbntrQf2nVz1FB 0jrESz/Dw2YndK5EFwpOPsPjjenC0j1c2zcnkULOVDRlXmv/SeqcXaa4J2iBbRKXsizm RT1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mfDz1uBX; 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.16; Sat, 08 Sep 2018 17:05:16 -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=mfDz1uBX; 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 S1726262AbeIIEwp (ORCPT + 5 others); Sun, 9 Sep 2018 00:52:45 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:35414 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726566AbeIIEwo (ORCPT ); Sun, 9 Sep 2018 00:52:44 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8905Blf022777; 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=BZG7rmTW4/lAPoUaL5rTjtQs+R+LX7vx+rKhrfbx+vs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=mfDz1uBX9BSr49bo00td6FLoqJoFMYD2xQnmnre0RyL9H2xGO3bD+h7jL/+jg4qNs DyDmaVgDt3tYXM6BtnRGXrLOm8O1xXMCi0Jp7fE7mEEqQhqPHIU89bItWUQURL2x2+ 0WM40w4nm5NpFGSqUse5LWzRa4c5cY0at6+n2Naw= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8905BE4019622; Sat, 8 Sep 2018 19:05:11 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) 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; Sat, 8 Sep 2018 19:05:11 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE106.ent.ti.com (10.64.6.27) 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:10 -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 w8905ACS008772; Sat, 8 Sep 2018 19:05:10 -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 w8905Ax02167; Sat, 8 Sep 2018 19:05:10 -0500 (CDT) From: Grygorii Strashko To: Tony Lindgren CC: , Grygorii Strashko Subject: [PATCH 07/12] ARM: dts: am335x-lxm: get rid of phy_id property Date: Sat, 8 Sep 2018 19:05:03 -0500 Message-ID: <20180909000508.25305-8-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-lxm.dts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- 2.10.5 diff --git a/arch/arm/boot/dts/am335x-lxm.dts b/arch/arm/boot/dts/am335x-lxm.dts index 1d6c6fa..481edcf 100644 --- a/arch/arm/boot/dts/am335x-lxm.dts +++ b/arch/arm/boot/dts/am335x-lxm.dts @@ -317,13 +317,13 @@ }; &cpsw_emac0 { - phy_id = <&davinci_mdio>, <5>; + phy-handle = <ðphy0>; phy-mode = "rmii"; dual_emac_res_vlan = <2>; }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <4>; + phy-handle = <ðphy1>; phy-mode = "rmii"; dual_emac_res_vlan = <3>; }; @@ -345,6 +345,14 @@ pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; status = "okay"; + + ethphy0: ethernet-phy@5 { + reg = <5>; + }; + + ethphy1: ethernet-phy@4 { + reg = <4>; + }; }; &mmc1 {