sbc8560.dts 9.2 KB

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