diff mbox

[2/2] dt: bindings: Add bindings for Cirrus Logic CS89x0 ethernet chip

Message ID 1465833137-836-1-git-send-email-shc_work@mail.ru
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Alexander Shiyan June 13, 2016, 3:52 p.m. UTC
Add device tree binding documentation details for Cirrus Logic
CS8900/CS8920 ethernet chip.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 Documentation/devicetree/bindings/net/cirrus,cs89x0.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/cirrus,cs89x0.txt

Comments

Rob Herring June 14, 2016, 11:33 p.m. UTC | #1
On Mon, Jun 13, 2016 at 06:52:17PM +0300, Alexander Shiyan wrote:
> Add device tree binding documentation details for Cirrus Logic
> CS8900/CS8920 ethernet chip.
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> ---
>  Documentation/devicetree/bindings/net/cirrus,cs89x0.txt | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/net/cirrus,cs89x0.txt

Acked-by: Rob Herring <robh@kernel.org>
David Miller June 15, 2016, 7:18 p.m. UTC | #2
From: Alexander Shiyan <shc_work@mail.ru>
Date: Mon, 13 Jun 2016 18:52:17 +0300

> Add device tree binding documentation details for Cirrus Logic
> CS8900/CS8920 ethernet chip.
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>

Applied.
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/net/cirrus,cs89x0.txt b/Documentation/devicetree/bindings/net/cirrus,cs89x0.txt
new file mode 100644
index 0000000..c070076
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/cirrus,cs89x0.txt
@@ -0,0 +1,13 @@ 
+* Cirrus Logic CS8900/CS8920 Network Controller
+
+Required properties:
+- compatible	: Should be "cirrus,cs8900" or "cirrus,cs8920".
+- reg		: Address and length of the IO space.
+- interrupts	: Should contain the controller interrupt line.
+
+Examples:
+	eth0: eth@10000000 {
+		compatible = "cirrus,cs8900";
+		reg = <0x10000000 0x400>;
+		interrupts = <10>;
+	};