From patchwork Tue Oct 2 22:59:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 148033 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp5729564lji; Tue, 2 Oct 2018 16:00:50 -0700 (PDT) X-Google-Smtp-Source: ACcGV620OyuW+gxPLzYHNxrk0KgkWaOE2PJvtgRVbnLejGhMhhf/wgd/cNnSgWnzufhAcv7zJtWB X-Received: by 2002:a63:720e:: with SMTP id n14-v6mr16308865pgc.193.1538521250016; Tue, 02 Oct 2018 16:00:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538521250; cv=none; d=google.com; s=arc-20160816; b=LlUygOetmcFo9vFfIXVIZiPDEjcwHqQxfV10DcRIRVhUGvo7XE4tQjbJhYAV2UH9ii baVuzhpA6zoddJWvlMTvPhmXDXruSY4XIIWIskFoSTnnBjeLysQrPFlGNajZrml9mpa2 pQBw6oWUySNvWyu+ZnIsCVTVq21MnHdHUuCh8qAxJoaUZ/vXugiu2pD6s5IJplY2L9sK cYXi12Qiy1W+xJixRkfq3Q+qPFKWXi6G6GF69FUAmSP16luGzVVWxPFHvI3nIm5tZQg9 o2hZHdJhzihDDQq6EegbkYc171YpMg4c0Y8Uv4Na/fcU1nv8gHq6FSRIMqaIo59g/1Qo 0BtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=/uUAllClpFBg8ySGkr2z93ad3NIJtZ2VLjZ7KrQ2hB4=; b=LaD9Pzr8LiPhvPuNbcvrqSGJA98yanRYODpgiw0oavj49UpdiJQIZA2xsIp9WQ2Bhw yX3hnRQdRe/pYKrA6+2gvT27bBjd7oABVJah/2Pg3wsCNftjqP6tFSLJgLmBYUoTYLUg z3taNF8ldT41Ye2JX58alwgjpnC0cx/mPP+eF1EWDoxktWMsNKgsy7IFK4or17eFAO15 N0TgU1xyVGpNQ/TKft806QJcbGILBxrRvdf5es1zmGjICX7B0rGvgDGSU8/Iq3PcZDoe PahPEExpWL8qun9ahoFcLgh+FC9kd0cSyBJBnnRJx30nVkglKf/DgS8UwyXVxbgq5TGE MtVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="yW/0Fuy/"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f38-v6si8788696plb.168.2018.10.02.16.00.49; Tue, 02 Oct 2018 16:00:50 -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=@nifty.com header.s=dec2015msa header.b="yW/0Fuy/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727807AbeJCFqa (ORCPT + 32 others); Wed, 3 Oct 2018 01:46:30 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:29590 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727150AbeJCFqa (ORCPT ); Wed, 3 Oct 2018 01:46:30 -0400 Received: from grover.tkatk1.zaq.ne.jp (zaqdadce369.zaq.ne.jp [218.220.227.105]) (authenticated) by conuserg-09.nifty.com with ESMTP id w92N00jd014310; Wed, 3 Oct 2018 08:00:01 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com w92N00jd014310 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1538521202; bh=/uUAllClpFBg8ySGkr2z93ad3NIJtZ2VLjZ7KrQ2hB4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yW/0Fuy/gCf12qVIszVTxdrVeTypHrX9cVqe1MXU22k/OT0Qlw/dfitKOE8KwiBhu AGsOWIq8G3xGM7kbINynymYI2a+vpyhUzNrCqPazna76L6zz5scHAFlpmv3QUWqpda QmyfeUcNVe+R1xoAHLVRVr0omiB+Y80Tp6tMYe/Rl4yhEFswaZs9xdUIMwCQfbsemX Bp7z9j7Z/A39QZHwa+0C4Ut2vKPg7/vin0Xe86Dt75iX5dMwLViGo44CXUES7bhUTQ atAfelyoSTg76JWjVf+vPr2LbFz0dABAa7vFcBP1Jb2SnZVOAkvqr9zaNgfSQl5cpS 26LRsbjtBgXIA== X-Nifty-SrcIP: [218.220.227.105] From: Masahiro Yamada To: linux-arm-kernel@lists.infradead.org Cc: Masahiro Yamada , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland Subject: [PATCH 2/2] arm64: dts: uniphier: add SD controller nodes Date: Wed, 3 Oct 2018 07:59:51 +0900 Message-Id: <1538521191-16333-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1538521191-16333-1-git-send-email-yamada.masahiro@socionext.com> References: <1538521191-16333-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SD controller nodes for LD20 and PXs3. LD20 does not support the UHS mode, while PXs3 supports it. Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 14 ++++++++++++++ arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts | 4 ++++ arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi | 18 ++++++++++++++++++ 3 files changed, 36 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi index 6932cef..ee92605 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -528,6 +528,20 @@ cdns,phy-dll-delay-sdclk-hsmmc = <21>; }; + sd: sdhc@5a400000 { + compatible = "socionext,uniphier-sd-v3.1.1"; + status = "disabled"; + reg = <0x5a400000 0x800>; + interrupts = <0 76 4>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sd>; + clocks = <&sd_clk 0>; + reset-names = "host"; + resets = <&sd_rst 0>; + bus-width = <4>; + cap-sd-highspeed; + }; + soc_glue: soc-glue@5f800000 { compatible = "socionext,uniphier-ld20-soc-glue", "simple-mfd", "syscon"; diff --git a/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts b/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts index c1bb607..1ad149c 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts @@ -75,6 +75,10 @@ status = "okay"; }; +&sd { + status = "okay"; +}; + ð0 { status = "okay"; phy-handle = <ðphy0>; diff --git a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi index fd2bcd4..f3f19f5 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-pxs3.dtsi @@ -341,6 +341,24 @@ cdns,phy-dll-delay-sdclk-hsmmc = <21>; }; + sd: sdhc@5a400000 { + compatible = "socionext,uniphier-sd-v3.1.1"; + status = "disabled"; + reg = <0x5a400000 0x800>; + interrupts = <0 76 4>; + pinctrl-names = "default", "uhs"; + pinctrl-0 = <&pinctrl_sd>; + pinctrl-1 = <&pinctrl_sd_uhs>; + clocks = <&sd_clk 0>; + reset-names = "host"; + resets = <&sd_rst 0>; + bus-width = <4>; + cap-sd-highspeed; + sd-uhs-sdr12; + sd-uhs-sdr25; + sd-uhs-sdr50; + }; + soc_glue: soc-glue@5f800000 { compatible = "socionext,uniphier-pxs3-soc-glue", "simple-mfd", "syscon";