Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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: see ethernet.txt file in the same directory.
10- phy: see ethernet.txt file in the same directory.
11
12Child nodes of the driver are the individual PHY devices connected to the
13MDIO bus. They must have a "reg" property given the PHY address on the MDIO bus.
14
15Examples:
16
17 ethernet@c0fc2000 {
18 compatible = "snps,arc-emac";
19 reg = <0xc0fc2000 0x3c>;
20 interrupts = <6>;
21 mac-address = [ 00 11 22 33 44 55 ];
22 clock-frequency = <80000000>;
23 max-speed = <100>;
24 phy = <&phy0>;
25
26 #address-cells = <1>;
27 #size-cells = <0>;
28 phy0: ethernet-phy@0 {
29 reg = <1>;
30 };
31 };