Stefan Roese | 6a22845 | 2012-03-13 04:56:37 +0000 | [diff] [blame] | 1 | * STMicroelectronics 10/100/1000 Ethernet driver (GMAC) |
| 2 | |
| 3 | Required properties: |
Dinh Nguyen | 84c9f8c4 | 2012-07-18 13:28:26 +0000 | [diff] [blame] | 4 | - compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac" |
| 5 | For backwards compatibility: "st,spear600-gmac" is also supported. |
Stefan Roese | 6a22845 | 2012-03-13 04:56:37 +0000 | [diff] [blame] | 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". |
| 15 | |
| 16 | Optional properties: |
| 17 | - mac-address: 6 bytes, mac address |
| 18 | |
| 19 | Examples: |
| 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 | }; |