From patchwork Tue Feb 25 11:41:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 25283 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 252C120143 for ; Tue, 25 Feb 2014 11:42:39 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id rd18sf1038396iec.8 for ; Tue, 25 Feb 2014 03:42:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=hBjWwsFIRkF6gGn+wcXV6Jmwev75icGziRu9ljBMUgo=; b=b/z/MuHo4cdmo9s1EZG5JZnO8ujZ7/ohOVwfStz5HZbfNUfVxEZRLPNrK4rP1Uf+OH hk0dkXFeUEk21U1LAxfBLzT8g7IiIl0wywWxJMr5FrSNEs3cww8yMsv9MI3h0iK+1B/b 0NENfnfcPDO3x1uXqFHKrQSoJ5Zjo6dSdMuPHgOFtHV9cosw1gdZDTVA7iTvGMMDkf1/ 2fp8N3WLQeF+wBgY+stBdwDegWVSdIS08EgqiEpibnJLZb3RGBeG4qJgTp6qAK+GdNKx EA0AJfgGfqdUlR6l4gCq1OspSp2XmbQux96Vo2GG7smmBZE6gxhAAXBhGEE89EC6wPO2 VX6g== X-Gm-Message-State: ALoCoQm5qCeI44VZTWtCO4wn+hP8Cs92wNWH0hXorffRPJrYrFdclo2zOSjWsLLvrFV3NmrorJfB X-Received: by 10.182.129.129 with SMTP id nw1mr464409obb.34.1393328558597; Tue, 25 Feb 2014 03:42:38 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.149 with SMTP id c21ls2411604qgd.52.gmail; Tue, 25 Feb 2014 03:42:38 -0800 (PST) X-Received: by 10.52.95.233 with SMTP id dn9mr550713vdb.3.1393328558363; Tue, 25 Feb 2014 03:42:38 -0800 (PST) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id av10si6737027ved.36.2014.02.25.03.42.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 03:42:38 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.177 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.177; Received: by mail-vc0-f177.google.com with SMTP id if11so7076379vcb.36 for ; Tue, 25 Feb 2014 03:42:38 -0800 (PST) X-Received: by 10.220.67.18 with SMTP id p18mr767235vci.14.1393328558281; Tue, 25 Feb 2014 03:42:38 -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.174.196 with SMTP id u4csp132470vcz; Tue, 25 Feb 2014 03:42:37 -0800 (PST) X-Received: by 10.66.26.115 with SMTP id k19mr1082253pag.87.1393328557171; Tue, 25 Feb 2014 03:42:37 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si3368146pbn.106.2014.02.25.03.42.36; Tue, 25 Feb 2014 03:42:36 -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 S1752757AbaBYLm2 (ORCPT + 26 others); Tue, 25 Feb 2014 06:42:28 -0500 Received: from mail-wi0-f174.google.com ([209.85.212.174]:32937 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752522AbaBYLlu (ORCPT ); Tue, 25 Feb 2014 06:41:50 -0500 Received: by mail-wi0-f174.google.com with SMTP id f8so4315977wiw.13 for ; Tue, 25 Feb 2014 03:41:49 -0800 (PST) X-Received: by 10.180.13.33 with SMTP id e1mr19312282wic.38.1393328509319; Tue, 25 Feb 2014 03:41:49 -0800 (PST) Received: from localhost.localdomain ([31.82.151.56]) by mx.google.com with ESMTPSA id n15sm33293519wij.3.2014.02.25.03.41.47 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 03:41:48 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, DCG_UPD_stlinux_kernel@list.st.com, devicetree@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v2 2/3] ARM: DT: STi: Add DT node for ST's SATA device Date: Tue, 25 Feb 2014 11:41:20 +0000 Message-Id: <1393328481-7251-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1393328481-7251-1-git-send-email-lee.jones@linaro.org> References: <1393328481-7251-1-git-send-email-lee.jones@linaro.org> 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: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.177 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: , Cc: devicetree@vger.kernel.org Cc: Srinivas Kandagatla Acked-by: Alexandre Torgue Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416-b2020-revE.dts | 4 ++++ arch/arm/boot/dts/stih416-b2020.dts | 4 ++++ arch/arm/boot/dts/stih416.dtsi | 16 ++++++++++++++++ 3 files changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/stih416-b2020-revE.dts b/arch/arm/boot/dts/stih416-b2020-revE.dts index 693d0ec..7350a86 100644 --- a/arch/arm/boot/dts/stih416-b2020-revE.dts +++ b/arch/arm/boot/dts/stih416-b2020-revE.dts @@ -37,5 +37,9 @@ st,pcie-tx-pol-inv; st,sata-gen = <3>; }; + + sata0: sata@fe380000{ + status = "okay"; + }; }; }; diff --git a/arch/arm/boot/dts/stih416-b2020.dts b/arch/arm/boot/dts/stih416-b2020.dts index fd9cbad..ebd784b 100644 --- a/arch/arm/boot/dts/stih416-b2020.dts +++ b/arch/arm/boot/dts/stih416-b2020.dts @@ -18,5 +18,9 @@ st,pcie_tx_pol_inv = <1>; st,sata_gen = "gen3"; }; + + sata0: sata@fe380000{ + status = "okay"; + }; }; }; diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi index 0d3f59c..313d4fd 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++ b/arch/arm/boot/dts/stih416.dtsi @@ -205,5 +205,21 @@ #phy-cells = <2>; st,syscfg = <&syscfg_rear>; }; + + sata0: sata@fe380000 { + compatible = "st,ahci"; + reg = <0xfe380000 0x1000>; + interrupts = ; + interrupt-names = "hostc"; + phys = <&miphy365x_phy MIPHY_PORT_0 MIPHY_TYPE_SATA>; + phy-names = "sata-phy"; + resets = <&powerdown STIH416_SATA0_POWERDOWN>, + <&softreset STIH416_SATA0_SOFTRESET>; + reset-names = "pwr-dwn", "sw-rst"; + clock-names = "ahci_clk"; + clocks = <&CLK_S_ICN_REG_0>; + + status = "disabled"; + }; }; };