From patchwork Tue Jul 22 09:28:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 34030 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B7CBA20672 for ; Tue, 22 Jul 2014 09:28:43 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id b6sf26126713yha.9 for ; Tue, 22 Jul 2014 02:28:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:cc:subject:message-id :references:mime-version:in-reply-to:user-agent:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe :content-type:content-disposition; bh=nyT69wrqpScZCKyhWvNvipEPP4SyzUn/NG1PV6BlUNQ=; b=HOZdb2js0J5Ng1hoSQTFKRR4LZuFT5Pb75ImzNiuSVyF5uFAh0874CO6DD8E3T8z00 GVDwoTkrZihSGlkzCRgAR265GAeUlPzc0CMP/gW1zutrZ24CQH98K5V4QI+Q0oMH9bMT ZmBX3P3YyOJkywzQB3m185J/RGSl0q3vcpJkbbW/17rBoZ0q0Icx6RC7zt/LKKFkb+4W H+axsWkpGal9Vgd32xmsgS9toEEngNl290HEQqQF1WspT9Zx/rjVpUMciCaDOq1DJe46 jSfljegeTwuV0+pgyoceEXOFisZX00H+96h4B/hKiwSNVoieDCwOOJtD/vy9SVGs36Rv Q2YQ== X-Gm-Message-State: ALoCoQnCkbmJWD6X9y3G4sPeNz+Au7FPCVXZLsQ00S3Vqja3oYP6zfLgaQ1rA+alLnUN5bYHUQr+ X-Received: by 10.224.29.1 with SMTP id o1mr1695136qac.0.1406021323542; Tue, 22 Jul 2014 02:28:43 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.21.203 with SMTP id 69ls780340qgl.13.gmail; Tue, 22 Jul 2014 02:28:43 -0700 (PDT) X-Received: by 10.52.84.2 with SMTP id u2mr9012571vdy.84.1406021323409; Tue, 22 Jul 2014 02:28:43 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id ut10si6515414vcb.79.2014.07.22.02.28.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Jul 2014 02:28:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id hu12so14176344vcb.34 for ; Tue, 22 Jul 2014 02:28:43 -0700 (PDT) X-Received: by 10.220.44.141 with SMTP id a13mr10450268vcf.71.1406021323329; Tue, 22 Jul 2014 02:28:43 -0700 (PDT) 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.221.37.5 with SMTP id tc5csp180630vcb; Tue, 22 Jul 2014 02:28:42 -0700 (PDT) X-Received: by 10.66.66.140 with SMTP id f12mr31548684pat.78.1406021322552; Tue, 22 Jul 2014 02:28:42 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8si8551731pdk.386.2014.07.22.02.28.41; Tue, 22 Jul 2014 02:28:41 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753688AbaGVJ2k (ORCPT + 8 others); Tue, 22 Jul 2014 05:28:40 -0400 Received: from mail-ig0-f175.google.com ([209.85.213.175]:40080 "EHLO mail-ig0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753220AbaGVJ2j (ORCPT ); Tue, 22 Jul 2014 05:28:39 -0400 Received: by mail-ig0-f175.google.com with SMTP id uq10so3799594igb.8 for ; Tue, 22 Jul 2014 02:28:39 -0700 (PDT) X-Received: by 10.51.16.1 with SMTP id fs1mr14754324igd.22.1406021319023; Tue, 22 Jul 2014 02:28:39 -0700 (PDT) Received: from lee--X1 (host109-148-232-149.range109-148.btcentralplus.com. [109.148.232.149]) by mx.google.com with ESMTPSA id jm3sm47405625igb.10.2014.07.22.02.28.37 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 22 Jul 2014 02:28:38 -0700 (PDT) Date: Tue, 22 Jul 2014 10:28:34 +0100 From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, maxime.coquelin@st.com, devicetree@vger.kernel.org Subject: [PATCH v2 1/1] ARM: DT: STi: STiH416: Add DT node for ST's SATA device Message-ID: <20140722092834.GA8406@lee--X1> References: <1405931573-12407-1-git-send-email-lee.jones@linaro.org> MIME-Version: 1.0 In-Reply-To: <1405931573-12407-1-git-send-email-lee.jones@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) 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: , Content-Disposition: inline ARM: DT: STi: STiH416: Add DT node for ST's SATA device Cc: devicetree@vger.kernel.org Acked-by: Alexandre Torgue Signed-off-by: Lee Jones --- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/stih416-b2020.dts b/arch/arm/boot/dts/stih416-b2020.dts index c3c2ac6..eb2f246 100644 --- a/arch/arm/boot/dts/stih416-b2020.dts +++ b/arch/arm/boot/dts/stih416-b2020.dts @@ -23,5 +23,9 @@ st,pcie-tx-pol-inv; }; }; + + sata0: sata@fe380000{ + status = "okay"; + }; }; }; diff --git a/arch/arm/boot/dts/stih416-b2020e.dts b/arch/arm/boot/dts/stih416-b2020e.dts index 80aff0f..99a699e 100644 --- a/arch/arm/boot/dts/stih416-b2020e.dts +++ b/arch/arm/boot/dts/stih416-b2020e.dts @@ -41,5 +41,9 @@ st,pcie-tx-pol-inv; }; }; + + sata0: sata@fe380000{ + status = "okay"; + }; }; }; diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi index 2b98a0a..060dd53 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++ b/arch/arm/boot/dts/stih416.dtsi @@ -258,5 +258,21 @@ reg-names = "sata", "pcie", "syscfg"; }; }; + + sata0: sata@fe380000 { + compatible = "st,sti-ahci"; + reg = <0xfe380000 0x1000>; + interrupts = ; + interrupt-names = "hostc"; + phys = <&phy_port0 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_a0_ls CLK_ICN_REG>; + + status = "disabled"; + }; }; };