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 |
Sergei Shtylyov | e8f08ee | 2014-02-18 02:41:59 +0300 | [diff] [blame] | 8 | - phy: see ethernet.txt file in the same directory. |
Stefan Roese | 4922050 | 2013-05-30 03:49:20 +0000 | [diff] [blame] | 9 | - clocks: A phandle to the reference clock for this device |
| 10 | |
Stefan Roese | 4922050 | 2013-05-30 03:49:20 +0000 | [diff] [blame] | 11 | Example: |
| 12 | |
| 13 | emac: ethernet@01c0b000 { |
Maxime Ripard | 4dae168 | 2014-02-02 14:49:11 +0100 | [diff] [blame] | 14 | compatible = "allwinner,sun4i-a10-emac"; |
Stefan Roese | 4922050 | 2013-05-30 03:49:20 +0000 | [diff] [blame] | 15 | reg = <0x01c0b000 0x1000>; |
| 16 | interrupts = <55>; |
| 17 | clocks = <&ahb_gates 17>; |
| 18 | phy = <&phy0>; |
| 19 | }; |