samsung-sxgbe.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. * Samsung 10G Ethernet driver (SXGBE)
  2. Required properties:
  3. - compatible: Should be "samsung,sxgbe-v2.0a"
  4. - reg: Address and length of the register set for the device
  5. - interrupt-parent: Should be the phandle for the interrupt controller
  6. that services interrupts for this device
  7. - interrupts: Should contain the SXGBE interrupts
  8. These interrupts are ordered by fixed and follows variable
  9. trasmit DMA interrupts, receive DMA interrupts and lpi interrupt.
  10. index 0 - this is fixed common interrupt of SXGBE and it is always
  11. available.
  12. index 1 to 25 - 8 variable trasmit interrupts, variable 16 receive interrupts
  13. and 1 optional lpi interrupt.
  14. - phy-mode: String, operation mode of the PHY interface.
  15. Supported values are: "sgmii", "xgmii".
  16. - samsung,pbl: Integer, Programmable Burst Length.
  17. Supported values are 1, 2, 4, 8, 16, or 32.
  18. - samsung,burst-map: Integer, Program the possible bursts supported by sxgbe
  19. This is an integer and represents allowable DMA bursts when fixed burst.
  20. Allowable range is 0x01-0x3F. When this field is set fixed burst is enabled.
  21. When fixed length is needed for burst mode, it can be set within allowable
  22. range.
  23. Optional properties:
  24. - mac-address: 6 bytes, mac address
  25. - max-frame-size: Maximum Transfer Unit (IEEE defined MTU), rather
  26. than the maximum frame size.
  27. Example:
  28. aliases {
  29. ethernet0 = <&sxgbe0>;
  30. };
  31. sxgbe0: ethernet@1a040000 {
  32. compatible = "samsung,sxgbe-v2.0a";
  33. reg = <0 0x1a040000 0 0x10000>;
  34. interrupt-parent = <&gic>;
  35. interrupts = <0 209 4>, <0 185 4>, <0 186 4>, <0 187 4>,
  36. <0 188 4>, <0 189 4>, <0 190 4>, <0 191 4>,
  37. <0 192 4>, <0 193 4>, <0 194 4>, <0 195 4>,
  38. <0 196 4>, <0 197 4>, <0 198 4>, <0 199 4>,
  39. <0 200 4>, <0 201 4>, <0 202 4>, <0 203 4>,
  40. <0 204 4>, <0 205 4>, <0 206 4>, <0 207 4>,
  41. <0 208 4>, <0 210 4>;
  42. samsung,pbl = <0x08>
  43. samsung,burst-map = <0x20>
  44. mac-address = [ 00 11 22 33 44 55 ]; /* Filled in by U-Boot */
  45. max-frame-size = <9000>;
  46. phy-mode = "xgmii";
  47. };