diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2013-06-24 01:54:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-25 19:34:32 -0400 |
commit | e4f2379db6c6823c5d4a4c2c912df00c65de51d7 (patch) | |
tree | d02226bf72c9320c01df59ee9ad77de37d41acc5 /Documentation | |
parent | 62208f12451f723cd9e9f1d6d22866a61545e488 (diff) |
ethernet/arc/arc_emac - Add new driver
Driver for non-standard on-chip ethernet device ARC EMAC 10/100,
instantiated in some legacy ARC (Synopsys) FPGA Boards such as
ARCAngel4/ML50x.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Francois Romieu <romieu@fr.zoreil.com>
Cc: Joe Perches <joe@perches.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Mischa Jonker <mjonker@synopsys.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org
Cc: Florian Fainelli <florian@openwrt.org>
Cc: David Laight <david.laight@aculab.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/net/arc_emac.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/arc_emac.txt b/Documentation/devicetree/bindings/net/arc_emac.txt new file mode 100644 index 000000000000..bcbc3f009158 --- /dev/null +++ b/Documentation/devicetree/bindings/net/arc_emac.txt | |||
@@ -0,0 +1,38 @@ | |||
1 | * Synopsys ARC EMAC 10/100 Ethernet driver (EMAC) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "snps,arc-emac" | ||
5 | - reg: Address and length of the register set for the device | ||
6 | - interrupts: Should contain the EMAC interrupts | ||
7 | - clock-frequency: CPU frequency. It is needed to calculate and set polling | ||
8 | period of EMAC. | ||
9 | - max-speed: Maximum supported data-rate in Mbit/s. In some HW configurations | ||
10 | bandwidth of external memory controller might be a limiting factor. That's why | ||
11 | it's required to specify which data-rate is supported on current SoC or FPGA. | ||
12 | For example if only 10 Mbit/s is supported (10BASE-T) set "10". If 100 Mbit/s is | ||
13 | supported (100BASE-TX) set "100". | ||
14 | - phy: PHY device attached to the EMAC via MDIO bus | ||
15 | |||
16 | Child nodes of the driver are the individual PHY devices connected to the | ||
17 | MDIO bus. They must have a "reg" property given the PHY address on the MDIO bus. | ||
18 | |||
19 | Optional properties: | ||
20 | - mac-address: 6 bytes, mac address | ||
21 | |||
22 | Examples: | ||
23 | |||
24 | ethernet@c0fc2000 { | ||
25 | compatible = "snps,arc-emac"; | ||
26 | reg = <0xc0fc2000 0x3c>; | ||
27 | interrupts = <6>; | ||
28 | mac-address = [ 00 11 22 33 44 55 ]; | ||
29 | clock-frequency = <80000000>; | ||
30 | max-speed = <100>; | ||
31 | phy = <&phy0>; | ||
32 | |||
33 | #address-cells = <1>; | ||
34 | #size-cells = <0>; | ||
35 | phy0: ethernet-phy@0 { | ||
36 | reg = <1>; | ||
37 | }; | ||
38 | }; | ||