From patchwork Mon Feb 17 12:56:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 24768 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f199.google.com (mail-ie0-f199.google.com [209.85.223.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 071EA20C03 for ; Mon, 17 Feb 2014 12:57:16 +0000 (UTC) Received: by mail-ie0-f199.google.com with SMTP id rl12sf2935850iec.10 for ; Mon, 17 Feb 2014 04:57:16 -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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=vWg/vZA14SRLAdukC3F60eNO6gQ1mfzFDGXBwa8vlqs=; b=UXSI3eDx6JrbK5meJ/G50Jn+4/Vzao9i7HunOtpD6gOvHSCSUAGu2sMUZDxkgEwY6T CywUAWr9HaG25gPmDgoSdZ2mHcCS7Z6w+r2ACbq+dMm0mUl2CzKAxaP+tH+AS4dhvJ8n hIQvzAXL/6AtP7FnMMkynVJXTqnJxRR5G9Ad27635FHj1Wyoafox0TWSTJiQKAW9dZLs G+dPK6jIyiPoWSR9Ea7wN48Bpf87dWYHpO0CtxbW8Wov9EkDStU5lvp5VXmWd3cmsEF2 ++wjcrzXcRbawbzn1IAqtJDMtioZmRO2PM1419bkpyZ8NYt4jD6UlHZwtVC9UO4/JyWh E5SA== X-Gm-Message-State: ALoCoQmK5q9DrFsOqxyX2HDEkkkNNbxSz67UChiW1an63k8BHy1fa78/dFzVLnAvTUgXyqepIiF4 X-Received: by 10.182.55.102 with SMTP id r6mr10573741obp.7.1392641836210; Mon, 17 Feb 2014 04:57:16 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.29.102 with SMTP id a93ls859937qga.33.gmail; Mon, 17 Feb 2014 04:57:16 -0800 (PST) X-Received: by 10.52.229.133 with SMTP id sq5mr1018014vdc.45.1392641836107; Mon, 17 Feb 2014 04:57:16 -0800 (PST) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id p9si4432253vdv.96.2014.02.17.04.57.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 04:57:16 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.171 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.171; Received: by mail-vc0-f171.google.com with SMTP id le5so11551494vcb.2 for ; Mon, 17 Feb 2014 04:57:16 -0800 (PST) X-Received: by 10.52.251.232 with SMTP id zn8mr1016771vdc.41.1392641836014; Mon, 17 Feb 2014 04:57:16 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp136079vcz; Mon, 17 Feb 2014 04:57:15 -0800 (PST) X-Received: by 10.180.165.238 with SMTP id zb14mr12853712wib.51.1392641834710; Mon, 17 Feb 2014 04:57:14 -0800 (PST) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id nd19si7984801wic.31.2014.02.17.04.57.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 04:57:14 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.178; Received: by mail-we0-f178.google.com with SMTP id q59so10383007wes.23 for ; Mon, 17 Feb 2014 04:57:14 -0800 (PST) X-Received: by 10.180.210.171 with SMTP id mv11mr12981263wic.44.1392641834170; Mon, 17 Feb 2014 04:57:14 -0800 (PST) Received: from localhost.localdomain ([80.76.198.141]) by mx.google.com with ESMTPSA id fm3sm32159841wib.8.2014.02.17.04.57.11 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Feb 2014 04:57:13 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: alexandre.torgue@st.com, Lee Jones , devicetree@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 2/3] ARM: DT: STi: Add DT node for ST's SATA device Date: Mon, 17 Feb 2014 12:56:57 +0000 Message-Id: <1392641818-23419-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1392641818-23419-1-git-send-email-lee.jones@linaro.org> References: <1392641818-23419-1-git-send-email-lee.jones@linaro.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.171 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Cc: devicetree@vger.kernel.org Cc: Srinivas Kandagatla 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 9fd8efb..d1c874f 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++ b/arch/arm/boot/dts/stih416.dtsi @@ -153,5 +153,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 = "ahci_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"; + }; }; };