Dinh Nguyen | 2755e18 | 2014-03-26 22:45:11 -0500 | [diff] [blame] | 1 | Altera SOCFPGA SoC DWMAC controller |
| 2 | |
| 3 | This is a variant of the dwmac/stmmac driver an inherits all descriptions |
| 4 | present in Documentation/devicetree/bindings/net/stmmac.txt. |
| 5 | |
| 6 | The device node has additional properties: |
| 7 | |
| 8 | Required 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 | |
| 15 | Example: |
| 16 | |
| 17 | gmac0: ethernet@ff700000 { |
| 18 | compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac"; |
| 19 | altr,sysmgr-syscon = <&sysmgr 0x60 0>; |
| 20 | status = "disabled"; |
| 21 | reg = <0xff700000 0x2000>; |
| 22 | interrupts = <0 115 4>; |
| 23 | interrupt-names = "macirq"; |
| 24 | mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */ |
| 25 | clocks = <&emac_0_clk>; |
| 26 | clocks-names = "stmmaceth"; |
| 27 | }; |