From patchwork Wed Oct 29 08:25:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 39717 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E2FCE24046 for ; Wed, 29 Oct 2014 08:26:29 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id ex7sf1612072wid.8 for ; Wed, 29 Oct 2014 01:26:29 -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=eUbdR7KJ2qHgMf6ikZw3JnyeDija8H6sA4lwWlFDmsQ=; b=VkoZtEEwn42B4QAvoA+NtHPKMWgaHtY4KCVIV0lY2z130vDu0pp7lanM/7GDj5nFdW RRTU34Dx+GSjFCZKaCOXEZrT/4zk31jRAmttTtbLRt80nGjMDkoyP3v1gxuMXij4ncj1 r1XG7LnQBxk0tZvKp+vHSjrEatbqiPCMzC96NcTOkONaIgTuGdrPOlEGK2x6lYlUxodp myAcQwl2Scz9fCueGUrtfFAPJ0Vgp51nviR95QdwJcXIXDUEWMVMoF+YgOrr3sUjPbHg xfvIz/Xo/SEZ/i3ksnOc0/Jcjq1+DF/nfupqiBlfYdQm0yZQKql/8DVJtE/j/KV8pVHC XKeQ== X-Gm-Message-State: ALoCoQmaxJNHflcq/YTRGhOcAp4g2JBPmb9aftb2cE0kiQWB1/8glNABnZThMosAwM9zZkXy6TT6 X-Received: by 10.112.137.202 with SMTP id qk10mr189468lbb.11.1414571188965; Wed, 29 Oct 2014 01:26:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.72 with SMTP id q8ls131621laq.98.gmail; Wed, 29 Oct 2014 01:26:28 -0700 (PDT) X-Received: by 10.152.7.229 with SMTP id m5mr470052laa.32.1414571188276; Wed, 29 Oct 2014 01:26:28 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id j5si6159940lam.25.2014.10.29.01.26.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 01:26:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by mail-lb0-f172.google.com with SMTP id n15so2019059lbi.31 for ; Wed, 29 Oct 2014 01:26:28 -0700 (PDT) X-Received: by 10.112.97.135 with SMTP id ea7mr9742881lbb.46.1414571188185; Wed, 29 Oct 2014 01:26:28 -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.112.84.229 with SMTP id c5csp618680lbz; Wed, 29 Oct 2014 01:26:27 -0700 (PDT) X-Received: by 10.67.30.162 with SMTP id kf2mr9090496pad.102.1414571186470; Wed, 29 Oct 2014 01:26:26 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4si3524657pdr.31.2014.10.29.01.26.25 for ; Wed, 29 Oct 2014 01:26:26 -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 S932223AbaJ2I0Z (ORCPT + 4 others); Wed, 29 Oct 2014 04:26:25 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:54437 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932102AbaJ2I0Y (ORCPT ); Wed, 29 Oct 2014 04:26:24 -0400 Received: by mail-pd0-f180.google.com with SMTP id ft15so2526507pdb.11 for ; Wed, 29 Oct 2014 01:26:23 -0700 (PDT) X-Received: by 10.70.130.143 with SMTP id oe15mr8863750pdb.81.1414571183800; Wed, 29 Oct 2014 01:26:23 -0700 (PDT) Received: from localhost.localdomain ([180.150.157.4]) by mx.google.com with ESMTPSA id ml5sm3658124pab.32.2014.10.29.01.26.19 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 01:26:22 -0700 (PDT) From: Zhangfei Gao To: arnd@arndb.de, haifeng.yan@linaro.org, jchxue@gmail.com, xuwei5@hisilicon.com, haojian.zhuang@linaro.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Zhangfei Gao Subject: [PATCH v4 02/10] ARM: dts: hix5hd2: add mmc node Date: Wed, 29 Oct 2014 16:25:57 +0800 Message-Id: <1414571165-23736-3-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1414571165-23736-1-git-send-email-zhangfei.gao@linaro.org> References: <1414571165-23736-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.217.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 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index 012525c..fea5d5c 100644 --- a/arch/arm/boot/dts/hisi-x5hd2.dtsi +++ b/arch/arm/boot/dts/hisi-x5hd2.dtsi @@ -167,6 +167,25 @@ }; }; + /* 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>;