xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ftgmac100.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Faraday Technology FTGMAC100 gigabit ethernet controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: "faraday,ftgmac100"
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun  Must also contain one of these if used as part of an Aspeed AST2400
7*4882a593Smuzhiyun  or 2500 family SoC as they have some subtle tweaks to the
8*4882a593Smuzhiyun  implementation:
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun     - "aspeed,ast2400-mac"
11*4882a593Smuzhiyun     - "aspeed,ast2500-mac"
12*4882a593Smuzhiyun     - "aspeed,ast2600-mac"
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun- reg: Address and length of the register set for the device
15*4882a593Smuzhiyun- interrupts: Should contain ethernet controller interrupt
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunOptional properties:
18*4882a593Smuzhiyun- phy-mode: See ethernet.txt file in the same directory. If the property is
19*4882a593Smuzhiyun  absent, "rgmii" is assumed. Supported values are "rgmii*" and "rmii" for
20*4882a593Smuzhiyun  aspeed parts. Other (unknown) parts will accept any value.
21*4882a593Smuzhiyun- use-ncsi: Use the NC-SI stack instead of an MDIO PHY. Currently assumes
22*4882a593Smuzhiyun  rmii (100bT) but kept as a separate property in case NC-SI grows support
23*4882a593Smuzhiyun  for a gigabit link.
24*4882a593Smuzhiyun- no-hw-checksum: Used to disable HW checksum support. Here for backward
25*4882a593Smuzhiyun  compatibility as the driver now should have correct defaults based on
26*4882a593Smuzhiyun  the SoC.
27*4882a593Smuzhiyun- clocks: In accordance with the generic clock bindings. Must describe the MAC
28*4882a593Smuzhiyun  IP clock, and optionally an RMII RCLK gate for the AST2500/AST2600. The
29*4882a593Smuzhiyun  required MAC clock must be the first cell.
30*4882a593Smuzhiyun- clock-names:
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun      - "MACCLK": The MAC IP clock
33*4882a593Smuzhiyun      - "RCLK": Clock gate for the RMII RCLK
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunExample:
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun	mac0: ethernet@1e660000 {
38*4882a593Smuzhiyun		compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
39*4882a593Smuzhiyun		reg = <0x1e660000 0x180>;
40*4882a593Smuzhiyun		interrupts = <2>;
41*4882a593Smuzhiyun		use-ncsi;
42*4882a593Smuzhiyun	};
43