t2081qds.dts 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. /*
  2. * T2081QDS 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,T2081QDS";
  38. compatible = "fsl,T2081QDS";
  39. #address-cells = <2>;
  40. #size-cells = <2>;
  41. interrupt-parent = <&mpic>;
  42. aliases {
  43. emi1_slot1 = &t2081mdio2;
  44. emi1_slot2 = &t2081mdio3;
  45. emi1_slot3 = &t2081mdio4;
  46. emi1_slot5 = &t2081mdio5;
  47. emi1_slot6 = &t2081mdio6;
  48. emi1_slot7 = &t2081mdio7;
  49. };
  50. };
  51. &soc {
  52. fman@400000 {
  53. ethernet@e0000 {
  54. phy-handle = <&phy_sgmii_s7_1c>;
  55. phy-connection-type = "sgmii";
  56. };
  57. ethernet@e2000 {
  58. phy-handle = <&phy_sgmii_s7_1d>;
  59. phy-connection-type = "sgmii";
  60. };
  61. ethernet@e4000 {
  62. phy-handle = <&rgmii_phy1>;
  63. phy-connection-type = "rgmii";
  64. };
  65. ethernet@e6000 {
  66. phy-handle = <&rgmii_phy2>;
  67. phy-connection-type = "rgmii";
  68. };
  69. ethernet@e8000 {
  70. phy-handle = <&phy_sgmii_s3_1c>;
  71. phy-connection-type = "sgmii";
  72. };
  73. ethernet@ea000 {
  74. phy-handle = <&phy_sgmii_s7_1f>;
  75. phy-connection-type = "sgmii";
  76. };
  77. ethernet@f0000 {
  78. phy-handle = <&phy_sgmii_s2_1c>;
  79. phy-connection-type = "xgmii";
  80. };
  81. ethernet@f2000 {
  82. phy-handle = <&phy_sgmii_s7_1e>;
  83. phy-connection-type = "xgmii";
  84. };
  85. };
  86. };
  87. &boardctrl {
  88. mdio-mux-emi1 {
  89. compatible = "mdio-mux-mmioreg", "mdio-mux";
  90. mdio-parent-bus = <&mdio0>;
  91. #address-cells = <1>;
  92. #size-cells = <0>;
  93. reg = <0x54 1>;
  94. mux-mask = <0xe0>;
  95. t2081mdio0: mdio@0 {
  96. #address-cells = <1>;
  97. #size-cells = <0>;
  98. reg = <0>;
  99. rgmii_phy1: ethernet-phy@1 {
  100. reg = <0x1>;
  101. };
  102. };
  103. t2081mdio1: mdio@20 {
  104. #address-cells = <1>;
  105. #size-cells = <0>;
  106. reg = <0x20>;
  107. rgmii_phy2: ethernet-phy@2 {
  108. reg = <0x2>;
  109. };
  110. };
  111. t2081mdio2: mdio@40 {
  112. #address-cells = <1>;
  113. #size-cells = <0>;
  114. reg = <0x40>;
  115. phy_sgmii_s1_1c: ethernet-phy@1c {
  116. reg = <0x1c>;
  117. };
  118. phy_sgmii_s1_1d: ethernet-phy@1d {
  119. reg = <0x1d>;
  120. };
  121. phy_sgmii_s1_1e: ethernet-phy@1e {
  122. reg = <0x1e>;
  123. };
  124. phy_sgmii_s1_1f: ethernet-phy@1f {
  125. reg = <0x1f>;
  126. };
  127. };
  128. t2081mdio3: mdio@60 {
  129. #address-cells = <1>;
  130. #size-cells = <0>;
  131. reg = <0x60>;
  132. phy_sgmii_s2_1c: ethernet-phy@1c {
  133. reg = <0x1c>;
  134. };
  135. phy_sgmii_s2_1d: ethernet-phy@1d {
  136. reg = <0x1d>;
  137. };
  138. phy_sgmii_s2_1e: ethernet-phy@1e {
  139. reg = <0x1e>;
  140. };
  141. phy_sgmii_s2_1f: ethernet-phy@1f {
  142. reg = <0x1f>;
  143. };
  144. };
  145. t2081mdio4: mdio@80 {
  146. #address-cells = <1>;
  147. #size-cells = <0>;
  148. reg = <0x80>;
  149. status = "disabled";
  150. phy_sgmii_s3_1c: ethernet-phy@1c {
  151. reg = <0x1c>;
  152. };
  153. phy_sgmii_s3_1d: ethernet-phy@1d {
  154. reg = <0x1d>;
  155. };
  156. phy_sgmii_s3_1e: ethernet-phy@1e {
  157. reg = <0x1e>;
  158. };
  159. phy_sgmii_s3_1f: ethernet-phy@1f {
  160. reg = <0x1f>;
  161. };
  162. };
  163. t2081mdio5: mdio@a0 {
  164. #address-cells = <1>;
  165. #size-cells = <0>;
  166. reg = <0xa0>;
  167. status = "disabled";
  168. phy_sgmii_s5_1c: ethernet-phy@1c {
  169. reg = <0x1c>;
  170. };
  171. phy_sgmii_s5_1d: ethernet-phy@1d {
  172. reg = <0x1d>;
  173. };
  174. phy_sgmii_s5_1e: ethernet-phy@1e {
  175. reg = <0x1e>;
  176. };
  177. phy_sgmii_s5_1f: ethernet-phy@1f {
  178. reg = <0x1f>;
  179. };
  180. };
  181. t2081mdio6: mdio@c0 {
  182. #address-cells = <1>;
  183. #size-cells = <0>;
  184. reg = <0xc0>;
  185. status = "disabled";
  186. phy_sgmii_s6_1c: ethernet-phy@1c {
  187. reg = <0x1c>;
  188. };
  189. phy_sgmii_s6_1d: ethernet-phy@1d {
  190. reg = <0x1d>;
  191. };
  192. phy_sgmii_s6_1e: ethernet-phy@1e {
  193. reg = <0x1e>;
  194. };
  195. phy_sgmii_s6_1f: ethernet-phy@1f {
  196. reg = <0x1f>;
  197. };
  198. };
  199. t2081mdio7: mdio@e0 {
  200. #address-cells = <1>;
  201. #size-cells = <0>;
  202. reg = <0xe0>;
  203. phy_sgmii_s7_1c: ethernet-phy@1c {
  204. reg = <0x1c>;
  205. };
  206. phy_sgmii_s7_1d: ethernet-phy@1d {
  207. reg = <0x1d>;
  208. };
  209. phy_sgmii_s7_1e: ethernet-phy@1e {
  210. reg = <0x1e>;
  211. };
  212. phy_sgmii_s7_1f: ethernet-phy@1f {
  213. reg = <0x1f>;
  214. };
  215. };
  216. };
  217. };
  218. /include/ "t2081si-post.dtsi"