diff options
author | Greentime Hu <green.hu@gmail.com> | 2017-02-23 10:53:47 +0800 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-03-21 14:45:38 -0500 |
commit | 0549519991ace9549170270f22cc26077ddb9490 (patch) | |
tree | c9345aae578d16208270cb09aa930a8f7eb67bc6 /Documentation/devicetree/bindings/net/faraday,ftmac.txt | |
parent | 93bad0678fe27ce61dd9a87cea362bdcd04958c7 (diff) | |
download | linux-stable-0549519991ace9549170270f22cc26077ddb9490.tar.gz linux-stable-0549519991ace9549170270f22cc26077ddb9490.tar.bz2 linux-stable-0549519991ace9549170270f22cc26077ddb9490.zip |
dt-bindings: net: generalize moxart-mac to support all faraday based ftmac IP
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>
Diffstat (limited to 'Documentation/devicetree/bindings/net/faraday,ftmac.txt')
-rw-r--r-- | Documentation/devicetree/bindings/net/faraday,ftmac.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/faraday,ftmac.txt b/Documentation/devicetree/bindings/net/faraday,ftmac.txt new file mode 100644 index 000000000000..be4f55e23bf7 --- /dev/null +++ b/Documentation/devicetree/bindings/net/faraday,ftmac.txt @@ -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>; + }; |