xref: /openbmc/linux/Documentation/devicetree/bindings/net/anarion-gmac.txt (revision cf40a76e7d5874bb25f4404eecc58a2e033af885)
1*1126f470SAlexandru Gagniuc*  Adaptrum Anarion ethernet controller
2*1126f470SAlexandru Gagniuc
3*1126f470SAlexandru GagniucThis device is a platform glue layer for stmmac.
4*1126f470SAlexandru GagniucPlease see stmmac.txt for the other unchanged properties.
5*1126f470SAlexandru Gagniuc
6*1126f470SAlexandru GagniucRequired properties:
7*1126f470SAlexandru Gagniuc - compatible:  Should be "adaptrum,anarion-gmac", "snps,dwmac"
8*1126f470SAlexandru Gagniuc - phy-mode:    Should be "rgmii". Other modes are not currently supported.
9*1126f470SAlexandru Gagniuc
10*1126f470SAlexandru Gagniuc
11*1126f470SAlexandru GagniucExamples:
12*1126f470SAlexandru Gagniuc
13*1126f470SAlexandru Gagniuc	gmac1: ethernet@f2014000 {
14*1126f470SAlexandru Gagniuc		compatible = "adaptrum,anarion-gmac", "snps,dwmac";
15*1126f470SAlexandru Gagniuc		reg = <0xf2014000 0x4000>, <0xf2018100 8>;
16*1126f470SAlexandru Gagniuc
17*1126f470SAlexandru Gagniuc		interrupt-parent = <&core_intc>;
18*1126f470SAlexandru Gagniuc		interrupts = <21>;
19*1126f470SAlexandru Gagniuc		interrupt-names = "macirq";
20*1126f470SAlexandru Gagniuc
21*1126f470SAlexandru Gagniuc		clocks = <&core_clk>;
22*1126f470SAlexandru Gagniuc		clock-names = "stmmaceth";
23*1126f470SAlexandru Gagniuc
24*1126f470SAlexandru Gagniuc		phy-mode = "rgmii";
25*1126f470SAlexandru Gagniuc	};
26