1*2755e187SDinh NguyenAltera SOCFPGA SoC DWMAC controller 2*2755e187SDinh Nguyen 3*2755e187SDinh NguyenThis is a variant of the dwmac/stmmac driver an inherits all descriptions 4*2755e187SDinh Nguyenpresent in Documentation/devicetree/bindings/net/stmmac.txt. 5*2755e187SDinh Nguyen 6*2755e187SDinh NguyenThe device node has additional properties: 7*2755e187SDinh Nguyen 8*2755e187SDinh NguyenRequired properties: 9*2755e187SDinh Nguyen - compatible : Should contain "altr,socfpga-stmmac" along with 10*2755e187SDinh Nguyen "snps,dwmac" and any applicable more detailed 11*2755e187SDinh Nguyen designware version numbers documented in stmmac.txt 12*2755e187SDinh Nguyen - altr,sysmgr-syscon : Should be the phandle to the system manager node that 13*2755e187SDinh Nguyen encompasses the glue register, the register offset, and the register shift. 14*2755e187SDinh Nguyen 15*2755e187SDinh NguyenExample: 16*2755e187SDinh Nguyen 17*2755e187SDinh Nguyengmac0: ethernet@ff700000 { 18*2755e187SDinh Nguyen compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; 19*2755e187SDinh Nguyen altr,sysmgr-syscon = <&sysmgr 0x60 0>; 20*2755e187SDinh Nguyen status = "disabled"; 21*2755e187SDinh Nguyen reg = <0xff700000 0x2000>; 22*2755e187SDinh Nguyen interrupts = <0 115 4>; 23*2755e187SDinh Nguyen interrupt-names = "macirq"; 24*2755e187SDinh Nguyen mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */ 25*2755e187SDinh Nguyen clocks = <&emac_0_clk>; 26*2755e187SDinh Nguyen clocks-names = "stmmaceth"; 27*2755e187SDinh Nguyen}; 28