From patchwork Wed Jun 4 16:07:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 4295321 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3559EBEEA7 for ; Wed, 4 Jun 2014 16:08:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 835A3202D1 for ; Wed, 4 Jun 2014 16:08:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B9B9220274 for ; Wed, 4 Jun 2014 16:08:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752102AbaFDQHs (ORCPT ); Wed, 4 Jun 2014 12:07:48 -0400 Received: from mail-we0-f171.google.com ([74.125.82.171]:35595 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752687AbaFDQHo (ORCPT ); Wed, 4 Jun 2014 12:07:44 -0400 Received: by mail-we0-f171.google.com with SMTP id w62so8832029wes.16 for ; Wed, 04 Jun 2014 09:07:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xLWdlbHr20IGWIAvTvj0QuTqFm031NzU2+ffI4DMuVE=; b=IcrusPsGemQ6L8OdNflFw7zmCPib2o4BeT+po/kHd28LIHqNv8RMuJfMMRPkjAvczT nZ4efsKuIAyMQdl774PiJlcjwPhegokwiiFKMOCF5LBxv03onobA/cl3I4ZYH6pT8MMK R6MgAzEQ+8dXnd3S2SNGNIe9qkogmqSehgxWf2SXuMdkxgQk7LJltWpf2u1Z73cRe2YQ v7fevUNL2ZTDU11rRqXpPFtOwZyicwGfevhjwU72lRLCI6LgrFytSSNHEjcOKq3wgdNy WwRe2ibPcqav+raEXMJcW6ZpULA2rt4hH0Zhq9WOjE+srNEKJo1pJI2wzfss6iMJl1iT B//A== X-Gm-Message-State: ALoCoQlpkhWIpK/VLeFDo/8lcXB2NWi1YPieama/bfxYUcP07uZ+cX0RyxKgRGUIj+zszKeVBkQS X-Received: by 10.194.205.8 with SMTP id lc8mr6258793wjc.81.1401898062464; Wed, 04 Jun 2014 09:07:42 -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 fq2sm10425695wib.2.2014.06.04.09.07.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jun 2014 09:07:42 -0700 (PDT) From: Peter Griffin To: peter.griffin@linaro.org, chris@printf.net, ulf.hansson@linaro.org, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 04/10] ARM: STi: DT: Add sdhci controller for stih416 Date: Wed, 4 Jun 2014 17:07:28 +0100 Message-Id: <1401898054-686-5-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401898054-686-1-git-send-email-peter.griffin@linaro.org> References: <1401898054-686-1-git-send-email-peter.griffin@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 06473c5..6473287 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>; + }; }; };