samsung-sxgbe.txt 1.9 KB

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