xref: /openbmc/linux/Documentation/devicetree/bindings/net/socfpga-dwmac.txt (revision b4834c86e11bafc2bf7d3af6a6a5d9ea48b54b41)
12755e187SDinh NguyenAltera SOCFPGA SoC DWMAC controller
22755e187SDinh Nguyen
32755e187SDinh NguyenThis is a variant of the dwmac/stmmac driver an inherits all descriptions
42755e187SDinh Nguyenpresent in Documentation/devicetree/bindings/net/stmmac.txt.
52755e187SDinh Nguyen
62755e187SDinh NguyenThe device node has additional properties:
72755e187SDinh Nguyen
82755e187SDinh NguyenRequired properties:
92755e187SDinh Nguyen - compatible	: Should contain "altr,socfpga-stmmac" along with
102755e187SDinh Nguyen		  "snps,dwmac" and any applicable more detailed
112755e187SDinh Nguyen		  designware version numbers documented in stmmac.txt
122755e187SDinh Nguyen - altr,sysmgr-syscon : Should be the phandle to the system manager node that
132755e187SDinh Nguyen   encompasses the glue register, the register offset, and the register shift.
142755e187SDinh Nguyen
15*b4834c86SLey Foon TanOptional properties:
16*b4834c86SLey Foon Tanaltr,emac-splitter: Should be the phandle to the emac splitter soft IP node if
17*b4834c86SLey Foon Tan		DWMAC controller is connected emac splitter.
18*b4834c86SLey Foon Tan
192755e187SDinh NguyenExample:
202755e187SDinh Nguyen
212755e187SDinh Nguyengmac0: ethernet@ff700000 {
222755e187SDinh Nguyen	compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
232755e187SDinh Nguyen	altr,sysmgr-syscon = <&sysmgr 0x60 0>;
242755e187SDinh Nguyen	status = "disabled";
252755e187SDinh Nguyen	reg = <0xff700000 0x2000>;
262755e187SDinh Nguyen	interrupts = <0 115 4>;
272755e187SDinh Nguyen	interrupt-names = "macirq";
282755e187SDinh Nguyen	mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
292755e187SDinh Nguyen	clocks = <&emac_0_clk>;
30ae107d06SGeert Uytterhoeven	clock-names = "stmmaceth";
312755e187SDinh Nguyen};
32