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- max-speed: see ethernet.txt file in the same directory.
8- phy: see ethernet.txt file in the same directory.
9
10Clock handling:
11The clock frequency is needed to calculate and set polling period of EMAC.
12It must be provided by one of:
13- clock-frequency: CPU frequency.
14- clocks: reference to the clock supplying the EMAC.
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
19Examples:
20
21	ethernet@c0fc2000 {
22		compatible = "snps,arc-emac";
23		reg = <0xc0fc2000 0x3c>;
24		interrupts = <6>;
25		mac-address = [ 00 11 22 33 44 55 ];
26
27		clock-frequency = <80000000>;
28		/* or */
29		clocks = <&emac_clock>;
30
31		max-speed = <100>;
32		phy = <&phy0>;
33
34		#address-cells = <1>;
35		#size-cells = <0>;
36		phy0: ethernet-phy@0 {
37			reg = <1>;
38		};
39	};
40