t4240emu.dts 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. /*
  2. * T4240 emulator Device Tree Source
  3. *
  4. * Copyright 2013 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. /dts-v1/;
  35. /include/ "fsl/e6500_power_isa.dtsi"
  36. / {
  37. compatible = "fsl,T4240";
  38. #address-cells = <2>;
  39. #size-cells = <2>;
  40. interrupt-parent = <&mpic>;
  41. aliases {
  42. ccsr = &soc;
  43. serial0 = &serial0;
  44. serial1 = &serial1;
  45. serial2 = &serial2;
  46. serial3 = &serial3;
  47. dma0 = &dma0;
  48. dma1 = &dma1;
  49. };
  50. cpus {
  51. #address-cells = <1>;
  52. #size-cells = <0>;
  53. cpu0: PowerPC,e6500@0 {
  54. device_type = "cpu";
  55. reg = <0 1>;
  56. next-level-cache = <&L2_1>;
  57. };
  58. cpu1: PowerPC,e6500@2 {
  59. device_type = "cpu";
  60. reg = <2 3>;
  61. next-level-cache = <&L2_1>;
  62. };
  63. cpu2: PowerPC,e6500@4 {
  64. device_type = "cpu";
  65. reg = <4 5>;
  66. next-level-cache = <&L2_1>;
  67. };
  68. cpu3: PowerPC,e6500@6 {
  69. device_type = "cpu";
  70. reg = <6 7>;
  71. next-level-cache = <&L2_1>;
  72. };
  73. cpu4: PowerPC,e6500@8 {
  74. device_type = "cpu";
  75. reg = <8 9>;
  76. next-level-cache = <&L2_2>;
  77. };
  78. cpu5: PowerPC,e6500@10 {
  79. device_type = "cpu";
  80. reg = <10 11>;
  81. next-level-cache = <&L2_2>;
  82. };
  83. cpu6: PowerPC,e6500@12 {
  84. device_type = "cpu";
  85. reg = <12 13>;
  86. next-level-cache = <&L2_2>;
  87. };
  88. cpu7: PowerPC,e6500@14 {
  89. device_type = "cpu";
  90. reg = <14 15>;
  91. next-level-cache = <&L2_2>;
  92. };
  93. cpu8: PowerPC,e6500@16 {
  94. device_type = "cpu";
  95. reg = <16 17>;
  96. next-level-cache = <&L2_3>;
  97. };
  98. cpu9: PowerPC,e6500@18 {
  99. device_type = "cpu";
  100. reg = <18 19>;
  101. next-level-cache = <&L2_3>;
  102. };
  103. cpu10: PowerPC,e6500@20 {
  104. device_type = "cpu";
  105. reg = <20 21>;
  106. next-level-cache = <&L2_3>;
  107. };
  108. cpu11: PowerPC,e6500@22 {
  109. device_type = "cpu";
  110. reg = <22 23>;
  111. next-level-cache = <&L2_3>;
  112. };
  113. };
  114. };
  115. / {
  116. model = "fsl,T4240QDS";
  117. compatible = "fsl,T4240EMU", "fsl,T4240QDS";
  118. #address-cells = <2>;
  119. #size-cells = <2>;
  120. interrupt-parent = <&mpic>;
  121. ifc: localbus@ffe124000 {
  122. reg = <0xf 0xfe124000 0 0x2000>;
  123. ranges = <0 0 0xf 0xe8000000 0x08000000
  124. 2 0 0xf 0xff800000 0x00010000
  125. 3 0 0xf 0xffdf0000 0x00008000>;
  126. nor@0,0 {
  127. #address-cells = <1>;
  128. #size-cells = <1>;
  129. compatible = "cfi-flash";
  130. reg = <0x0 0x0 0x8000000>;
  131. bank-width = <2>;
  132. device-width = <1>;
  133. };
  134. };
  135. memory {
  136. device_type = "memory";
  137. };
  138. soc: soc@ffe000000 {
  139. ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
  140. reg = <0xf 0xfe000000 0 0x00001000>;
  141. };
  142. };
  143. &ifc {
  144. #address-cells = <2>;
  145. #size-cells = <1>;
  146. compatible = "fsl,ifc", "simple-bus";
  147. interrupts = <25 2 0 0>;
  148. };
  149. &soc {
  150. #address-cells = <1>;
  151. #size-cells = <1>;
  152. device_type = "soc";
  153. compatible = "simple-bus";
  154. soc-sram-error {
  155. compatible = "fsl,soc-sram-error";
  156. interrupts = <16 2 1 29>;
  157. };
  158. corenet-law@0 {
  159. compatible = "fsl,corenet-law";
  160. reg = <0x0 0x1000>;
  161. fsl,num-laws = <32>;
  162. };
  163. ddr1: memory-controller@8000 {
  164. compatible = "fsl,qoriq-memory-controller-v4.7",
  165. "fsl,qoriq-memory-controller";
  166. reg = <0x8000 0x1000>;
  167. interrupts = <16 2 1 23>;
  168. };
  169. ddr2: memory-controller@9000 {
  170. compatible = "fsl,qoriq-memory-controller-v4.7",
  171. "fsl,qoriq-memory-controller";
  172. reg = <0x9000 0x1000>;
  173. interrupts = <16 2 1 22>;
  174. };
  175. ddr3: memory-controller@a000 {
  176. compatible = "fsl,qoriq-memory-controller-v4.7",
  177. "fsl,qoriq-memory-controller";
  178. reg = <0xa000 0x1000>;
  179. interrupts = <16 2 1 21>;
  180. };
  181. cpc: l3-cache-controller@10000 {
  182. compatible = "fsl,t4240-l3-cache-controller", "cache";
  183. reg = <0x10000 0x1000
  184. 0x11000 0x1000
  185. 0x12000 0x1000>;
  186. interrupts = <16 2 1 27
  187. 16 2 1 26
  188. 16 2 1 25>;
  189. };
  190. corenet-cf@18000 {
  191. compatible = "fsl,corenet-cf";
  192. reg = <0x18000 0x1000>;
  193. interrupts = <16 2 1 31>;
  194. fsl,ccf-num-csdids = <32>;
  195. fsl,ccf-num-snoopids = <32>;
  196. };
  197. iommu@20000 {
  198. compatible = "fsl,pamu-v1.0", "fsl,pamu";
  199. reg = <0x20000 0x6000>;
  200. interrupts = <
  201. 24 2 0 0
  202. 16 2 1 30>;
  203. };
  204. /include/ "fsl/qoriq-mpic.dtsi"
  205. guts: global-utilities@e0000 {
  206. compatible = "fsl,t4240-device-config", "fsl,qoriq-device-config-2.0";
  207. reg = <0xe0000 0xe00>;
  208. fsl,has-rstcr;
  209. fsl,liodn-bits = <12>;
  210. };
  211. clockgen: global-utilities@e1000 {
  212. compatible = "fsl,t4240-clockgen", "fsl,qoriq-clockgen-2.0";
  213. reg = <0xe1000 0x1000>;
  214. };
  215. /include/ "fsl/qoriq-dma-0.dtsi"
  216. /include/ "fsl/qoriq-dma-1.dtsi"
  217. /include/ "fsl/qoriq-i2c-0.dtsi"
  218. /include/ "fsl/qoriq-i2c-1.dtsi"
  219. /include/ "fsl/qoriq-duart-0.dtsi"
  220. /include/ "fsl/qoriq-duart-1.dtsi"
  221. L2_1: l2-cache-controller@c20000 {
  222. compatible = "fsl,t4240-l2-cache-controller";
  223. reg = <0xc20000 0x40000>;
  224. next-level-cache = <&cpc>;
  225. };
  226. L2_2: l2-cache-controller@c60000 {
  227. compatible = "fsl,t4240-l2-cache-controller";
  228. reg = <0xc60000 0x40000>;
  229. next-level-cache = <&cpc>;
  230. };
  231. L2_3: l2-cache-controller@ca0000 {
  232. compatible = "fsl,t4240-l2-cache-controller";
  233. reg = <0xca0000 0x40000>;
  234. next-level-cache = <&cpc>;
  235. };
  236. };