Thomas Petazzoni | c5aff18 | 2012-08-17 14:04:28 +0300 | [diff] [blame] | 1 | * Marvell Armada 370 / Armada XP Ethernet Controller (NETA) |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: should be "marvell,armada-370-neta". |
| 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 | - phy-mode: The interface between the SoC and the PHY (a string that |
| 10 | of_get_phy_mode() can understand) |
Thomas Petazzoni | 189dd62 | 2012-11-19 14:15:25 +0100 | [diff] [blame] | 11 | - clocks: a pointer to the reference clock for this device. |
Thomas Petazzoni | c5aff18 | 2012-08-17 14:04:28 +0300 | [diff] [blame] | 12 | |
| 13 | Example: |
| 14 | |
| 15 | ethernet@d0070000 { |
| 16 | compatible = "marvell,armada-370-neta"; |
| 17 | reg = <0xd0070000 0x2500>; |
| 18 | interrupts = <8>; |
Thomas Petazzoni | 189dd62 | 2012-11-19 14:15:25 +0100 | [diff] [blame] | 19 | clocks = <&gate_clk 4>; |
Thomas Petazzoni | c5aff18 | 2012-08-17 14:04:28 +0300 | [diff] [blame] | 20 | status = "okay"; |
| 21 | phy = <&phy0>; |
| 22 | phy-mode = "rgmii-id"; |
| 23 | }; |