Commit | Line | Data |
---|---|---|
6a228452 SR |
1 | * STMicroelectronics 10/100/1000 Ethernet driver (GMAC) |
2 | ||
3 | Required properties: | |
84c9f8c4 DN |
4 | - compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac" |
5 | For backwards compatibility: "st,spear600-gmac" is also supported. | |
6a228452 SR |
6 | - 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". | |
25c83b5c SK |
15 | - snps,phy-addr phy address to connect to. |
16 | - snps,pbl Programmable Burst Length | |
17 | - snps,fixed-burst Program the DMA to use the fixed burst mode | |
18 | - snps,mixed-burst Program the DMA to use the mixed burst mode | |
6a228452 SR |
19 | |
20 | Optional properties: | |
21 | - mac-address: 6 bytes, mac address | |
22 | ||
23 | Examples: | |
24 | ||
25 | gmac0: ethernet@e0800000 { | |
26 | compatible = "st,spear600-gmac"; | |
27 | reg = <0xe0800000 0x8000>; | |
28 | interrupt-parent = <&vic1>; | |
29 | interrupts = <24 23>; | |
30 | interrupt-names = "macirq", "eth_wake_irq"; | |
31 | mac-address = [000000000000]; /* Filled in by U-Boot */ | |
32 | phy-mode = "gmii"; | |
33 | }; |