xref: /linux/Documentation/devicetree/bindings/net/socfpga-dwmac.txt (revision 4949009eb8d40a441dcddcd96e101e77d31cf1b2)
1Altera SOCFPGA SoC DWMAC controller
2
3This is a variant of the dwmac/stmmac driver an inherits all descriptions
4present in Documentation/devicetree/bindings/net/stmmac.txt.
5
6The device node has additional properties:
7
8Required properties:
9 - compatible	: Should contain "altr,socfpga-stmmac" along with
10		  "snps,dwmac" and any applicable more detailed
11		  designware version numbers documented in stmmac.txt
12 - altr,sysmgr-syscon : Should be the phandle to the system manager node that
13   encompasses the glue register, the register offset, and the register shift.
14
15Optional properties:
16altr,emac-splitter: Should be the phandle to the emac splitter soft IP node if
17		DWMAC controller is connected emac splitter.
18
19Example:
20
21gmac0: ethernet@ff700000 {
22	compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
23	altr,sysmgr-syscon = <&sysmgr 0x60 0>;
24	status = "disabled";
25	reg = <0xff700000 0x2000>;
26	interrupts = <0 115 4>;
27	interrupt-names = "macirq";
28	mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
29	clocks = <&emac_0_clk>;
30	clock-names = "stmmaceth";
31};
32