From patchwork Wed May 9 12:38:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 10389343 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 D655E60236 for ; Wed, 9 May 2018 12:38:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C59E528F90 for ; Wed, 9 May 2018 12:38:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA0EB28F93; Wed, 9 May 2018 12:38:38 +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 A67B528F92 for ; Wed, 9 May 2018 12:38:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934349AbeEIMih (ORCPT ); Wed, 9 May 2018 08:38:37 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:46121 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932875AbeEIMig (ORCPT ); Wed, 9 May 2018 08:38:36 -0400 Received: by mail-pg0-f68.google.com with SMTP id z4-v6so22610707pgu.13 for ; Wed, 09 May 2018 05:38:36 -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; bh=anZ4lGlqDLKsTKka9F4QssUK4ggVLuvFZ94+Df2jY0A=; b=HoW8prhN2GF+0gPPJ6NgPCRoXflUUa5nQpZPdHCz96O8gYwSBsJ05PU3n9lwW1lxi+ OShZ3zd3oKYo/pkWt6Ysm1OPwAEdp4AEZ4PgHCSK4wDtCgfkwi/8HTackKSLT3E47CwD DzmB5X6iYmHBxsrnmHbxdes9mq/XjGkXI8+fvpkgNUK7WiK0QnXzRL8yCvh0a+Qh9P/k 2TLdsKw/o6F7I1umxL+vEC9jaHdh8Diz1w10e0Oki5ORzJVeeRtojQXT+a5B0E+Fal59 gzuz7MFe1JuNYO5hWXQezw8ajBmQ/9oBFGs/dPujueBpLwF7E7RXGyH1kYJY64Ox5gWq zCUQ== 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; bh=anZ4lGlqDLKsTKka9F4QssUK4ggVLuvFZ94+Df2jY0A=; b=jmE2Pi6vge2ufctphgKD1SfgWNABpMakf75RdMjcGM6pu2V8YZUj/+glxv7xy0/tZR ylqWrguIY2A352chKLTvyVvu0N2QXDtMCNwcYJAUdLZdWlQeAbVBBgFI5NMnBsYVGXDs a+XU6eFH1xx3VWD5krZuH7e2z6OSmaNtsUu0SeXSd9LDlCMPrZC8+DvQbdbFkl67g2oD nK3h95M6S+cSfOK//SQe2k17QyZ432iYhrdIEfiTPByXhBW3zqAiqppY6lZhStTVOCen JlnzcVsMedW8AU8E0+I44z6FS6W0cipnk91tst8GZ8oefTDTAu9L/EJTiddsNkNI/dBu 3u0A== X-Gm-Message-State: ALQs6tAzRjoIop8goB/4vNG8t/WpywfSvrE8WfxASF8YMc4UCMk8+m/q dCP/yUxtqLVM6HnfPdkkZX2+0w== X-Google-Smtp-Source: AB8JxZoeTC401tEFCWJSEZy3iPML6w71X2UdLNQRItbR6jT/Z9agZD6q3Z7KewLmImpA5mYBzZO/3g== X-Received: by 2002:a63:7a07:: with SMTP id v7-v6mr35779940pgc.343.1525869515812; Wed, 09 May 2018 05:38:35 -0700 (PDT) Received: from macc.flets-east.jp (p6016112-ipngn3302marunouchi.tokyo.ocn.ne.jp. [180.23.146.112]) by smtp.gmail.com with ESMTPSA id s17sm61533231pfi.165.2018.05.09.05.38.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 May 2018 05:38:34 -0700 (PDT) From: Yoshihiro Kaneko To: linux-renesas-soc@vger.kernel.org Cc: Simon Horman , Magnus Damm , linux-arm-kernel@lists.infradead.org Subject: [PATCH v2] arm64: dts: r8a77965: Add SDHI device nodes Date: Wed, 9 May 2018 21:38:24 +0900 Message-Id: <1525869504-3361-1-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 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 Reviewed-by: Geert Uytterhoeven --- This patch is based on the devel branch of Simon Horman's renesas tree. v2 [Yoshihiro Kaneko] * As suggested by Simon Horman Rebased on top of the devel branch of the renesas tree. arch/arm64/boot/dts/renesas/r8a77965.dtsi | 36 +++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index ba0edda..510815e 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -978,23 +978,51 @@ }; sdhi0: sd@ee100000 { + compatible = "renesas,sdhi-r8a77965", + "renesas,rcar-gen3-sdhi"; reg = <0 0xee100000 0 0x2000>; - /* placeholder */ + 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>; - /* placeholder */ + 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>; - /* placeholder */ + 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>; - /* placeholder */ + interrupts = ; + clocks = <&cpg CPG_MOD 311>; + max-frequency = <200000000>; + power-domains = <&sysc 32>; + resets = <&cpg 311>; + status = "disabled"; }; gic: interrupt-controller@f1010000 {