From patchwork Fri Mar 7 10:15:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 25874 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f198.google.com (mail-yk0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BF4612057C for ; Fri, 7 Mar 2014 10:16:24 +0000 (UTC) Received: by mail-yk0-f198.google.com with SMTP id 9sf19763786ykp.1 for ; Fri, 07 Mar 2014 02:16:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=CtbAweCkCapw80qiqM8fUsnSRPalauHDvc3Gp/7AKr4=; b=hI0phPhzo2HzpnShmWfAATuS86l1RRAl1py9WnzHA9J4ujxAi+kFFwIFY6KbKWV7+l SmVtrg2coFgXp/5c/qYSoxxAXyT1OQ92gf49llfB/zAzxyDHept0GwaIFxCX1kxDpLum RDc1kNAj9RR0WYc2wPymMRKVr4jP0C6zS4eBsbCvcm5vaJFaEGVDZCo8+DNWeCGn0wnM Z9RVrftC8odKkz2Kk9AvdCgHLW1rQlgfmQsyt3zY+wmnymSIOUnBnK1ffiGxeYd+ROhv Piq0lXMPwMWRbhy9GiQa45FrQDhtr3dvx7/92mT2ExWLC05tDR1UlaXU3ihqJ0nAR62m 6Fzg== X-Gm-Message-State: ALoCoQlEBHUCdnEeAXEb2Ks/lY7m9TlxfR5+mpX/rrtJ2t8JG9do0b3NhIb9EXS42+M9rA3/4g+5 X-Received: by 10.236.27.33 with SMTP id d21mr6085864yha.23.1394187384477; Fri, 07 Mar 2014 02:16:24 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.93.33 with SMTP id c30ls1136415qge.9.gmail; Fri, 07 Mar 2014 02:16:24 -0800 (PST) X-Received: by 10.221.37.1 with SMTP id tc1mr300484vcb.32.1394187384361; Fri, 07 Mar 2014 02:16:24 -0800 (PST) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id fi9si1948796vcb.39.2014.03.07.02.16.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Mar 2014 02:16:24 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lg15so3864069vcb.26 for ; Fri, 07 Mar 2014 02:16:24 -0800 (PST) X-Received: by 10.220.114.135 with SMTP id e7mr9396795vcq.23.1394187384245; Fri, 07 Mar 2014 02:16:24 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp104198vck; Fri, 7 Mar 2014 02:16:23 -0800 (PST) X-Received: by 10.66.118.71 with SMTP id kk7mr21001417pab.14.1394187381963; Fri, 07 Mar 2014 02:16:21 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wp10si4776887pbc.107.2014.03.07.02.16.21; Fri, 07 Mar 2014 02:16:21 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752873AbaCGKQK (ORCPT + 26 others); Fri, 7 Mar 2014 05:16:10 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:53192 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750930AbaCGKP7 (ORCPT ); Fri, 7 Mar 2014 05:15:59 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s27AFZOB032656; Fri, 7 Mar 2014 04:15:35 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s27AFZ9i012982; Fri, 7 Mar 2014 04:15:35 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Fri, 7 Mar 2014 04:15:34 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s27AF90O011753; Fri, 7 Mar 2014 04:15:31 -0600 From: Roger Quadros To: , CC: , , , , , , , , , , Benoit Cousson Subject: [PATCH v3 6/8] ARM: dts: omap5: add sata node Date: Fri, 7 Mar 2014 12:15:06 +0200 Message-ID: <1394187308-19622-7-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1394187308-19622-1-git-send-email-rogerq@ti.com> References: <1394187308-19622-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Balaji T K Add support for sata. [Roger Q] Clean up. CC: Benoit Cousson CC: Tony Lindgren Signed-off-by: Balaji T K Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap5.dtsi | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 88bd327..521caab 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -829,6 +829,46 @@ #thermal-sensor-cells = <1>; }; + + omap_control_sata: control-phy@4a002374 { + compatible = "ti,control-phy-pipe3"; + reg = <0x4a002374 0x4>; + reg-names = "power"; + clocks = <&sys_clkin>; + clock-names = "sysclk"; + }; + + /* OCP2SCP3 */ + ocp2scp@4a090000 { + compatible = "ti,omap-ocp2scp"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x4a090000 0x20>; + ranges; + ti,hwmods = "ocp2scp3"; + sata_phy: phy@4a096000 { + compatible = "ti,phy-pipe3-sata"; + reg = <0x4A096000 0x80>, /* phy_rx */ + <0x4A096400 0x64>, /* phy_tx */ + <0x4A096800 0x40>; /* pll_ctrl */ + reg-names = "phy_rx", "phy_tx", "pll_ctrl"; + ctrl-module = <&omap_control_sata>; + clocks = <&sys_clkin>; + clock-names = "sysclk"; + #phy-cells = <0>; + }; + }; + + sata: sata@4a141100 { + compatible = "snps,dwc-ahci"; + reg = <0x4a140000 0x1100>, <0x4a141100 0x7>; + interrupts = ; + phys = <&sata_phy>; + phy-names = "sata-phy"; + clocks = <&sata_ref_clk>; + ti,hwmods = "sata"; + }; + }; };