From patchwork Mon Dec 17 11:19:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amar X-Patchwork-Id: 13616 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 EC11123E02 for ; Mon, 17 Dec 2012 10:57:40 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 61D7AA196AA for ; Mon, 17 Dec 2012 10:57:40 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id t4so5115146iag.11 for ; Mon, 17 Dec 2012 02:57:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:received-spf :x-auditid:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:dlp-filter:x-mtr:x-brightmail-tracker :x-brightmail-tracker:x-cfilter-loop:x-gm-message-state; bh=FdPwprPRT2I7lEoywhpVgo+Qzny8FmzFBefny7xELiU=; b=C/LFLlfrpYSQaRrImNN2LCqDglyqDHrtzjDm/9lurTg2CnKFuaU/MBcrnzdgo69W3x uAVkSYPFFglk3X3/ZMiponxOjvXgOMSGQPfTeawcA7Fx0RaQSTZXP1fpo2qK68+wr8aS xPRwADlNdI3cB/U6jum0fOP9d4fbrhVjQN0yXcyvMjSFatq9doRquhdL0xbWOILc/zN5 VRKvTnrHclxli0IDoH2KOk3/CXpOtS3U75zUj/fmvKUFMt3tPa89tZ8bCGZ+TMVOxctK VqmAkNWfGssfOoqaXfArg4fP7tafREwSta9UAeqkfnpEaz4jkgpErWx4l94Lw+h0i/38 XkoQ== X-Received: by 10.50.91.195 with SMTP id cg3mr8596182igb.57.1355741859804; Mon, 17 Dec 2012 02:57:39 -0800 (PST) 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.50.67.148 with SMTP id n20csp66376igt; Mon, 17 Dec 2012 02:57:38 -0800 (PST) Received: by 10.68.242.3 with SMTP id wm3mr42563194pbc.44.1355741857404; Mon, 17 Dec 2012 02:57:37 -0800 (PST) Received: from mailout3.samsung.com (mailout3.samsung.com. [203.254.224.33]) by mx.google.com with ESMTP id w3si12699046pbz.108.2012.12.17.02.57.37; Mon, 17 Dec 2012 02:57:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of amarendra.xt@samsung.com designates 203.254.224.33 as permitted sender) client-ip=203.254.224.33; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of amarendra.xt@samsung.com designates 203.254.224.33 as permitted sender) smtp.mail=amarendra.xt@samsung.com Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MF600KVY93ADWJ0@mailout3.samsung.com>; Mon, 17 Dec 2012 19:57:23 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id BC.81.01231.39AFEC05; Mon, 17 Dec 2012 19:57:23 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-7b-50cefa9374f7 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6C.81.01231.39AFEC05; Mon, 17 Dec 2012 19:57:23 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MF600FNU92TR670@mmp2.samsung.com>; Mon, 17 Dec 2012 19:57:23 +0900 (KST) From: Amar To: u-boot@lists.denx.de Cc: patches@linaro.org, sjg@chromium.org, mk7.kang@samsung.com, chander.kashyap@linaro.org, afleming@gmail.com, jh80.chung@samsung.com Subject: [PATCH 2/9] EXYNOS5: FDT: Add DWMMC device node data Date: Mon, 17 Dec 2012 16:49:29 +0530 Message-id: <1355743176-12305-3-git-send-email-amarendra.xt@samsung.com> X-Mailer: git-send-email 1.7.0.4 In-reply-to: <1355743176-12305-1-git-send-email-amarendra.xt@samsung.com> References: <1355743176-12305-1-git-send-email-amarendra.xt@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrELMWRmVeSWpSXmKPExsWyRsSkVnfyr3MBBhs+i1o8XH+TxWLK4S8s Dkwed67tYQtgjOKySUnNySxLLdK3S+DKmHT1OWvBN4GKjtbzzA2MS3m7GDk5JARMJBbNfMAO YYtJXLi3nq2LkYtDSGApo8SVa99YYIpm3vjPDpGYzijRsPAVVFU7k8TNt98Zuxg5ONgEVCV+ LbYHaRARkJD41X+VEaSGWaCDUWLHxM2MIAlhAVuJU4t+s4LYLED1+3ZfANvAK+Ah0btjGdQ2 BYnWZYfATuIU8JT4vPshWFwIqGbPrunMEL0CEt8mH2IB2SshICux6QAzyC4JgftsEjsu/2GC mCMpcXDFDZYJjMILGBlWMYqmFiQXFCel5xrqFSfmFpfmpesl5+duYgQG5Ol/z6R2MK5ssDjE KMDBqMTDa5R6LkCINbGsuDL3EKMEB7OSCK/0G6AQb0piZVVqUX58UWlOavEhRh+gSyYyS4km 5wOjJa8k3tDYxNzU2NTSyMjM1BSHsJI4b7NHSoCQQHpiSWp2ampBahHMOCYOTqkGxq1psWZP cxLiMmVtV+xx77unOfMe+52jZvN2rDoQFx5xSfRHoOusGTp5J+f+7HigrKa4RfOci+RvRVtu luBsedttfNdj90rX7dt2J57tX/3jrRa7bTYprG9eL1Ce5Lra97VURvSqyK2XPDUYEvM3Ss3n 6q1RNSqqOBFx7xOn7uoHpjJTzLeGK7EUZyQaajEXFScCAJm3mMh1AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t9jQd3Jv84FGDyfxGXxcP1NFosph7+w ODB53Lm2hy2AMaqB0SYjNTEltUghNS85PyUzL91WyTs43jne1MzAUNfQ0sJcSSEvMTfVVsnF J0DXLTMHaLaSQlliTilQKCCxuFhJ3w7ThNAQN10LmMYIXd+QILgeIwM0kLCGMWPS1eesBd8E KjpazzM3MC7l7WLk5JAQMJGYeeM/O4QtJnHh3nq2LkYuDiGB6YwSDQtfQTntTBI3335n7GLk 4GATUJX4tdgepEFEQELiV/9VRpAaZoEORokdEzczgiSEBWwlTi36zQpiswDV79t9gQXE5hXw kOjdsYwFYpuCROuyQ2CbOQU8JT7vfggWFwKq2bNrOvMERt4FjAyrGEVTC5ILipPScw31ihNz i0vz0vWS83M3MYLD/ZnUDsaVDRaHGAU4GJV4eI1SzwUIsSaWFVfmHmKU4GBWEuGVfgMU4k1J rKxKLcqPLyrNSS0+xOgDdNVEZinR5HxgLOaVxBsam5ibGptamliYmFniEFYS5232SAkQEkhP LEnNTk0tSC2CGcfEwSnVwOgwz7ebofBgp2f8eaZ5b7/NN3O+dmAhd9fdOqPqA1btX9sOukp2 LlrQcoszrOXbvIzWE7PjfCe96/P5eez6YxGvhiUuixknz/37Tss62Dso+sXWnpY0lzcLChJm audfKtzh8jD2kJHtgrNdbw12//uwyyrDZadrzUujoKaclZtOP5niqfbR7JsSS3FGoqEWc1Fx IgCG8cmopAIAAA== X-CFilter-Loop: Reflected X-Gm-Message-State: ALoCoQkyRh7XGXoEAszXpChSlACO5r1vG9FylUp1aUrDJ4hacap9XA7BW4maFMvq5W9PxbBC1PqF Add DWMMC device node data for exynos5 Signed-off-by: Amar --- arch/arm/dts/exynos5250.dtsi | 32 +++++++++++++++++++++++++++++ board/samsung/dts/exynos5250-smdk5250.dts | 24 +++++++++++++++++++++ 2 files changed, 56 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/exynos5250.dtsi b/arch/arm/dts/exynos5250.dtsi index 1008797..b701ae5 100644 --- a/arch/arm/dts/exynos5250.dtsi +++ b/arch/arm/dts/exynos5250.dtsi @@ -138,4 +138,36 @@ reg = <0x131b0000 0x30>; interrupts = <0 130 0>; }; + + dwmmc@12200000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "samsung,exynos5250-dwmmc"; + reg = <0x12200000 0x1000>; + interrupts = <0 75 0>; + }; + + dwmmc@12210000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "samsung,exynos5250-dwmmc"; + reg = <0x12210000 0x1000>; + interrupts = <0 76 0>; + }; + + dwmmc@12220000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "samsung,exynos5250-dwmmc"; + reg = <0x12220000 0x1000>; + interrupts = <0 77 0>; + }; + + dwmmc@12230000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "samsung,exynos5250-dwmmc"; + reg = <0x12230000 0x1000>; + interrupts = <0 78 0>; + }; }; diff --git a/board/samsung/dts/exynos5250-smdk5250.dts b/board/samsung/dts/exynos5250-smdk5250.dts index a8e62da..b1b8d71 100644 --- a/board/samsung/dts/exynos5250-smdk5250.dts +++ b/board/samsung/dts/exynos5250-smdk5250.dts @@ -30,6 +30,10 @@ spi2 = "/spi@12d40000"; spi3 = "/spi@131a0000"; spi4 = "/spi@131b0000"; + dwmmc0 = "/dwmmc@12200000"; + dwmmc1 = "/dwmmc@12210000"; + dwmmc2 = "/dwmmc@12220000"; + dwmmc3 = "/dwmmc@12230000"; }; sromc@12250000 { @@ -59,4 +63,24 @@ compatible = "wolfson,wm8994-codec"; }; }; + + dwmmc@12200000 { + index = <0>; + bus-width = <8>; + timing = <1 3 3>; + }; + + dwmmc@12210000 { + status = "disabled"; + }; + + dwmmc@12220000 { + index = <2>; + bus-width = <4>; + timing = <1 2 3>; + }; + + dwmmc@12230000 { + status = "disabled"; + }; };