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: |
Simon Guinot | f522a97 | 2015-06-30 16:20:20 +0200 | [diff] [blame] | 4 | - compatible: "marvell,armada-370-neta" or "marvell,armada-xp-neta". |
Thomas Petazzoni | c5aff18 | 2012-08-17 14:04:28 +0300 | [diff] [blame] | 5 | - reg: address and length of the register set for the device. |
| 6 | - interrupts: interrupt for the device |
Sergei Shtylyov | e8f08ee | 2014-02-18 02:41:59 +0300 | [diff] [blame] | 7 | - phy: See ethernet.txt file in the same directory. |
| 8 | - phy-mode: See ethernet.txt file in the same directory |
Thomas Petazzoni | 189dd62 | 2012-11-19 14:15:25 +0100 | [diff] [blame] | 9 | - clocks: a pointer to the reference clock for this device. |
Thomas Petazzoni | c5aff18 | 2012-08-17 14:04:28 +0300 | [diff] [blame] | 10 | |
Marcin Wojtas | 9110ee0 | 2015-11-30 13:27:45 +0100 | [diff] [blame] | 11 | Optional properties: |
| 12 | - tx-csum-limit: maximum mtu supported by port that allow TX checksum. |
| 13 | Value is presented in bytes. If not used, by default 1600B is set for |
| 14 | "marvell,armada-370-neta" and 9800B for others. |
| 15 | |
Thomas Petazzoni | c5aff18 | 2012-08-17 14:04:28 +0300 | [diff] [blame] | 16 | Example: |
| 17 | |
| 18 | ethernet@d0070000 { |
| 19 | compatible = "marvell,armada-370-neta"; |
| 20 | reg = <0xd0070000 0x2500>; |
| 21 | interrupts = <8>; |
Thomas Petazzoni | 189dd62 | 2012-11-19 14:15:25 +0100 | [diff] [blame] | 22 | clocks = <&gate_clk 4>; |
Marcin Wojtas | 9110ee0 | 2015-11-30 13:27:45 +0100 | [diff] [blame] | 23 | tx-csum-limit = <9800> |
Thomas Petazzoni | c5aff18 | 2012-08-17 14:04:28 +0300 | [diff] [blame] | 24 | status = "okay"; |
| 25 | phy = <&phy0>; |
| 26 | phy-mode = "rgmii-id"; |
| 27 | }; |