t4240si-pre.dtsi 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /*
  2. * T4240 Silicon/SoC Device Tree Source (pre include)
  3. *
  4. * Copyright 2012 - 2015 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/ "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. dcsr = &dcsr;
  44. serial0 = &serial0;
  45. serial1 = &serial1;
  46. serial2 = &serial2;
  47. serial3 = &serial3;
  48. crypto = &crypto;
  49. pci0 = &pci0;
  50. pci1 = &pci1;
  51. pci2 = &pci2;
  52. pci3 = &pci3;
  53. usb0 = &usb0;
  54. usb1 = &usb1;
  55. dma0 = &dma0;
  56. dma1 = &dma1;
  57. dma2 = &dma2;
  58. sdhc = &sdhc;
  59. fman0 = &fman0;
  60. fman1 = &fman1;
  61. ethernet0 = &enet0;
  62. ethernet1 = &enet1;
  63. ethernet2 = &enet2;
  64. ethernet3 = &enet3;
  65. ethernet4 = &enet4;
  66. ethernet5 = &enet5;
  67. ethernet6 = &enet6;
  68. ethernet7 = &enet7;
  69. ethernet8 = &enet8;
  70. ethernet9 = &enet9;
  71. ethernet10 = &enet10;
  72. ethernet11 = &enet11;
  73. ethernet12 = &enet12;
  74. ethernet13 = &enet13;
  75. ethernet14 = &enet14;
  76. ethernet15 = &enet15;
  77. };
  78. cpus {
  79. #address-cells = <1>;
  80. #size-cells = <0>;
  81. cpu0: PowerPC,e6500@0 {
  82. device_type = "cpu";
  83. reg = <0 1>;
  84. clocks = <&clockgen 1 0>;
  85. next-level-cache = <&L2_1>;
  86. fsl,portid-mapping = <0x80000000>;
  87. };
  88. cpu1: PowerPC,e6500@2 {
  89. device_type = "cpu";
  90. reg = <2 3>;
  91. clocks = <&clockgen 1 0>;
  92. next-level-cache = <&L2_1>;
  93. fsl,portid-mapping = <0x80000000>;
  94. };
  95. cpu2: PowerPC,e6500@4 {
  96. device_type = "cpu";
  97. reg = <4 5>;
  98. clocks = <&clockgen 1 0>;
  99. next-level-cache = <&L2_1>;
  100. fsl,portid-mapping = <0x80000000>;
  101. };
  102. cpu3: PowerPC,e6500@6 {
  103. device_type = "cpu";
  104. reg = <6 7>;
  105. clocks = <&clockgen 1 0>;
  106. next-level-cache = <&L2_1>;
  107. fsl,portid-mapping = <0x80000000>;
  108. };
  109. cpu4: PowerPC,e6500@8 {
  110. device_type = "cpu";
  111. reg = <8 9>;
  112. clocks = <&clockgen 1 1>;
  113. next-level-cache = <&L2_2>;
  114. fsl,portid-mapping = <0x40000000>;
  115. };
  116. cpu5: PowerPC,e6500@10 {
  117. device_type = "cpu";
  118. reg = <10 11>;
  119. clocks = <&clockgen 1 1>;
  120. next-level-cache = <&L2_2>;
  121. fsl,portid-mapping = <0x40000000>;
  122. };
  123. cpu6: PowerPC,e6500@12 {
  124. device_type = "cpu";
  125. reg = <12 13>;
  126. clocks = <&clockgen 1 1>;
  127. next-level-cache = <&L2_2>;
  128. fsl,portid-mapping = <0x40000000>;
  129. };
  130. cpu7: PowerPC,e6500@14 {
  131. device_type = "cpu";
  132. reg = <14 15>;
  133. clocks = <&clockgen 1 1>;
  134. next-level-cache = <&L2_2>;
  135. fsl,portid-mapping = <0x40000000>;
  136. };
  137. cpu8: PowerPC,e6500@16 {
  138. device_type = "cpu";
  139. reg = <16 17>;
  140. clocks = <&clockgen 1 2>;
  141. next-level-cache = <&L2_3>;
  142. fsl,portid-mapping = <0x20000000>;
  143. };
  144. cpu9: PowerPC,e6500@18 {
  145. device_type = "cpu";
  146. reg = <18 19>;
  147. clocks = <&clockgen 1 2>;
  148. next-level-cache = <&L2_3>;
  149. fsl,portid-mapping = <0x20000000>;
  150. };
  151. cpu10: PowerPC,e6500@20 {
  152. device_type = "cpu";
  153. reg = <20 21>;
  154. clocks = <&clockgen 1 2>;
  155. next-level-cache = <&L2_3>;
  156. fsl,portid-mapping = <0x20000000>;
  157. };
  158. cpu11: PowerPC,e6500@22 {
  159. device_type = "cpu";
  160. reg = <22 23>;
  161. clocks = <&clockgen 1 2>;
  162. next-level-cache = <&L2_3>;
  163. fsl,portid-mapping = <0x20000000>;
  164. };
  165. };
  166. };