From patchwork Sun Sep 9 00:05:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 146247 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1002457ljw; Sat, 8 Sep 2018 17:05:15 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaUwdVXvgwspRpipdb7d4SMrUQ45FA4QnWeKE+5xUKM2YuK63AIiKU6NJgWkN3off0jN8l6 X-Received: by 2002:a63:4283:: with SMTP id p125-v6mr15395778pga.142.1536451515693; 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=Xx8APxf98Vp+MVw1MKV1XdIKH0wfVZ+qiGxCYdJFJ5OS6/rOgLQaeil8FK76hGH1zk VQ4IGsdh0pwAHFZgHpg2f/f3NMzCPzx2+ooxs4gaM0pxABiYOuw2ZZEzerQ4XZtKFsyJ DZpzscTP2UmoMQtQJbos8027P92B4uXiMbnxtP+lDFr2I7EaJxuL1OxxS6DckTwzBSgz lNea6aJ2uwTd76UiR5j4xIDHx7yxM7I9oCh/bZQDnvSh+6Nr+H4SmLh15vpVpqy0WE/q JT+ShDbTYlKlV6wdbGh5B7wNKshXO3wuXoje4mK8FMZYzDoqZMzqInwrBUX2Lt6xu05G 7nMQ== 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=jMhl9/gBG2mufN0sPPHhBUgdv73/LZZ9k25xBTiUej8=; b=XyQuXkZWPzI2+krt1uSFXYXzQPVIhwO/JUuiHTP+FcmpTRtyb3a4bgpjTEZN++Ghfp EBdngSn5pCGKb3fTrXO8ZVRWVTsS576qifWuOO5plSQCsUmdloeZJIo8ws9tipbtIvTl 8eewzkLGfruG9bW+xjvKROwlssVgXVFg5tP0aojChHHuaWK51nW8lny+uA0NFnlQXx6I xFPwtLD75qNxlFqYGuYAE60g07AA3DMWtVlJ7eEkQTG07PXHKcZmhOYm1VqNsXhS6h1H 1iywaWQiSmlh7YnMeciXIqMmF58n5ZT4wGeyWDc5DyiDW5/xsNd2k8YttZjhaJz5O0ml d05Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ByglsCOo; 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.15; 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=ByglsCOo; 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 S1726186AbeIIEwo (ORCPT + 5 others); Sun, 9 Sep 2018 00:52:44 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:51042 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726298AbeIIEwo (ORCPT ); Sun, 9 Sep 2018 00:52:44 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8905AeG063705; 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=jMhl9/gBG2mufN0sPPHhBUgdv73/LZZ9k25xBTiUej8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ByglsCOov8kj9xv6oHVeEsLeDq3xd5FBlsQ+dlxjjlu/N01O8LdXIg9V5SVkh5fmM M1MWURKZvf+2h5YZaCDzopKhz71PrCkApIO2K/UaAcKSPEmPwp2je76mCyCHuGzMpA 2/pVBMrJq42x8MdvTJqVgdk3AofWoiIR99PNqxCY= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8905AJe015860; Sat, 8 Sep 2018 19:05:10 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE115.ent.ti.com (10.64.6.36) 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 dlep32.itg.ti.com (157.170.170.100) by DFLE111.ent.ti.com (10.64.6.32) 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 dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8905AHC023687; 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 w8905Ax02159; Sat, 8 Sep 2018 19:05:10 -0500 (CDT) From: Grygorii Strashko To: Tony Lindgren CC: , Grygorii Strashko Subject: [PATCH 05/12] ARM: dts: am335x-nano: get rid of phy_id property Date: Sat, 8 Sep 2018 19:05:01 -0500 Message-ID: <20180909000508.25305-6-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-nano.dts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- 2.10.5 diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts index 946d706..9c9143e 100644 --- a/arch/arm/boot/dts/am335x-nano.dts +++ b/arch/arm/boot/dts/am335x-nano.dts @@ -380,16 +380,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 = "mii"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <1>; + phy-handle = <ðphy1>; phy-mode = "mii"; dual_emac_res_vlan = <2>; };