From patchwork Wed Aug 27 12:38:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 36087 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6FD002054F for ; Wed, 27 Aug 2014 12:39:53 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id w10sf891380pde.7 for ; Wed, 27 Aug 2014 05:39:52 -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=CrS0cLciZ4KaN3EDMYQGwbmAIcakSZb8SVM8wVZu+9iQ9F7I9NGrbh0Qz60mvlRgJb xUN8jHUGEhJP6GDQX4SUsvqqLXB3U25RwNVsPmyxuODRoXJDOpwspp9y1V9Eh7nj75ri pCORcy3PURTFRkts3g5sk93Hj75qlEECo//r/dxjdry1bExpduvAGnXy0F26r8vB9n0T OH7pdgOtI6ebyk/OpeVaVkl36ZsFul8RDKeUaRrbGWC77ilFkCiIXC+PnCzctSC4YrmT fswI8oknyerxUoy9NIWWXXbwW7pYFs2vLkJdLuyr39nTziGtyGtZImILnS6UUrXWLmlf S+qw== X-Gm-Message-State: ALoCoQnQT3v0Lb82EVhbuKCB5mhCELhUYi2VrqB6GFZG/2brB/ccgH5wVVYZlkfdOBEXHOD9Akxj X-Received: by 10.66.142.229 with SMTP id rz5mr6805188pab.17.1409143192252; Wed, 27 Aug 2014 05:39:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.23 with SMTP id v23ls90086qge.51.gmail; Wed, 27 Aug 2014 05:39:52 -0700 (PDT) X-Received: by 10.220.189.3 with SMTP id dc3mr119192vcb.64.1409143192096; Wed, 27 Aug 2014 05:39:52 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id e12si124050vcq.90.2014.08.27.05.39.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Aug 2014 05:39:52 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id im17so8934vcb.3 for ; Wed, 27 Aug 2014 05:39:52 -0700 (PDT) X-Received: by 10.52.61.136 with SMTP id p8mr11117867vdr.15.1409143192013; Wed, 27 Aug 2014 05:39:52 -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 uj3csp75149vcb; Wed, 27 Aug 2014 05:39:51 -0700 (PDT) X-Received: by 10.70.89.132 with SMTP id bo4mr38688154pdb.40.1409143191140; Wed, 27 Aug 2014 05:39:51 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jg1si542619pbb.40.2014.08.27.05.39.50 for ; Wed, 27 Aug 2014 05:39:50 -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 S933523AbaH0Mjj (ORCPT + 6 others); Wed, 27 Aug 2014 08:39:39 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:64209 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933220AbaH0Mjg (ORCPT ); Wed, 27 Aug 2014 08:39:36 -0400 Received: by mail-pa0-f47.google.com with SMTP id kx10so197817pab.34 for ; Wed, 27 Aug 2014 05:39:35 -0700 (PDT) X-Received: by 10.68.132.65 with SMTP id os1mr46164660pbb.82.1409143174670; Wed, 27 Aug 2014 05:39:34 -0700 (PDT) Received: from localhost.localdomain ([223.240.29.170]) by mx.google.com with ESMTPSA id y1sm364458pdl.75.2014.08.27.05.39.28 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Aug 2014 05:39:33 -0700 (PDT) From: Zhangfei Gao To: 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 2/6] ARM: dts: hix5hd2: add mmc node Date: Wed, 27 Aug 2014 20:38:30 +0800 Message-Id: <1409143114-23311-3-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409143114-23311-1-git-send-email-zhangfei.gao@linaro.org> References: <1409143114-23311-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.172 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>;