From patchwork Wed Jul 9 15:07:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 33319 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 D6A4F23932 for ; Wed, 9 Jul 2014 15:08:32 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id a41sf29739285yho.5 for ; Wed, 09 Jul 2014 08:08:32 -0700 (PDT) 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=OdgoyxZG4rYnymWajq8rqN5XzpYW8mYk6S727mXIqzo=; b=PMtyjDRJwuv4dnn1j8+rQTCTjZVSwIi1ZJIKSPLHpFUTkeDQSYOsefFH/m+iaQ7SeA CjtOHFfTbvoL7mpmESSvydaS9xq5cwU9du2wz3FaAVAwQ8h0zYODt2WOnRcNJ5ycly7c vAFyRfbLhqTBVmOrr2Q75UGFFdLqKGABptjR37R+oEr4f6L1jCYguhNHlEa6UxqkVogt cjyO8d73680Bjq/Oxd0UixfTEh+/+MjQyFFbdvw2iMNHnytjhDMYPVML8lHrJjXXVJAX YgcGVXKNrZvaii0hRfglp+fTAMs7k/XroXt5e3sL12LJqNh172uTkh7vLZf9p6PZqmpv PoKQ== X-Gm-Message-State: ALoCoQkKx+Sv0tD+Hm9kJmdItS87Sw6xa7ahaMCuREyT/ffVZJsShEh72ph7OG1xE1/aZi+jpCAE X-Received: by 10.58.186.50 with SMTP id fh18mr20674545vec.34.1404918512690; Wed, 09 Jul 2014 08:08:32 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.147 with SMTP id l19ls1469272qgl.42.gmail; Wed, 09 Jul 2014 08:08:32 -0700 (PDT) X-Received: by 10.52.116.194 with SMTP id jy2mr2295394vdb.39.1404918512611; Wed, 09 Jul 2014 08:08:32 -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 ru2si21670897vcb.19.2014.07.09.08.08.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Jul 2014 08:08:32 -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 hy4so7102342vcb.34 for ; Wed, 09 Jul 2014 08:08:32 -0700 (PDT) X-Received: by 10.220.44.141 with SMTP id a13mr638142vcf.71.1404918512522; Wed, 09 Jul 2014 08:08:32 -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 tc5csp55000vcb; Wed, 9 Jul 2014 08:08:32 -0700 (PDT) X-Received: by 10.67.23.227 with SMTP id id3mr40807435pad.45.1404918511667; Wed, 09 Jul 2014 08:08:31 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gq7si46214889pac.237.2014.07.09.08.08.30; Wed, 09 Jul 2014 08:08:30 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S932588AbaGIPIO (ORCPT + 28 others); Wed, 9 Jul 2014 11:08:14 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:52995 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932569AbaGIPIL (ORCPT ); Wed, 9 Jul 2014 11:08:11 -0400 Received: by mail-wi0-f177.google.com with SMTP id ho1so2934118wib.16 for ; Wed, 09 Jul 2014 08:08:09 -0700 (PDT) X-Received: by 10.180.21.200 with SMTP id x8mr12161053wie.70.1404918489494; Wed, 09 Jul 2014 08:08:09 -0700 (PDT) Received: from griffinp-ThinkPad-X1-Carbon-2nd.home (host86-181-29-22.range86-181.btcentralplus.com. [86.181.29.22]) by mx.google.com with ESMTPSA id cd1sm103941088wjc.19.2014.07.09.08.08.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Jul 2014 08:08:08 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, chris@printf.net, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, peppe.cavallaro@st.com Subject: [PATCH v4 04/10] ARM: STi: DT: Add sdhci controller for stih416 Date: Wed, 9 Jul 2014 16:07:35 +0100 Message-Id: <1404918461-25390-5-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1404918461-25390-1-git-send-email-peter.griffin@linaro.org> References: <1404918461-25390-1-git-send-email-peter.griffin@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: peter.griffin@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: , This patch adds device tree config for both sdhci controllers on the stih416 SoC. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin Acked-by: Lee Jones Acked-by: Maxime Coquelin --- arch/arm/boot/dts/stih416.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi index 84758d7..98c43cc 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++ b/arch/arm/boot/dts/stih416.dtsi @@ -236,5 +236,29 @@ resets = <&powerdown STIH416_KEYSCAN_POWERDOWN>, <&softreset STIH416_KEYSCAN_SOFTRESET>; }; + + mmc0: sdhci@fe81e000 { + compatible = "st,sdhci"; + status = "disabled"; + reg = <0xfe81e000 0x1000>; + interrupts = ; + interrupt-names = "mmcirq"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mmc0>; + clock-names = "mmc"; + clocks = <&clk_s_a1_ls 1>; + }; + + mmc1: sdhci@fe81f000 { + compatible = "st,sdhci"; + status = "disabled"; + reg = <0xfe81f000 0x1000>; + interrupts = ; + interrupt-names = "mmcirq"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mmc1>; + clock-names = "mmc"; + clocks = <&clk_s_a1_ls 8>; + }; }; };