About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / net / allwinner,sun7i-a20-gmac.txt




Custom Search

Based on kernel version 3.16. Page generated on 2014-08-06 21:37 EST.

1	* Allwinner GMAC ethernet controller
2	
3	This device is a platform glue layer for stmmac.
4	Please see stmmac.txt for the other unchanged properties.
5	
6	Required properties:
7	 - compatible:  Should be "allwinner,sun7i-a20-gmac"
8	 - clocks: Should contain the GMAC main clock, and tx clock
9	   The tx clock type should be "allwinner,sun7i-a20-gmac-clk"
10	 - clock-names: Should contain the clock names "stmmaceth",
11	   and "allwinner_gmac_tx"
12	
13	Optional properties:
14	- phy-supply: phandle to a regulator if the PHY needs one
15	
16	Examples:
17	
18		gmac: ethernet@01c50000 {
19			compatible = "allwinner,sun7i-a20-gmac";
20			reg = <0x01c50000 0x10000>,
21			      <0x01c20164 0x4>;
22			interrupts = <0 85 1>;
23			interrupt-names = "macirq";
24			clocks = <&ahb_gates 49>, <&gmac_tx>;
25			clock-names = "stmmaceth", "allwinner_gmac_tx";
26			phy-mode = "mii";
27		};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.