Message ID | 20180909000508.25305-4-grygorii.strashko@ti.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1002450ljw; Sat, 8 Sep 2018 17:05:15 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbkdtfxzIb0nX1QTiqK90LAjBRIEavtd0PuHu+AyfU9kp4IQPWvoPlFXALy5M0JMJHco+vn X-Received: by 2002:a17:902:be07:: with SMTP id r7-v6mr14665862pls.275.1536451515135; Sat, 08 Sep 2018 17:05:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536451515; cv=none; d=google.com; s=arc-20160816; b=W+DLINaZZ/B56Y7Sc90oi5ZzU0D3TyM9rrvWm4Y9WCB7xJdFXA4HVTIBvunAKIrD2S P8ggVWeZoMO3lKiBV6w7cDH52/46IpPPFBFwCmVYQ8Su3qmsCjani9J9oP3KC38Ih/YD RCw/Xn2qHNHjFgb4s/AtJjxDxWW/PqjjMpGNciO1MF6YrXWv6bhRU1BpUUcL2wrCbZHB zm9lyytSk7yjHObbdJ83vy2KnI9l81Xzbj4lNHICUpJ+YSg0wgsZ9giqxkUONTCdxqMo rFzjfGPxHMkUMYXSPbCKCRzywz0Q/OtbYU8ycF+wPH8KRa2CJRFxjeQG/pZ+UyrHiZWK iixw== 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=hhstN4tFvR11tDKV4DZxXyX7KjZRlTNXUYSSiQxMqNM=; b=mTNlr2Bjwe5RdJz0sxvTxOs0sVTRRSMD79FOou66CZ9psQLwEs19Cr9vK7hY7FzXDt b0f9KX8FrNgpiroeXE9I9CndcwjTGkU7ZB0FBxcnhlauo9tD9cBo2X68aq8ZbzMxfFtL RiF8dKodZtzfM3F4zOATuHzqxo/l7srGhgFUMHYk5iBXre9f/3tqpOECRR9etVS7ANfM /NT0TWLgp31Q4rt3y1XM77xCaozjibJ3UKeQBG+GPhj+w69kiSe2hw2hFgzG4jIveo7C u6WVJcf9WhxWAysSoDtQGrGj4os+7KR3bQNs1L8dUfGWfF+pK3Ps4ev56ttIYbVTf6hs Xy3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OdnbYLd8; 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: <linux-omap-owner@vger.kernel.org> 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.14; Sat, 08 Sep 2018 17:05:15 -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=OdnbYLd8; 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 S1726550AbeIIEwo (ORCPT <rfc822;kelley.spoon@linaro.org> + 5 others); Sun, 9 Sep 2018 00:52:44 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:40750 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726076AbeIIEwo (ORCPT <rfc822; linux-omap@vger.kernel.org>); Sun, 9 Sep 2018 00:52:44 -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 w8905AKp014516; Sat, 8 Sep 2018 19:05:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1536451510; bh=hhstN4tFvR11tDKV4DZxXyX7KjZRlTNXUYSSiQxMqNM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=OdnbYLd8dEuw1zxL52hFAODQoPCMi04Z77HdEo4BWkz4lBXKAGnS+yvMP3MjFpQSf iCpV6rMLdccNS8aniWB6QjkR+1/YWDB7C+UM5V/7p4E2ZPZdmEHiTW6eF+8010J6Qj 6oQv6P2MiUhNLjJPdlulz1xK8pga3wphZYmIm5dM= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8905Axx015839; Sat, 8 Sep 2018 19:05:10 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE110.ent.ti.com (10.64.6.31) 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:10 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE110.ent.ti.com (10.64.6.31) 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 dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8905ADL006254; 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 w89059x02151; Sat, 8 Sep 2018 19:05:09 -0500 (CDT) From: Grygorii Strashko <grygorii.strashko@ti.com> To: Tony Lindgren <tony@atomide.com> CC: <linux-omap@vger.kernel.org>, Grygorii Strashko <grygorii.strashko@ti.com> Subject: [PATCH 03/12] ARM: dts: am335x-pepper: get rid of phy_id property Date: Sat, 8 Sep 2018 19:04:59 -0500 Message-ID: <20180909000508.25305-4-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 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: <linux-omap.vger.kernel.org> X-Mailing-List: linux-omap@vger.kernel.org |
Series |
ARM: dts: am335x: get rid of phy_id property
|
expand
|
diff --git a/arch/arm/boot/dts/am335x-pepper.dts b/arch/arm/boot/dts/am335x-pepper.dts index 9fb7426..6be79b8 100644 --- a/arch/arm/boot/dts/am335x-pepper.dts +++ b/arch/arm/boot/dts/am335x-pepper.dts @@ -265,13 +265,13 @@ /* Ethernet */ &cpsw_emac0 { status = "okay"; - phy_id = <&davinci_mdio>, <0>; + phy-handle = <ðphy0>; phy-mode = "rgmii"; }; &cpsw_emac1 { status = "okay"; - phy_id = <&davinci_mdio>, <1>; + phy-handle = <ðphy1>; phy-mode = "rgmii"; }; @@ -279,6 +279,14 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&mdio_pins>; + + ethphy0: ethernet-phy@0 { + reg = <0>; + }; + + ethphy1: ethernet-phy@1 { + reg = <1>; + }; }; &mac {
The phy_id property is deprecated and phy-handle has to be used instead. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> --- arch/arm/boot/dts/am335x-pepper.dts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- 2.10.5