From 5786bc64386716472f5d4415574999a7191decc8 Mon Sep 17 00:00:00 2001
From: Dan Murphy <dmurphy@ti.com>
Date: Wed, 5 Jun 2019 11:23:39 -0500
Subject: [PATCH 1/2] dt-bindings: net: dp83869: Add TI dp83869 phy

Add dt bindings for the TI dp83869 Gigabit ethernet phy
device.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
---
 .../devicetree/bindings/net/ti,dp83869.txt    | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/ti,dp83869.txt

diff --git a/Documentation/devicetree/bindings/net/ti,dp83869.txt b/Documentation/devicetree/bindings/net/ti,dp83869.txt
new file mode 100644
index 000000000000..e754dce8a08a
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/ti,dp83869.txt
@@ -0,0 +1,34 @@
+* Texas Instruments - dp83869 Giga bit ethernet phy
+
+Required properties:
+	- reg - The ID number for the phy, usually a small integer
+
+Optional property:
+	- ti,min-output-impedance - MAC Interface Impedance control to set
+				    the programmable output impedance to
+				    minimum value (35 ohms).
+	- ti,max-output-impedance - MAC Interface Impedance control to set
+				    the programmable output impedance to
+				    maximum value (70 ohms).
+	- ti,fifo-depth - Transmitt FIFO depth- see dt-bindings/net/ti-dp83869.h
+		for applicable values
+
+	- ti,clk-output-sel - Muxing option for CLK_OUT pin - see dt-bindings/net/ti-dp83869.h
+				    for applicable values.
+
+Note: ti,min-output-impedance and ti,max-output-impedance are mutually
+      exclusive. When both properties are present ti,max-output-impedance
+      takes precedence.
+
+Default child nodes are standard Ethernet PHY device
+nodes as described in Documentation/devicetree/bindings/net/phy.txt
+
+Example:
+
+	ethernet-phy@0 {
+		reg = <0>;
+		ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
+	};
+
+Datasheet can be found:
+http://www.ti.com/lit/ds/symlink/dp83869hm.pdf
-- 
2.21.0.5.gaeb582a983

