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" 8*270a9596SChris Packham "marvell,armada-ac5-neta" 9c5aff182SThomas Petazzoni- reg: address and length of the register set for the device. 10c5aff182SThomas Petazzoni- interrupts: interrupt for the device 11e8f08ee0SSergei Shtylyov- phy: See ethernet.txt file in the same directory. 12e8f08ee0SSergei Shtylyov- phy-mode: See ethernet.txt file in the same directory 13e308cb83SJisheng Zhang- clocks: List of clocks for this device. At least one clock is 14e308cb83SJisheng Zhang mandatory for the core clock. If several clocks are given, then the 15e308cb83SJisheng Zhang clock-names property must be used to identify them. 16c5aff182SThomas Petazzoni 179110ee07SMarcin WojtasOptional properties: 189110ee07SMarcin Wojtas- tx-csum-limit: maximum mtu supported by port that allow TX checksum. 199110ee07SMarcin Wojtas Value is presented in bytes. If not used, by default 1600B is set for 209110ee07SMarcin Wojtas "marvell,armada-370-neta" and 9800B for others. 21e308cb83SJisheng Zhang- clock-names: List of names corresponding to clocks property; shall be 22e308cb83SJisheng Zhang "core" for core clock and "bus" for the optional bus clock. 234ca124f4SRussell King- phys: comphy for the ethernet port, see ../phy/phy-bindings.txt 249110ee07SMarcin Wojtas 25dc35a10fSMarcin WojtasOptional properties (valid only for Armada XP/38x): 26dc35a10fSMarcin Wojtas 27dc35a10fSMarcin Wojtas- buffer-manager: a phandle to a buffer manager node. Please refer to 28dc35a10fSMarcin Wojtas Documentation/devicetree/bindings/net/marvell-neta-bm.txt 29dc35a10fSMarcin Wojtas- bm,pool-long: ID of a pool, that will accept all packets of a size 30dc35a10fSMarcin Wojtas higher than 'short' pool's threshold (if set) and up to MTU value. 31dc35a10fSMarcin Wojtas Obligatory, when the port is supposed to use hardware 32dc35a10fSMarcin Wojtas buffer management. 33dc35a10fSMarcin Wojtas- bm,pool-short: ID of a pool, that will be used for accepting 34dc35a10fSMarcin Wojtas packets of a size lower than given threshold. If not set, the port 35dc35a10fSMarcin Wojtas will use a single 'long' pool for all packets, as defined above. 36dc35a10fSMarcin Wojtas 37c5aff182SThomas PetazzoniExample: 38c5aff182SThomas Petazzoni 39dc35a10fSMarcin Wojtasethernet@70000 { 40c5aff182SThomas Petazzoni compatible = "marvell,armada-370-neta"; 41dc35a10fSMarcin Wojtas reg = <0x70000 0x2500>; 42c5aff182SThomas Petazzoni interrupts = <8>; 43189dd626SThomas Petazzoni clocks = <&gate_clk 4>; 449110ee07SMarcin Wojtas tx-csum-limit = <9800> 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