Stefan Roese | 4922050 | 2013-05-30 03:49:20 +0000 | [diff] [blame] | 1 | * Allwinner EMAC ethernet controller |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: should be "allwinner,sun4i-emac". |
| 5 | - reg: address and length of the register set for the device. |
| 6 | - interrupts: interrupt for the device |
| 7 | - phy: A phandle to a phy node defining the PHY address (as the reg |
| 8 | property, a single integer). |
| 9 | - clocks: A phandle to the reference clock for this device |
| 10 | |
| 11 | Optional properties: |
| 12 | - (local-)mac-address: mac address to be used by this driver |
| 13 | |
| 14 | Example: |
| 15 | |
| 16 | emac: ethernet@01c0b000 { |
| 17 | compatible = "allwinner,sun4i-emac"; |
| 18 | reg = <0x01c0b000 0x1000>; |
| 19 | interrupts = <55>; |
| 20 | clocks = <&ahb_gates 17>; |
| 21 | phy = <&phy0>; |
| 22 | }; |