1c66ec88fSEmmanuel Vadot* Marvell Armada 370 / Armada XP / Armada 3700 Ethernet Controller (NETA) 2c66ec88fSEmmanuel Vadot 3c66ec88fSEmmanuel VadotRequired properties: 4c66ec88fSEmmanuel Vadot- compatible: could be one of the following: 5c66ec88fSEmmanuel Vadot "marvell,armada-370-neta" 6c66ec88fSEmmanuel Vadot "marvell,armada-xp-neta" 7c66ec88fSEmmanuel Vadot "marvell,armada-3700-neta" 8*c9ccf3a3SEmmanuel Vadot "marvell,armada-ac5-neta" 9c66ec88fSEmmanuel Vadot- reg: address and length of the register set for the device. 10c66ec88fSEmmanuel Vadot- interrupts: interrupt for the device 11c66ec88fSEmmanuel Vadot- phy: See ethernet.txt file in the same directory. 12c66ec88fSEmmanuel Vadot- phy-mode: See ethernet.txt file in the same directory 13c66ec88fSEmmanuel Vadot- clocks: List of clocks for this device. At least one clock is 14c66ec88fSEmmanuel Vadot mandatory for the core clock. If several clocks are given, then the 15c66ec88fSEmmanuel Vadot clock-names property must be used to identify them. 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel VadotOptional properties: 18c66ec88fSEmmanuel Vadot- tx-csum-limit: maximum mtu supported by port that allow TX checksum. 19c66ec88fSEmmanuel Vadot Value is presented in bytes. If not used, by default 1600B is set for 20c66ec88fSEmmanuel Vadot "marvell,armada-370-neta" and 9800B for others. 21c66ec88fSEmmanuel Vadot- clock-names: List of names corresponding to clocks property; shall be 22c66ec88fSEmmanuel Vadot "core" for core clock and "bus" for the optional bus clock. 23c66ec88fSEmmanuel Vadot- phys: comphy for the ethernet port, see ../phy/phy-bindings.txt 24c66ec88fSEmmanuel Vadot 25c66ec88fSEmmanuel VadotOptional properties (valid only for Armada XP/38x): 26c66ec88fSEmmanuel Vadot 27c66ec88fSEmmanuel Vadot- buffer-manager: a phandle to a buffer manager node. Please refer to 28c66ec88fSEmmanuel Vadot Documentation/devicetree/bindings/net/marvell-neta-bm.txt 29c66ec88fSEmmanuel Vadot- bm,pool-long: ID of a pool, that will accept all packets of a size 30c66ec88fSEmmanuel Vadot higher than 'short' pool's threshold (if set) and up to MTU value. 31c66ec88fSEmmanuel Vadot Obligatory, when the port is supposed to use hardware 32c66ec88fSEmmanuel Vadot buffer management. 33c66ec88fSEmmanuel Vadot- bm,pool-short: ID of a pool, that will be used for accepting 34c66ec88fSEmmanuel Vadot packets of a size lower than given threshold. If not set, the port 35c66ec88fSEmmanuel Vadot will use a single 'long' pool for all packets, as defined above. 36c66ec88fSEmmanuel Vadot 37c66ec88fSEmmanuel VadotExample: 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadotethernet@70000 { 40c66ec88fSEmmanuel Vadot compatible = "marvell,armada-370-neta"; 41c66ec88fSEmmanuel Vadot reg = <0x70000 0x2500>; 42c66ec88fSEmmanuel Vadot interrupts = <8>; 43c66ec88fSEmmanuel Vadot clocks = <&gate_clk 4>; 44c66ec88fSEmmanuel Vadot tx-csum-limit = <9800> 45c66ec88fSEmmanuel Vadot phy = <&phy0>; 46c66ec88fSEmmanuel Vadot phy-mode = "rgmii-id"; 47c66ec88fSEmmanuel Vadot buffer-manager = <&bm>; 48c66ec88fSEmmanuel Vadot bm,pool-long = <0>; 49c66ec88fSEmmanuel Vadot bm,pool-short = <1>; 50c66ec88fSEmmanuel Vadot}; 51