sbc8560.dts 9.0 KB

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