devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add Ether DT support for R8A7778/BOCK-W reference board
@ 2013-09-07  0:23 Sergei Shtylyov
  2013-09-07  0:26 ` [PATCH v2 1/4] ARM: shmobile: r8a7778: add Ether DT support Sergei Shtylyov
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sergei Shtylyov @ 2013-09-07  0:23 UTC (permalink / raw)
  To: horms, linux-sh
  Cc: magnus.damm, linux, linux-arm-kernel, rob.herring, pawel.moll,
	mark.rutland, swarren, ian.campbell, devicetree

Hello.

   Here's the set of 4 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20130906' tag. Here we add the Ether device tree support working
on the R8A7778/BOCK-W reference board. The patchset requires the 'sh_eth' driver
device tree support posted earlier in order to work.

[1/4] ARM: shmobile: r8a7778: add Ether DT support
[2/4] ARM: shmobile: r8a7778: add Ether clock for DT case
[3/4] ARM: shmobile: bockw-reference: add Ether DT support
[4/4] ARM: shmobile: BOCK-W reference: add Ether PFC settings

WBR, Sergei

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 1/4] ARM: shmobile: r8a7778: add Ether DT support
  2013-09-07  0:23 [PATCH v2 0/4] Add Ether DT support for R8A7778/BOCK-W reference board Sergei Shtylyov
@ 2013-09-07  0:26 ` Sergei Shtylyov
  2013-09-07  0:29 ` [PATCH v2 3/4] ARM: shmobile: bockw-reference: " Sergei Shtylyov
  2013-09-09  0:11 ` [PATCH v2 0/4] Add Ether DT support for R8A7778/BOCK-W reference board Simon Horman
  2 siblings, 0 replies; 5+ messages in thread
From: Sergei Shtylyov @ 2013-09-07  0:26 UTC (permalink / raw)
  To: horms, rob.herring, pawel.moll, mark.rutland, swarren,
	ian.campbell, devicetree
  Cc: linux-sh, magnus.damm, linux, linux-arm-kernel

Define the generic R8A7778 part of the Ether device node. 

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
Changes in version 2:
- changed the "compatible" property to "renesas,ether-r8a7778".

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

Index: renesas/arch/arm/boot/dts/r8a7778.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7778.dtsi
+++ renesas/arch/arm/boot/dts/r8a7778.dtsi
@@ -98,4 +98,15 @@
 		reg = <0xfffc000 0x118>;
 		#gpio-range-cells = <3>;
 	};
+
+	ether: ethernet@fde00000 {
+		device_type = "network";
+		compatible = "renesas,ether-r8a7778";
+		reg = <0xfde00000 0x400>;
+		interrupt-parent = <&gic>;
+		interrupts = <0 105 0x4>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
 };

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 3/4] ARM: shmobile: bockw-reference: add Ether DT support
  2013-09-07  0:23 [PATCH v2 0/4] Add Ether DT support for R8A7778/BOCK-W reference board Sergei Shtylyov
  2013-09-07  0:26 ` [PATCH v2 1/4] ARM: shmobile: r8a7778: add Ether DT support Sergei Shtylyov
@ 2013-09-07  0:29 ` Sergei Shtylyov
  2013-09-09  0:11 ` [PATCH v2 0/4] Add Ether DT support for R8A7778/BOCK-W reference board Simon Horman
  2 siblings, 0 replies; 5+ messages in thread
From: Sergei Shtylyov @ 2013-09-07  0:29 UTC (permalink / raw)
  To: horms, linux-sh, rob.herring, pawel.moll, mark.rutland, swarren,
	ian.campbell, devicetree
  Cc: magnus.damm, linux, linux-arm-kernel

Define the BOCK-W board dependent part of the Ether device node. 

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
 arch/arm/boot/dts/r8a7778-bockw-reference.dts |   11 +++++++++++
 1 file changed, 11 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7778-bockw-reference.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7778-bockw-reference.dts
+++ renesas/arch/arm/boot/dts/r8a7778-bockw-reference.dts
@@ -30,3 +30,14 @@
 		reg = <0x60000000 0x10000000>;
 	};
 };
+
+&ether {
+	status = "ok";
+	phy-mode = "rmii";
+	phy-handle = <&phy1>;
+	renesas,no-ether-link;
+
+	phy1: ethernet-phy@1 {
+		reg = <1>;
+	};
+};


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 0/4] Add Ether DT support for R8A7778/BOCK-W reference board
  2013-09-07  0:23 [PATCH v2 0/4] Add Ether DT support for R8A7778/BOCK-W reference board Sergei Shtylyov
  2013-09-07  0:26 ` [PATCH v2 1/4] ARM: shmobile: r8a7778: add Ether DT support Sergei Shtylyov
  2013-09-07  0:29 ` [PATCH v2 3/4] ARM: shmobile: bockw-reference: " Sergei Shtylyov
@ 2013-09-09  0:11 ` Simon Horman
  2013-09-09  0:48   ` Kuninori Morimoto
  2 siblings, 1 reply; 5+ messages in thread
From: Simon Horman @ 2013-09-09  0:11 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: linux-sh, magnus.damm, linux, linux-arm-kernel, rob.herring,
	pawel.moll, mark.rutland, swarren, ian.campbell, devicetree

On Sat, Sep 07, 2013 at 04:23:29AM +0400, Sergei Shtylyov wrote:
> Hello.
> 
>    Here's the set of 4 patches against Simon Horman's 'renesas.git' repo,
> 'renesas-devel-20130906' tag. Here we add the Ether device tree support working
> on the R8A7778/BOCK-W reference board. The patchset requires the 'sh_eth' driver
> device tree support posted earlier in order to work.

These patches seem fine to me.
Magnus, Morimoto-san, do you have any feedback?

Assuming that is a run-time dependency I think I can go ahead
and queue these up for v3.13 once they are reviewed.

> 
> [1/4] ARM: shmobile: r8a7778: add Ether DT support
> [2/4] ARM: shmobile: r8a7778: add Ether clock for DT case
> [3/4] ARM: shmobile: bockw-reference: add Ether DT support
> [4/4] ARM: shmobile: BOCK-W reference: add Ether PFC settings
> 
> WBR, Sergei
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 0/4] Add Ether DT support for R8A7778/BOCK-W reference board
  2013-09-09  0:11 ` [PATCH v2 0/4] Add Ether DT support for R8A7778/BOCK-W reference board Simon Horman
@ 2013-09-09  0:48   ` Kuninori Morimoto
  0 siblings, 0 replies; 5+ messages in thread
From: Kuninori Morimoto @ 2013-09-09  0:48 UTC (permalink / raw)
  To: Simon Horman
  Cc: Sergei Shtylyov, linux-sh, magnus.damm, linux, linux-arm-kernel,
	rob.herring, pawel.moll, mark.rutland, swarren, ian.campbell,
	devicetree


Hi Simon

> >    Here's the set of 4 patches against Simon Horman's 'renesas.git' repo,
> > 'renesas-devel-20130906' tag. Here we add the Ether device tree support working
> > on the R8A7778/BOCK-W reference board. The patchset requires the 'sh_eth' driver
> > device tree support posted earlier in order to work.
> 
> These patches seem fine to me.
> Magnus, Morimoto-san, do you have any feedback?

I have no objection

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-09  0:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-07  0:23 [PATCH v2 0/4] Add Ether DT support for R8A7778/BOCK-W reference board Sergei Shtylyov
2013-09-07  0:26 ` [PATCH v2 1/4] ARM: shmobile: r8a7778: add Ether DT support Sergei Shtylyov
2013-09-07  0:29 ` [PATCH v2 3/4] ARM: shmobile: bockw-reference: " Sergei Shtylyov
2013-09-09  0:11 ` [PATCH v2 0/4] Add Ether DT support for R8A7778/BOCK-W reference board Simon Horman
2013-09-09  0:48   ` Kuninori Morimoto

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).