t1040rdb.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. /*
  2. * T1040RDB Device Tree Source
  3. *
  4. * Copyright 2014 - 2015 Freescale Semiconductor Inc.
  5. *
  6. * Redistribution and use in source and binary forms, with or without
  7. * modification, are permitted provided that the following conditions are met:
  8. * * Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. * * Redistributions in binary form must reproduce the above copyright
  11. * notice, this list of conditions and the following disclaimer in the
  12. * documentation and/or other materials provided with the distribution.
  13. * * Neither the name of Freescale Semiconductor nor the
  14. * names of its contributors may be used to endorse or promote products
  15. * derived from this software without specific prior written permission.
  16. *
  17. *
  18. * ALTERNATIVELY, this software may be distributed under the terms of the
  19. * GNU General Public License ("GPL") as published by the Free Software
  20. * Foundation, either version 2 of that License or (at your option) any
  21. * later version.
  22. *
  23. * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
  24. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  25. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  26. * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
  27. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  28. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  29. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  30. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  31. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  32. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33. */
  34. /include/ "t104xsi-pre.dtsi"
  35. /include/ "t104xrdb.dtsi"
  36. / {
  37. model = "fsl,T1040RDB";
  38. compatible = "fsl,T1040RDB";
  39. aliases {
  40. phy_sgmii_2 = &phy_sgmii_2;
  41. };
  42. soc@ffe000000 {
  43. fman@400000 {
  44. ethernet@e0000 {
  45. fixed-link = <0 1 1000 0 0>;
  46. phy-connection-type = "sgmii";
  47. };
  48. ethernet@e2000 {
  49. fixed-link = <1 1 1000 0 0>;
  50. phy-connection-type = "sgmii";
  51. };
  52. ethernet@e4000 {
  53. phy-handle = <&phy_sgmii_2>;
  54. phy-connection-type = "sgmii";
  55. };
  56. mdio@fc000 {
  57. phy_sgmii_2: ethernet-phy@3 {
  58. reg = <0x03>;
  59. };
  60. /* VSC8514 QSGMII PHY */
  61. phy_qsgmii_0: ethernet-phy@4 {
  62. reg = <0x4>;
  63. };
  64. phy_qsgmii_1: ethernet-phy@5 {
  65. reg = <0x5>;
  66. };
  67. phy_qsgmii_2: ethernet-phy@6 {
  68. reg = <0x6>;
  69. };
  70. phy_qsgmii_3: ethernet-phy@7 {
  71. reg = <0x7>;
  72. };
  73. /* VSC8514 QSGMII PHY */
  74. phy_qsgmii_4: ethernet-phy@8 {
  75. reg = <0x8>;
  76. };
  77. phy_qsgmii_5: ethernet-phy@9 {
  78. reg = <0x9>;
  79. };
  80. phy_qsgmii_6: ethernet-phy@a {
  81. reg = <0xa>;
  82. };
  83. phy_qsgmii_7: ethernet-phy@b {
  84. reg = <0xb>;
  85. };
  86. };
  87. };
  88. };
  89. ifc: localbus@ffe124000 {
  90. cpld@3,0 {
  91. compatible = "fsl,t1040rdb-cpld";
  92. };
  93. };
  94. };
  95. #include "t1040si-post.dtsi"
  96. &seville_switch {
  97. status = "okay";
  98. };
  99. &seville_port0 {
  100. managed = "in-band-status";
  101. phy-handle = <&phy_qsgmii_0>;
  102. phy-mode = "qsgmii";
  103. label = "ETH3";
  104. status = "okay";
  105. };
  106. &seville_port1 {
  107. managed = "in-band-status";
  108. phy-handle = <&phy_qsgmii_1>;
  109. phy-mode = "qsgmii";
  110. label = "ETH4";
  111. status = "okay";
  112. };
  113. &seville_port2 {
  114. managed = "in-band-status";
  115. phy-handle = <&phy_qsgmii_2>;
  116. phy-mode = "qsgmii";
  117. label = "ETH5";
  118. status = "okay";
  119. };
  120. &seville_port3 {
  121. managed = "in-band-status";
  122. phy-handle = <&phy_qsgmii_3>;
  123. phy-mode = "qsgmii";
  124. label = "ETH6";
  125. status = "okay";
  126. };
  127. &seville_port4 {
  128. managed = "in-band-status";
  129. phy-handle = <&phy_qsgmii_4>;
  130. phy-mode = "qsgmii";
  131. label = "ETH7";
  132. status = "okay";
  133. };
  134. &seville_port5 {
  135. managed = "in-band-status";
  136. phy-handle = <&phy_qsgmii_5>;
  137. phy-mode = "qsgmii";
  138. label = "ETH8";
  139. status = "okay";
  140. };
  141. &seville_port6 {
  142. managed = "in-band-status";
  143. phy-handle = <&phy_qsgmii_6>;
  144. phy-mode = "qsgmii";
  145. label = "ETH9";
  146. status = "okay";
  147. };
  148. &seville_port7 {
  149. managed = "in-band-status";
  150. phy-handle = <&phy_qsgmii_7>;
  151. phy-mode = "qsgmii";
  152. label = "ETH10";
  153. status = "okay";
  154. };
  155. &seville_port8 {
  156. ethernet = <&enet0>;
  157. status = "okay";
  158. };