armada-385-clearfog-gtr-l8.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2. #include "armada-385-clearfog-gtr.dtsi"
  3. / {
  4. model = "SolidRun Clearfog GTR L8";
  5. };
  6. &mdio {
  7. switch0: switch0@4 {
  8. compatible = "marvell,mv88e6190";
  9. reg = <4>;
  10. pinctrl-names = "default";
  11. pinctrl-0 = <&cf_gtr_switch_reset_pins>;
  12. reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
  13. ports {
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. port@1 {
  17. reg = <1>;
  18. label = "lan8";
  19. phy-handle = <&switch0phy0>;
  20. };
  21. port@2 {
  22. reg = <2>;
  23. label = "lan7";
  24. phy-handle = <&switch0phy1>;
  25. };
  26. port@3 {
  27. reg = <3>;
  28. label = "lan6";
  29. phy-handle = <&switch0phy2>;
  30. };
  31. port@4 {
  32. reg = <4>;
  33. label = "lan5";
  34. phy-handle = <&switch0phy3>;
  35. };
  36. port@5 {
  37. reg = <5>;
  38. label = "lan4";
  39. phy-handle = <&switch0phy4>;
  40. };
  41. port@6 {
  42. reg = <6>;
  43. label = "lan3";
  44. phy-handle = <&switch0phy5>;
  45. };
  46. port@7 {
  47. reg = <7>;
  48. label = "lan2";
  49. phy-handle = <&switch0phy6>;
  50. };
  51. port@8 {
  52. reg = <8>;
  53. label = "lan1";
  54. phy-handle = <&switch0phy7>;
  55. };
  56. port@10 {
  57. reg = <10>;
  58. label = "cpu";
  59. ethernet = <&eth1>;
  60. };
  61. };
  62. mdio {
  63. #address-cells = <1>;
  64. #size-cells = <0>;
  65. switch0phy0: switch0phy0@1 {
  66. reg = <0x1>;
  67. };
  68. switch0phy1: switch0phy1@2 {
  69. reg = <0x2>;
  70. };
  71. switch0phy2: switch0phy2@3 {
  72. reg = <0x3>;
  73. };
  74. switch0phy3: switch0phy3@4 {
  75. reg = <0x4>;
  76. };
  77. switch0phy4: switch0phy4@5 {
  78. reg = <0x5>;
  79. };
  80. switch0phy5: switch0phy5@6 {
  81. reg = <0x6>;
  82. };
  83. switch0phy6: switch0phy6@7 {
  84. reg = <0x7>;
  85. };
  86. switch0phy7: switch0phy7@8 {
  87. reg = <0x8>;
  88. };
  89. };
  90. };
  91. };