Thread (6 messages) 6 messages, 3 authors, 2017-12-26

[PATCH net-next v7 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

From: hayashi.kunihiko@socionext.com (Kunihiko Hayashi)
Date: 2017-12-21 12:45:59
Also in: linux-devicetree, lkml, netdev

Hello Andrew,

On Thu, 21 Dec 2017 12:32:54 +0100 Andrew Lunn [off-list ref] wrote:
quoted
+Optional properties:
+ - resets: A phandle to the reset control for the MAC
+ - local-mac-address: See ethernet.txt in the same directory.
+
+Required subnode:
+ - mdio: Device tree subnode with the following required properties:
+
+Example:
It sounds like there should be some properties before the Example.
Indeed, this is my carelessness.
   Andrew
quoted
+
+	ether: ethernet at 65000000 {
+		compatible = "socionext,uniphier-ld20-ave4";
+		reg = <0x65000000 0x8500>;
+		interrupts = <0 66 4>;
+		phy-mode = "rgmii";
+		phy-handle = <&ethphy>;
+		clocks = <&sys_clk 6>;
+		resets = <&sys_rst 6>;
+		local-mac-address = [00 00 00 00 00 00];
Typically you would put a blank line here, before the mdio node.
Okay, I'll put it.
quoted
+		mdio {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			ethphy: ethphy at 1 {
+				reg = <1>;
+			};
+		};
+	};
  Andrew
Thank you,

---
Best Regards,
Kunihiko Hayashi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help