t2080qds.dts 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. /*
  2. * T2080QDS Device Tree Source
  3. *
  4. * Copyright 2013 - 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/ "t208xsi-pre.dtsi"
  35. /include/ "t208xqds.dtsi"
  36. / {
  37. model = "fsl,T2080QDS";
  38. compatible = "fsl,T2080QDS";
  39. #address-cells = <2>;
  40. #size-cells = <2>;
  41. interrupt-parent = <&mpic>;
  42. aliases {
  43. emi1_slot1 = &t2080mdio2;
  44. emi1_slot2 = &t2080mdio3;
  45. emi1_slot3 = &t2080mdio4;
  46. };
  47. rio: rapidio@ffe0c0000 {
  48. reg = <0xf 0xfe0c0000 0 0x11000>;
  49. port1 {
  50. ranges = <0 0 0xc 0x20000000 0 0x10000000>;
  51. };
  52. port2 {
  53. ranges = <0 0 0xc 0x30000000 0 0x10000000>;
  54. };
  55. };
  56. };
  57. &soc {
  58. fman@400000 {
  59. ethernet@e0000 {
  60. phy-handle = <&phy_sgmii_s3_1e>;
  61. phy-connection-type = "xgmii";
  62. };
  63. ethernet@e2000 {
  64. phy-handle = <&phy_sgmii_s3_1f>;
  65. phy-connection-type = "xgmii";
  66. };
  67. ethernet@e4000 {
  68. phy-handle = <&rgmii_phy1>;
  69. phy-connection-type = "rgmii";
  70. };
  71. ethernet@e6000 {
  72. phy-handle = <&rgmii_phy2>;
  73. phy-connection-type = "rgmii";
  74. };
  75. ethernet@e8000 {
  76. phy-handle = <&phy_sgmii_s2_1e>;
  77. phy-connection-type = "sgmii";
  78. };
  79. ethernet@ea000 {
  80. phy-handle = <&phy_sgmii_s2_1d>;
  81. phy-connection-type = "sgmii";
  82. };
  83. ethernet@f0000 {
  84. phy-handle = <&phy_xaui_slot3>;
  85. phy-connection-type = "xgmii";
  86. };
  87. ethernet@f2000 {
  88. phy-handle = <&phy_sgmii_s3_1f>;
  89. phy-connection-type = "xgmii";
  90. };
  91. mdio@fd000 {
  92. phy_xaui_slot3: ethernet-phy@3 {
  93. compatible = "ethernet-phy-ieee802.3-c45";
  94. reg = <0x3>;
  95. };
  96. };
  97. };
  98. };
  99. &boardctrl {
  100. mdio-mux-emi1 {
  101. compatible = "mdio-mux-mmioreg", "mdio-mux";
  102. mdio-parent-bus = <&mdio0>;
  103. #address-cells = <1>;
  104. #size-cells = <0>;
  105. reg = <0x54 1>;
  106. mux-mask = <0xe0>;
  107. t2080mdio0: mdio@0 {
  108. #address-cells = <1>;
  109. #size-cells = <0>;
  110. reg = <0>;
  111. rgmii_phy1: ethernet-phy@1 {
  112. reg = <0x1>;
  113. };
  114. };
  115. t2080mdio1: mdio@20 {
  116. #address-cells = <1>;
  117. #size-cells = <0>;
  118. reg = <0x20>;
  119. rgmii_phy2: ethernet-phy@2 {
  120. reg = <0x2>;
  121. };
  122. };
  123. t2080mdio2: mdio@40 {
  124. #address-cells = <1>;
  125. #size-cells = <0>;
  126. reg = <0x40>;
  127. status = "disabled";
  128. phy_sgmii_s1_1c: ethernet-phy@1c {
  129. reg = <0x1c>;
  130. };
  131. phy_sgmii_s1_1d: ethernet-phy@1d {
  132. reg = <0x1d>;
  133. };
  134. phy_sgmii_s1_1e: ethernet-phy@1e {
  135. reg = <0x1e>;
  136. };
  137. phy_sgmii_s1_1f: ethernet-phy@1f {
  138. reg = <0x1f>;
  139. };
  140. };
  141. t2080mdio3: mdio@c0 {
  142. #address-cells = <1>;
  143. #size-cells = <0>;
  144. reg = <0xc0>;
  145. phy_sgmii_s2_1c: ethernet-phy@1c {
  146. reg = <0x1c>;
  147. };
  148. phy_sgmii_s2_1d: ethernet-phy@1d {
  149. reg = <0x1d>;
  150. };
  151. phy_sgmii_s2_1e: ethernet-phy@1e {
  152. reg = <0x1e>;
  153. };
  154. phy_sgmii_s2_1f: ethernet-phy@1f {
  155. reg = <0x1f>;
  156. };
  157. };
  158. t2080mdio4: mdio@60 {
  159. #address-cells = <1>;
  160. #size-cells = <0>;
  161. reg = <0x60>;
  162. status = "disabled";
  163. phy_sgmii_s3_1c: ethernet-phy@1c {
  164. reg = <0x1c>;
  165. };
  166. phy_sgmii_s3_1d: ethernet-phy@1d {
  167. reg = <0x1d>;
  168. };
  169. phy_sgmii_s3_1e: ethernet-phy@1e {
  170. reg = <0x1e>;
  171. };
  172. phy_sgmii_s3_1f: ethernet-phy@1f {
  173. reg = <0x1f>;
  174. };
  175. };
  176. };
  177. };
  178. /include/ "t2080si-post.dtsi"