From patchwork Sat Aug 30 04:15:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 4813231 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 8FD4B9FC38 for ; Sat, 30 Aug 2014 04:19:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C97262012E for ; Sat, 30 Aug 2014 04:19:45 +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 5843C2011E for ; Sat, 30 Aug 2014 04:19:44 +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 1XNa5X-0000XO-LW; Sat, 30 Aug 2014 04:16:31 +0000 Received: from mail-pd0-f170.google.com ([209.85.192.170]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XNa5O-0000TW-Ky for linux-arm-kernel@lists.infradead.org; Sat, 30 Aug 2014 04:16:23 +0000 Received: by mail-pd0-f170.google.com with SMTP id r10so1745576pdi.15 for ; Fri, 29 Aug 2014 21:16:01 -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=+slhCHdO4hFLLhN4CWeEUH+yNCCiaESUEzV7PV9mZgM=; b=YKYB9Sro9zB8Ju/tA+YA0m6Q3EbSMMuM8kxX3NE0uV0FuwiubA/jwe9eqoQfXUPklx kAnus33+MfaPJeej+8EP9iTOUumPvCrfzEdTQvPBmx4ZU/iALDzS6D5w7sTdRwY/S4aS YhyqH/Sis/ewMqUgkPWNyJcSAbZ8rjyghhNM97T0z4bXAI5CbkskUlRuaW8HPo7eDtET 30F6+MkOwGehNa76QTp/F+IFQMhI4r4EijhQ4cFq8+C4F65ojzCUgotFjGa5ErPYxOIE te5s4aMxHum/vwhOfq3m8Xh3+PjchsmdMce01KO//b0G6zI+vOfVb0pR3nmOH+Ug7Dpf CVOw== X-Gm-Message-State: ALoCoQk6NFUUT1vik3IQTYmLpIGBY19edc6KCI4eZ6mTfBVKi1ZMJBATeATqKF23miXluk5QFO+d X-Received: by 10.66.65.162 with SMTP id y2mr20564913pas.55.1409372161692; Fri, 29 Aug 2014 21:16:01 -0700 (PDT) Received: from localhost.localdomain ([180.150.157.4]) by mx.google.com with ESMTPSA id y4sm2335601pdm.1.2014.08.29.21.15.57 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 29 Aug 2014 21:16:00 -0700 (PDT) From: Zhangfei Gao To: mark.rutland@arm.com, dinh.linux@gmail.com, haojian.zhuang@linaro.org, haifeng.yan@linaro.org, jchxue@gmail.com, xuwei5@hisilicon.com Subject: [PATCH v3 2/6] ARM: dts: hix5hd2: add mmc node Date: Sat, 30 Aug 2014 12:15:38 +0800 Message-Id: <1409372142-5960-3-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409372142-5960-1-git-send-email-zhangfei.gao@linaro.org> References: <1409372142-5960-1-git-send-email-zhangfei.gao@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140829_211622_718152_F6EAA72A X-CRM114-Status: UNSURE ( 8.16 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Zhangfei Gao 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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 Signed-off-by: Zhangfei Gao --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index 012525c..802331b 100644 --- a/arch/arm/boot/dts/hisi-x5hd2.dtsi +++ b/arch/arm/boot/dts/hisi-x5hd2.dtsi @@ -167,6 +167,23 @@ }; }; + /* unremovable emmc as mmcblk0 */ + mmc: mmc@1830000 { + compatible = "snps,dw-mshc"; + reg = <0x1830000 0x1000>; + interrupts = <0 35 4>; + clocks = <&clock HIX5HD2_MMC_CIU_RST>, <&clock HIX5HD2_MMC_BIU_CLK>; + clock-names = "ciu", "biu"; + }; + + sd: mmc@1820000 { + compatible = "snps,dw-mshc"; + reg = <0x1820000 0x1000>; + interrupts = <0 34 4>; + clocks = <&clock HIX5HD2_SD_CIU_RST>, <&clock HIX5HD2_SD_BIU_CLK>; + clock-names = "ciu","biu"; + }; + gmac0: ethernet@1840000 { compatible = "hisilicon,hix5hd2-gmac"; reg = <0x1840000 0x1000>,<0x184300c 0x4>;