From patchwork Tue Apr 12 23:55:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 65673 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp2205198qge; Tue, 12 Apr 2016 17:00:15 -0700 (PDT) X-Received: by 10.67.14.6 with SMTP id fc6mr8328689pad.55.1460505615223; Tue, 12 Apr 2016 17:00:15 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o65si12542465pfi.251.2016.04.12.17.00.14; Tue, 12 Apr 2016 17:00:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966872AbcDMAAG (ORCPT + 29 others); Tue, 12 Apr 2016 20:00:06 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:33417 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966856AbcDMAAD (ORCPT ); Tue, 12 Apr 2016 20:00:03 -0400 Received: by mail-pa0-f53.google.com with SMTP id zm5so22486370pac.0 for ; Tue, 12 Apr 2016 17:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YrAeIu1iiF22xuW+vQBHb52WcLaY8yH9OlaWCmbiNRE=; b=FGFB0wHkcr7U9GoNeaWRfMMPm3F/Em/VTAuE8cNQ2muAhjk3c98/oLFtSTWl17q9u0 VVIev97GPX64gLlPWLwNADxoCu+7o3O5QNCZMKdwtVuFwA6xcXSnLr9+XrvMuGjmd6fE Dous2Jhw6v9WhDsvkbq9/4xq71deeK03LjaVQ= 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=YrAeIu1iiF22xuW+vQBHb52WcLaY8yH9OlaWCmbiNRE=; b=R0J3lK+We0CIZjf8LExlb7tH7PTt2EPuZTJT9ax7eRkXRGzOm1gQeGIDV7heU8OolA LwhukdKgXwK3cMhbuWkH6g2ysLnUFYeJCvAapYuq51DtxXKbUxz0kaF0iEEu8DRvBr4U TZO++voIK/MGL/SylbCygn3JgHsmSx4lbTRFu13RzIBkErI8bnayOMD5Ve7tlDrDFvXm Zs+ZAvnqR47REvqmiYMgfy93i479i0jNTQL4xPsXaV0l/PxldyLSJPY0G5lYqlkRlF0h eHlx63JIabbMjJAY54uuiSoDwaI/LIfXbyZh9MlKHjcj8hfyP/QNrDq8RAeWYKmb0X6h NhBA== X-Gm-Message-State: AOPr4FXH6bajs49/k7e1EytSVlIZ/MIbusBp+gHgjEPOzXd67Fi1TDNCLxNvMf6l7tnllWS2 X-Received: by 10.66.65.201 with SMTP id z9mr8514251pas.143.1460505601461; Tue, 12 Apr 2016 17:00:01 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.226]) by smtp.gmail.com with ESMTPSA id i1sm46165795pfj.17.2016.04.12.16.59.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 17:00:00 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, catalin.marinas@arm.com, will.deacon@arm.com, haojian.zhuang@linaro.org, linus.walleij@linaro.org, tony@atomide.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Xinwei Kong , Guodong Xu Subject: [PATCH v4 15/16] arm64: dts: add dwmmc nodes for hi6220 Date: Wed, 13 Apr 2016 07:55:51 +0800 Message-Id: <1460505352-13157-16-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> References: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Xinwei Kong Add all three dwmmc nodes description for hi6220 Signed-off-by: Guodong Xu Signed-off-by: Xinwei Kong --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 52 +++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) -- 1.9.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index e8bb81f..7b7bbf6 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -720,5 +720,57 @@ interrupts = ; #mbox-cells = <3>; }; + + dwmmc_0: dwmmc0@f723d000 { + compatible = "hisilicon,hi6220-dw-mshc"; + num-slots = <0x1>; + cap-mmc-highspeed; + non-removable; + reg = <0x0 0xf723d000 0x0 0x1000>; + interrupts = <0x0 0x48 0x4>; + clocks = <&sys_ctrl 2>, <&sys_ctrl 1>; + clock-names = "ciu", "biu"; + bus-width = <0x8>; + vmmc-supply = <&ldo19>; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_pmx_func &emmc_clk_cfg_func + &emmc_cfg_func &emmc_rst_cfg_func>; + }; + + dwmmc_1: dwmmc1@f723e000 { + compatible = "hisilicon,hi6220-dw-mshc"; + num-slots = <0x1>; + card-detect-delay = <200>; + hisilicon,peripheral-syscon = <&ao_ctrl>; + cap-sd-highspeed; + reg = <0x0 0xf723e000 0x0 0x1000>; + interrupts = <0x0 0x49 0x4>; + #address-cells = <0x1>; + #size-cells = <0x0>; + clocks = <&sys_ctrl 4>, <&sys_ctrl 3>; + clock-names = "ciu", "biu"; + vqmmc-supply = <&ldo7>; + vmmc-supply = <&ldo10>; + bus-width = <0x4>; + disable-wp; + cd-gpios = <&gpio1 0 1>; + pinctrl-names = "default", "idle"; + pinctrl-0 = <&sd_pmx_func &sd_clk_cfg_func &sd_cfg_func>; + pinctrl-1 = <&sd_pmx_idle &sd_clk_cfg_idle &sd_cfg_idle>; + }; + + dwmmc_2: dwmmc2@f723f000 { + compatible = "hisilicon,hi6220-dw-mshc"; + num-slots = <0x1>; + reg = <0x0 0xf723f000 0x0 0x1000>; + interrupts = <0x0 0x4a 0x4>; + clocks = <&sys_ctrl HI6220_MMC2_CIUCLK>, <&sys_ctrl HI6220_MMC2_CLK>; + clock-names = "ciu", "biu"; + bus-width = <0x4>; + broken-cd; + pinctrl-names = "default", "idle"; + pinctrl-0 = <&sdio_pmx_func &sdio_clk_cfg_func &sdio_cfg_func>; + pinctrl-1 = <&sdio_pmx_idle &sdio_clk_cfg_idle &sdio_cfg_idle>; + }; }; };