From patchwork Thu Mar 6 14:23:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 25810 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f69.google.com (mail-qa0-f69.google.com [209.85.216.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 808AD203C3 for ; Thu, 6 Mar 2014 14:26:53 +0000 (UTC) Received: by mail-qa0-f69.google.com with SMTP id w5sf6102613qac.0 for ; Thu, 06 Mar 2014 06:26:53 -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=fsJlh+3746E6K/uTu5bRvmjyBB0ZaGwSPcLID6YoxpE=; b=T3kQrS+l++UsXHKboqTE81r3jNbt+LHwAKavQb/u6kYAc9YvwxBl6mMxCkqYGqlNZS sW28twmwhY/SpAuHZI+A9oxFaEUgjnl4BGazV3sRlyZmjQDl3Ih9kH3uzkbpR1sWPHbA RRd0Bz+WmWeVqtrFNV7f7Qq8n/R4Es9bkSuDQ/aGrqxlXtAwmRdoXHhRjKfpbL/xuuPj UhFdXQoSkgy9+kshyJgBKeOFEIDuuq5MobmYlY2Z8V8C2bgRRFaasWzrBGUh60EBllYy uyAZ4Wa2mUVxVSqdPlkQ6RuApueuD6WNZhMEoeL4iTVj3TE0glSht/L/0PIuizIEQ9SL T0LQ== X-Gm-Message-State: ALoCoQm+nz+XUw6vlGaw07HNQvLAHNN63xucZPAGCAtZFnGD6KUb7MRN73DQlVOzFqaWGnN4H5J8 X-Received: by 10.58.39.202 with SMTP id r10mr3339077vek.12.1394116013256; Thu, 06 Mar 2014 06:26:53 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.20.100 with SMTP id 91ls793203qgi.18.gmail; Thu, 06 Mar 2014 06:26:53 -0800 (PST) X-Received: by 10.220.95.139 with SMTP id d11mr5278824vcn.21.1394116013095; Thu, 06 Mar 2014 06:26:53 -0800 (PST) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id tt2si1846480vdc.22.2014.03.06.06.26.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 06:26:53 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id pa12so2758412veb.0 for ; Thu, 06 Mar 2014 06:26:53 -0800 (PST) X-Received: by 10.52.142.10 with SMTP id rs10mr8091141vdb.3.1394116013000; Thu, 06 Mar 2014 06:26:53 -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 i9csp42303vck; Thu, 6 Mar 2014 06:26:51 -0800 (PST) X-Received: by 10.66.65.204 with SMTP id z12mr14721730pas.60.1394116011492; Thu, 06 Mar 2014 06:26:51 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ki1si5080584pbc.175.2014.03.06.06.26.50; Thu, 06 Mar 2014 06:26:50 -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 S1753134AbaCFO0n (ORCPT + 26 others); Thu, 6 Mar 2014 09:26:43 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:54966 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752588AbaCFOYR (ORCPT ); Thu, 6 Mar 2014 09:24:17 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s26ENoqG030857; Thu, 6 Mar 2014 08:23:50 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s26ENotv023022; Thu, 6 Mar 2014 08:23:50 -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; Thu, 6 Mar 2014 08:23:50 -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 s26EN6kA018891; Thu, 6 Mar 2014 08:23:47 -0600 From: Roger Quadros To: , , CC: , , , , , , , , , , Benoit Cousson Subject: [PATCH v2 11/13] ARM: dts: omap5: add sata node Date: Thu, 6 Mar 2014 16:23:03 +0200 Message-ID: <1394115785-28301-12-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1394115785-28301-1-git-send-email-rogerq@ti.com> References: <1394115785-28301-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.128.169 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 e47601a..b398cff 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -828,6 +828,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"; + }; + }; };