Skip to contentSkip to conversation

ARM: dts: sk-rzg1m: add Ether pins

PATCH Superseded Sergei Shtylyov 1 participant 1 message Apr 14, 2017 Device tree bindings

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 ARM: dts: sk-rzg1m: add Ether pins

Add the (previously omitted) Ether/PHY pin data to the SK-RZG1M board's device tree.

---
 arch/arm/boot/dts/r8a7743-sk-rzg1m.dts |   13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm/boot/dts/r8a7743-sk-rzg1m.dts +13 -0
Index: renesas/arch/arm/boot/dts/r8a7743-sk-rzg1m.dts
===================================================================
@@ -44,6 +44,16 @@
 		groups = "scif0_data";
 		function = "scif0";
 	};
+
+	ether_pins: ether {
+		groups = "eth_link", "eth_mdio", "eth_rmii";
+		function = "eth";
+	};
+
+	phy1_pins: phy1 {
+		groups = "intc_irq0";
+		function = "intc";
+	};
 };
 
 &scif0 {
@@ -54,6 +64,9 @@
 };
 
 &ether {
+	pinctrl-0 = <&ether_pins &phy1_pins>;
+	pinctrl-names = "default";
+
 	phy-handle = <&phy1>;
 	renesas,ether-link-active-low;
 	status = "okay";