From patchwork Thu Mar 6 14:38:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 25824 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8B189203C3 for ; Thu, 6 Mar 2014 14:41:10 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id to1sf10088842ieb.1 for ; Thu, 06 Mar 2014 06:41:10 -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=FJNRWe6Faui8sUWqiMwsj8vG4777bN82zCxlA9o6KqaP+PIcAcWeHP+ZaN4PcW0OFE KXy2VJVr8xTnnpklTyWUKCFIx8xs+aQy5QLq+iab9TWGR6L/sP39HPq3aQhW0H10yo+M k5CdQasdhGwLNCI95r26EbBzU4Gz6NLlCNG9FvWSYdRXuz/5c+U93rp73gJQoqaR+nu6 J70MYyslalajBB/kj58Pk69w8XzgM2WrfCT8kysnm4hPd0zIX5zunFBlRVAkw8N85Q/d BBX47rHOeYpX1RrQWksnzjVWFjOXbCiT7HQFqFlRbkmlJDm7uzB+ZmwZmv0Y0b6MetzH HDQw== X-Gm-Message-State: ALoCoQkp9SM5DJkIKg9NKzkBUM+iiz+jgfLKOv0MDRXUpjQTnysWHO+yq6LOGrhYU8q4DFsQFxtp X-Received: by 10.43.88.73 with SMTP id az9mr4774769icc.5.1394116870022; Thu, 06 Mar 2014 06:41:10 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.100.137 with SMTP id s9ls619538qge.57.gmail; Thu, 06 Mar 2014 06:41:09 -0800 (PST) X-Received: by 10.220.106.84 with SMTP id w20mr5448890vco.18.1394116869793; Thu, 06 Mar 2014 06:41:09 -0800 (PST) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id be7si1148872vcb.35.2014.03.06.06.41.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 06:41:09 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.179 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.179; Received: by mail-vc0-f179.google.com with SMTP id ij19so2204467vcb.24 for ; Thu, 06 Mar 2014 06:41:09 -0800 (PST) X-Received: by 10.58.95.161 with SMTP id dl1mr5573529veb.21.1394116869694; Thu, 06 Mar 2014 06:41:09 -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 i9csp43356vck; Thu, 6 Mar 2014 06:41:09 -0800 (PST) X-Received: by 10.66.251.42 with SMTP id zh10mr15111473pac.84.1394116868782; Thu, 06 Mar 2014 06:41:08 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7si5147740pbl.41.2014.03.06.06.41.08; Thu, 06 Mar 2014 06:41:08 -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 S1753257AbaCFOkH (ORCPT + 26 others); Thu, 6 Mar 2014 09:40:07 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:44700 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751124AbaCFOkA (ORCPT ); Thu, 6 Mar 2014 09:40:00 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s26EdXTk015053; Thu, 6 Mar 2014 08:39:33 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s26EdX7r002227; Thu, 6 Mar 2014 08:39:33 -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; Thu, 6 Mar 2014 08:39:33 -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 s26EcoCY026929; Thu, 6 Mar 2014 08:39:30 -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:38:47 +0200 Message-ID: <1394116729-28811-12-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1394116729-28811-1-git-send-email-rogerq@ti.com> References: <1394116729-28811-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.179 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"; + }; + }; };