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: 4223831 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 064439F23C for ; Thu, 22 May 2014 15:23:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 033A820379 for ; Thu, 22 May 2014 15:23:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 650082037D for ; Thu, 22 May 2014 15:23:34 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WnUmR-0006OM-KK; Thu, 22 May 2014 15:19:39 +0000 Received: from mail-wg0-f44.google.com ([74.125.82.44]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WnUm0-0005mf-M7 for linux-arm-kernel@lists.infradead.org; Thu, 22 May 2014 15:19:13 +0000 Received: by mail-wg0-f44.google.com with SMTP id a1so3485312wgh.3 for ; Thu, 22 May 2014 08:18:49 -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=wkGPJ1bCVtaVgqnmxTll+asTz3RXcdTLzL01cW+mjnM=; b=BKV7l+JfAFP0OleHOXk+g1TEd2jWwBmdzUIy2+7sQbduUd9end6rUjTUPDQ+CAkegM PZxUKEhHemOdxaEQ8HJtSM1k5jA6NrCCB4so6Vr0pTIMgZxw9bnHSbzQ6n83W7gZx+m0 JUMghpxBknCIYsn464bUZ3oZ4a9NBVNDTYjl/3G406BXUvjqwFalOExvao7Jf+EPLB5s ln6g/ojvfniGlq+FjvxNlVgroA4IhDYtbNCck1DwthHEwb0nkKUvWayuolEScZUfYwdf ncqotn3wOZNDIv/xdFwk1fCk4B1dSr0uoM3blqpMAyxPOlT2KMpC1G/ondXjj7uS1xDX e7BQ== X-Gm-Message-State: ALoCoQn+gegYA2lwee2IEqsJwsjlAR7OWUR4wUIJapdSWLQJ43gentWIL6w6QpZH4ttwzR1ponfw 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140522_081912_867681_CD0F54D8 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: devicetree@vger.kernel.org, kernel@stlinux.com, linux-mmc@vger.kernel.org, peter.griffin@linaro.org, Giuseppe Cavallaro , lee.jones@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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: 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>; + }; }; };