b53.txt 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Broadcom BCM53xx Ethernet switches
  2. ==================================
  3. Required properties:
  4. - compatible: For external switch chips, compatible string must be exactly one
  5. of: "brcm,bcm5325"
  6. "brcm,bcm53115"
  7. "brcm,bcm53125"
  8. "brcm,bcm53128"
  9. "brcm,bcm5365"
  10. "brcm,bcm5395"
  11. "brcm,bcm5397"
  12. "brcm,bcm5398"
  13. For the BCM11360 SoC, must be:
  14. "brcm,bcm11360-srab" and the mandatory "brcm,cygnus-srab" string
  15. For the BCM5310x SoCs with an integrated switch, must be one of:
  16. "brcm,bcm53010-srab"
  17. "brcm,bcm53011-srab"
  18. "brcm,bcm53012-srab"
  19. "brcm,bcm53018-srab"
  20. "brcm,bcm53019-srab" and the mandatory "brcm,bcm5301x-srab" string
  21. For the BCM585xx/586XX/88312 SoCs with an integrated switch, must be one of:
  22. "brcm,bcm58522-srab"
  23. "brcm,bcm58523-srab"
  24. "brcm,bcm58525-srab"
  25. "brcm,bcm58622-srab"
  26. "brcm,bcm58623-srab"
  27. "brcm,bcm58625-srab"
  28. "brcm,bcm88312-srab" and the mandatory "brcm,nsp-srab string
  29. For the BCM63xx/33xx SoCs with an integrated switch, must be one of:
  30. "brcm,bcm3384-switch"
  31. "brcm,bcm6328-switch"
  32. "brcm,bcm6368-switch" and the mandatory "brcm,bcm63xx-switch"
  33. See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of additional
  34. required and optional properties.
  35. Examples:
  36. Ethernet switch connected via MDIO to the host, CPU port wired to eth0:
  37. eth0: ethernet@10001000 {
  38. compatible = "brcm,unimac";
  39. reg = <0x10001000 0x1000>;
  40. fixed-link {
  41. speed = <1000>;
  42. duplex-full;
  43. };
  44. };
  45. mdio0: mdio@10000000 {
  46. compatible = "brcm,unimac-mdio";
  47. #address-cells = <1>;
  48. #size-cells = <0>;
  49. switch0: ethernet-switch@30 {
  50. compatible = "brcm,bcm53125";
  51. #address-cells = <1>;
  52. #size-cells = <0>;
  53. ports {
  54. port0@0 {
  55. reg = <0>;
  56. label = "lan1";
  57. };
  58. port1@1 {
  59. reg = <1>;
  60. label = "lan2";
  61. };
  62. port5@5 {
  63. reg = <5>;
  64. label = "cable-modem";
  65. fixed-link {
  66. speed = <1000>;
  67. duplex-full;
  68. };
  69. phy-mode = "rgmii-txid";
  70. };
  71. port8@8 {
  72. reg = <8>;
  73. label = "cpu";
  74. fixed-link {
  75. speed = <1000>;
  76. duplex-full;
  77. };
  78. phy-mode = "rgmii-txid";
  79. ethernet = <&eth0>;
  80. };
  81. };
  82. };
  83. };