1* Synopsys ARC EMAC 10/100 Ethernet driver (EMAC)
2
3Required 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
8period of EMAC.
9- max-speed: Maximum supported data-rate in Mbit/s. In some HW configurations
10bandwidth of external memory controller might be a limiting factor. That's why
11it's required to specify which data-rate is supported on current SoC or FPGA.
12For example if only 10 Mbit/s is supported (10BASE-T) set "10". If 100 Mbit/s is
13supported (100BASE-TX) set "100".
14- phy: PHY device attached to the EMAC via MDIO bus
15
16Child nodes of the driver are the individual PHY devices connected to the
17MDIO bus. They must have a "reg" property given the PHY address on the MDIO bus.
18
19Optional properties:
20- mac-address: 6 bytes, mac address
21
22Examples:
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	};
39