From patchwork Fri May 31 09:18:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 17327 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f200.google.com (mail-qc0-f200.google.com [209.85.216.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9D62625CAB for ; Fri, 31 May 2013 09:20:45 +0000 (UTC) Received: by mail-qc0-f200.google.com with SMTP id n10sf1519995qcx.7 for ; Fri, 31 May 2013 02:20:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :mime-version:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=a3nQeqpEaZrxyiTGU1O2j46jEgi8SbhakcAYC07hI7Y=; b=ahP1eExk6OyoJKXDdy1x39gDQCyRWrJhi9Mge4fM4Cw3eeDo9qfFQ40e5ije8lvmET 86zDzVSWUIp4p/FQkMZi4SYxW4BxOV4jJnabQ5vRAuKCQcPuvPS/nI04aZJ1yvJx4Bjo PH16XgbAh0yE9S/AgmCeqdwqfkgKizaylGZhxwuuBaT6mZBJRL1aM0dZdMvbw1ZiA0uD ZS6FG230p9DOSd7NtvfqUlGbrkxzWd0Q+FO9c4wsFRgEF2bDPzC9Ye9OHpI862qJQpJO LFEnqTvRpYp3qEpfPewC67vIoDQ3GYvut6qE7/jAmPAmTC5L/2bRd8jZjU5Nzbgf6/Tr VShA== X-Received: by 10.224.3.131 with SMTP id 3mr6286811qan.5.1369992045465; Fri, 31 May 2013 02:20:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.88.99 with SMTP id bf3ls810155qeb.78.gmail; Fri, 31 May 2013 02:20:45 -0700 (PDT) X-Received: by 10.52.160.102 with SMTP id xj6mr7965092vdb.45.1369992045255; Fri, 31 May 2013 02:20:45 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id zp6si27828138vdb.41.2013.05.31.02.20.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 02:20:45 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id hr11so889717vcb.33 for ; Fri, 31 May 2013 02:20:45 -0700 (PDT) X-Received: by 10.220.238.4 with SMTP id kq4mr9357788vcb.73.1369992045172; Fri, 31 May 2013 02:20:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.229.199 with SMTP id jj7csp42407vcb; Fri, 31 May 2013 02:20:44 -0700 (PDT) X-Received: by 10.14.216.201 with SMTP id g49mr12652663eep.42.1369992044115; Fri, 31 May 2013 02:20:44 -0700 (PDT) Received: from eu1sys200aog103.obsmtp.com (eu1sys200aog103.obsmtp.com [207.126.144.115]) by mx.google.com with SMTP id n3si30061423eeg.99.2013.05.31.02.20.19 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 31 May 2013 02:20:44 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.115 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.115; Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP ID DSNKUahrUSU5NdSh+AWf721396ITUeem5rdp@postini.com; Fri, 31 May 2013 09:20:43 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 38223E4; Fri, 31 May 2013 09:20:15 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id E3C3B16AC; Fri, 31 May 2013 09:20:14 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id 28EABA8065; Fri, 31 May 2013 11:20:10 +0200 (CEST) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.3.279.5; Fri, 31 May 2013 11:20:14 +0200 From: Linus Walleij To: Cc: Arnd Bergmann , Linus Walleij Subject: [PATCH 14/39] ARM: u300: enable MMC/SD card from device tree Date: Fri, 31 May 2013 11:18:49 +0200 Message-ID: <1369991954-17406-15-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 In-Reply-To: <1369991954-17406-1-git-send-email-linus.walleij@stericsson.com> References: <1369991954-17406-1-git-send-email-linus.walleij@stericsson.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmJSFqWx5L0ipMPBkxdBwRtDC3vWEbHQ4sxOPtkFHMbLjTcf+gOsE6AOhe55gwL5CU8LFzz X-Original-Sender: linus.walleij@stericsson.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Linus Walleij This adds support for the U300 MMC/SD card slot from the device tree boot. No other changes needed. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/ste-u300.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/ste-u300.dts b/arch/arm/boot/dts/ste-u300.dts index d1ab4e9..ae51dd1 100644 --- a/arch/arm/boot/dts/ste-u300.dts +++ b/arch/arm/boot/dts/ste-u300.dts @@ -193,5 +193,19 @@ interrupt-parent = <&vicb>; interrupts = <20>; }; + + mmcsd: mmcsd@c0001000 { + compatible = "arm,pl18x", "arm,primecell"; + reg = <0xc0001000 0x1000>; + interrupt-parent = <&vicb>; + interrupts = <6 7>; + max-frequency = <24000000>; + bus-width = <4>; // SD-card slot + mmc-cap-mmc-highspeed; + mmc-cap-sd-highspeed; + cd-gpios = <&gpio 12 0x4>; + cd-inverted; + vmmc-supply = <&ab3100_ldo_g_reg>; + }; }; };