From patchwork Sat May 11 03:24:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 243111 X-Patchwork-Delegate: promsoft@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 12EBE2C00D2 for ; Sat, 11 May 2013 13:26:55 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 10AC44A196; Sat, 11 May 2013 05:26:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0-RNGDCjeH4r; Sat, 11 May 2013 05:26:51 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CB44C4A17A; Sat, 11 May 2013 05:26:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2DA7B4A17A for ; Sat, 11 May 2013 05:24:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XDYnPTwOR+vZ for ; Sat, 11 May 2013 05:24:19 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=ERR(-1.5) (only DNSBL check requested) Received: from mail-ve0-f201.google.com (mail-ve0-f201.google.com [209.85.128.201]) by theia.denx.de (Postfix) with ESMTPS id 091624A051 for ; Sat, 11 May 2013 05:24:10 +0200 (CEST) Received: by mail-ve0-f201.google.com with SMTP id cz11so192477veb.2 for ; Fri, 10 May 2013 20:24:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=UaZm18rF/DoOiCCd2aFXyRVL6hHwDEMqBey2Ezq8y8I=; b=Ev5Rl/Fe1+nQyAds62/dDpYndvdwrPFeT46G0G5dvXKdulvC1ynvNqcAhdXbujl89r gSsQo1bTIWkhFYWNFT49/TWXKW0mB3hts7gQReBNRZEis2KcBT1YBCnaT5D91jqXB59K n1CZIHfndYk6SUO2wBfG/inCSFu2xNhlmNadDtBc8fwIFf6YdL0l8WZPfD7G+nTlTO+Q k6Y2s2eWgRx5bcc8/P6i6LdzeYnXuY/fB7YvlUY815UF4em+PC1yIXVtlVtQJHS8N71B N7y8qg4rnnCUd9awrWVBGRoWy32lLRN8aTB0NhAo1Ro7FEoMcF6MRz6QPI4ATvoKEp1E 6h/g== X-Received: by 10.236.19.198 with SMTP id n46mr9698719yhn.8.1368242647865; Fri, 10 May 2013 20:24:07 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id q46si274718yhh.4.2013.05.10.20.24.07 for (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Fri, 10 May 2013 20:24:07 -0700 (PDT) Received: from kaka.mtv.corp.google.com (kaka.mtv.corp.google.com [172.22.83.1]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id B39D831C022; Fri, 10 May 2013 20:24:07 -0700 (PDT) Received: by kaka.mtv.corp.google.com (Postfix, from userid 121222) id 58CF1160A39; Fri, 10 May 2013 20:24:07 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Fri, 10 May 2013 20:24:00 -0700 Message-Id: <1368242640-23190-1-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 1.8.2.1 X-Gm-Message-State: ALoCoQkdQJ5ECViIIyqYivYvK5djFm17SbOuKRYk1rxsLZkTs4qHKIfGH+OoWVq2pofobF8MMtP3dpOJ5cd8Df7OX9NoHHKE9FiLpw/3FE45ET6yr1FJ2hKeOhZ4tAqNW2bCq9QsMrCGqRk4lyakQutK8dbevaGK9lY1oM1H8vRlNXynhjyUExrZuvGsFn/ZtYd16vcGNb1f Cc: u-boot-review@google.com Subject: [U-Boot] [PATCH] exynos: Enable mmc for snow X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Snow has an internal eMMC and an external SD card. Enable these in the device tree. Signed-off-by: Simon Glass --- board/samsung/dts/exynos5250-snow.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/board/samsung/dts/exynos5250-snow.dts b/board/samsung/dts/exynos5250-snow.dts index 24658c1..d167df9 100644 --- a/board/samsung/dts/exynos5250-snow.dts +++ b/board/samsung/dts/exynos5250-snow.dts @@ -30,6 +30,10 @@ spi2 = "/spi@12d40000"; spi3 = "/spi@131a0000"; spi4 = "/spi@131b0000"; + mmc0 = "/mmc@12200000"; + mmc1 = "/mmc@12210000"; + mmc2 = "/mmc@12220000"; + mmc3 = "/mmc@12230000"; }; sound@12d60000 { @@ -56,6 +60,26 @@ }; }; + mmc@12200000 { + samsung,bus-width = <8>; + samsung,timing = <1 3 3>; + samsung,removable = <0>; + }; + + mmc@12210000 { + status = "disabled"; + }; + + mmc@12220000 { + samsung,bus-width = <4>; + samsung,timing = <1 2 3>; + samsung,removable = <1>; + }; + + mmc@12230000 { + status = "disabled"; + }; + tmu@10060000 { samsung,min-temp = <25>; samsung,max-temp = <125>;