Message ID | 20180909000508.25305-10-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-v6csp1002497ljw; Sat, 8 Sep 2018 17:05:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYYTTj2pN9ad+UnQXGYR6V4azWYgEDeAvbtDnnJvuJ4dQkBKTu2YMzg0ttklr9hayZ14vcL X-Received: by 2002:a17:902:2804:: with SMTP id e4-v6mr14669838plb.327.1536451517731; Sat, 08 Sep 2018 17:05:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536451517; cv=none; d=google.com; s=arc-20160816; b=Z/6SyORDN12V0ehoIZTJZcd8pYPwBaBjwNGloW5j1UoXGSkywntxZqM0iSl0AX2a9w uscHVDNxMlBPPpb7J/TtINa1Tyf/a3jLOfTF0GqclpaSnjQz+5Ot8y3qIgYdSEFjg7dK BapqinXicsU6AEXb6JSaVsVuC/X53/hmSj6MIaK5o1dEa3TLK3UtZBo8r9KsVf9mV8jB AxEg8NVqVtzz2dOlipcWVP5hDLvmNSYCbTexTfbOh17pfMNQmxFxfzSg5kDdUwfvgUA+ rAz2zQRdDvudsL9bYcjQrLUMyNWiyiGL6ObHR39zGfDMOttMzoyWuKA+a330Rb5Y6Ptq 0/1Q== 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=twMcH2s2O/CNktDa4C8MKB0oreNWnJHOV1GPXxrnqh8=; b=vWocqOli95y+KmRkUmuSGqsB676KzNzuwQKFvuaJ+XMvdOzkm4koW8M9QuCq8tqat4 D3FFFCCHxu1RCMee09D3MvhvSOjmzCFcPIZHAQ3YGMXK+Qg6MNk+EdCSn1DZoVPT6vnA ZOu8+G4loL0otp8K0Q4NW+ZDkAfzrABB6Ax8YnUNqfFELZ19HfcZsW4n1gukFdGyRsVt li3/dReV3j0i3r204jwCKKRGTNe+IcFBEPsjF0tfIaD8Bl6js4q5E8YDc3ZuH0KpKKuC zS1kYmHN29qBh+drEj/fnT5nGGbrnjBavl5IiRkfU7aParcPXZwAVIMCESf6TobFZAkA Kn4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="cxoA9oP/"; 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.17; Sat, 08 Sep 2018 17:05:17 -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="cxoA9oP/"; 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 S1726424AbeIIEwp (ORCPT <rfc822;kelley.spoon@linaro.org> + 5 others); Sun, 9 Sep 2018 00:52:45 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:51046 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726576AbeIIEwo (ORCPT <rfc822; linux-omap@vger.kernel.org>); Sun, 9 Sep 2018 00:52:44 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8905BwI063714; 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=twMcH2s2O/CNktDa4C8MKB0oreNWnJHOV1GPXxrnqh8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=cxoA9oP/8ZKMAuaPL6ZALIXS7ruG25KTwP4vGu746DcxGYG9PKB3TEhTfkRXY1+sl jzjU5chuu3+ZZ0LuU3hP4sWBwyWj9Y3hDIZ/1TRCu7jmlBEoM/FDXcQ+VPSZQ0Es7D M78zhlNgxus/caYmdJOH0hGTGndZMM8KojQGLoZQ= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8905B1L019637; Sat, 8 Sep 2018 19:05:11 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE111.ent.ti.com (10.64.6.32) 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 dlep33.itg.ti.com (157.170.170.75) by DFLE115.ent.ti.com (10.64.6.36) 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:12 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8905B1v032570; Sat, 8 Sep 2018 19:05:11 -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 w8905Bx02175; Sat, 8 Sep 2018 19:05:11 -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 09/12] ARM: dts: am335x-evmsk: get rid of phy_id property Date: Sat, 8 Sep 2018 19:05:05 -0500 Message-ID: <20180909000508.25305-10-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-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 0c096a7..cabe1da 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts @@ -639,16 +639,24 @@ pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; 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>; };
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-evmsk.dts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- 2.10.5