dt-bindings: net: generalize moxart-mac to support all faraday based ftmac IP
authorGreentime Hu <green.hu@gmail.com>
Thu, 23 Feb 2017 02:53:47 +0000 (10:53 +0800)
committerRob Herring <robh@kernel.org>
Tue, 21 Mar 2017 19:45:38 +0000 (14:45 -0500)
Andestech and moxa use the same faraday mac IP, so we use faraday,ftmac.txt to
describe it.

Signed-off-by: Greentime Hu <green.hu@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/net/faraday,ftmac.txt [new file with mode: 0644]
Documentation/devicetree/bindings/net/moxa,moxart-mac.txt [deleted file]

diff --git a/Documentation/devicetree/bindings/net/faraday,ftmac.txt b/Documentation/devicetree/bindings/net/faraday,ftmac.txt
new file mode 100644 (file)
index 0000000..be4f55e
--- /dev/null
@@ -0,0 +1,24 @@
+Faraday Ethernet Controller
+
+Required properties:
+
+- compatible : Must contain "faraday,ftmac", as well as one of
+               the SoC specific identifiers:
+               "andestech,atmac100"
+               "moxa,moxart-mac"
+- reg : Should contain register location and length
+- interrupts : Should contain the mac interrupt number
+
+Example:
+
+       mac0: mac@90900000 {
+               compatible = "moxa,moxart-mac";
+               reg =   <0x90900000 0x100>;
+               interrupts = <25 0>;
+       };
+
+       mac1: mac@92000000 {
+               compatible = "moxa,moxart-mac";
+               reg =   <0x92000000 0x100>;
+               interrupts = <27 0>;
+       };
diff --git a/Documentation/devicetree/bindings/net/moxa,moxart-mac.txt b/Documentation/devicetree/bindings/net/moxa,moxart-mac.txt
deleted file mode 100644 (file)
index 583418b..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-MOXA ART Ethernet Controller
-
-Required properties:
-
-- compatible : Must be "moxa,moxart-mac"
-- reg : Should contain register location and length
-- interrupts : Should contain the mac interrupt number
-
-Example:
-
-       mac0: mac@90900000 {
-               compatible = "moxa,moxart-mac";
-               reg =   <0x90900000 0x100>;
-               interrupts = <25 0>;
-       };
-
-       mac1: mac@92000000 {
-               compatible = "moxa,moxart-mac";
-               reg =   <0x92000000 0x100>;
-               interrupts = <27 0>;
-       };