From patchwork Sun Apr 29 19:48:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 10370665 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B8D4560116 for ; Sun, 29 Apr 2018 19:48:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3756D2876B for ; Sun, 29 Apr 2018 19:48:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2C53928A47; Sun, 29 Apr 2018 19:48:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 825292876B for ; Sun, 29 Apr 2018 19:48:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754054AbeD2Tsq (ORCPT ); Sun, 29 Apr 2018 15:48:46 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:42418 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753781AbeD2Tsp (ORCPT ); Sun, 29 Apr 2018 15:48:45 -0400 Received: by mail-pf0-f193.google.com with SMTP id a11so5132960pfn.9; Sun, 29 Apr 2018 12:48:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Pkp5ZImdjHzZpvzMbdS5XmGuE+fFLwtwz0kjBABUn38=; b=J3ydDo/zISKNs5/DLFAMoWgZ5NTWwiSFXSNSY+uHSmLSyJaNA4UQfBr0Of5DHcCIeq ltuEGQKunTRpnZm2ATVBrLuBRpJ1vMyjr1uSEILQtqmfK8FCq21P45GN10aW4D4+Birn Csdn/3htqHHlcfcpUa48Z/fHOgKH9qKJ+J758SVYtb5m5+utfUVEdQUaB2QHXACRK1mQ A5Yb/U1T7w0TcQU9EU41aF7MHMMQt3CR+ypOK4OvPU/j0Egvjkwhbh+iXBlgGEbnyV1j JFrU0MwAji/1jRCgZJkpyabMCwhEmOoradCy8Br7nVKErpn4vqXWXRAVXCz7a9Rw2ioN EMJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Pkp5ZImdjHzZpvzMbdS5XmGuE+fFLwtwz0kjBABUn38=; b=E4ToiRbQ/VpF+xzWhjddu43A7d2vCXosfIY5d73BQaf2i1yW9rkP5fsgIdgEf01Wma 5ubQ2++m8iUg0XX4jGAvGNbRiOurZ74W2voUF5w5dbP90LpA91/sGBY9vSdkuAzRcOnb Vev8GxTLGzyQhgOcBp/yJCz2s8FY2C2CS1S1/rveeM+GNfPKvHeUyTOOdoIqpY1lq+G4 mF9tUGd/o5CjiHo043I4d6mKVhA/6WM7BThxvvPOzMAbAw/2x8pib3uDRysyvvGXg9xd UFiGGvC0IkVytdiTkM2RWArJRHi9jRG/yQL93oyQOHHdG9SpIrl+sdt/4D+0cO0d0aPo kVng== X-Gm-Message-State: ALQs6tD7t77h8OJc4H3oHK/Bx07n/UZNVVOybQrmAwRLMTTia17FTMMF YcNGjqGlk4WQorlCmpuaX0mNvw== X-Google-Smtp-Source: AB8JxZqGw20uIAsgBhZ1RsLSU/fcabGqoTLzOEqpxUF8EaiVov1LshMdFSfhnUcD6EitdZm7SeDdhA== X-Received: by 2002:a65:600a:: with SMTP id m10-v6mr8121534pgu.281.1525031324527; Sun, 29 Apr 2018 12:48:44 -0700 (PDT) Received: from localhost.localdomain (KD118155013174.ppp-bb.dion.ne.jp. [118.155.13.174]) by smtp.gmail.com with ESMTPSA id h65sm14214621pfj.54.2018.04.29.12.48.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 29 Apr 2018 12:48:44 -0700 (PDT) From: Yoshihiro Kaneko To: linux-mmc@vger.kernel.org Cc: Ulf Hansson , Wolfram Sang , Simon Horman , Magnus Damm , linux-renesas-soc@vger.kernel.org Subject: [PATCH/RFT 3/3] arm64: dts: r8a77965: Add SDHI device nodes Date: Mon, 30 Apr 2018 04:48:16 +0900 Message-Id: <1525031296-16512-4-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525031296-16512-1-git-send-email-ykaneko0929@gmail.com> References: <1525031296-16512-1-git-send-email-ykaneko0929@gmail.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Takeshi Kihara Add SDHI nodes to the DT of the r8a77965 SoC. Based on several similar patches of the R8A7796 device tree by Simon Horman . Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Kaneko --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 68 ++++++++++++++++++++++--------- 1 file changed, 48 insertions(+), 20 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index f0871fc..6860704 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -834,26 +834,6 @@ }; }; - sdhi0: sd@ee100000 { - reg = <0 0xee100000 0 0x2000>; - /* placeholder */ - }; - - sdhi1: sd@ee120000 { - reg = <0 0xee120000 0 0x2000>; - /* placeholder */ - }; - - sdhi2: sd@ee140000 { - reg = <0 0xee140000 0 0x2000>; - /* placeholder */ - }; - - sdhi3: sd@ee160000 { - reg = <0 0xee160000 0 0x2000>; - /* placeholder */ - }; - usb3_phy0: usb-phy@e65ee000 { reg = <0 0xe65ee000 0 0x90>; #phy-cells = <0>; @@ -874,5 +854,53 @@ reg = <0 0xe6020000 0 0x0c>; /* placeholder */ }; + + sdhi0: sd@ee100000 { + compatible = "renesas,sdhi-r8a77965", + "renesas,rcar-gen3-sdhi"; + reg = <0 0xee100000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 314>; + max-frequency = <200000000>; + power-domains = <&sysc 32>; + resets = <&cpg 314>; + status = "disabled"; + }; + + sdhi1: sd@ee120000 { + compatible = "renesas,sdhi-r8a77965", + "renesas,rcar-gen3-sdhi"; + reg = <0 0xee120000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 313>; + max-frequency = <200000000>; + power-domains = <&sysc 32>; + resets = <&cpg 313>; + status = "disabled"; + }; + + sdhi2: sd@ee140000 { + compatible = "renesas,sdhi-r8a77965", + "renesas,rcar-gen3-sdhi"; + reg = <0 0xee140000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 312>; + max-frequency = <200000000>; + power-domains = <&sysc 32>; + resets = <&cpg 312>; + status = "disabled"; + }; + + sdhi3: sd@ee160000 { + compatible = "renesas,sdhi-r8a77965", + "renesas,rcar-gen3-sdhi"; + reg = <0 0xee160000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 311>; + max-frequency = <200000000>; + power-domains = <&sysc 32>; + resets = <&cpg 311>; + status = "disabled"; + }; }; };