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