blob: aefb63949619eaeba843a64ca0f323fa6ba4164c [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".
Srinivas Kandagatla0e076472013-07-04 10:35:48 +010015- snps,reset-gpio gpio number for phy reset.
16- snps,reset-active-low boolean flag to indicate if phy reset is active low.
17- snps,reset-delays-us is triplet of delays
18 The 1st cell is reset pre-delay in micro seconds.
19 The 2nd cell is reset pulse in micro seconds.
20 The 3rd cell is reset post-delay in micro seconds.
Srinivas Kandagatla25c83b52013-07-04 10:35:41 +010021- snps,pbl Programmable Burst Length
22- snps,fixed-burst Program the DMA to use the fixed burst mode
23- snps,mixed-burst Program the DMA to use the mixed burst mode
Sonic Zhange2a240c2013-08-28 18:55:39 +080024- snps,force_thresh_dma_mode Force DMA to use the threshold mode for
25 both tx and rx
26- snps,force_sf_dma_mode Force DMA to use the Store and Forward
27 mode for both tx and rx. This flag is
28 ignored if force_thresh_dma_mode is set.
Stefan Roese6a228452012-03-13 04:56:37 +000029
30Optional properties:
31- mac-address: 6 bytes, mac address
Chen-Yu Tsaic5e4ddb2014-01-17 21:24:41 +080032- resets: Should contain a phandle to the STMMAC reset signal, if any
33- reset-names: Should contain the reset signal name "stmmaceth", if a
34 reset phandle is given
Stefan Roese6a228452012-03-13 04:56:37 +000035
36Examples:
37
38 gmac0: ethernet@e0800000 {
39 compatible = "st,spear600-gmac";
40 reg = <0xe0800000 0x8000>;
41 interrupt-parent = <&vic1>;
42 interrupts = <24 23>;
43 interrupt-names = "macirq", "eth_wake_irq";
44 mac-address = [000000000000]; /* Filled in by U-Boot */
45 phy-mode = "gmii";
46 };