* [PATCH v3 6/7] ARM: shmobile: r8a73a4: add MMCIF and SDHI DT templates
@ 2013-07-08 15:54 Guennadi Liakhovetski
2013-07-08 16:09 ` Guennadi Liakhovetski
2013-07-10 0:40 ` Simon Horman
0 siblings, 2 replies; 3+ messages in thread
From: Guennadi Liakhovetski @ 2013-07-08 15:54 UTC (permalink / raw)
To: linux-sh
This adds DT templates for all MMCIF and SDHI controllers on r8a73a4.
They are added with status="disabled". To use them platform-specific
DTs have to enable the required ones.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
---
arch/arm/boot/dts/r8a73a4.dtsi | 45 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/r8a73a4.dtsi b/arch/arm/boot/dts/r8a73a4.dtsi
index 4e1ddf0..6ce699b 100644
--- a/arch/arm/boot/dts/r8a73a4.dtsi
+++ b/arch/arm/boot/dts/r8a73a4.dtsi
@@ -166,4 +166,49 @@
interrupt-parent = <&gic>;
interrupts = <0 173 0x4>;
};
+
+ mmcif0: mmcif@ee200000 {
+ compatible = "renesas,sh-mmcif";
+ reg = <0 0xee200000 0 0x80>;
+ interrupt-parent = <&gic>;
+ interrupts = <0 169 0x4>;
+ reg-io-width = <4>;
+ status = "disabled";
+ };
+
+ mmcif1: mmcif@ee220000 {
+ compatible = "renesas,sh-mmcif";
+ reg = <0 0xee220000 0 0x80>;
+ interrupt-parent = <&gic>;
+ interrupts = <0 170 0x4>;
+ reg-io-width = <4>;
+ status = "disabled";
+ };
+
+ sdhi0: sdhi@ee100000 {
+ compatible = "renesas,r8a73a4-sdhi";
+ reg = <0 0xee100000 0 0x100>;
+ interrupt-parent = <&gic>;
+ interrupts = <0 165 4>;
+ cap-sd-highspeed;
+ status = "disabled";
+ };
+
+ sdhi1: sdhi@ee120000 {
+ compatible = "renesas,r8a73a4-sdhi";
+ reg = <0 0xee120000 0 0x100>;
+ interrupt-parent = <&gic>;
+ interrupts = <0 166 4>;
+ cap-sd-highspeed;
+ status = "disabled";
+ };
+
+ sdhi2: sdhi@ee140000 {
+ compatible = "renesas,r8a73a4-sdhi";
+ reg = <0 0xee140000 0 0x100>;
+ interrupt-parent = <&gic>;
+ interrupts = <0 167 4>;
+ cap-sd-highspeed;
+ status = "disabled";
+ };
};
--
1.7.2.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v3 6/7] ARM: shmobile: r8a73a4: add MMCIF and SDHI DT templates
2013-07-08 15:54 [PATCH v3 6/7] ARM: shmobile: r8a73a4: add MMCIF and SDHI DT templates Guennadi Liakhovetski
@ 2013-07-08 16:09 ` Guennadi Liakhovetski
2013-07-10 0:40 ` Simon Horman
1 sibling, 0 replies; 3+ messages in thread
From: Guennadi Liakhovetski @ 2013-07-08 16:09 UTC (permalink / raw)
To: linux-sh
On Mon, 8 Jul 2013, Guennadi Liakhovetski wrote:
> This adds DT templates for all MMCIF and SDHI controllers on r8a73a4.
> They are added with status="disabled". To use them platform-specific
> DTs have to enable the required ones.
>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
> ---
v3: use "renesas,r8a73a4-sdhi" OF compatibility instead of
"renesas,r8a7740-sdhi"
Thanks
Guennadi
> arch/arm/boot/dts/r8a73a4.dtsi | 45 ++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 45 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/r8a73a4.dtsi b/arch/arm/boot/dts/r8a73a4.dtsi
> index 4e1ddf0..6ce699b 100644
> --- a/arch/arm/boot/dts/r8a73a4.dtsi
> +++ b/arch/arm/boot/dts/r8a73a4.dtsi
> @@ -166,4 +166,49 @@
> interrupt-parent = <&gic>;
> interrupts = <0 173 0x4>;
> };
> +
> + mmcif0: mmcif@ee200000 {
> + compatible = "renesas,sh-mmcif";
> + reg = <0 0xee200000 0 0x80>;
> + interrupt-parent = <&gic>;
> + interrupts = <0 169 0x4>;
> + reg-io-width = <4>;
> + status = "disabled";
> + };
> +
> + mmcif1: mmcif@ee220000 {
> + compatible = "renesas,sh-mmcif";
> + reg = <0 0xee220000 0 0x80>;
> + interrupt-parent = <&gic>;
> + interrupts = <0 170 0x4>;
> + reg-io-width = <4>;
> + status = "disabled";
> + };
> +
> + sdhi0: sdhi@ee100000 {
> + compatible = "renesas,r8a73a4-sdhi";
> + reg = <0 0xee100000 0 0x100>;
> + interrupt-parent = <&gic>;
> + interrupts = <0 165 4>;
> + cap-sd-highspeed;
> + status = "disabled";
> + };
> +
> + sdhi1: sdhi@ee120000 {
> + compatible = "renesas,r8a73a4-sdhi";
> + reg = <0 0xee120000 0 0x100>;
> + interrupt-parent = <&gic>;
> + interrupts = <0 166 4>;
> + cap-sd-highspeed;
> + status = "disabled";
> + };
> +
> + sdhi2: sdhi@ee140000 {
> + compatible = "renesas,r8a73a4-sdhi";
> + reg = <0 0xee140000 0 0x100>;
> + interrupt-parent = <&gic>;
> + interrupts = <0 167 4>;
> + cap-sd-highspeed;
> + status = "disabled";
> + };
> };
> --
> 1.7.2.5
>
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3 6/7] ARM: shmobile: r8a73a4: add MMCIF and SDHI DT templates
2013-07-08 15:54 [PATCH v3 6/7] ARM: shmobile: r8a73a4: add MMCIF and SDHI DT templates Guennadi Liakhovetski
2013-07-08 16:09 ` Guennadi Liakhovetski
@ 2013-07-10 0:40 ` Simon Horman
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2013-07-10 0:40 UTC (permalink / raw)
To: linux-sh
On Mon, Jul 08, 2013 at 05:54:45PM +0200, Guennadi Liakhovetski wrote:
> This adds DT templates for all MMCIF and SDHI controllers on r8a73a4.
> They are added with status="disabled". To use them platform-specific
> DTs have to enable the required ones.
>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
> ---
> arch/arm/boot/dts/r8a73a4.dtsi | 45 ++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 45 insertions(+), 0 deletions(-)
Thanks, I have queued this up for v3.12 in the dt branch.
It should appear in renesas-next-20130710
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-10 0:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-08 15:54 [PATCH v3 6/7] ARM: shmobile: r8a73a4: add MMCIF and SDHI DT templates Guennadi Liakhovetski
2013-07-08 16:09 ` Guennadi Liakhovetski
2013-07-10 0:40 ` Simon Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.