ksi8560.dts 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  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. next-level-cache = <&L2>;
  39. };
  40. };
  41. memory {
  42. device_type = "memory";
  43. reg = <0x00000000 0x10000000>; /* Fixed by bootwrapper */
  44. };
  45. soc@fdf00000 {
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. device_type = "soc";
  49. ranges = <0x00000000 0xfdf00000 0x00100000>;
  50. bus-frequency = <0>; /* Fixed by bootwrapper */
  51. ecm-law@0 {
  52. compatible = "fsl,ecm-law";
  53. reg = <0x0 0x1000>;
  54. fsl,num-laws = <8>;
  55. };
  56. ecm@1000 {
  57. compatible = "fsl,mpc8560-ecm", "fsl,ecm";
  58. reg = <0x1000 0x1000>;
  59. interrupts = <17 2>;
  60. interrupt-parent = <&mpic>;
  61. };
  62. memory-controller@2000 {
  63. compatible = "fsl,mpc8540-memory-controller";
  64. reg = <0x2000 0x1000>;
  65. interrupt-parent = <&mpic>;
  66. interrupts = <0x12 0x2>;
  67. };
  68. L2: l2-cache-controller@20000 {
  69. compatible = "fsl,mpc8540-l2-cache-controller";
  70. reg = <0x20000 0x1000>;
  71. cache-line-size = <0x20>; /* 32 bytes */
  72. cache-size = <0x40000>; /* L2, 256K */
  73. interrupt-parent = <&mpic>;
  74. interrupts = <0x10 0x2>;
  75. };
  76. i2c@3000 {
  77. #address-cells = <1>;
  78. #size-cells = <0>;
  79. cell-index = <0>;
  80. compatible = "fsl-i2c";
  81. reg = <0x3000 0x100>;
  82. interrupts = <0x2b 0x2>;
  83. interrupt-parent = <&mpic>;
  84. dfsrr;
  85. };
  86. dma@21300 {
  87. #address-cells = <1>;
  88. #size-cells = <1>;
  89. compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma";
  90. reg = <0x21300 0x4>;
  91. ranges = <0x0 0x21100 0x200>;
  92. cell-index = <0>;
  93. dma-channel@0 {
  94. compatible = "fsl,mpc8560-dma-channel",
  95. "fsl,eloplus-dma-channel";
  96. reg = <0x0 0x80>;
  97. cell-index = <0>;
  98. interrupt-parent = <&mpic>;
  99. interrupts = <20 2>;
  100. };
  101. dma-channel@80 {
  102. compatible = "fsl,mpc8560-dma-channel",
  103. "fsl,eloplus-dma-channel";
  104. reg = <0x80 0x80>;
  105. cell-index = <1>;
  106. interrupt-parent = <&mpic>;
  107. interrupts = <21 2>;
  108. };
  109. dma-channel@100 {
  110. compatible = "fsl,mpc8560-dma-channel",
  111. "fsl,eloplus-dma-channel";
  112. reg = <0x100 0x80>;
  113. cell-index = <2>;
  114. interrupt-parent = <&mpic>;
  115. interrupts = <22 2>;
  116. };
  117. dma-channel@180 {
  118. compatible = "fsl,mpc8560-dma-channel",
  119. "fsl,eloplus-dma-channel";
  120. reg = <0x180 0x80>;
  121. cell-index = <3>;
  122. interrupt-parent = <&mpic>;
  123. interrupts = <23 2>;
  124. };
  125. };
  126. enet0: ethernet@24000 {
  127. #address-cells = <1>;
  128. #size-cells = <1>;
  129. device_type = "network";
  130. model = "TSEC";
  131. compatible = "gianfar";
  132. reg = <0x24000 0x1000>;
  133. ranges = <0x0 0x24000 0x1000>;
  134. /* Mac address filled in by bootwrapper */
  135. local-mac-address = [ 00 00 00 00 00 00 ];
  136. interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
  137. interrupt-parent = <&mpic>;
  138. tbi-handle = <&tbi0>;
  139. phy-handle = <&PHY1>;
  140. mdio@520 { /* For TSECs */
  141. #address-cells = <1>;
  142. #size-cells = <0>;
  143. compatible = "fsl,gianfar-mdio";
  144. reg = <0x520 0x20>;
  145. PHY1: ethernet-phy@1 {
  146. interrupt-parent = <&mpic>;
  147. reg = <0x1>;
  148. device_type = "ethernet-phy";
  149. };
  150. PHY2: ethernet-phy@2 {
  151. interrupt-parent = <&mpic>;
  152. reg = <0x2>;
  153. device_type = "ethernet-phy";
  154. };
  155. tbi0: tbi-phy@11 {
  156. reg = <0x11>;
  157. device_type = "tbi-phy";
  158. };
  159. };
  160. };
  161. enet1: ethernet@25000 {
  162. #address-cells = <1>;
  163. #size-cells = <1>;
  164. device_type = "network";
  165. model = "TSEC";
  166. compatible = "gianfar";
  167. reg = <0x25000 0x1000>;
  168. ranges = <0x0 0x25000 0x1000>;
  169. /* Mac address filled in by bootwrapper */
  170. local-mac-address = [ 00 00 00 00 00 00 ];
  171. interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
  172. interrupt-parent = <&mpic>;
  173. tbi-handle = <&tbi1>;
  174. phy-handle = <&PHY2>;
  175. mdio@520 {
  176. #address-cells = <1>;
  177. #size-cells = <0>;
  178. compatible = "fsl,gianfar-tbi";
  179. reg = <0x520 0x20>;
  180. tbi1: tbi-phy@11 {
  181. reg = <0x11>;
  182. device_type = "tbi-phy";
  183. };
  184. };
  185. };
  186. mpic: pic@40000 {
  187. #address-cells = <0>;
  188. #interrupt-cells = <2>;
  189. interrupt-controller;
  190. reg = <0x40000 0x40000>;
  191. device_type = "open-pic";
  192. };
  193. cpm@919c0 {
  194. #address-cells = <1>;
  195. #size-cells = <1>;
  196. compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
  197. reg = <0x919c0 0x30>;
  198. ranges;
  199. muram@80000 {
  200. #address-cells = <1>;
  201. #size-cells = <1>;
  202. ranges = <0x0 0x80000 0x10000>;
  203. data@0 {
  204. compatible = "fsl,cpm-muram-data";
  205. reg = <0x0 0x4000 0x9000 0x2000>;
  206. };
  207. };
  208. brg@919f0 {
  209. compatible = "fsl,mpc8560-brg",
  210. "fsl,cpm2-brg",
  211. "fsl,cpm-brg";
  212. reg = <0x919f0 0x10 0x915f0 0x10>;
  213. clock-frequency = <165000000>; /* 166MHz */
  214. };
  215. CPMPIC: pic@90c00 {
  216. #address-cells = <0>;
  217. #interrupt-cells = <2>;
  218. interrupt-controller;
  219. interrupts = <0x2e 0x2>;
  220. interrupt-parent = <&mpic>;
  221. reg = <0x90c00 0x80>;
  222. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  223. };
  224. serial@91a00 {
  225. device_type = "serial";
  226. compatible = "fsl,mpc8560-scc-uart",
  227. "fsl,cpm2-scc-uart";
  228. reg = <0x91a00 0x20 0x88000 0x100>;
  229. fsl,cpm-brg = <1>;
  230. fsl,cpm-command = <0x800000>;
  231. current-speed = <0x1c200>;
  232. interrupts = <0x28 0x8>;
  233. interrupt-parent = <&CPMPIC>;
  234. };
  235. serial@91a20 {
  236. device_type = "serial";
  237. compatible = "fsl,mpc8560-scc-uart",
  238. "fsl,cpm2-scc-uart";
  239. reg = <0x91a20 0x20 0x88100 0x100>;
  240. fsl,cpm-brg = <2>;
  241. fsl,cpm-command = <0x4a00000>;
  242. current-speed = <0x1c200>;
  243. interrupts = <0x29 0x8>;
  244. interrupt-parent = <&CPMPIC>;
  245. };
  246. mdio@90d00 { /* For FCCs */
  247. #address-cells = <1>;
  248. #size-cells = <0>;
  249. compatible = "fsl,cpm2-mdio-bitbang";
  250. reg = <0x90d00 0x14>;
  251. fsl,mdio-pin = <24>;
  252. fsl,mdc-pin = <25>;
  253. PHY0: ethernet-phy@0 {
  254. interrupt-parent = <&mpic>;
  255. reg = <0x0>;
  256. device_type = "ethernet-phy";
  257. };
  258. };
  259. enet2: ethernet@91300 {
  260. device_type = "network";
  261. compatible = "fsl,mpc8560-fcc-enet",
  262. "fsl,cpm2-fcc-enet";
  263. reg = <0x91300 0x20 0x88400 0x100 0x91390 0x1>;
  264. /* Mac address filled in by bootwrapper */
  265. local-mac-address = [ 00 00 00 00 00 00 ];
  266. fsl,cpm-command = <0x12000300>;
  267. interrupts = <0x20 0x8>;
  268. interrupt-parent = <&CPMPIC>;
  269. phy-handle = <&PHY0>;
  270. };
  271. };
  272. };
  273. localbus@fdf05000 {
  274. #address-cells = <2>;
  275. #size-cells = <1>;
  276. compatible = "fsl,mpc8560-localbus";
  277. reg = <0xfdf05000 0x68>;
  278. ranges = <0x0 0x0 0xe0000000 0x00800000
  279. 0x4 0x0 0xe8080000 0x00080000>;
  280. flash@0,0 {
  281. #address-cells = <1>;
  282. #size-cells = <1>;
  283. compatible = "jedec-flash";
  284. reg = <0x0 0x0 0x800000>;
  285. bank-width = <0x2>;
  286. partition@0 {
  287. label = "Primary Kernel";
  288. reg = <0x0 0x180000>;
  289. };
  290. partition@180000 {
  291. label = "Primary Filesystem";
  292. reg = <0x180000 0x580000>;
  293. };
  294. partition@700000 {
  295. label = "Monitor";
  296. reg = <0x300000 0x100000>;
  297. read-only;
  298. };
  299. };
  300. cpld@4,0 {
  301. compatible = "emerson,KSI8560-cpld";
  302. reg = <0x4 0x0 0x80000>;
  303. };
  304. };
  305. chosen {
  306. linux,stdout-path = "/soc/cpm/serial@91a00";
  307. };
  308. };