SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH 07/11] ARM: shmobile: bockw: add pins and clock to ethernet controller in DT
@ 2015-01-21 16:20 Ulrich Hecht
  2015-01-21 16:51 ` Sergei Shtylyov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ulrich Hecht @ 2015-01-21 16:20 UTC (permalink / raw)
  To: linux-sh

Completes the Ethernet controller DT entry with pin control and clock
information.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
---
 arch/arm/boot/dts/r8a7778-bockw.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts
index 280a922..52086fe 100644
--- a/arch/arm/boot/dts/r8a7778-bockw.dts
+++ b/arch/arm/boot/dts/r8a7778-bockw.dts
@@ -47,8 +47,12 @@
 	};
 
 	ethernet@18300000 {
+		pinctrl-0 = <&ether_pins>;
+		pinctrl-names = "default";
+
 		compatible = "smsc,lan9220", "smsc,lan9115";
 		reg = <0x18300000 0x1000>;
+		clocks = <&mstp1_clks R8A7778_CLK_ETHER>;
 
 		phy-mode = "mii";
 		interrupt-parent = <&irqpin>;
@@ -103,6 +107,11 @@
 };
 
 &pfc {
+	ether_pins: ether {
+		renesas,groups = "ether_rmii";
+		renesas,function = "ether";
+	};
+
 	scif0_pins: serial0 {
 		renesas,groups = "scif0_data_a", "scif0_ctrl";
 		renesas,function = "scif0";
-- 
2.2.2


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

end of thread, other threads:[~2015-01-22 12:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-21 16:20 [PATCH 07/11] ARM: shmobile: bockw: add pins and clock to ethernet controller in DT Ulrich Hecht
2015-01-21 16:51 ` Sergei Shtylyov
2015-01-21 23:57 ` Laurent Pinchart
2015-01-22 12:05 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox