From patchwork Mon Sep 10 22:57:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 146356 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3001629ljw; Mon, 10 Sep 2018 15:58:05 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbpkEmYYmsc3oPmgndxE4neRgjqqy+MnLoXZFtSF3eoQcA19AoVFjl1Ckqja+YIwmEiQsye X-Received: by 2002:a63:4909:: with SMTP id w9-v6mr24849295pga.123.1536620285786; Mon, 10 Sep 2018 15:58:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536620285; cv=none; d=google.com; s=arc-20160816; b=O3G5vW6GWia03HS/EcaRDFeZgVOmIFhj2/0wfu8PzQwZ6UeS0cXOWA619uGX7rH9P6 9seN6/arqpX/OkzM/V4PVic6K3PyIUbB+QfRysCEX+SQNXL5AG6u8tGkOxQIz/+JGdyc p1sk8F4f7rM4NB4MfSQNDuE9sj6jGQoichioBs4RblkBbSAFQHi04O1G1+Lfj+YxBDa/ gVfcH6lESusAjqQ6AI94aF+mMK3H3PnSzEaJOuF5udZH6P0o0QiLnbMzU5K85vGkTpfs z6gDuqe4MHbO1Ikw2+IVLPPpoNQ+p4XDi8prM653xmiunLriu22t3GfIPx69hvMiyZxr KRtg== 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=+K9l2V0TOogHGQh+HiCKYv1jW3uVBE9FOKbOUcPKN5s=; b=g3ae2v0jxK7/ClDmdEnEP6Z3xtWP7jtdtblzdUYasMl6h/ifWVynkqGJMF2si+xuBG 4jt9yltmMYiLq/P4NTZtALmeHtDl9vKVBEOpt/ggJEidxRubc2pREV6o8FvdTaLLE35S am8xDou3L37rjhObfpX+UxepjirELHgXKFoLa4xwPKcTfVNO+MQsBoWLmBN9a0NBOn0z 1sjy4p6ksEEqBIdJEH1SslGYOT2d7w3/Mf5KlyURNNTv6UIKqWFhaOa7wHJftHlEhceB GnUJko5D6OfONjS2VP8KspjbTzLO+xjirdUIA247LPFtzxP+3tbz9NV3vdAKRS/IZTgr uWqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=WQpecjLc; 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:05 -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=WQpecjLc; 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 S1726739AbeIKDyV (ORCPT + 5 others); Mon, 10 Sep 2018 23:54:21 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:44502 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbeIKDyV (ORCPT ); Mon, 10 Sep 2018 23:54:21 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8AMw1qS015463; Mon, 10 Sep 2018 17:58:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1536620281; bh=+K9l2V0TOogHGQh+HiCKYv1jW3uVBE9FOKbOUcPKN5s=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=WQpecjLcjpxYsQb2Z58bLXMfEiaMcniPs/h5ZzsoOdu67eAaMMQq0KVVzfZiy+bda pVN/5oKWdhuNYT1gC6F+ExPIY2+JlzhIJktUy2zJNVGv6B900XqA9TnE2+HT0qfeKG NMBMEJFERngHBNRM+6BfmXN+MJoRDqmOWhNQOPQw= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8AMw12Y031396; Mon, 10 Sep 2018 17:58:01 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE113.ent.ti.com (157.170.170.24) 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:01 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE105.ent.ti.com (157.170.170.35) 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:01 -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 w8AMw0q4023786; Mon, 10 Sep 2018 17:58:00 -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 w8AMw0x19433; Mon, 10 Sep 2018 17:58:00 -0500 (CDT) From: Grygorii Strashko To: Tony Lindgren CC: , Grygorii Strashko Subject: [PATCH 05/15] ARM: dts: am437x-cm-t43: get rid of phy_id property Date: Mon, 10 Sep 2018 17:57:45 -0500 Message-ID: <20180910225755.24611-6-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/am437x-cm-t43.dts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- 2.10.5 diff --git a/arch/arm/boot/dts/am437x-cm-t43.dts b/arch/arm/boot/dts/am437x-cm-t43.dts index bff5abe..4fcf647 100644 --- a/arch/arm/boot/dts/am437x-cm-t43.dts +++ b/arch/arm/boot/dts/am437x-cm-t43.dts @@ -339,16 +339,24 @@ pinctrl-names = "default"; pinctrl-0 = <&davinci_mdio_default>; 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 = "rgmii-txid"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { - phy_id = <&davinci_mdio>, <1>; + phy-handle = <ðphy1>; phy-mode = "rgmii-txid"; dual_emac_res_vlan = <2>; };