Stefan Roese | 4922050 | 2013-05-30 03:49:20 +0000 | [diff] [blame] | 1 | * Allwinner EMAC ethernet controller |
| 2 | |
| 3 | Required properties: |
Maxime Ripard | 4dae168 | 2014-02-02 14:49:11 +0100 | [diff] [blame] | 4 | - compatible: should be "allwinner,sun4i-a10-emac" (Deprecated: |
| 5 | "allwinner,sun4i-emac") |
Stefan Roese | 4922050 | 2013-05-30 03:49:20 +0000 | [diff] [blame] | 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 { |
Maxime Ripard | 4dae168 | 2014-02-02 14:49:11 +0100 | [diff] [blame] | 18 | compatible = "allwinner,sun4i-a10-emac"; |
Stefan Roese | 4922050 | 2013-05-30 03:49:20 +0000 | [diff] [blame] | 19 | reg = <0x01c0b000 0x1000>; |
| 20 | interrupts = <55>; |
| 21 | clocks = <&ahb_gates 17>; |
| 22 | phy = <&phy0>; |
| 23 | }; |