t104xrdb.dtsi 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. /*
  2. * T1040RDB/T1042RDB 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. / {
  35. aliases {
  36. phy_rgmii_0 = &phy_rgmii_0;
  37. phy_rgmii_1 = &phy_rgmii_1;
  38. phy_sgmii_2 = &phy_sgmii_2;
  39. };
  40. reserved-memory {
  41. #address-cells = <2>;
  42. #size-cells = <2>;
  43. ranges;
  44. bman_fbpr: bman-fbpr {
  45. size = <0 0x1000000>;
  46. alignment = <0 0x1000000>;
  47. };
  48. qman_fqd: qman-fqd {
  49. size = <0 0x400000>;
  50. alignment = <0 0x400000>;
  51. };
  52. qman_pfdr: qman-pfdr {
  53. size = <0 0x2000000>;
  54. alignment = <0 0x2000000>;
  55. };
  56. };
  57. ifc: localbus@ffe124000 {
  58. reg = <0xf 0xfe124000 0 0x2000>;
  59. ranges = <0 0 0xf 0xe8000000 0x08000000
  60. 2 0 0xf 0xff800000 0x00010000
  61. 3 0 0xf 0xffdf0000 0x00008000>;
  62. nor@0,0 {
  63. #address-cells = <1>;
  64. #size-cells = <1>;
  65. compatible = "cfi-flash";
  66. reg = <0x0 0x0 0x8000000>;
  67. bank-width = <2>;
  68. device-width = <1>;
  69. };
  70. nand@2,0 {
  71. #address-cells = <1>;
  72. #size-cells = <1>;
  73. compatible = "fsl,ifc-nand";
  74. reg = <0x2 0x0 0x10000>;
  75. };
  76. cpld@3,0 {
  77. reg = <3 0 0x300>;
  78. };
  79. };
  80. memory {
  81. device_type = "memory";
  82. };
  83. dcsr: dcsr@f00000000 {
  84. ranges = <0x00000000 0xf 0x00000000 0x01072000>;
  85. };
  86. bportals: bman-portals@ff4000000 {
  87. ranges = <0x0 0xf 0xf4000000 0x2000000>;
  88. };
  89. qportals: qman-portals@ff6000000 {
  90. ranges = <0x0 0xf 0xf6000000 0x2000000>;
  91. };
  92. soc: soc@ffe000000 {
  93. ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
  94. reg = <0xf 0xfe000000 0 0x00001000>;
  95. spi@110000 {
  96. flash@0 {
  97. #address-cells = <1>;
  98. #size-cells = <1>;
  99. compatible = "micron,n25q512ax3", "jedec,spi-nor";
  100. reg = <0>;
  101. spi-max-frequency = <10000000>; /* input clock */
  102. };
  103. slic@3 {
  104. compatible = "maxim,ds26522";
  105. reg = <3>;
  106. spi-max-frequency = <2000000>; /* input clock */
  107. };
  108. };
  109. i2c@118000 {
  110. adt7461@4c {
  111. compatible = "adi,adt7461";
  112. reg = <0x4c>;
  113. };
  114. };
  115. i2c@118100 {
  116. pca9546@77 {
  117. compatible = "nxp,pca9546";
  118. reg = <0x77>;
  119. #address-cells = <1>;
  120. #size-cells = <0>;
  121. };
  122. };
  123. fman@400000 {
  124. ethernet@e6000 {
  125. phy-handle = <&phy_rgmii_0>;
  126. phy-connection-type = "rgmii";
  127. };
  128. ethernet@e8000 {
  129. phy-handle = <&phy_rgmii_1>;
  130. phy-connection-type = "rgmii";
  131. };
  132. mdio0: mdio@fc000 {
  133. phy_sgmii_2: ethernet-phy@03 {
  134. reg = <0x03>;
  135. };
  136. phy_rgmii_0: ethernet-phy@01 {
  137. reg = <0x01>;
  138. };
  139. phy_rgmii_1: ethernet-phy@02 {
  140. reg = <0x02>;
  141. };
  142. };
  143. };
  144. };
  145. pci0: pcie@ffe240000 {
  146. reg = <0xf 0xfe240000 0 0x10000>;
  147. ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x10000000
  148. 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
  149. pcie@0 {
  150. ranges = <0x02000000 0 0xe0000000
  151. 0x02000000 0 0xe0000000
  152. 0 0x10000000
  153. 0x01000000 0 0x00000000
  154. 0x01000000 0 0x00000000
  155. 0 0x00010000>;
  156. };
  157. };
  158. pci1: pcie@ffe250000 {
  159. reg = <0xf 0xfe250000 0 0x10000>;
  160. ranges = <0x02000000 0x0 0xe0000000 0xc 0x10000000 0x0 0x10000000
  161. 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>;
  162. pcie@0 {
  163. ranges = <0x02000000 0 0xe0000000
  164. 0x02000000 0 0xe0000000
  165. 0 0x10000000
  166. 0x01000000 0 0x00000000
  167. 0x01000000 0 0x00000000
  168. 0 0x00010000>;
  169. };
  170. };
  171. pci2: pcie@ffe260000 {
  172. reg = <0xf 0xfe260000 0 0x10000>;
  173. ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000
  174. 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
  175. pcie@0 {
  176. ranges = <0x02000000 0 0xe0000000
  177. 0x02000000 0 0xe0000000
  178. 0 0x10000000
  179. 0x01000000 0 0x00000000
  180. 0x01000000 0 0x00000000
  181. 0 0x00010000>;
  182. };
  183. };
  184. pci3: pcie@ffe270000 {
  185. reg = <0xf 0xfe270000 0 0x10000>;
  186. ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000
  187. 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>;
  188. pcie@0 {
  189. ranges = <0x02000000 0 0xe0000000
  190. 0x02000000 0 0xe0000000
  191. 0 0x10000000
  192. 0x01000000 0 0x00000000
  193. 0x01000000 0 0x00000000
  194. 0 0x00010000>;
  195. };
  196. };
  197. qe: qe@ffe140000 {
  198. ranges = <0x0 0xf 0xfe140000 0x40000>;
  199. reg = <0xf 0xfe140000 0 0x480>;
  200. brg-frequency = <0>;
  201. bus-frequency = <0>;
  202. si1: si@700 {
  203. compatible = "fsl,t1040-qe-si";
  204. reg = <0x700 0x80>;
  205. };
  206. siram1: siram@1000 {
  207. compatible = "fsl,t1040-qe-siram";
  208. reg = <0x1000 0x800>;
  209. };
  210. ucc_hdlc: ucc@2000 {
  211. compatible = "fsl,ucc-hdlc";
  212. rx-clock-name = "clk8";
  213. tx-clock-name = "clk9";
  214. fsl,rx-sync-clock = "rsync_pin";
  215. fsl,tx-sync-clock = "tsync_pin";
  216. fsl,tx-timeslot-mask = <0xfffffffe>;
  217. fsl,rx-timeslot-mask = <0xfffffffe>;
  218. fsl,tdm-framer-type = "e1";
  219. fsl,tdm-id = <0>;
  220. fsl,siram-entry-id = <0>;
  221. fsl,tdm-interface;
  222. };
  223. ucc_serial: ucc@2200 {
  224. compatible = "fsl,t1040-ucc-uart";
  225. port-number = <0>;
  226. rx-clock-name = "brg2";
  227. tx-clock-name = "brg2";
  228. };
  229. };
  230. };