sbc8560.dts 9.4 KB

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