From patchwork Mon Nov 26 00:15:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 151966 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4971570ljp; Sun, 25 Nov 2018 16:17:14 -0800 (PST) X-Google-Smtp-Source: AFSGD/UScC1LUNPfTAdMfTt/A+TP54Ud4kEE1x+dofka125qMcyqRJX4N87SCjAzOo5l7X3AKQnr X-Received: by 2002:a17:902:6909:: with SMTP id j9mr24514117plk.196.1543191434550; Sun, 25 Nov 2018 16:17:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543191434; cv=none; d=google.com; s=arc-20160816; b=eo6U0R2DpVQfvDrtdZ9aLx+SuW0k/7KqQUDZzV3jMpw0A1VtJA61Pnb2VL1PshXWUi TQjQXLDYybdpsb4Hbdlfz+de6wTJ7mmm/TF/9S0Gpmwy/9cmXOVDAimzdGUppaYxgBg5 Iufwy7DOh3q+I6crmvit+j84dZKBCeYxDgeU5/8AiJ0OG7JcBxFwctGtksGNxOE9YKL+ AUHLzdfUcpvFb9tQdF/J65DqigEjq6AGWmg4kWFMtyeEaRkzRIuncrlnk/Ks3RDuG1hb BASjBsmwnkuzJPrn3s8ACohwdrneNgQVb5eBerNbbVqc7pMXMnhSaH79V+KdyMvH+Qrm +6bA== 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=2Vit5RiZHib93dEny9PteOYqGtzGPo28jGCpaIBnV+s=; b=THc9wVwkDcVlTDjpDjqgwL2XJcYyDZkfCWgkZZ6PWlmtV94C/9VZRZ3eHbb2VbVLVY ndLCG2e1/FVTjQLAls826w9G8ArC9bkhNe6DksY0QwypUUtoenCiP4CUrcY+dMcJwwyH 68b1xWqYMs6UBl/X/OM1JFwLX0qNmX/zhJ+e/uN6foSUMkMLRyujPa7ove/Q7A1ZLsJv ACD/6p1MtzgrpRReDoaPXDK7XW2ltw2uF52QYX4Y0RXZbYf5FmK73HPitxdbYYf9zTCj b38pEeWUjmOR4jPvTGgYQt2PUgCCwBlrhsUo2cjWWZNzwCWmgdehkHajl0GzW5tNe4Ww e37w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eQVq07mc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 u9si30388207pge.48.2018.11.25.16.17.14; Sun, 25 Nov 2018 16:17:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=eQVq07mc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726532AbeKZLJd (ORCPT + 32 others); Mon, 26 Nov 2018 06:09:33 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:51964 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbeKZLIW (ORCPT ); Mon, 26 Nov 2018 06:08:22 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id wAQ0FY3P097203; Sun, 25 Nov 2018 18:15:34 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1543191334; bh=2Vit5RiZHib93dEny9PteOYqGtzGPo28jGCpaIBnV+s=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=eQVq07mcs8eAtGrLFSX7ck+kduNiECRMTYEnnm5E9rgm1B72zRiQvS3BAr6DnJoCU xmIQSU9P/nul1A5boFBgyCV5F2FpA3TGFW+8w7xm4jSB0PXWZ2ba6GWy7S811ry0At /ZvMyRiNHmekRDR/V0ZhCTClzgFfr6smrRC7aYEo= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wAQ0FYlf039070 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 25 Nov 2018 18:15:34 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Sun, 25 Nov 2018 18:15:34 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Sun, 25 Nov 2018 18:15:34 -0600 Received: from legion.dal.desgin.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 wAQ0FYDI005257; Sun, 25 Nov 2018 18:15:34 -0600 Received: from localhost (uda0226610.dhcp.ti.com [128.247.59.147]) by legion.dal.desgin.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id wAQ0FYU04358; Sun, 25 Nov 2018 18:15:34 -0600 (CST) From: Grygorii Strashko To: "David S. Miller" , Tony Lindgren , Kishon Vijay Abraham I , Rob Herring CC: , Sekhar Nori , , , Andrew Lunn , , , Grygorii Strashko Subject: [PATCH linux-next 06/10] ARM: dts: dm814x: switch to use phy-gmii-sel Date: Sun, 25 Nov 2018 18:15:27 -0600 Message-ID: <20181126001531.12974-7-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.10.5 In-Reply-To: <20181126001531.12974-1-grygorii.strashko@ti.com> References: <20181126001531.12974-1-grygorii.strashko@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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..413ae19 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"; + reg = <0x650 0x4>; + #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>; }; };