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: 36319 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 6AE6F2054D for ; Sat, 30 Aug 2014 04:16:06 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id kx10sf42281976pab.0 for ; Fri, 29 Aug 2014 21:16:05 -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=Pl9A6C2X2cl3j+cqlBpS9h3ARcURU3cgATdppS5sGebI7bGDEP5Gc4EQA3ibh/8mm9 zkKGYCVNHbYWdAR7o8yajKCbPYq/GnTpGqtKFC9HWKSioueoMBeH2//noEa5ssF3zfdd 2QhTTEWTF633UR55GM3yPGxrR4l/JblZGl+zMIG0WYjxZfhuIi7v69QbrvLG9smIHaeH +zOL2/TW7zfWADqARl0Y4OtAszONhtQ0+5QjisltmM75mDuCip5syJZStgngdpwZKuKo l+MZFnWX1A2Vc4WfgkgemiuBm1+unAOTP6KiL3HSAXc6+a1bPMpvxJhInaC8CuzHURYL Sipw== X-Gm-Message-State: ALoCoQlV5lDcRkPdZ1THSgXkCytZyHv8VjimamunJApoe8F5N5lYjM9Z650ebEfQ5Zr4a3phhbPu X-Received: by 10.66.220.37 with SMTP id pt5mr8284025pac.24.1409372165709; Fri, 29 Aug 2014 21:16:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.27.242 with SMTP id 105ls1269402qgx.17.gmail; Fri, 29 Aug 2014 21:16:05 -0700 (PDT) X-Received: by 10.221.61.5 with SMTP id wu5mr13677147vcb.13.1409372165613; Fri, 29 Aug 2014 21:16:05 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id ss9si1536930vdb.84.2014.08.29.21.16.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 29 Aug 2014 21:16:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id hq11so3490358vcb.28 for ; Fri, 29 Aug 2014 21:16:05 -0700 (PDT) X-Received: by 10.220.114.5 with SMTP id c5mr12190008vcq.28.1409372165510; Fri, 29 Aug 2014 21:16:05 -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 uj3csp106416vcb; Fri, 29 Aug 2014 21:16:05 -0700 (PDT) X-Received: by 10.66.167.105 with SMTP id zn9mr21109165pab.103.1409372164603; Fri, 29 Aug 2014 21:16:04 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mr4si3121270pdb.160.2014.08.29.21.16.03 for ; Fri, 29 Aug 2014 21:16:04 -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 S1751041AbaH3EQD (ORCPT + 5 others); Sat, 30 Aug 2014 00:16:03 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:60343 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750995AbaH3EQC (ORCPT ); Sat, 30 Aug 2014 00:16:02 -0400 Received: by mail-pd0-f180.google.com with SMTP id p10so1734542pdj.25 for ; Fri, 29 Aug 2014 21:16:01 -0700 (PDT) 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 Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Zhangfei Gao 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> 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.169 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>;