mpc8548si-post.dtsi 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. /*
  2. * MPC8548 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,mpc8548-lbc", "fsl,pq3-localbus", "simple-bus";
  38. interrupts = <19 2 0 0>;
  39. };
  40. /* controller at 0x8000 */
  41. &pci0 {
  42. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  43. device_type = "pci";
  44. interrupts = <24 0x2 0 0>;
  45. bus-range = <0 0xff>;
  46. #interrupt-cells = <1>;
  47. #size-cells = <2>;
  48. #address-cells = <3>;
  49. };
  50. /* controller at 0x9000 */
  51. &pci1 {
  52. compatible = "fsl,mpc8540-pci";
  53. device_type = "pci";
  54. interrupts = <25 0x2 0 0>;
  55. bus-range = <0 0xff>;
  56. #interrupt-cells = <1>;
  57. #size-cells = <2>;
  58. #address-cells = <3>;
  59. };
  60. /* controller at 0xa000 */
  61. &pci2 {
  62. compatible = "fsl,mpc8548-pcie";
  63. device_type = "pci";
  64. #size-cells = <2>;
  65. #address-cells = <3>;
  66. bus-range = <0 255>;
  67. clock-frequency = <33333333>;
  68. interrupts = <26 2 0 0>;
  69. pcie@0 {
  70. reg = <0 0 0 0 0>;
  71. #interrupt-cells = <1>;
  72. #size-cells = <2>;
  73. #address-cells = <3>;
  74. device_type = "pci";
  75. interrupts = <26 2 0 0>;
  76. interrupt-map-mask = <0xf800 0 0 7>;
  77. interrupt-map = <
  78. /* IDSEL 0x0 */
  79. 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
  80. 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
  81. 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
  82. 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
  83. >;
  84. };
  85. };
  86. &rio {
  87. compatible = "fsl,srio";
  88. interrupts = <48 2 0 0>;
  89. #address-cells = <2>;
  90. #size-cells = <2>;
  91. fsl,srio-rmu-handle = <&rmu>;
  92. ranges;
  93. port1 {
  94. #address-cells = <2>;
  95. #size-cells = <2>;
  96. cell-index = <1>;
  97. };
  98. };
  99. &soc {
  100. #address-cells = <1>;
  101. #size-cells = <1>;
  102. device_type = "soc";
  103. compatible = "fsl,mpc8548-immr", "simple-bus";
  104. bus-frequency = <0>; // Filled out by uboot.
  105. ecm-law@0 {
  106. compatible = "fsl,ecm-law";
  107. reg = <0x0 0x1000>;
  108. fsl,num-laws = <10>;
  109. };
  110. ecm@1000 {
  111. compatible = "fsl,mpc8548-ecm", "fsl,ecm";
  112. reg = <0x1000 0x1000>;
  113. interrupts = <17 2 0 0>;
  114. };
  115. memory-controller@2000 {
  116. compatible = "fsl,mpc8548-memory-controller";
  117. reg = <0x2000 0x1000>;
  118. interrupts = <18 2 0 0>;
  119. };
  120. /include/ "pq3-i2c-0.dtsi"
  121. /include/ "pq3-i2c-1.dtsi"
  122. /include/ "pq3-duart-0.dtsi"
  123. L2: l2-cache-controller@20000 {
  124. compatible = "fsl,mpc8548-l2-cache-controller";
  125. reg = <0x20000 0x1000>;
  126. cache-line-size = <32>; // 32 bytes
  127. cache-size = <0x80000>; // L2, 512K
  128. interrupts = <16 2 0 0>;
  129. };
  130. /include/ "pq3-dma-0.dtsi"
  131. /include/ "pq3-etsec1-0.dtsi"
  132. /include/ "pq3-etsec1-1.dtsi"
  133. /include/ "pq3-etsec1-2.dtsi"
  134. /include/ "pq3-etsec1-3.dtsi"
  135. /include/ "pq3-sec2.1-0.dtsi"
  136. /include/ "pq3-mpic.dtsi"
  137. /include/ "pq3-rmu-0.dtsi"
  138. global-utilities@e0000 {
  139. compatible = "fsl,mpc8548-guts";
  140. reg = <0xe0000 0x1000>;
  141. fsl,has-rstcr;
  142. };
  143. };