From patchwork Mon Mar 3 15:07:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 25609 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A9ACA20540 for ; Mon, 3 Mar 2014 15:08:47 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id hu8sf9961383vcb.2 for ; Mon, 03 Mar 2014 07:08:47 -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=XhxtdiNXuCp9GF18XB2+iKQKtCCHQFQH1yJJpjhL2xs=; b=Q5kRb3SANdohKW7VBnC0VSMZnzikr4Sd4pDRKWNWedCP4Pd7VDbTr8BvSwwrrH68dv O7LAVw2IAIhISdhNp/Hy3bxRGXKbTABIbyvOf/eCylobKVFN3GqyveleLmrvp4g0tfaI c2LgLBmkfKgl4qq0d0A4a9+QoEd6xpvMV+C0Ameix3Wu63WPRF+fSOCLW9BNuy1zrvJb 7bHaBEMijwBybKGNyv3nrsFi3SIO/UHJGJjYiglvIATYhDMB5FAbN4MMAoBe9YAssW0a T72DE2mO6xooRZAxFVdOooIUbVtcokXdf0rXSmqYj8A8ttai97ChytPCakGCAOvW2YM2 CVog== X-Gm-Message-State: ALoCoQnnC/y1Nkiuol33rAgFNozolXADtT6gR4wa+iVciKjyjCVY/D4WkL4YGqrLaYibRbW+ATOg X-Received: by 10.236.90.116 with SMTP id d80mr6628218yhf.16.1393859327349; Mon, 03 Mar 2014 07:08:47 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.26.195 with SMTP id 61ls2127572qgv.19.gmail; Mon, 03 Mar 2014 07:08:47 -0800 (PST) X-Received: by 10.220.98.204 with SMTP id r12mr214426vcn.48.1393859327126; Mon, 03 Mar 2014 07:08:47 -0800 (PST) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id sq4si3527998vdc.80.2014.03.03.07.08.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Mar 2014 07:08:47 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.170 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.170; Received: by mail-vc0-f170.google.com with SMTP id hu8so3765717vcb.1 for ; Mon, 03 Mar 2014 07:08:47 -0800 (PST) X-Received: by 10.220.89.4 with SMTP id c4mr23835vcm.53.1393859327019; Mon, 03 Mar 2014 07:08:47 -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.130.193 with SMTP id u1csp60351vcs; Mon, 3 Mar 2014 07:08:46 -0800 (PST) X-Received: by 10.68.204.231 with SMTP id lb7mr20209883pbc.30.1393859326199; Mon, 03 Mar 2014 07:08:46 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vu10si2976616pbc.219.2014.03.03.07.08.45; Mon, 03 Mar 2014 07:08:45 -0800 (PST) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754992AbaCCPIj (ORCPT + 5 others); Mon, 3 Mar 2014 10:08:39 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:57041 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754969AbaCCPIe (ORCPT ); Mon, 3 Mar 2014 10:08:34 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s23F88iD006455; Mon, 3 Mar 2014 09:08:08 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s23F88gJ017155; Mon, 3 Mar 2014 09:08:08 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Mon, 3 Mar 2014 09:08:08 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s23F7Z1C008921; Mon, 3 Mar 2014 09:08:05 -0600 From: Roger Quadros To: , , CC: , , , , , , , , , , Benoit Cousson Subject: [PATCH 08/12] ARM: dts: omap5: add sata node Date: Mon, 3 Mar 2014 17:07:30 +0200 Message-ID: <1393859254-10937-9-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1393859254-10937-1-git-send-email-rogerq@ti.com> References: <1393859254-10937-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@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.170 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 a7f5930..8e55e97 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -806,6 +806,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"; + }; + }; };