From patchwork Sat Apr 2 09:29:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 64925 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp250839lbc; Sat, 2 Apr 2016 02:32:28 -0700 (PDT) X-Received: by 10.66.254.168 with SMTP id aj8mr37791064pad.18.1459589548284; Sat, 02 Apr 2016 02:32:28 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5si8311471pat.66.2016.04.02.02.32.28; Sat, 02 Apr 2016 02:32:28 -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 S1754143AbcDBJcI (ORCPT + 29 others); Sat, 2 Apr 2016 05:32:08 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:34975 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753958AbcDBJcE (ORCPT ); Sat, 2 Apr 2016 05:32:04 -0400 Received: by mail-pa0-f47.google.com with SMTP id td3so108136832pab.2 for ; Sat, 02 Apr 2016 02:32:04 -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=IAqedaySnKHxpYev0rmWnsfttbNl5TCmhP/+ZHI6yKY=; b=UAivtnu9k8hOEZQJq8XLOaS3PtstS6W8AlBCguWL3xP5hYbMpN74CYSlFIwdjzqlRr fsqUBMCB97N/g6F5OJd8mQ4T0xzuckfWEvZXkW3A4zBmEfnOsqgJzH7XyokkOgc7Wy5z sa7WFJHmWSO9jr2kw2+sBrsFYxaPSatn6zRQ8= 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=IAqedaySnKHxpYev0rmWnsfttbNl5TCmhP/+ZHI6yKY=; b=CLtfCLhmp/Hkr1yk2kkx8n+bZUhGKop6g/u9vk7R4+g2VUgZWuhueF+TZGwu0QflA3 IxaUIuknpA6xPxrkP8NHXoGBCha25xVP+Y0u9Asm/bYofafWE+bHpGpl523K/nFx6rGH PMe3OPcU9fPeBOcnFvlhxQv0KKZWFA8jgSpn+1wV0GVoJYmSuuxP9YKCmUL0INei2yuE 9BP2F6k4EHuFIAukrixhGo/awhUzYwyPWQLYsGnjS2i6Si/452vQk3urPtIQAeEFuiGz u3kJLYkKuZXJ3yKs1LScFfPAiNzVxf3o1ja0+EWE+EbTlzOzNUqJTDG/D9DhYu36q0mB 1WiQ== X-Gm-Message-State: AD7BkJJsG7wmnN5HUDdoZeyoydjOSgmgIJLcVTR1unfownsL8+Z4zb2oMnnMYW+wVWxa1t+4 X-Received: by 10.66.249.41 with SMTP id yr9mr37589821pac.86.1459589523580; Sat, 02 Apr 2016 02:32:03 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.92]) by smtp.gmail.com with ESMTPSA id i9sm25425804pfi.95.2016.04.02.02.31.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 02 Apr 2016 02:32:03 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, mark.rutland@arm.com, robh@kernel.org, grant.likely@secretlab.ca, linus.walleij@linaro.org, arnd.bergmann@linaro.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kong.kongxinwei@hisilicon.com, Guodong Xu Subject: [PATCH v2 15/16] arm64: dts: add dwmmc nodes for hi6220 Date: Sat, 2 Apr 2016 17:29:42 +0800 Message-Id: <1459589383-16914-16-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459589383-16914-1-git-send-email-guodong.xu@linaro.org> References: <1459589383-16914-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 | 53 +++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) -- 1.9.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 6afd327..28bd441 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -738,5 +738,58 @@ 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"; + status = "okay"; + 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>; + }; }; };