]> Pileus Git - ~andy/linux/blob - Documentation/devicetree/bindings/net/cdns-emac.txt
net: at91_ether: add dt support
[~andy/linux] / Documentation / devicetree / bindings / net / cdns-emac.txt
1 * Cadence EMAC Ethernet controller
2
3 Required properties:
4 - compatible: Should be "cdns,[<chip>-]{emac}"
5   Use "cdns,at91rm9200-emac" Atmel at91rm9200 SoC.
6   or the generic form: "cdns,emac".
7 - reg: Address and length of the register set for the device
8 - interrupts: Should contain macb interrupt
9 - phy-mode: String, operation mode of the PHY interface.
10   Supported values are: "mii", "rmii".
11
12 Optional properties:
13 - local-mac-address: 6 bytes, mac address
14
15 Examples:
16
17         macb0: ethernet@fffc4000 {
18                 compatible = "cdns,at91rm9200-emac";
19                 reg = <0xfffc4000 0x4000>;
20                 interrupts = <21>;
21                 phy-mode = "rmii";
22                 local-mac-address = [3a 0e 03 04 05 06];
23         };