]> Pileus Git - ~andy/linux/blob - Documentation/devicetree/bindings/net/allwinner,sun4i-emac.txt
Merge branch 'for-3.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
[~andy/linux] / Documentation / devicetree / bindings / net / allwinner,sun4i-emac.txt
1 * Allwinner EMAC ethernet controller
2
3 Required properties:
4 - compatible: should be "allwinner,sun4i-a10-emac" (Deprecated:
5               "allwinner,sun4i-emac")
6 - reg: address and length of the register set for the device.
7 - interrupts: interrupt for the device
8 - phy: A phandle to a phy node defining the PHY address (as the reg
9   property, a single integer).
10 - clocks: A phandle to the reference clock for this device
11
12 Optional properties:
13 - (local-)mac-address: mac address to be used by this driver
14
15 Example:
16
17 emac: ethernet@01c0b000 {
18        compatible = "allwinner,sun4i-a10-emac";
19        reg = <0x01c0b000 0x1000>;
20        interrupts = <55>;
21        clocks = <&ahb_gates 17>;
22        phy = <&phy0>;
23 };