ksi8560.dts 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. /*
  2. * Device Tree Source for Emerson KSI8560
  3. *
  4. * Author: Alexandr Smirnov <asmirnov@ru.mvista.com>
  5. *
  6. * Based on mpc8560ads.dts
  7. *
  8. * 2008 (c) MontaVista, Software, Inc. This file is licensed under
  9. * the terms of the GNU General Public License version 2. This program
  10. * is licensed "as is" without any warranty of any kind, whether express
  11. * or implied.
  12. *
  13. */
  14. /dts-v1/;
  15. / {
  16. model = "KSI8560";
  17. compatible = "emerson,KSI8560";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. aliases {
  21. ethernet0 = &enet0;
  22. ethernet1 = &enet1;
  23. ethernet2 = &enet2;
  24. };
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. PowerPC,8560@0 {
  29. device_type = "cpu";
  30. reg = <0>;
  31. d-cache-line-size = <32>;
  32. i-cache-line-size = <32>;
  33. d-cache-size = <0x8000>; /* L1, 32K */
  34. i-cache-size = <0x8000>; /* L1, 32K */
  35. timebase-frequency = <0>; /* From U-boot */
  36. bus-frequency = <0>; /* From U-boot */
  37. clock-frequency = <0>; /* From U-boot */
  38. };
  39. };
  40. memory {
  41. device_type = "memory";
  42. reg = <0x00000000 0x10000000>; /* Fixed by bootwrapper */
  43. };
  44. soc@fdf00000 {
  45. #address-cells = <1>;
  46. #size-cells = <1>;
  47. device_type = "soc";
  48. ranges = <0x00000000 0xfdf00000 0x00100000>;
  49. bus-frequency = <0>; /* Fixed by bootwrapper */
  50. memory-controller@2000 {
  51. compatible = "fsl,8540-memory-controller";
  52. reg = <0x2000 0x1000>;
  53. interrupt-parent = <&MPIC>;
  54. interrupts = <0x12 0x2>;
  55. };
  56. l2-cache-controller@20000 {
  57. compatible = "fsl,8540-l2-cache-controller";
  58. reg = <0x20000 0x1000>;
  59. cache-line-size = <0x20>; /* 32 bytes */
  60. cache-size = <0x40000>; /* L2, 256K */
  61. interrupt-parent = <&MPIC>;
  62. interrupts = <0x10 0x2>;
  63. };
  64. i2c@3000 {
  65. #address-cells = <1>;
  66. #size-cells = <0>;
  67. cell-index = <0>;
  68. compatible = "fsl-i2c";
  69. reg = <0x3000 0x100>;
  70. interrupts = <0x2b 0x2>;
  71. interrupt-parent = <&MPIC>;
  72. dfsrr;
  73. };
  74. mdio@24520 { /* For TSECs */
  75. #address-cells = <1>;
  76. #size-cells = <0>;
  77. compatible = "fsl,gianfar-mdio";
  78. reg = <0x24520 0x20>;
  79. PHY1: ethernet-phy@1 {
  80. interrupt-parent = <&MPIC>;
  81. reg = <0x1>;
  82. device_type = "ethernet-phy";
  83. };
  84. PHY2: ethernet-phy@2 {
  85. interrupt-parent = <&MPIC>;
  86. reg = <0x2>;
  87. device_type = "ethernet-phy";
  88. };
  89. };
  90. enet0: ethernet@24000 {
  91. device_type = "network";
  92. model = "TSEC";
  93. compatible = "gianfar";
  94. reg = <0x24000 0x1000>;
  95. /* Mac address filled in by bootwrapper */
  96. local-mac-address = [ 00 00 00 00 00 00 ];
  97. interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
  98. interrupt-parent = <&MPIC>;
  99. phy-handle = <&PHY1>;
  100. };
  101. enet1: ethernet@25000 {
  102. device_type = "network";
  103. model = "TSEC";
  104. compatible = "gianfar";
  105. reg = <0x25000 0x1000>;
  106. /* Mac address filled in by bootwrapper */
  107. local-mac-address = [ 00 00 00 00 00 00 ];
  108. interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
  109. interrupt-parent = <&MPIC>;
  110. phy-handle = <&PHY2>;
  111. };
  112. MPIC: pic@40000 {
  113. #address-cells = <0>;
  114. #interrupt-cells = <2>;
  115. interrupt-controller;
  116. reg = <0x40000 0x40000>;
  117. device_type = "open-pic";
  118. };
  119. cpm@919c0 {
  120. #address-cells = <1>;
  121. #size-cells = <1>;
  122. compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
  123. reg = <0x919c0 0x30>;
  124. ranges;
  125. muram@80000 {
  126. #address-cells = <1>;
  127. #size-cells = <1>;
  128. ranges = <0x0 0x80000 0x10000>;
  129. data@0 {
  130. compatible = "fsl,cpm-muram-data";
  131. reg = <0x0 0x4000 0x9000 0x2000>;
  132. };
  133. };
  134. brg@919f0 {
  135. compatible = "fsl,mpc8560-brg",
  136. "fsl,cpm2-brg",
  137. "fsl,cpm-brg";
  138. reg = <0x919f0 0x10 0x915f0 0x10>;
  139. clock-frequency = <165000000>; /* 166MHz */
  140. };
  141. CPMPIC: pic@90c00 {
  142. #address-cells = <0>;
  143. #interrupt-cells = <2>;
  144. interrupt-controller;
  145. interrupts = <0x2e 0x2>;
  146. interrupt-parent = <&MPIC>;
  147. reg = <0x90c00 0x80>;
  148. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  149. };
  150. serial@91a00 {
  151. device_type = "serial";
  152. compatible = "fsl,mpc8560-scc-uart",
  153. "fsl,cpm2-scc-uart";
  154. reg = <0x91a00 0x20 0x88000 0x100>;
  155. fsl,cpm-brg = <1>;
  156. fsl,cpm-command = <0x800000>;
  157. current-speed = <0x1c200>;
  158. interrupts = <0x28 0x8>;
  159. interrupt-parent = <&CPMPIC>;
  160. };
  161. serial@91a20 {
  162. device_type = "serial";
  163. compatible = "fsl,mpc8560-scc-uart",
  164. "fsl,cpm2-scc-uart";
  165. reg = <0x91a20 0x20 0x88100 0x100>;
  166. fsl,cpm-brg = <2>;
  167. fsl,cpm-command = <0x4a00000>;
  168. current-speed = <0x1c200>;
  169. interrupts = <0x29 0x8>;
  170. interrupt-parent = <&CPMPIC>;
  171. };
  172. mdio@90d00 { /* For FCCs */
  173. #address-cells = <1>;
  174. #size-cells = <0>;
  175. compatible = "fsl,cpm2-mdio-bitbang";
  176. reg = <0x90d00 0x14>;
  177. fsl,mdio-pin = <24>;
  178. fsl,mdc-pin = <25>;
  179. PHY0: ethernet-phy@0 {
  180. interrupt-parent = <&MPIC>;
  181. reg = <0x0>;
  182. device_type = "ethernet-phy";
  183. };
  184. };
  185. enet2: ethernet@91300 {
  186. device_type = "network";
  187. compatible = "fsl,mpc8560-fcc-enet",
  188. "fsl,cpm2-fcc-enet";
  189. reg = <0x91300 0x20 0x88400 0x100 0x91390 0x1>;
  190. /* Mac address filled in by bootwrapper */
  191. local-mac-address = [ 00 00 00 00 00 00 ];
  192. fsl,cpm-command = <0x12000300>;
  193. interrupts = <0x20 0x8>;
  194. interrupt-parent = <&CPMPIC>;
  195. phy-handle = <&PHY0>;
  196. };
  197. };
  198. };
  199. localbus@fdf05000 {
  200. #address-cells = <2>;
  201. #size-cells = <1>;
  202. compatible = "fsl,mpc8560-localbus";
  203. reg = <0xfdf05000 0x68>;
  204. ranges = <0x0 0x0 0xe0000000 0x00800000
  205. 0x4 0x0 0xe8080000 0x00080000>;
  206. flash@0,0 {
  207. #address-cells = <1>;
  208. #size-cells = <1>;
  209. compatible = "jedec-flash";
  210. reg = <0x0 0x0 0x800000>;
  211. bank-width = <0x2>;
  212. partition@0 {
  213. label = "Primary Kernel";
  214. reg = <0x0 0x180000>;
  215. };
  216. partition@180000 {
  217. label = "Primary Filesystem";
  218. reg = <0x180000 0x580000>;
  219. };
  220. partition@700000 {
  221. label = "Monitor";
  222. reg = <0x300000 0x100000>;
  223. read-only;
  224. };
  225. };
  226. cpld@4,0 {
  227. compatible = "emerson,KSI8560-cpld";
  228. reg = <0x4 0x0 0x80000>;
  229. };
  230. };
  231. chosen {
  232. linux,stdout-path = "/soc/cpm/serial@91a00";
  233. };
  234. };