p1023si-post.dtsi 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. /*
  2. * P1023/P1017 Silicon/SoC Device Tree Source (post include)
  3. *
  4. * Copyright 2011 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. &lbc {
  35. #address-cells = <2>;
  36. #size-cells = <1>;
  37. compatible = "fsl,p1023-elbc", "fsl,elbc", "simple-bus";
  38. interrupts = <19 2 0 0>;
  39. };
  40. /* controller at 0xa000 */
  41. &pci0 {
  42. compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
  43. device_type = "pci";
  44. #size-cells = <2>;
  45. #address-cells = <3>;
  46. bus-range = <0x0 0xff>;
  47. clock-frequency = <33333333>;
  48. interrupts = <16 2 0 0>;
  49. pcie@0 {
  50. reg = <0 0 0 0 0>;
  51. #interrupt-cells = <1>;
  52. #size-cells = <2>;
  53. #address-cells = <3>;
  54. device_type = "pci";
  55. interrupts = <16 2 0 0>;
  56. };
  57. };
  58. /* controller at 0x9000 */
  59. &pci1 {
  60. compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
  61. device_type = "pci";
  62. #size-cells = <2>;
  63. #address-cells = <3>;
  64. bus-range = <0 0xff>;
  65. clock-frequency = <33333333>;
  66. interrupts = <16 2 0 0>;
  67. pcie@0 {
  68. reg = <0 0 0 0 0>;
  69. #interrupt-cells = <1>;
  70. #size-cells = <2>;
  71. #address-cells = <3>;
  72. device_type = "pci";
  73. interrupts = <16 2 0 0>;
  74. };
  75. };
  76. /* controller at 0xb000 */
  77. &pci2 {
  78. compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
  79. device_type = "pci";
  80. #size-cells = <2>;
  81. #address-cells = <3>;
  82. bus-range = <0x0 0xff>;
  83. clock-frequency = <33333333>;
  84. interrupts = <16 2 0 0>;
  85. pcie@0 {
  86. reg = <0 0 0 0 0>;
  87. #interrupt-cells = <1>;
  88. #size-cells = <2>;
  89. #address-cells = <3>;
  90. device_type = "pci";
  91. interrupts = <16 2 0 0>;
  92. };
  93. };
  94. &soc {
  95. #address-cells = <1>;
  96. #size-cells = <1>;
  97. device_type = "soc";
  98. compatible = "fsl,p1023-immr", "simple-bus";
  99. bus-frequency = <0>; // Filled out by uboot.
  100. ecm-law@0 {
  101. compatible = "fsl,ecm-law";
  102. reg = <0x0 0x1000>;
  103. fsl,num-laws = <12>;
  104. };
  105. ecm@1000 {
  106. compatible = "fsl,p1023-ecm", "fsl,ecm";
  107. reg = <0x1000 0x1000>;
  108. interrupts = <16 2 0 0>;
  109. };
  110. memory-controller@2000 {
  111. compatible = "fsl,p1023-memory-controller";
  112. reg = <0x2000 0x1000>;
  113. interrupts = <16 2 0 0>;
  114. };
  115. /include/ "pq3-i2c-0.dtsi"
  116. /include/ "pq3-i2c-1.dtsi"
  117. /include/ "pq3-duart-0.dtsi"
  118. /include/ "pq3-espi-0.dtsi"
  119. spi@7000 {
  120. fsl,espi-num-chipselects = <4>;
  121. };
  122. /include/ "pq3-gpio-0.dtsi"
  123. L2: l2-cache-controller@20000 {
  124. compatible = "fsl,p1023-l2-cache-controller";
  125. reg = <0x20000 0x1000>;
  126. cache-line-size = <32>; // 32 bytes
  127. cache-size = <0x40000>; // L2,256K
  128. interrupts = <16 2 0 0>;
  129. };
  130. /include/ "pq3-dma-0.dtsi"
  131. /include/ "pq3-usb2-dr-0.dtsi"
  132. usb@22000 {
  133. compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
  134. };
  135. crypto: crypto@300000 {
  136. compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
  137. #address-cells = <1>;
  138. #size-cells = <1>;
  139. reg = <0x30000 0x10000>;
  140. ranges = <0 0x30000 0x10000>;
  141. interrupts = <58 2 0 0>;
  142. sec_jr0: jr@1000 {
  143. compatible = "fsl,sec-v4.2-job-ring",
  144. "fsl,sec-v4.0-job-ring";
  145. reg = <0x1000 0x1000>;
  146. interrupts = <45 2 0 0>;
  147. };
  148. sec_jr1: jr@2000 {
  149. compatible = "fsl,sec-v4.2-job-ring",
  150. "fsl,sec-v4.0-job-ring";
  151. reg = <0x2000 0x1000>;
  152. interrupts = <45 2 0 0>;
  153. };
  154. sec_jr2: jr@3000 {
  155. compatible = "fsl,sec-v4.2-job-ring",
  156. "fsl,sec-v4.0-job-ring";
  157. reg = <0x3000 0x1000>;
  158. interrupts = <57 2 0 0>;
  159. };
  160. sec_jr3: jr@4000 {
  161. compatible = "fsl,sec-v4.2-job-ring",
  162. "fsl,sec-v4.0-job-ring";
  163. reg = <0x4000 0x1000>;
  164. interrupts = <57 2 0 0>;
  165. };
  166. rtic@6000 {
  167. compatible = "fsl,sec-v4.2-rtic",
  168. "fsl,sec-v4.0-rtic";
  169. #address-cells = <1>;
  170. #size-cells = <1>;
  171. reg = <0x6000 0x100>;
  172. ranges = <0x0 0x6100 0xe00>;
  173. rtic_a: rtic-a@0 {
  174. compatible = "fsl,sec-v4.2-rtic-memory",
  175. "fsl,sec-v4.0-rtic-memory";
  176. reg = <0x00 0x20 0x100 0x80>;
  177. };
  178. rtic_b: rtic-b@20 {
  179. compatible = "fsl,sec-v4.2-rtic-memory",
  180. "fsl,sec-v4.0-rtic-memory";
  181. reg = <0x20 0x20 0x200 0x80>;
  182. };
  183. rtic_c: rtic-c@40 {
  184. compatible = "fsl,sec-v4.2-rtic-memory",
  185. "fsl,sec-v4.0-rtic-memory";
  186. reg = <0x40 0x20 0x300 0x80>;
  187. };
  188. rtic_d: rtic-d@60 {
  189. compatible = "fsl,sec-v4.2-rtic-memory",
  190. "fsl,sec-v4.0-rtic-memory";
  191. reg = <0x60 0x20 0x500 0x80>;
  192. };
  193. };
  194. };
  195. /include/ "pq3-mpic.dtsi"
  196. /include/ "pq3-mpic-timer-B.dtsi"
  197. global-utilities@e0000 {
  198. compatible = "fsl,p1023-guts";
  199. reg = <0xe0000 0x1000>;
  200. fsl,has-rstcr;
  201. };
  202. };