1* STMicroelectronics 10/100/1000 Ethernet driver (GMAC) 2 3Required properties: 4- compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac" 5 For backwards compatibility: "st,spear600-gmac" is also supported. 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: See ethernet.txt file in the same directory. 14- snps,reset-gpio gpio number for phy reset. 15- snps,reset-active-low boolean flag to indicate if phy reset is active low. 16- snps,reset-delays-us is triplet of delays 17 The 1st cell is reset pre-delay in micro seconds. 18 The 2nd cell is reset pulse in micro seconds. 19 The 3rd cell is reset post-delay in micro seconds. 20- snps,pbl Programmable Burst Length 21- snps,fixed-burst Program the DMA to use the fixed burst mode 22- snps,mixed-burst Program the DMA to use the mixed burst mode 23- snps,force_thresh_dma_mode Force DMA to use the threshold mode for 24 both tx and rx 25- snps,force_sf_dma_mode Force DMA to use the Store and Forward 26 mode for both tx and rx. This flag is 27 ignored if force_thresh_dma_mode is set. 28 29Optional properties: 30- resets: Should contain a phandle to the STMMAC reset signal, if any 31- reset-names: Should contain the reset signal name "stmmaceth", if a 32 reset phandle is given 33- max-frame-size: See ethernet.txt file in the same directory 34- clocks: If present, the first clock should be the GMAC main clock, 35 further clocks may be specified in derived bindings. 36- clock-names: One name for each entry in the clocks property, the 37 first one should be "stmmaceth". 38 39Examples: 40 41 gmac0: ethernet@e0800000 { 42 compatible = "st,spear600-gmac"; 43 reg = <0xe0800000 0x8000>; 44 interrupt-parent = <&vic1>; 45 interrupts = <24 23>; 46 interrupt-names = "macirq", "eth_wake_irq"; 47 mac-address = [000000000000]; /* Filled in by U-Boot */ 48 max-frame-size = <3800>; 49 phy-mode = "gmii"; 50 clocks = <&clock>; 51 clock-names = "stmmaceth">; 52 }; 53