blob: 060bbf098ef3415be633a539b626977ebfcf4b47 [file] [log] [blame]
Stefan Roese6a228452012-03-13 04:56:37 +00001* STMicroelectronics 10/100/1000 Ethernet driver (GMAC)
2
3Required properties:
Dinh Nguyen84c9f8c42012-07-18 13:28:26 +00004- compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac"
5 For backwards compatibility: "st,spear600-gmac" is also supported.
Stefan Roese6a228452012-03-13 04:56:37 +00006- reg: Address and length of the register set for the device
7- interrupt-parent: Should be the phandle for the interrupt controller
8 that services interrupts for this device
9- interrupts: Should contain the STMMAC interrupts
10- interrupt-names: Should contain the interrupt names "macirq"
11 "eth_wake_irq" if this interrupt is supported in the "interrupts"
12 property
13- phy-mode: String, operation mode of the PHY interface.
14 Supported values are: "mii", "rmii", "gmii", "rgmii".
15
16Optional properties:
17- mac-address: 6 bytes, mac address
18
19Examples:
20
21 gmac0: ethernet@e0800000 {
22 compatible = "st,spear600-gmac";
23 reg = <0xe0800000 0x8000>;
24 interrupt-parent = <&vic1>;
25 interrupts = <24 23>;
26 interrupt-names = "macirq", "eth_wake_irq";
27 mac-address = [000000000000]; /* Filled in by U-Boot */
28 phy-mode = "gmii";
29 };