b4si-post.dtsi 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. /*
  2. * B4420 Silicon/SoC Device Tree Source (post include)
  3. *
  4. * Copyright 2012 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. &ifc {
  35. #address-cells = <2>;
  36. #size-cells = <1>;
  37. compatible = "fsl,ifc", "simple-bus";
  38. interrupts = <25 2 0 0>;
  39. };
  40. /* controller at 0x200000 */
  41. &pci0 {
  42. compatible = "fsl,b4-pcie", "fsl,qoriq-pcie-v2.4";
  43. device_type = "pci";
  44. #size-cells = <2>;
  45. #address-cells = <3>;
  46. bus-range = <0x0 0xff>;
  47. interrupts = <20 2 0 0>;
  48. fsl,iommu-parent = <&pamu0>;
  49. pcie@0 {
  50. #interrupt-cells = <1>;
  51. #size-cells = <2>;
  52. #address-cells = <3>;
  53. device_type = "pci";
  54. interrupts = <20 2 0 0>;
  55. interrupt-map-mask = <0xf800 0 0 7>;
  56. interrupt-map = <
  57. /* IDSEL 0x0 */
  58. 0000 0 0 1 &mpic 40 1 0 0
  59. 0000 0 0 2 &mpic 1 1 0 0
  60. 0000 0 0 3 &mpic 2 1 0 0
  61. 0000 0 0 4 &mpic 3 1 0 0
  62. >;
  63. };
  64. };
  65. &dcsr {
  66. #address-cells = <1>;
  67. #size-cells = <1>;
  68. compatible = "fsl,dcsr", "simple-bus";
  69. dcsr-epu@0 {
  70. compatible = "fsl,b4-dcsr-epu", "fsl,dcsr-epu";
  71. interrupts = <52 2 0 0
  72. 84 2 0 0
  73. 85 2 0 0
  74. 94 2 0 0
  75. 95 2 0 0>;
  76. reg = <0x0 0x1000>;
  77. };
  78. dcsr-npc {
  79. compatible = "fsl,b4-dcsr-cnpc", "fsl,dcsr-cnpc";
  80. reg = <0x1000 0x1000 0x1002000 0x10000>;
  81. };
  82. dcsr-nxc@2000 {
  83. compatible = "fsl,dcsr-nxc";
  84. reg = <0x2000 0x1000>;
  85. };
  86. dcsr-corenet {
  87. compatible = "fsl,dcsr-corenet";
  88. reg = <0x8000 0x1000 0x1A000 0x1000>;
  89. };
  90. dcsr-dpaa@9000 {
  91. compatible = "fsl,b4-dcsr-dpaa", "fsl,dcsr-dpaa";
  92. reg = <0x9000 0x1000>;
  93. };
  94. dcsr-ocn@11000 {
  95. compatible = "fsl,b4-dcsr-ocn", "fsl,dcsr-ocn";
  96. reg = <0x11000 0x1000>;
  97. };
  98. dcsr-ddr@12000 {
  99. compatible = "fsl,dcsr-ddr";
  100. dev-handle = <&ddr1>;
  101. reg = <0x12000 0x1000>;
  102. };
  103. dcsr-nal@18000 {
  104. compatible = "fsl,b4-dcsr-nal", "fsl,dcsr-nal";
  105. reg = <0x18000 0x1000>;
  106. };
  107. dcsr-rcpm@22000 {
  108. compatible = "fsl,b4-dcsr-rcpm", "fsl,dcsr-rcpm";
  109. reg = <0x22000 0x1000>;
  110. };
  111. dcsr-snpc@30000 {
  112. compatible = "fsl,b4-dcsr-snpc", "fsl,dcsr-snpc";
  113. reg = <0x30000 0x1000 0x1022000 0x10000>;
  114. };
  115. dcsr-snpc@31000 {
  116. compatible = "fsl,b4-dcsr-snpc", "fsl,dcsr-snpc";
  117. reg = <0x31000 0x1000 0x1042000 0x10000>;
  118. };
  119. dcsr-cpu-sb-proxy@100000 {
  120. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  121. cpu-handle = <&cpu0>;
  122. reg = <0x100000 0x1000 0x101000 0x1000>;
  123. };
  124. };
  125. &soc {
  126. #address-cells = <1>;
  127. #size-cells = <1>;
  128. device_type = "soc";
  129. compatible = "simple-bus";
  130. soc-sram-error {
  131. compatible = "fsl,soc-sram-error";
  132. interrupts = <16 2 1 2>;
  133. };
  134. corenet-law@0 {
  135. compatible = "fsl,corenet-law";
  136. reg = <0x0 0x1000>;
  137. fsl,num-laws = <32>;
  138. };
  139. ddr1: memory-controller@8000 {
  140. compatible = "fsl,qoriq-memory-controller-v4.5", "fsl,qoriq-memory-controller";
  141. reg = <0x8000 0x1000>;
  142. interrupts = <16 2 1 8>;
  143. };
  144. cpc: l3-cache-controller@10000 {
  145. compatible = "fsl,b4-l3-cache-controller", "cache";
  146. reg = <0x10000 0x1000>;
  147. interrupts = <16 2 1 4>;
  148. };
  149. corenet-cf@18000 {
  150. compatible = "fsl,b4-corenet-cf";
  151. reg = <0x18000 0x1000>;
  152. interrupts = <16 2 1 0>;
  153. fsl,ccf-num-csdids = <32>;
  154. fsl,ccf-num-snoopids = <32>;
  155. };
  156. iommu@20000 {
  157. compatible = "fsl,pamu-v1.0", "fsl,pamu";
  158. reg = <0x20000 0x4000>;
  159. #address-cells = <1>;
  160. #size-cells = <1>;
  161. interrupts = <
  162. 24 2 0 0
  163. 16 2 1 1>;
  164. /* PCIe, DMA, SRIO */
  165. pamu0: pamu@0 {
  166. reg = <0 0x1000>;
  167. fsl,primary-cache-geometry = <8 1>;
  168. fsl,secondary-cache-geometry = <32 2>;
  169. };
  170. /* AXI2, Maple */
  171. pamu1: pamu@1000 {
  172. reg = <0x1000 0x1000>;
  173. fsl,primary-cache-geometry = <32 1>;
  174. fsl,secondary-cache-geometry = <32 2>;
  175. };
  176. /* Q/BMan */
  177. pamu2: pamu@2000 {
  178. reg = <0x2000 0x1000>;
  179. fsl,primary-cache-geometry = <32 1>;
  180. fsl,secondary-cache-geometry = <32 2>;
  181. };
  182. /* AXI1, FMAN */
  183. pamu3: pamu@3000 {
  184. reg = <0x3000 0x1000>;
  185. fsl,primary-cache-geometry = <32 1>;
  186. fsl,secondary-cache-geometry = <32 2>;
  187. };
  188. };
  189. /include/ "qoriq-mpic.dtsi"
  190. guts: global-utilities@e0000 {
  191. compatible = "fsl,b4-device-config";
  192. reg = <0xe0000 0xe00>;
  193. fsl,has-rstcr;
  194. fsl,liodn-bits = <12>;
  195. };
  196. clockgen: global-utilities@e1000 {
  197. compatible = "fsl,b4-clockgen", "fsl,qoriq-clockgen-2.0";
  198. reg = <0xe1000 0x1000>;
  199. };
  200. rcpm: global-utilities@e2000 {
  201. compatible = "fsl,b4-rcpm", "fsl,qoriq-rcpm-2.0";
  202. reg = <0xe2000 0x1000>;
  203. };
  204. /include/ "qoriq-dma-0.dtsi"
  205. dma@100300 {
  206. fsl,iommu-parent = <&pamu0>;
  207. fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
  208. };
  209. /include/ "qoriq-dma-1.dtsi"
  210. dma@101300 {
  211. fsl,iommu-parent = <&pamu0>;
  212. fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
  213. };
  214. /include/ "qonverge-usb2-dr-0.dtsi"
  215. usb0: usb@210000 {
  216. compatible = "fsl-usb2-dr-v2.4", "fsl-usb2-dr";
  217. fsl,iommu-parent = <&pamu1>;
  218. fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
  219. };
  220. /include/ "qoriq-espi-0.dtsi"
  221. spi@110000 {
  222. fsl,espi-num-chipselects = <4>;
  223. };
  224. /include/ "qoriq-esdhc-0.dtsi"
  225. sdhc@114000 {
  226. sdhci,auto-cmd12;
  227. fsl,iommu-parent = <&pamu1>;
  228. fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
  229. };
  230. /include/ "qoriq-i2c-0.dtsi"
  231. /include/ "qoriq-i2c-1.dtsi"
  232. /include/ "qoriq-duart-0.dtsi"
  233. /include/ "qoriq-duart-1.dtsi"
  234. /include/ "qoriq-sec5.3-0.dtsi"
  235. L2: l2-cache-controller@c20000 {
  236. compatible = "fsl,b4-l2-cache-controller";
  237. reg = <0xc20000 0x1000>;
  238. next-level-cache = <&cpc>;
  239. };
  240. };