12636ac3cSMarcin Wojtas* Marvell Armada 370 / Armada XP / Armada 3700 Ethernet Controller (NETA) 2c5aff182SThomas Petazzoni 3c5aff182SThomas PetazzoniRequired properties: 44091fb95SMasahiro Yamada- compatible: could be one of the following: 52636ac3cSMarcin Wojtas "marvell,armada-370-neta" 62636ac3cSMarcin Wojtas "marvell,armada-xp-neta" 72636ac3cSMarcin Wojtas "marvell,armada-3700-neta" 8c5aff182SThomas Petazzoni- reg: address and length of the register set for the device. 9c5aff182SThomas Petazzoni- interrupts: interrupt for the device 10e8f08ee0SSergei Shtylyov- phy: See ethernet.txt file in the same directory. 11e8f08ee0SSergei Shtylyov- phy-mode: See ethernet.txt file in the same directory 12e308cb83SJisheng Zhang- clocks: List of clocks for this device. At least one clock is 13e308cb83SJisheng Zhang mandatory for the core clock. If several clocks are given, then the 14e308cb83SJisheng Zhang clock-names property must be used to identify them. 15c5aff182SThomas Petazzoni 169110ee07SMarcin WojtasOptional properties: 179110ee07SMarcin Wojtas- tx-csum-limit: maximum mtu supported by port that allow TX checksum. 189110ee07SMarcin Wojtas Value is presented in bytes. If not used, by default 1600B is set for 199110ee07SMarcin Wojtas "marvell,armada-370-neta" and 9800B for others. 20e308cb83SJisheng Zhang- clock-names: List of names corresponding to clocks property; shall be 21e308cb83SJisheng Zhang "core" for core clock and "bus" for the optional bus clock. 22e308cb83SJisheng Zhang 239110ee07SMarcin Wojtas 24dc35a10fSMarcin WojtasOptional properties (valid only for Armada XP/38x): 25dc35a10fSMarcin Wojtas 26dc35a10fSMarcin Wojtas- buffer-manager: a phandle to a buffer manager node. Please refer to 27dc35a10fSMarcin Wojtas Documentation/devicetree/bindings/net/marvell-neta-bm.txt 28dc35a10fSMarcin Wojtas- bm,pool-long: ID of a pool, that will accept all packets of a size 29dc35a10fSMarcin Wojtas higher than 'short' pool's threshold (if set) and up to MTU value. 30dc35a10fSMarcin Wojtas Obligatory, when the port is supposed to use hardware 31dc35a10fSMarcin Wojtas buffer management. 32dc35a10fSMarcin Wojtas- bm,pool-short: ID of a pool, that will be used for accepting 33dc35a10fSMarcin Wojtas packets of a size lower than given threshold. If not set, the port 34dc35a10fSMarcin Wojtas will use a single 'long' pool for all packets, as defined above. 35dc35a10fSMarcin Wojtas 36c5aff182SThomas PetazzoniExample: 37c5aff182SThomas Petazzoni 38dc35a10fSMarcin Wojtasethernet@70000 { 39c5aff182SThomas Petazzoni compatible = "marvell,armada-370-neta"; 40dc35a10fSMarcin Wojtas reg = <0x70000 0x2500>; 41c5aff182SThomas Petazzoni interrupts = <8>; 42189dd626SThomas Petazzoni clocks = <&gate_clk 4>; 439110ee07SMarcin Wojtas tx-csum-limit = <9800> 44c5aff182SThomas Petazzoni status = "okay"; 45c5aff182SThomas Petazzoni phy = <&phy0>; 46c5aff182SThomas Petazzoni phy-mode = "rgmii-id"; 47dc35a10fSMarcin Wojtas buffer-manager = <&bm>; 48dc35a10fSMarcin Wojtas bm,pool-long = <0>; 49dc35a10fSMarcin Wojtas bm,pool-short = <1>; 50c5aff182SThomas Petazzoni}; 51