From patchwork Fri Dec 23 03:18:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 88909 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp3130392qgi; Thu, 22 Dec 2016 19:20:20 -0800 (PST) X-Received: by 10.99.124.66 with SMTP id l2mr22841175pgn.116.1482463220199; Thu, 22 Dec 2016 19:20:20 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r21si4936326pfe.12.2016.12.22.19.20.19; Thu, 22 Dec 2016 19:20:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760042AbcLWDT5 (ORCPT + 7 others); Thu, 22 Dec 2016 22:19:57 -0500 Received: from conuserg-11.nifty.com ([210.131.2.78]:16544 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759969AbcLWDT4 (ORCPT ); Thu, 22 Dec 2016 22:19:56 -0500 Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-11.nifty.com with ESMTP id uBN3IWoF018815; Fri, 23 Dec 2016 12:18:35 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com uBN3IWoF018815 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1482463116; bh=PcgGTzSQRbgztCj6+6WY8vI+NeiuYZdsjCYWCndxPGo=; h=From:To:Cc:Subject:Date:From; b=U09/iyS7FtWot+Q0uLQXtJXPzwrbB/OhY5hKRESzifwEYl9jM9Syc+CtAE++LSZMw thA5ET1Ns9NKQtsOLTkYM/EOr8/brISe4ysaxggCc5tKGVRNx9cHG/rA8tjnyRLPvK 9lHFEZicc04e8o5RDxzwGSufD/SCiAFTMpItdFN/7qVXYzUQWC6bp1/Yw4hXmP1xB9 hnANSKpHJ6yH6lCEg0l13gPszOHGzy0I4rxWoclA2jolcu72YD7ux6eqW8zoBhHLiR JD3x2FgW11YRZGkoyJLPh1QG85OGPge/Bgs1FDUZ7FQD6NBch6yn78QgQ70l9hcqP1 42rXZzBih/P5A== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: linux-arm-kernel@lists.infradead.org Cc: Masahiro Yamada , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Russell King , Rob Herring , Will Deacon , Catalin Marinas , Mark Rutland Subject: [PATCH] arm64: dts: uniphier: add eMMC controller node for LD11/LD20 Date: Fri, 23 Dec 2016 12:18:23 +0900 Message-Id: <1482463103-28692-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add Cadence's eMMC controller node for LD11/LD20. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-pinctrl.dtsi | 5 +++++ arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 12 ++++++++++++ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 12 ++++++++++++ 3 files changed, 29 insertions(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/uniphier-pinctrl.dtsi b/arch/arm/boot/dts/uniphier-pinctrl.dtsi index 10a7110..be353af15 100644 --- a/arch/arm/boot/dts/uniphier-pinctrl.dtsi +++ b/arch/arm/boot/dts/uniphier-pinctrl.dtsi @@ -43,6 +43,11 @@ */ &pinctrl { + pinctrl_emmc: emmc_grp { + groups = "emmc", "emmc_dat8"; + function = "emmc"; + }; + pinctrl_i2c0: i2c0_grp { groups = "i2c0"; function = "i2c0"; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi index 43b6583..e1e45b4 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi @@ -300,6 +300,18 @@ }; }; + emmc: sdhc@5a000000 { + compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc"; + reg = <0x5a000000 0x400>; + interrupts = <0 78 4>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_emmc>; + clocks = <&sys_clk 4>; + bus-width = <8>; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + }; + usb0: usb@5a800100 { compatible = "socionext,uniphier-ehci", "generic-ehci"; status = "disabled"; diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi index fcaecc6..1e61a04 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -374,6 +374,18 @@ }; }; + emmc: sdhc@5a000000 { + compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc"; + reg = <0x5a000000 0x400>; + interrupts = <0 78 4>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_emmc>; + clocks = <&sys_clk 4>; + bus-width = <8>; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + }; + soc-glue@5f800000 { compatible = "socionext,uniphier-ld20-soc-glue", "simple-mfd", "syscon";