From patchwork Wed May 2 05:07:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.abraham@linaro.org X-Patchwork-Id: 8350 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 8C5B623E1D for ; Wed, 2 May 2012 05:12:27 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by fiordland.canonical.com (Postfix) with ESMTP id 52803A186A7 for ; Wed, 2 May 2012 05:12:27 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id up16so596457obb.11 for ; Tue, 01 May 2012 22:12:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=xYGphCP/OgUbtsJthrCDWUOT5IDDa3sPpOSafoMJn44=; b=UhCaZX98r6UvoPN1Ua7uKx/1082P43btmgL9PA/y9sVxQLjlEWwgYX3+EzeqTjVsEz HSFuPoeKpWMb8IKg4OvMbK/bZ82LMSY93G0wFALO84RLsGJmjqmjkVLIjonf2D3x9H4k Ez86vSnyKUFVj6dcJ60KAb8RfYn8ADUY040gWtoicRiJqxTw4RWkbb7O+njZ7BMPGvNq PFRL3heMKvHzZB3o/cA9DROZFGQFi6qRbJ6r3WCJPTFy1k+HOqC3/YjMHyiIoCUvZ+pT wdmDrzxIw91HCm6kiv04cmRjIHgtYt21KrVNG7rlUfd/t8Mi0ehAeu+74JrXdPCB2MMJ n3zA== Received: by 10.50.217.230 with SMTP id pb6mr3700718igc.1.1335935546968; Tue, 01 May 2012 22:12:26 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.137.198 with SMTP id x6csp227461ibt; Tue, 1 May 2012 22:12:26 -0700 (PDT) Received: by 10.68.228.106 with SMTP id sh10mr63355316pbc.107.1335935545355; Tue, 01 May 2012 22:12:25 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id oo6si750775pbc.97.2012.05.01.22.12.25 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 May 2012 22:12:25 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) smtp.mail=thomas.abraham@linaro.org Received: by mail-pb0-f50.google.com with SMTP id rr4so686111pbb.37 for ; Tue, 01 May 2012 22:12:25 -0700 (PDT) Received: by 10.68.129.227 with SMTP id nz3mr5886351pbb.151.1335935544960; Tue, 01 May 2012 22:12:24 -0700 (PDT) Received: from localhost.localdomain ([216.239.45.23]) by mx.google.com with ESMTPS id gv2sm887161pbc.73.2012.05.01.22.12.23 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 May 2012 22:12:24 -0700 (PDT) From: Thomas Abraham To: linux-mmc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, cjb@laptop.org, grant.likely@secretlab.ca, rob.herring@calxeda.com, linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, patches@linaro.org Subject: [PATCH 7/7] ARM: dts: Add nodes for dw_mmc controllers for Samsung Exynos5250 platforms Date: Tue, 1 May 2012 22:07:46 -0700 Message-Id: <1335935266-25289-8-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1335935266-25289-1-git-send-email-thomas.abraham@linaro.org> References: <1335935266-25289-1-git-send-email-thomas.abraham@linaro.org> X-Gm-Message-State: ALoCoQmpu18tumosOd/Cx8iASnzfQGo+D6JOtTT3qJnnsuW9DDb0In6kd+3Ifc4+XbI+ExGofL3Q Add device nodes for the four instances of dw_mmc controllers in Exynos5250 and enable instance 0 and 2 for the smdk5250 board. Signed-off-by: Thomas Abraham --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 50 ++++++++++++++++++++++++++++- arch/arm/boot/dts/exynos5250.dtsi | 24 ++++++++++++++ 2 files changed, 73 insertions(+), 1 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index dbc4bdb..ac9df2f 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -86,4 +86,52 @@ i2c@12CD0000 { status = "disabled"; }; + + dwmmc0@12200000 { + supports-highspeed; + card-detection-broken; + no-write-protect; + fifo-depth = <0x80>; + card-detect-delay = <200>; + samsung,dw-mshc-sdr-timing = <2 3 3>; + samsung,dw-mshc-ddr-timing = <1 2 3>; + + slot0 { + bus-width = <8>; + cd-gpios = <&gpc0 2 2 3 3>; + gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>, + <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>, + <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>, + <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>, + <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>; + }; + }; + + dwmmc1@12210000 { + status = "disabled"; + }; + + dwmmc2@12220000 { + supports-highspeed; + card-detection-broken; + no-write-protect; + fifo-depth = <0x80>; + card-detect-delay = <200>; + samsung,dw-mshc-sdr-timing = <2 3 3>; + samsung,dw-mshc-ddr-timing = <1 2 3>; + + slot0 { + bus-width = <4>; + cd-gpios = <&gpc3 2 2 3 3>; + gpios = <&gpc3 0 2 0 3>, <&gpc3 1 2 0 3>, + <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>, + <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>, + <&gpc4 3 3 3 3>, <&gpc4 3 3 3 3>, + <&gpc4 5 3 3 3>, <&gpc4 6 3 3 3>; + }; + }; + + dwmmc3@12230000 { + status = "disabled"; + }; }; diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index af124917..345e0bb 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -169,6 +169,30 @@ interrupts = <0 63 0>; }; + dwmmc0@12200000 { + compatible = "synopsis,dw-mshc-exynos5250"; + reg = <0x12200000 0x1000>; + interrupts = <0 75 0>; + }; + + dwmmc1@12210000 { + compatible = "synopsis,dw-mshc-exynos5250"; + reg = <0x12210000 0x1000>; + interrupts = <0 76 0>; + }; + + dwmmc2@12220000 { + compatible = "synopsis,dw-mshc-exynos5250"; + reg = <0x12220000 0x1000>; + interrupts = <0 77 0>; + }; + + dwmmc3@12230000 { + compatible = "synopsis,dw-mshc-exynos5250"; + reg = <0x12230000 0x1000>; + interrupts = <0 78 0>; + }; + amba { #address-cells = <1>; #size-cells = <1>;