From patchwork Wed Aug 6 17:09:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 4687431 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AAC7E9F401 for ; Wed, 6 Aug 2014 17:11:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DE933200FF for ; Wed, 6 Aug 2014 17:11:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B5B3620103 for ; Wed, 6 Aug 2014 17:11:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XF4j7-00029Y-5t; Wed, 06 Aug 2014 17:10:13 +0000 Received: from mail-ob0-f202.google.com ([209.85.214.202]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XF4j3-0000qz-Qk for linux-arm-kernel@lists.infradead.org; Wed, 06 Aug 2014 17:10:10 +0000 Received: by mail-ob0-f202.google.com with SMTP id wp18so526588obc.3 for ; Wed, 06 Aug 2014 10:09:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qbOfOykcoN5bXDzWKMZ7dEASKFLeXZwz2QjSfkgFNPE=; b=Vjf3D2rr1QTHXWhYHf7mvN22hN0+mvNhLMNskww2bgGXep2XDU05WMZvmKNAZ6Y+Sv /4G9D2wSidxhggV5+OXVRdGmW4ir5mdYMnbcZtxImovhbNQhtKb/Zvk6CqjiRmxiEfUv 1yMVfoZsh+sK0JFrkFZJBheSyiZvwOIozo21apx2kVaTplkG7siPzSzHRxXd17NunQUO qCDnx6Mz3fDZM8DBQuMH5eCtzP9hy+C4yqRDr0nqv49BdP3C25WqX/yDGleXJ5wjQmx2 RiU2CyYnwzbL6llp3Hj6G29CO6kWDdTtIhcY0GoTy2nL+sVt2xYGAYZWILJeqxc7Ybzv Eqrw== X-Gm-Message-State: ALoCoQnuOq+Cfq05Daa2Ykft61Klm0KIplbL6Zqq0NWt+v3nSJYvLbGtpkS6TDOBEPP/ZcXwOjjg X-Received: by 10.182.111.170 with SMTP id ij10mr5980947obb.6.1407344988263; Wed, 06 Aug 2014 10:09:48 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id y50si102553yhk.4.2014.08.06.10.09.48 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Aug 2014 10:09:48 -0700 (PDT) Received: from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com [172.22.162.15]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id 166665A43B4; Wed, 6 Aug 2014 10:09:48 -0700 (PDT) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id ABB6280A99; Wed, 6 Aug 2014 10:09:47 -0700 (PDT) From: Doug Anderson To: Heiko Stuebner , Seungwon Jeon , Jaehoon Chung , Chris Ball , Ulf Hansson Subject: [PATCH v3 1/4] ARM: dts: Add emmc and sdmmc to the rk3288 device tree Date: Wed, 6 Aug 2014 10:09:41 -0700 Message-Id: <1407344984-14176-2-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.0.0.526.g5318336 In-Reply-To: <1407344984-14176-1-git-send-email-dianders@chromium.org> References: <1407344984-14176-1-git-send-email-dianders@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140806_101009_921931_572FF2F9 X-CRM114-Status: GOOD ( 11.80 ) X-Spam-Score: -1.4 (-) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Addy Ke , linux@arm.linux.org.uk, pawel.moll@arm.com, Arnd Bergmann , ijc+devicetree@hellion.org.uk, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Kever Yang , Doug Anderson , robh+dt@kernel.org, galak@codeaurora.org, Sonny Rao , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds support for the sdmmc and emmc ports on the rk3288 using the currently posted driver from Addy at: https://patchwork.kernel.org/patch/4653631/ Note: * This is not baesd on Jaehoon's patch series removing the slot node, but it does use new syntax like putting the bus width at the top level and using the new cap-mmc-highspeed / cap-sd-highspeed. A future patch will modify this one to remove the slot node. Signed-off-by: Doug Anderson Acked-by: Arnd Bergmann --- Changes in v3: None Changes in v2: - New patchwork link for Addy's patch arch/arm/boot/dts/rk3288.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index e7cb008..dc98a5b 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -78,6 +78,28 @@ clock-frequency = <24000000>; }; + sdmmc: dwmmc@ff0c0000 { + compatible = "rockchip,rk3288-dw-mshc"; + clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>; + clock-names = "biu", "ciu"; + fifo-depth = <0x100>; + interrupts = ; + reg = <0xff0c0000 0x4000>; + #address-cells = <1>; + #size-cells = <0>; + }; + + emmc: dwmmc@ff0f0000 { + compatible = "rockchip,rk3288-dw-mshc"; + clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>; + clock-names = "biu", "ciu"; + fifo-depth = <0x100>; + interrupts = ; + reg = <0xff0f0000 0x4000>; + #address-cells = <1>; + #size-cells = <0>; + }; + i2c1: i2c@ff140000 { compatible = "rockchip,rk3288-i2c"; reg = <0xff140000 0x1000>;