sbc8560.dts 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. /*
  2. * SBC8560 Device Tree Source
  3. *
  4. * Copyright 2007 Wind River Systems Inc.
  5. *
  6. * Paul Gortmaker (see MAINTAINERS for contact information)
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation; either version 2 of the License, or (at your
  11. * option) any later version.
  12. */
  13. /dts-v1/;
  14. / {
  15. model = "SBC8560";
  16. compatible = "SBC8560";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. aliases {
  20. ethernet0 = &enet0;
  21. ethernet1 = &enet1;
  22. ethernet2 = &enet2;
  23. ethernet3 = &enet3;
  24. serial0 = &serial0;
  25. serial1 = &serial1;
  26. pci0 = &pci0;
  27. };
  28. cpus {
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. PowerPC,8560@0 {
  32. device_type = "cpu";
  33. reg = <0>;
  34. d-cache-line-size = <0x20>; // 32 bytes
  35. i-cache-line-size = <0x20>; // 32 bytes
  36. d-cache-size = <0x8000>; // L1, 32K
  37. i-cache-size = <0x8000>; // L1, 32K
  38. timebase-frequency = <0>; // From uboot
  39. bus-frequency = <0>;
  40. clock-frequency = <0>;
  41. next-level-cache = <&L2>;
  42. };
  43. };
  44. memory {
  45. device_type = "memory";
  46. reg = <0x00000000 0x20000000>;
  47. };
  48. soc@ff700000 {
  49. #address-cells = <1>;
  50. #size-cells = <1>;
  51. device_type = "soc";
  52. ranges = <0x0 0xff700000 0x00100000>;
  53. reg = <0xff700000 0x00100000>;
  54. clock-frequency = <0>;
  55. ecm-law@0 {
  56. compatible = "fsl,ecm-law";
  57. reg = <0x0 0x1000>;
  58. fsl,num-laws = <8>;
  59. };
  60. ecm@1000 {
  61. compatible = "fsl,mpc8560-ecm", "fsl,ecm";
  62. reg = <0x1000 0x1000>;
  63. interrupts = <17 2>;
  64. interrupt-parent = <&mpic>;
  65. };
  66. memory-controller@2000 {
  67. compatible = "fsl,mpc8560-memory-controller";
  68. reg = <0x2000 0x1000>;
  69. interrupt-parent = <&mpic>;
  70. interrupts = <0x12 0x2>;
  71. };
  72. L2: l2-cache-controller@20000 {
  73. compatible = "fsl,mpc8560-l2-cache-controller";
  74. reg = <0x20000 0x1000>;
  75. cache-line-size = <0x20>; // 32 bytes
  76. cache-size = <0x40000>; // L2, 256K
  77. interrupt-parent = <&mpic>;
  78. interrupts = <0x10 0x2>;
  79. };
  80. i2c@3000 {
  81. #address-cells = <1>;
  82. #size-cells = <0>;
  83. cell-index = <0>;
  84. compatible = "fsl-i2c";
  85. reg = <0x3000 0x100>;
  86. interrupts = <0x2b 0x2>;
  87. interrupt-parent = <&mpic>;
  88. dfsrr;
  89. };
  90. i2c@3100 {
  91. #address-cells = <1>;
  92. #size-cells = <0>;
  93. cell-index = <1>;
  94. compatible = "fsl-i2c";
  95. reg = <0x3100 0x100>;
  96. interrupts = <0x2b 0x2>;
  97. interrupt-parent = <&mpic>;
  98. dfsrr;
  99. };
  100. dma@21300 {
  101. #address-cells = <1>;
  102. #size-cells = <1>;
  103. compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma";
  104. reg = <0x21300 0x4>;
  105. ranges = <0x0 0x21100 0x200>;
  106. cell-index = <0>;
  107. dma-channel@0 {
  108. compatible = "fsl,mpc8560-dma-channel",
  109. "fsl,eloplus-dma-channel";
  110. reg = <0x0 0x80>;
  111. cell-index = <0>;
  112. interrupt-parent = <&mpic>;
  113. interrupts = <20 2>;
  114. };
  115. dma-channel@80 {
  116. compatible = "fsl,mpc8560-dma-channel",
  117. "fsl,eloplus-dma-channel";
  118. reg = <0x80 0x80>;
  119. cell-index = <1>;
  120. interrupt-parent = <&mpic>;
  121. interrupts = <21 2>;
  122. };
  123. dma-channel@100 {
  124. compatible = "fsl,mpc8560-dma-channel",
  125. "fsl,eloplus-dma-channel";
  126. reg = <0x100 0x80>;
  127. cell-index = <2>;
  128. interrupt-parent = <&mpic>;
  129. interrupts = <22 2>;
  130. };
  131. dma-channel@180 {
  132. compatible = "fsl,mpc8560-dma-channel",
  133. "fsl,eloplus-dma-channel";
  134. reg = <0x180 0x80>;
  135. cell-index = <3>;
  136. interrupt-parent = <&mpic>;
  137. interrupts = <23 2>;
  138. };
  139. };
  140. enet0: ethernet@24000 {
  141. #address-cells = <1>;
  142. #size-cells = <1>;
  143. cell-index = <0>;
  144. device_type = "network";
  145. model = "TSEC";
  146. compatible = "gianfar";
  147. reg = <0x24000 0x1000>;
  148. ranges = <0x0 0x24000 0x1000>;
  149. local-mac-address = [ 00 00 00 00 00 00 ];
  150. interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
  151. interrupt-parent = <&mpic>;
  152. tbi-handle = <&tbi0>;
  153. phy-handle = <&phy0>;
  154. mdio@520 {
  155. #address-cells = <1>;
  156. #size-cells = <0>;
  157. compatible = "fsl,gianfar-mdio";
  158. reg = <0x520 0x20>;
  159. phy0: ethernet-phy@19 {
  160. interrupt-parent = <&mpic>;
  161. interrupts = <0x6 0x1>;
  162. reg = <0x19>;
  163. device_type = "ethernet-phy";
  164. };
  165. phy1: ethernet-phy@1a {
  166. interrupt-parent = <&mpic>;
  167. interrupts = <0x7 0x1>;
  168. reg = <0x1a>;
  169. device_type = "ethernet-phy";
  170. };
  171. phy2: ethernet-phy@1b {
  172. interrupt-parent = <&mpic>;
  173. interrupts = <0x8 0x1>;
  174. reg = <0x1b>;
  175. device_type = "ethernet-phy";
  176. };
  177. phy3: ethernet-phy@1c {
  178. interrupt-parent = <&mpic>;
  179. interrupts = <0x8 0x1>;
  180. reg = <0x1c>;
  181. device_type = "ethernet-phy";
  182. };
  183. tbi0: tbi-phy@11 {
  184. reg = <0x11>;
  185. device_type = "tbi-phy";
  186. };
  187. };
  188. };
  189. enet1: ethernet@25000 {
  190. #address-cells = <1>;
  191. #size-cells = <1>;
  192. cell-index = <1>;
  193. device_type = "network";
  194. model = "TSEC";
  195. compatible = "gianfar";
  196. reg = <0x25000 0x1000>;
  197. ranges = <0x0 0x25000 0x1000>;
  198. local-mac-address = [ 00 00 00 00 00 00 ];
  199. interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
  200. interrupt-parent = <&mpic>;
  201. tbi-handle = <&tbi1>;
  202. phy-handle = <&phy1>;
  203. mdio@520 {
  204. #address-cells = <1>;
  205. #size-cells = <0>;
  206. compatible = "fsl,gianfar-tbi";
  207. reg = <0x520 0x20>;
  208. tbi1: tbi-phy@11 {
  209. reg = <0x11>;
  210. device_type = "tbi-phy";
  211. };
  212. };
  213. };
  214. mpic: pic@40000 {
  215. interrupt-controller;
  216. #address-cells = <0>;
  217. #interrupt-cells = <2>;
  218. compatible = "chrp,open-pic";
  219. reg = <0x40000 0x40000>;
  220. device_type = "open-pic";
  221. };
  222. cpm@919c0 {
  223. #address-cells = <1>;
  224. #size-cells = <1>;
  225. compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
  226. reg = <0x919c0 0x30>;
  227. ranges;
  228. muram@80000 {
  229. #address-cells = <1>;
  230. #size-cells = <1>;
  231. ranges = <0x0 0x80000 0x10000>;
  232. data@0 {
  233. compatible = "fsl,cpm-muram-data";
  234. reg = <0x0 0x4000 0x9000 0x2000>;
  235. };
  236. };
  237. brg@919f0 {
  238. compatible = "fsl,mpc8560-brg",
  239. "fsl,cpm2-brg",
  240. "fsl,cpm-brg";
  241. reg = <0x919f0 0x10 0x915f0 0x10>;
  242. clock-frequency = <165000000>;
  243. };
  244. cpmpic: pic@90c00 {
  245. interrupt-controller;
  246. #address-cells = <0>;
  247. #interrupt-cells = <2>;
  248. interrupts = <0x2e 0x2>;
  249. interrupt-parent = <&mpic>;
  250. reg = <0x90c00 0x80>;
  251. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  252. };
  253. enet2: ethernet@91320 {
  254. device_type = "network";
  255. compatible = "fsl,mpc8560-fcc-enet",
  256. "fsl,cpm2-fcc-enet";
  257. reg = <0x91320 0x20 0x88500 0x100 0x913b0 0x1>;
  258. local-mac-address = [ 00 00 00 00 00 00 ];
  259. fsl,cpm-command = <0x16200300>;
  260. interrupts = <0x21 0x8>;
  261. interrupt-parent = <&cpmpic>;
  262. phy-handle = <&phy2>;
  263. };
  264. enet3: ethernet@91340 {
  265. device_type = "network";
  266. compatible = "fsl,mpc8560-fcc-enet",
  267. "fsl,cpm2-fcc-enet";
  268. reg = <0x91340 0x20 0x88600 0x100 0x913d0 0x1>;
  269. local-mac-address = [ 00 00 00 00 00 00 ];
  270. fsl,cpm-command = <0x1a400300>;
  271. interrupts = <0x22 0x8>;
  272. interrupt-parent = <&cpmpic>;
  273. phy-handle = <&phy3>;
  274. };
  275. };
  276. global-utilities@e0000 {
  277. compatible = "fsl,mpc8560-guts";
  278. reg = <0xe0000 0x1000>;
  279. fsl,has-rstcr;
  280. };
  281. };
  282. pci0: pci@ff708000 {
  283. #interrupt-cells = <1>;
  284. #size-cells = <2>;
  285. #address-cells = <3>;
  286. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  287. device_type = "pci";
  288. reg = <0xff708000 0x1000>;
  289. clock-frequency = <66666666>;
  290. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  291. interrupt-map = <
  292. /* IDSEL 0x02 */
  293. 0x1000 0x0 0x0 0x1 &mpic 0x2 0x1
  294. 0x1000 0x0 0x0 0x2 &mpic 0x3 0x1
  295. 0x1000 0x0 0x0 0x3 &mpic 0x4 0x1
  296. 0x1000 0x0 0x0 0x4 &mpic 0x5 0x1>;
  297. interrupt-parent = <&mpic>;
  298. interrupts = <0x18 0x2>;
  299. bus-range = <0x0 0x0>;
  300. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  301. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
  302. };
  303. localbus@ff705000 {
  304. compatible = "fsl,mpc8560-localbus";
  305. #address-cells = <2>;
  306. #size-cells = <1>;
  307. reg = <0xff705000 0x100>; // BRx, ORx, etc.
  308. ranges = <
  309. 0x0 0x0 0xff800000 0x0800000 // 8MB boot flash
  310. 0x1 0x0 0xe4000000 0x4000000 // 64MB flash
  311. 0x3 0x0 0x20000000 0x4000000 // 64MB SDRAM
  312. 0x4 0x0 0x24000000 0x4000000 // 64MB SDRAM
  313. 0x5 0x0 0xfc000000 0x0c00000 // EPLD
  314. 0x6 0x0 0xe0000000 0x4000000 // 64MB flash
  315. 0x7 0x0 0x80000000 0x0200000 // ATM1,2
  316. >;
  317. epld@5,0 {
  318. compatible = "wrs,epld-localbus";
  319. #address-cells = <2>;
  320. #size-cells = <1>;
  321. reg = <0x5 0x0 0xc00000>;
  322. ranges = <
  323. 0x0 0x0 0x5 0x000000 0x1fff // LED disp.
  324. 0x1 0x0 0x5 0x100000 0x1fff // switches
  325. 0x2 0x0 0x5 0x200000 0x1fff // ID reg.
  326. 0x3 0x0 0x5 0x300000 0x1fff // status reg.
  327. 0x4 0x0 0x5 0x400000 0x1fff // reset reg.
  328. 0x5 0x0 0x5 0x500000 0x1fff // Wind port
  329. 0x7 0x0 0x5 0x700000 0x1fff // UART #1
  330. 0x8 0x0 0x5 0x800000 0x1fff // UART #2
  331. 0x9 0x0 0x5 0x900000 0x1fff // RTC
  332. 0xb 0x0 0x5 0xb00000 0x1fff // EEPROM
  333. >;
  334. bidr@2,0 {
  335. compatible = "wrs,sbc8560-bidr";
  336. reg = <0x2 0x0 0x10>;
  337. };
  338. bcsr@3,0 {
  339. compatible = "wrs,sbc8560-bcsr";
  340. reg = <0x3 0x0 0x10>;
  341. };
  342. brstcr@4,0 {
  343. compatible = "wrs,sbc8560-brstcr";
  344. reg = <0x4 0x0 0x10>;
  345. };
  346. serial0: serial@7,0 {
  347. device_type = "serial";
  348. compatible = "ns16550";
  349. reg = <0x7 0x0 0x100>;
  350. clock-frequency = <1843200>;
  351. interrupts = <0x9 0x2>;
  352. interrupt-parent = <&mpic>;
  353. };
  354. serial1: serial@8,0 {
  355. device_type = "serial";
  356. compatible = "ns16550";
  357. reg = <0x8 0x0 0x100>;
  358. clock-frequency = <1843200>;
  359. interrupts = <0xa 0x2>;
  360. interrupt-parent = <&mpic>;
  361. };
  362. rtc@9,0 {
  363. compatible = "m48t59";
  364. reg = <0x9 0x0 0x1fff>;
  365. };
  366. };
  367. };
  368. };