From patchwork Mon Oct 8 23:49: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: 148471 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp4243350lji; Mon, 8 Oct 2018 16:50:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV631IOQDD5EiNXIBYKhPB36LmEszC+l/MAI8QUOIyF6zFYGADOx1Bh0gBlu1Agp5YRYL7b3a X-Received: by 2002:a63:4047:: with SMTP id n68-v6mr18700519pga.224.1539042629159; Mon, 08 Oct 2018 16:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539042629; cv=none; d=google.com; s=arc-20160816; b=F34ikJdZEuMA49RjziQ1mtQsXgvI98uzE2sZVjED4nz5LfEyQhpDw+PNNYtaCqRs6W 7Yo3BPp1wNHyv79jCvI6fOV6uQzK5zUxBqeUOah6dvw5UgA56csEh5hhq9KqtiMXQvHP qUOAOCe8ExbbGDOBwkfIgj1qVI/Mm1eZncUejfLQDqjE/x4CnMA9C2frGSeVGw34SsYq HOnD46xG7aYbmaaATfmy1/q4xhzThosKJbxhj2vbKY30GSEGIdZG/rDlIcJY2cjwavka cl2NDecFGxTF4SUMiveawa0RcwqKhsdqEIz4qdCCZE0XhOhspaZ+KOd3lTmDhZ6EdugI MzoA== 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=m5jl84t/Mjd6Nh/RCIiT4/WJ3GASRSNaktzYja4NJ7w=; b=FkwxL0SS/6DDCDnEboVfhbkdXgOJX7Hj/A96KFwbPZDLW7mHfBH+FMSm8zRR/OrFQb b6HALk20r4IS6PjAwRwFzL9pkMk5TjyAtanXluo7GqgnqLl5N7lXCHEyndFtSE+FJodx rTCN7gOYc73slCLjKyFjIL45C5g5d5gfV8iP7o3LgHYPDEcCdIcH/0+y6OPSt59Kpb56 /euxxhB2ilITAomo52Y/277Le/Hae9I9tJVRV0lvXUh6U2Avy6uepzfUIx1RD+NjONFy sz7YM/HDp9xXYY+mulGYpFJUAZvYZiQb8dfJM5U9MCyMtL9AByZTWLy9LmVl/ieEthQV A6rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=TZPqIoND; 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 f8-v6si18716180pgu.370.2018.10.08.16.50.28; Mon, 08 Oct 2018 16:50:29 -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=TZPqIoND; 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 S1726935AbeJIHEM (ORCPT + 5 others); Tue, 9 Oct 2018 03:04:12 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:34616 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725803AbeJIHEL (ORCPT ); Tue, 9 Oct 2018 03:04:11 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w98Nnrg7052735; Mon, 8 Oct 2018 18:49:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539042593; bh=m5jl84t/Mjd6Nh/RCIiT4/WJ3GASRSNaktzYja4NJ7w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TZPqIoNDQ9fDQhYoBmXa10q8LjqpzNSqm1eYV5vxEmjSoddU3OSWEkeDaLb/4V1PJ c7V4OEBm6vudtlAUX5CqaBtInpvpj1iuxU180vQpM9u27sMBGo/6whqyn/zUQgKFE3 /bB7tP5vyn1QLKWeo3r+Le+TgJmi4eYRYyTuJQNk= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w98Nnr2R023970; Mon, 8 Oct 2018 18:49:53 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 8 Oct 2018 18:49:53 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 8 Oct 2018 18:49:53 -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 w98NnqBm031127; Mon, 8 Oct 2018 18:49:52 -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 w98Nnqx25236; Mon, 8 Oct 2018 18:49:52 -0500 (CDT) From: Grygorii Strashko To: "David S. Miller" , , Tony Lindgren , Rob Herring , Kishon Vijay Abraham I CC: Sekhar Nori , , , , Grygorii Strashko Subject: [RFC PATCH 07/11] ARM: dts: dm814x: switch to use phy-gmii-sel Date: Mon, 8 Oct 2018 18:49:45 -0500 Message-ID: <20181008234949.15416-8-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.10.5 In-Reply-To: <20181008234949.15416-1-grygorii.strashko@ti.com> References: <20181008234949.15416-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 Switch to use phy-gmii-sel PHY instead of cpsw-phy-sel. Cc: Kishon Vijay Abraham I Cc: Tony Lindgren Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/dm814x.dtsi | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) -- 2.10.5 diff --git a/arch/arm/boot/dts/dm814x.dtsi b/arch/arm/boot/dts/dm814x.dtsi index 601c57a..5728f96 100644 --- a/arch/arm/boot/dts/dm814x.dtsi +++ b/arch/arm/boot/dts/dm814x.dtsi @@ -343,6 +343,12 @@ #size-cells = <1>; ranges = <0 0 0x800>; + phy_gmii_sel: phy-gmii-sel { + compatible = "ti,dm814-phy-gmii-sel"; + syscon-scm = <&scm_conf>; + #phy-cells = <1>; + }; + scm_clocks: clocks { #address-cells = <1>; #size-cells = <0>; @@ -549,17 +555,14 @@ cpsw_emac0: slave@4a100200 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; + phys = <&phy_gmii_sel 1>; + }; cpsw_emac1: slave@4a100300 { /* Filled in by U-Boot */ mac-address = [ 00 00 00 00 00 00 ]; - }; - - phy_sel: cpsw-phy-sel@48140650 { - compatible = "ti,am3352-cpsw-phy-sel"; - reg= <0x48140650 0x4>; - reg-names = "gmii-sel"; + phys = <&phy_gmii_sel 2>; }; };