From patchwork Thu May 22 15:18:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 30632 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1495120C03 for ; Thu, 22 May 2014 15:19:14 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id hn18sf10009471igb.4 for ; Thu, 22 May 2014 08:19:13 -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=P6TpjpzNhqgyFrYeZbawg1AcmYnWhHjQdDf4FfMe1E0=; b=hJaiDm/xV2+BzokZF2kXR+/r8G9EE6ub2HqJapepuuDnQ+jAdozDQuFbEkgtHvnzRl 7kVxyI4wAD1MiE92iADCkIEw4PnKreFypXqwPAZko/zdOrPTKOfXMP7OSGfUcXp2uImj zmd6ZneE7Cnwje2GhoG6zvhARa0PKaEqUwLUBUkFvnwy3rPlke28TrJ6j6xahTehI/Lk KT35NzqXBHOti3Q/30zmsR4CxM1SRPOv/kCQ0Q2aqoes6zMmhECc6TmWly7TJDLnmsN+ ijnvyCN6KuwaWIkeFr6tKsU3q5f5hvTd5O6UbZfIgNPcLJtF0R7HOlXN4gUFk54URTiv LtnQ== X-Gm-Message-State: ALoCoQnVPmUKskcI2lSFZfVzdh9Uwav+MYdrs+BObcEVw9FVQKJmh+cksC+U2BA1soemMZlQXRnx X-Received: by 10.42.209.18 with SMTP id ge18mr22761861icb.7.1400771953267; Thu, 22 May 2014 08:19:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.81 with SMTP id b75ls1339914qgd.34.gmail; Thu, 22 May 2014 08:19:13 -0700 (PDT) X-Received: by 10.58.29.106 with SMTP id j10mr10842350veh.31.1400771953081; Thu, 22 May 2014 08:19:13 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id oh5si84797vcb.6.2014.05.22.08.19.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 08:19:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.182 as permitted sender) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id sa20so4641755veb.13 for ; Thu, 22 May 2014 08:19:13 -0700 (PDT) X-Received: by 10.58.185.165 with SMTP id fd5mr1762387vec.41.1400771953018; Thu, 22 May 2014 08:19:13 -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.220.221.72 with SMTP id ib8csp207784vcb; Thu, 22 May 2014 08:19:12 -0700 (PDT) X-Received: by 10.66.148.98 with SMTP id tr2mr68838015pab.33.1400771952218; Thu, 22 May 2014 08:19:12 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xj7si172734pbc.33.2014.05.22.08.19.11 for ; Thu, 22 May 2014 08:19:11 -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 S1752243AbaEVPSx (ORCPT + 27 others); Thu, 22 May 2014 11:18:53 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:40288 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752101AbaEVPSu (ORCPT ); Thu, 22 May 2014 11:18:50 -0400 Received: by mail-wg0-f51.google.com with SMTP id x13so3559908wgg.10 for ; Thu, 22 May 2014 08:18:49 -0700 (PDT) X-Received: by 10.194.1.242 with SMTP id 18mr51665212wjp.22.1400771929484; Thu, 22 May 2014 08:18:49 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id dk4sm848205wib.14.2014.05.22.08.18.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 May 2014 08:18:48 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com, chris@printf.net, ulf.hansson@linaro.org Cc: peter.griffin@linaro.org, kernel@stlinux.com, lee.jones@linaro.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Giuseppe Cavallaro Subject: [PATCH 4/8] ARM: STi: DT: Add sdhci controller for stih416 Date: Thu, 22 May 2014 16:18:18 +0100 Message-Id: <1400771902-26553-5-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1400771902-26553-1-git-send-email-peter.griffin@linaro.org> References: <1400771902-26553-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.128.182 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: Peter Griffin Signed-off-by: Giuseppe Cavallaro --- 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 06473c5..a035df0 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>; + }; }; };