From patchwork Thu Aug 28 05:34:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 36144 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B4A082054F for ; Thu, 28 Aug 2014 05:35:21 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id kx10sf13139785pab.4 for ; Wed, 27 Aug 2014 22:35:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=/HYvRfQRcSzxjtuUSy9vZ2QXamTlqBnTqyO0fcJ1ncw=; b=Z3+denv5BV7banehdN3e36c19pdeePk+Ne05w0mN3SnWY4W+v95w9uT30e282N78Yy ePNK+49gewYfv51RA5tIQEhvag28OhrBSH6xHMbUDDlZwPHcLB9OndpkKNgL9ZvSptU6 /P8XZRCBLU/ljR2BuYjaZoqDCsWJ0Vy5X2UxZ66ia93eqAFiifJoh7WqNBUz4olX7VuR qepwyx2pcHtWu0GadzbzR2jIgz3h6qHBWzeeMg1XNPhJW3hMjJYIhZlzjZaZr0SY5QNs RKJDjswHu9V+ROgT+jXM/Y8V1cK0sYycpF2TejvfcsVQ93lEXEXarbhUsxXZjaoHEC1t 2NNA== X-Gm-Message-State: ALoCoQkFityVpisryexTRcWpn7LxHA3lfWYEkyZ1Qa6P7W/7G1bFT0vCqFpWGS456rgBC2uPyZLV X-Received: by 10.68.216.231 with SMTP id ot7mr1104336pbc.2.1409204120476; Wed, 27 Aug 2014 22:35:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.89.231 with SMTP id v94ls410664qgd.14.gmail; Wed, 27 Aug 2014 22:35:20 -0700 (PDT) X-Received: by 10.52.137.2 with SMTP id qe2mr1112594vdb.11.1409204120363; Wed, 27 Aug 2014 22:35:20 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id yq20si2799661vdb.38.2014.08.27.22.35.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Aug 2014 22:35:20 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180; Received: by mail-vc0-f180.google.com with SMTP id lf12so279016vcb.25 for ; Wed, 27 Aug 2014 22:35:20 -0700 (PDT) X-Received: by 10.52.137.2 with SMTP id qe2mr1112591vdb.11.1409204120291; Wed, 27 Aug 2014 22:35:20 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp182983vcb; Wed, 27 Aug 2014 22:35:19 -0700 (PDT) X-Received: by 10.68.69.3 with SMTP id a3mr2358314pbu.94.1409204119371; Wed, 27 Aug 2014 22:35:19 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qj8si4115515pac.189.2014.08.27.22.35.18 for ; Wed, 27 Aug 2014 22:35:19 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752303AbaH1FfR (ORCPT + 6 others); Thu, 28 Aug 2014 01:35:17 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:44299 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751358AbaH1FfR (ORCPT ); Thu, 28 Aug 2014 01:35:17 -0400 Received: by mail-pa0-f43.google.com with SMTP id et14so1067941pad.16 for ; Wed, 27 Aug 2014 22:35:16 -0700 (PDT) X-Received: by 10.67.14.69 with SMTP id fe5mr2141409pad.73.1409204116689; Wed, 27 Aug 2014 22:35:16 -0700 (PDT) Received: from localhost.localdomain ([60.168.113.194]) by mx.google.com with ESMTPSA id m1sm3651003pdh.18.2014.08.27.22.35.10 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Aug 2014 22:35:15 -0700 (PDT) From: Zhangfei Gao To: mark.rutland@arm.com, haojian.zhuang@linaro.org, haifeng.yan@linaro.org, jchxue@gmail.com, xuwei5@hisilicon.com Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Zhangfei Gao Subject: [PATCH v2 2/6] ARM: dts: hix5hd2: add mmc node Date: Thu, 28 Aug 2014 13:34:16 +0800 Message-Id: <1409204060-9223-3-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409204060-9223-1-git-send-email-zhangfei.gao@linaro.org> References: <1409204060-9223-1-git-send-email-zhangfei.gao@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: zhangfei.gao@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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>;