Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1* Faraday Technology FTGMAC100 gigabit ethernet controller
2
3Required properties:
4- compatible: "faraday,ftgmac100"
5
6 Must also contain one of these if used as part of an Aspeed AST2400
7 or 2500 family SoC as they have some subtle tweaks to the
8 implementation:
9
10 - "aspeed,ast2400-mac"
11 - "aspeed,ast2500-mac"
12
13- reg: Address and length of the register set for the device
14- interrupts: Should contain ethernet controller interrupt
15
16Optional properties:
17- phy-mode: See ethernet.txt file in the same directory. If the property is
18 absent, "rgmii" is assumed. Supported values are "rgmii*" and "rmii" for
19 aspeed parts. Other (unknown) parts will accept any value.
20- use-ncsi: Use the NC-SI stack instead of an MDIO PHY. Currently assumes
21 rmii (100bT) but kept as a separate property in case NC-SI grows support
22 for a gigabit link.
23- no-hw-checksum: Used to disable HW checksum support. Here for backward
24 compatibility as the driver now should have correct defaults based on
25 the SoC.
26
27Example:
28
29 mac0: ethernet@1e660000 {
30 compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
31 reg = <0x1e660000 0x180>;
32 interrupts = <2>;
33 use-ncsi;
34 };