From patchwork Thu Oct 25 09:57:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12495 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 3A24F23F9B for ; Thu, 25 Oct 2012 09:57:26 +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 E17E5A18B13 for ; Thu, 25 Oct 2012 09:57:25 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f6so1107785iag.11 for ; Thu, 25 Oct 2012 02:57:25 -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=JrVv5k9+qbdXF4hglxry62ke6DTnOnUYdrPLfOrGhEY=; b=CQCRm/G4as+7FdEM2Hvi13PEHi4yCJTditElWzv7VI4X2nP8u0sEv0XLq3/5jtFlrf rT0Mb0BP64087U6qo/erlFbL5YvtfLDVHeB+CEWLl5Z1c5xwikLL+6Ym+t1Kcw/+jUIN HKXobHCuoN94Qvz6zSR/KGcIqJfNvaNmwoHtnQE67QEq+KjAU+ZzLfxupvJwlC7uWCw6 U2liLcaevsN/eUxxy2wuCEUvbEXSuspOvtbegM/dljcxqdR64jTDH3a18zkLViMkCes8 iGpwp+wbvt/LE72kg0NKxruCAxk415Yk5wRNhwNowINZWB452QWuWLb9DiX++IWCYq5q I3eA== Received: by 10.50.161.169 with SMTP id xt9mr3736856igb.62.1351159045320; Thu, 25 Oct 2012 02:57:25 -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.50.67.148 with SMTP id n20csp14746igt; Thu, 25 Oct 2012 02:57:24 -0700 (PDT) Received: by 10.180.80.33 with SMTP id o1mr12569847wix.14.1351159043963; Thu, 25 Oct 2012 02:57:23 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id b8si909656wix.46.2012.10.25.02.57.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Oct 2012 02:57:23 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wg0-f50.google.com with SMTP id 16so1149381wgi.31 for ; Thu, 25 Oct 2012 02:57:23 -0700 (PDT) Received: by 10.216.53.204 with SMTP id g54mr9895184wec.122.1351159043407; Thu, 25 Oct 2012 02:57:23 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id az2sm9125291wib.10.2012.10.25.02.57.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Oct 2012 02:57:22 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones Subject: [PATCH 1/8] ARM: ux500: Enable all MMC devices on the u9540 when booting with DT Date: Thu, 25 Oct 2012 10:57:04 +0100 Message-Id: <1351159031-25391-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1351159031-25391-1-git-send-email-lee.jones@linaro.org> References: <1351159031-25391-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkgrrM51LJrd3hgb3Mpi6Wkx/XWp7sWCj7twx/1sQYRruK4LhDGrAhhgkJvkwP/XHGgsQwA The u9540 supports 3 MMC devices. This patch enables two of them and updates the configuration of the already enabled SDI4 port. Acked-by: Linus Walleij Signed-off-by: Lee Jones --- arch/arm/boot/dts/u9540.dts | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/u9540.dts b/arch/arm/boot/dts/u9540.dts index 2dade76..95892ec 100644 --- a/arch/arm/boot/dts/u9540.dts +++ b/arch/arm/boot/dts/u9540.dts @@ -33,10 +33,35 @@ status = "okay"; }; + // External Micro SD slot + sdi0_per1@80126000 { + arm,primecell-periphid = <0x10480180>; + max-frequency = <100000000>; + bus-width = <4>; + mmc-cap-sd-highspeed; + mmc-cap-mmc-highspeed; + vmmc-supply = <&ab8500_ldo_aux3_reg>; + + cd-gpios = <&gpio7 6 0x4>; // 230 + cd-inverted; + + status = "okay"; + }; + + + // WLAN SDIO channel + sdi1_per2@80118000 { + arm,primecell-periphid = <0x10480180>; + max-frequency = <50000000>; + bus-width = <4>; + + status = "okay"; + }; + // On-board eMMC sdi4_per2@80114000 { arm,primecell-periphid = <0x10480180>; - max-frequency = <50000000>; + max-frequency = <100000000>; bus-width = <8>; mmc-cap-mmc-highspeed; vmmc-supply = <&ab8500_ldo_aux2_reg>;