b4860emu.dts 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. /*
  2. * B4860 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
  32. * this 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,B4860";
  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>;
  57. fsl,portid-mapping = <0x80000000>;
  58. };
  59. cpu1: PowerPC,e6500@2 {
  60. device_type = "cpu";
  61. reg = <2 3>;
  62. next-level-cache = <&L2>;
  63. fsl,portid-mapping = <0x80000000>;
  64. };
  65. cpu2: PowerPC,e6500@4 {
  66. device_type = "cpu";
  67. reg = <4 5>;
  68. next-level-cache = <&L2>;
  69. fsl,portid-mapping = <0x80000000>;
  70. };
  71. cpu3: PowerPC,e6500@6 {
  72. device_type = "cpu";
  73. reg = <6 7>;
  74. next-level-cache = <&L2>;
  75. fsl,portid-mapping = <0x80000000>;
  76. };
  77. };
  78. };
  79. / {
  80. model = "fsl,B4860QDS";
  81. compatible = "fsl,B4860EMU", "fsl,B4860QDS";
  82. #address-cells = <2>;
  83. #size-cells = <2>;
  84. interrupt-parent = <&mpic>;
  85. ifc: localbus@ffe124000 {
  86. reg = <0xf 0xfe124000 0 0x2000>;
  87. ranges = <0 0 0xf 0xe8000000 0x08000000
  88. 2 0 0xf 0xff800000 0x00010000
  89. 3 0 0xf 0xffdf0000 0x00008000>;
  90. nor@0,0 {
  91. #address-cells = <1>;
  92. #size-cells = <1>;
  93. compatible = "cfi-flash";
  94. reg = <0x0 0x0 0x8000000>;
  95. bank-width = <2>;
  96. device-width = <1>;
  97. };
  98. };
  99. memory {
  100. device_type = "memory";
  101. };
  102. soc: soc@ffe000000 {
  103. ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
  104. reg = <0xf 0xfe000000 0 0x00001000>;
  105. };
  106. };
  107. &ifc {
  108. #address-cells = <2>;
  109. #size-cells = <1>;
  110. compatible = "fsl,ifc", "simple-bus";
  111. interrupts = <25 2 0 0>;
  112. };
  113. &soc {
  114. #address-cells = <1>;
  115. #size-cells = <1>;
  116. device_type = "soc";
  117. compatible = "simple-bus";
  118. soc-sram-error {
  119. compatible = "fsl,soc-sram-error";
  120. interrupts = <16 2 1 2>;
  121. };
  122. corenet-law@0 {
  123. compatible = "fsl,corenet-law";
  124. reg = <0x0 0x1000>;
  125. fsl,num-laws = <32>;
  126. };
  127. ddr1: memory-controller@8000 {
  128. compatible = "fsl,qoriq-memory-controller-v4.5", "fsl,qoriq-memory-controller";
  129. reg = <0x8000 0x1000>;
  130. interrupts = <16 2 1 8>;
  131. };
  132. ddr2: memory-controller@9000 {
  133. compatible = "fsl,qoriq-memory-controller-v4.5","fsl,qoriq-memory-controller";
  134. reg = <0x9000 0x1000>;
  135. interrupts = <16 2 1 9>;
  136. };
  137. cpc: l3-cache-controller@10000 {
  138. compatible = "fsl,b4-l3-cache-controller", "cache";
  139. reg = <0x10000 0x1000
  140. 0x11000 0x1000>;
  141. interrupts = <16 2 1 4>;
  142. };
  143. corenet-cf@18000 {
  144. compatible = "fsl,corenet2-cf", "fsl,corenet-cf";
  145. reg = <0x18000 0x1000>;
  146. interrupts = <16 2 1 0>;
  147. fsl,ccf-num-csdids = <32>;
  148. fsl,ccf-num-snoopids = <32>;
  149. };
  150. iommu@20000 {
  151. compatible = "fsl,pamu-v1.0", "fsl,pamu";
  152. reg = <0x20000 0x4000>;
  153. fsl,portid-mapping = <0x8000>;
  154. #address-cells = <1>;
  155. #size-cells = <1>;
  156. interrupts = <
  157. 24 2 0 0
  158. 16 2 1 1>;
  159. pamu0: pamu@0 {
  160. reg = <0 0x1000>;
  161. fsl,primary-cache-geometry = <8 1>;
  162. fsl,secondary-cache-geometry = <32 2>;
  163. };
  164. };
  165. /include/ "fsl/qoriq-mpic.dtsi"
  166. guts: global-utilities@e0000 {
  167. compatible = "fsl,b4-device-config";
  168. reg = <0xe0000 0xe00>;
  169. fsl,has-rstcr;
  170. fsl,liodn-bits = <12>;
  171. };
  172. clockgen: global-utilities@e1000 {
  173. compatible = "fsl,b4-clockgen", "fsl,qoriq-clockgen-2.0";
  174. reg = <0xe1000 0x1000>;
  175. };
  176. /include/ "fsl/qoriq-dma-0.dtsi"
  177. dma@100300 {
  178. fsl,iommu-parent = <&pamu0>;
  179. fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
  180. };
  181. /include/ "fsl/qoriq-dma-1.dtsi"
  182. dma@101300 {
  183. fsl,iommu-parent = <&pamu0>;
  184. fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
  185. };
  186. /include/ "fsl/qoriq-i2c-0.dtsi"
  187. /include/ "fsl/qoriq-i2c-1.dtsi"
  188. /include/ "fsl/qoriq-duart-0.dtsi"
  189. /include/ "fsl/qoriq-duart-1.dtsi"
  190. L2: l2-cache-controller@c20000 {
  191. compatible = "fsl,b4-l2-cache-controller";
  192. reg = <0xc20000 0x1000>;
  193. next-level-cache = <&cpc>;
  194. };
  195. };