linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: chris.paterson2@renesas.com (Chris Paterson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/8] ARM: dts: r8a7745: Add SDHI controllers
Date: Wed, 13 Sep 2017 18:05:35 +0100	[thread overview]
Message-ID: <1505322341-9480-3-git-send-email-chris.paterson2@renesas.com> (raw)
In-Reply-To: <1505322341-9480-1-git-send-email-chris.paterson2@renesas.com>

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

Add the SDHI controllers to the r8a7745 device tree.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
This patch is based on renesas-devel-20170913-v4.13.

This patch is dependant on:
- "dt-bindings: mmc: sh_mmcif: Document r8a7745 DT bindings"


 arch/arm/boot/dts/r8a7745.dtsi | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi
index 8ed2ac5..37c0fac 100644
--- a/arch/arm/boot/dts/r8a7745.dtsi
+++ b/arch/arm/boot/dts/r8a7745.dtsi
@@ -751,6 +751,48 @@
 			max-frequency = <97500000>;
 			status = "disabled";
 		};
+
+		sdhi0: sd at ee100000 {
+			compatible = "renesas,sdhi-r8a7745";
+			reg = <0 0xee100000 0 0x328>;
+			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 314>;
+			dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
+			       <&dmac1 0xcd>, <&dmac1 0xce>;
+			dma-names = "tx", "rx", "tx", "rx";
+			max-frequency = <195000000>;
+			power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
+			resets = <&cpg 314>;
+			status = "disabled";
+		};
+
+		sdhi1: sd at ee140000 {
+			compatible = "renesas,sdhi-r8a7745";
+			reg = <0 0xee140000 0 0x100>;
+			interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 312>;
+			dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
+			       <&dmac1 0xc1>, <&dmac1 0xc2>;
+			dma-names = "tx", "rx", "tx", "rx";
+			max-frequency = <97500000>;
+			power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
+			resets = <&cpg 312>;
+			status = "disabled";
+		};
+
+		sdhi2: sd at ee160000 {
+			compatible = "renesas,sdhi-r8a7745";
+			reg = <0 0xee160000 0 0x100>;
+			interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 311>;
+			dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
+			       <&dmac1 0xd3>, <&dmac1 0xd4>;
+			dma-names = "tx", "rx", "tx", "rx";
+			max-frequency = <97500000>;
+			power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
+			resets = <&cpg 311>;
+			status = "disabled";
+		};
 	};
 
 	/* External root clock */
-- 
1.9.1

  parent reply	other threads:[~2017-09-13 17:05 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-13 17:05 [PATCH 0/8] ARM: renesas: Latest r8a774[35] dts updates Chris Paterson
2017-09-13 17:05 ` [PATCH 1/8] ARM: dts: r8a7745: Add APMU node and second CPU core Chris Paterson
2017-09-15  7:45   ` Simon Horman
2017-09-15  8:05     ` Geert Uytterhoeven
2017-09-15  8:57       ` Fabrizio Castro
2017-09-15 11:06         ` Simon Horman
2017-12-06 10:30           ` Geert Uytterhoeven
2017-12-06 11:21             ` Fabrizio Castro
2017-12-06 11:59               ` Fabrizio Castro
2017-09-19 15:03   ` Geert Uytterhoeven
2017-09-13 17:05 ` Chris Paterson [this message]
2017-09-15  7:54   ` [PATCH 2/8] ARM: dts: r8a7745: Add SDHI controllers Simon Horman
2017-09-15 15:39     ` Chris Paterson
2017-09-13 17:05 ` [PATCH 3/8] ARM: dts: iwg22m: Enable SDHI1 controller Chris Paterson
2017-09-15  8:11   ` Simon Horman
2017-09-20 11:16     ` Geert Uytterhoeven
2017-09-20 13:05     ` Chris Paterson
2017-09-21  8:31       ` Simon Horman
2017-09-21  8:38         ` Simon Horman
2017-09-20 13:06     ` Chris Paterson
2017-09-21  8:37       ` Simon Horman
2017-09-13 17:05 ` [PATCH 4/8] ARM: dts: iwg22d: Enable SDHI0 controller Chris Paterson
2017-09-15  8:05   ` Simon Horman
2017-09-18 16:26     ` Fabrizio Castro
2017-09-20 17:17     ` Fabrizio Castro
2017-09-20 11:40   ` Geert Uytterhoeven
2017-09-21  8:38     ` Simon Horman
2017-09-21  8:42       ` Simon Horman
2017-09-21  8:53         ` Fabrizio Castro
2017-09-21  9:03           ` Simon Horman
2017-09-22  6:52             ` Chris Paterson
2017-09-22 13:01               ` [PATCH v2] " Fabrizio Castro
2017-09-22 13:33                 ` Fabrizio Castro
2017-09-25  7:18                   ` Simon Horman
2017-09-25  7:25                     ` Chris Paterson
2017-09-22 14:21                 ` Geert Uytterhoeven
2017-09-13 17:05 ` [PATCH 5/8] ARM: dts: r8a7743: Add QSPI support Chris Paterson
2017-09-19 15:09   ` Geert Uytterhoeven
2017-09-21  8:39     ` Simon Horman
2017-09-13 17:05 ` [PATCH 6/8] ARM: dts: iwg20m: Add SPI NOR support Chris Paterson
2017-09-15  8:35   ` Simon Horman
2017-09-15 15:12     ` Chris Paterson
2017-09-21  8:41       ` Simon Horman
2017-09-20 11:10   ` Geert Uytterhoeven
2017-09-13 17:05 ` [PATCH 7/8] ARM: dts: r8a7745: Add QSPI support Chris Paterson
2017-09-19 15:10   ` Geert Uytterhoeven
2017-09-21  8:45     ` Simon Horman
2017-09-13 17:05 ` [PATCH 8/8] ARM: drs: iwg22m: Add SPI NOR support Chris Paterson
2017-09-14  7:07   ` Biju Das
2017-09-20 11:10   ` Geert Uytterhoeven
2017-09-21  8:47     ` Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1505322341-9480-3-git-send-email-chris.paterson2@renesas.com \
    --to=chris.paterson2@renesas.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).