sbc8548.dts 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. /*
  2. * SBC8548 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 = "SBC8548";
  16. compatible = "SBC8548";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. aliases {
  20. ethernet0 = &enet0;
  21. ethernet1 = &enet1;
  22. serial0 = &serial0;
  23. serial1 = &serial1;
  24. pci0 = &pci0;
  25. pci1 = &pci1;
  26. };
  27. cpus {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. PowerPC,8548@0 {
  31. device_type = "cpu";
  32. reg = <0>;
  33. d-cache-line-size = <0x20>; // 32 bytes
  34. i-cache-line-size = <0x20>; // 32 bytes
  35. d-cache-size = <0x8000>; // L1, 32K
  36. i-cache-size = <0x8000>; // L1, 32K
  37. timebase-frequency = <0>; // From uboot
  38. bus-frequency = <0>;
  39. clock-frequency = <0>;
  40. next-level-cache = <&L2>;
  41. };
  42. };
  43. memory {
  44. device_type = "memory";
  45. reg = <0x00000000 0x10000000>;
  46. };
  47. localbus@e0000000 {
  48. #address-cells = <2>;
  49. #size-cells = <1>;
  50. compatible = "simple-bus";
  51. reg = <0xe0000000 0x5000>;
  52. interrupt-parent = <&mpic>;
  53. ranges = <0x0 0x0 0xff800000 0x00800000 /*8MB Flash*/
  54. 0x3 0x0 0xf0000000 0x04000000 /*64MB SDRAM*/
  55. 0x4 0x0 0xf4000000 0x04000000 /*64MB SDRAM*/
  56. 0x5 0x0 0xf8000000 0x00b10000 /* EPLD */
  57. 0x6 0x0 0xfb800000 0x04000000>; /*64MB Flash*/
  58. flash@0,0 {
  59. #address-cells = <1>;
  60. #size-cells = <1>;
  61. compatible = "cfi-flash";
  62. reg = <0x0 0x0 0x800000>;
  63. bank-width = <1>;
  64. device-width = <1>;
  65. partition@0x0 {
  66. label = "space";
  67. reg = <0x00000000 0x00100000>;
  68. };
  69. partition@0x100000 {
  70. label = "bootloader";
  71. reg = <0x00100000 0x00700000>;
  72. read-only;
  73. };
  74. };
  75. epld@5,0 {
  76. compatible = "wrs,epld-localbus";
  77. #address-cells = <2>;
  78. #size-cells = <1>;
  79. reg = <0x5 0x0 0x00b10000>;
  80. ranges = <
  81. 0x0 0x0 0x5 0x000000 0x1fff /* LED */
  82. 0x1 0x0 0x5 0x100000 0x1fff /* Switches */
  83. 0x3 0x0 0x5 0x300000 0x1fff /* HW Rev. */
  84. 0xb 0x0 0x5 0xb00000 0x1fff /* EEPROM */
  85. >;
  86. led@0,0 {
  87. compatible = "led";
  88. reg = <0x0 0x0 0x1fff>;
  89. };
  90. switches@1,0 {
  91. compatible = "switches";
  92. reg = <0x1 0x0 0x1fff>;
  93. };
  94. hw-rev@3,0 {
  95. compatible = "hw-rev";
  96. reg = <0x3 0x0 0x1fff>;
  97. };
  98. eeprom@b,0 {
  99. compatible = "eeprom";
  100. reg = <0xb 0 0x1fff>;
  101. };
  102. };
  103. alt-flash@6,0 {
  104. #address-cells = <1>;
  105. #size-cells = <1>;
  106. reg = <0x6 0x0 0x04000000>;
  107. compatible = "cfi-flash";
  108. bank-width = <4>;
  109. device-width = <1>;
  110. partition@0x0 {
  111. label = "bootloader";
  112. reg = <0x00000000 0x00100000>;
  113. read-only;
  114. };
  115. partition@0x00100000 {
  116. label = "file-system";
  117. reg = <0x00100000 0x01f00000>;
  118. };
  119. partition@0x02000000 {
  120. label = "boot-config";
  121. reg = <0x02000000 0x00100000>;
  122. };
  123. partition@0x02100000 {
  124. label = "space";
  125. reg = <0x02100000 0x01f00000>;
  126. };
  127. };
  128. };
  129. soc8548@e0000000 {
  130. #address-cells = <1>;
  131. #size-cells = <1>;
  132. device_type = "soc";
  133. ranges = <0x00000000 0xe0000000 0x00100000>;
  134. bus-frequency = <0>;
  135. compatible = "simple-bus";
  136. ecm-law@0 {
  137. compatible = "fsl,ecm-law";
  138. reg = <0x0 0x1000>;
  139. fsl,num-laws = <10>;
  140. };
  141. ecm@1000 {
  142. compatible = "fsl,mpc8548-ecm", "fsl,ecm";
  143. reg = <0x1000 0x1000>;
  144. interrupts = <17 2>;
  145. interrupt-parent = <&mpic>;
  146. };
  147. memory-controller@2000 {
  148. compatible = "fsl,mpc8548-memory-controller";
  149. reg = <0x2000 0x1000>;
  150. interrupt-parent = <&mpic>;
  151. interrupts = <0x12 0x2>;
  152. };
  153. L2: l2-cache-controller@20000 {
  154. compatible = "fsl,mpc8548-l2-cache-controller";
  155. reg = <0x20000 0x1000>;
  156. cache-line-size = <0x20>; // 32 bytes
  157. cache-size = <0x80000>; // L2, 512K
  158. interrupt-parent = <&mpic>;
  159. interrupts = <0x10 0x2>;
  160. };
  161. i2c@3000 {
  162. #address-cells = <1>;
  163. #size-cells = <0>;
  164. cell-index = <0>;
  165. compatible = "fsl-i2c";
  166. reg = <0x3000 0x100>;
  167. interrupts = <0x2b 0x2>;
  168. interrupt-parent = <&mpic>;
  169. dfsrr;
  170. };
  171. i2c@3100 {
  172. #address-cells = <1>;
  173. #size-cells = <0>;
  174. cell-index = <1>;
  175. compatible = "fsl-i2c";
  176. reg = <0x3100 0x100>;
  177. interrupts = <0x2b 0x2>;
  178. interrupt-parent = <&mpic>;
  179. dfsrr;
  180. };
  181. dma@21300 {
  182. #address-cells = <1>;
  183. #size-cells = <1>;
  184. compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma";
  185. reg = <0x21300 0x4>;
  186. ranges = <0x0 0x21100 0x200>;
  187. cell-index = <0>;
  188. dma-channel@0 {
  189. compatible = "fsl,mpc8548-dma-channel",
  190. "fsl,eloplus-dma-channel";
  191. reg = <0x0 0x80>;
  192. cell-index = <0>;
  193. interrupt-parent = <&mpic>;
  194. interrupts = <20 2>;
  195. };
  196. dma-channel@80 {
  197. compatible = "fsl,mpc8548-dma-channel",
  198. "fsl,eloplus-dma-channel";
  199. reg = <0x80 0x80>;
  200. cell-index = <1>;
  201. interrupt-parent = <&mpic>;
  202. interrupts = <21 2>;
  203. };
  204. dma-channel@100 {
  205. compatible = "fsl,mpc8548-dma-channel",
  206. "fsl,eloplus-dma-channel";
  207. reg = <0x100 0x80>;
  208. cell-index = <2>;
  209. interrupt-parent = <&mpic>;
  210. interrupts = <22 2>;
  211. };
  212. dma-channel@180 {
  213. compatible = "fsl,mpc8548-dma-channel",
  214. "fsl,eloplus-dma-channel";
  215. reg = <0x180 0x80>;
  216. cell-index = <3>;
  217. interrupt-parent = <&mpic>;
  218. interrupts = <23 2>;
  219. };
  220. };
  221. enet0: ethernet@24000 {
  222. #address-cells = <1>;
  223. #size-cells = <1>;
  224. cell-index = <0>;
  225. device_type = "network";
  226. model = "eTSEC";
  227. compatible = "gianfar";
  228. reg = <0x24000 0x1000>;
  229. ranges = <0x0 0x24000 0x1000>;
  230. local-mac-address = [ 00 00 00 00 00 00 ];
  231. interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
  232. interrupt-parent = <&mpic>;
  233. tbi-handle = <&tbi0>;
  234. phy-handle = <&phy0>;
  235. mdio@520 {
  236. #address-cells = <1>;
  237. #size-cells = <0>;
  238. compatible = "fsl,gianfar-mdio";
  239. reg = <0x520 0x20>;
  240. phy0: ethernet-phy@19 {
  241. interrupt-parent = <&mpic>;
  242. interrupts = <0x6 0x1>;
  243. reg = <0x19>;
  244. device_type = "ethernet-phy";
  245. };
  246. phy1: ethernet-phy@1a {
  247. interrupt-parent = <&mpic>;
  248. interrupts = <0x7 0x1>;
  249. reg = <0x1a>;
  250. device_type = "ethernet-phy";
  251. };
  252. tbi0: tbi-phy@11 {
  253. reg = <0x11>;
  254. device_type = "tbi-phy";
  255. };
  256. };
  257. };
  258. enet1: ethernet@25000 {
  259. #address-cells = <1>;
  260. #size-cells = <1>;
  261. cell-index = <1>;
  262. device_type = "network";
  263. model = "eTSEC";
  264. compatible = "gianfar";
  265. reg = <0x25000 0x1000>;
  266. ranges = <0x0 0x25000 0x1000>;
  267. local-mac-address = [ 00 00 00 00 00 00 ];
  268. interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
  269. interrupt-parent = <&mpic>;
  270. tbi-handle = <&tbi1>;
  271. phy-handle = <&phy1>;
  272. mdio@520 {
  273. #address-cells = <1>;
  274. #size-cells = <0>;
  275. compatible = "fsl,gianfar-tbi";
  276. reg = <0x520 0x20>;
  277. tbi1: tbi-phy@11 {
  278. reg = <0x11>;
  279. device_type = "tbi-phy";
  280. };
  281. };
  282. };
  283. serial0: serial@4500 {
  284. cell-index = <0>;
  285. device_type = "serial";
  286. compatible = "fsl,ns16550", "ns16550";
  287. reg = <0x4500 0x100>; // reg base, size
  288. clock-frequency = <0>; // should we fill in in uboot?
  289. interrupts = <0x2a 0x2>;
  290. interrupt-parent = <&mpic>;
  291. };
  292. serial1: serial@4600 {
  293. cell-index = <1>;
  294. device_type = "serial";
  295. compatible = "fsl,ns16550", "ns16550";
  296. reg = <0x4600 0x100>; // reg base, size
  297. clock-frequency = <0>; // should we fill in in uboot?
  298. interrupts = <0x2a 0x2>;
  299. interrupt-parent = <&mpic>;
  300. };
  301. global-utilities@e0000 { //global utilities reg
  302. compatible = "fsl,mpc8548-guts";
  303. reg = <0xe0000 0x1000>;
  304. fsl,has-rstcr;
  305. };
  306. crypto@30000 {
  307. compatible = "fsl,sec2.1", "fsl,sec2.0";
  308. reg = <0x30000 0x10000>;
  309. interrupts = <45 2>;
  310. interrupt-parent = <&mpic>;
  311. fsl,num-channels = <4>;
  312. fsl,channel-fifo-len = <24>;
  313. fsl,exec-units-mask = <0xfe>;
  314. fsl,descriptor-types-mask = <0x12b0ebf>;
  315. };
  316. mpic: pic@40000 {
  317. interrupt-controller;
  318. #address-cells = <0>;
  319. #interrupt-cells = <2>;
  320. reg = <0x40000 0x40000>;
  321. compatible = "chrp,open-pic";
  322. device_type = "open-pic";
  323. };
  324. };
  325. pci0: pci@e0008000 {
  326. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  327. interrupt-map = <
  328. /* IDSEL 0x01 (PCI-X slot) @66MHz */
  329. 0x0800 0x0 0x0 0x1 &mpic 0x2 0x1
  330. 0x0800 0x0 0x0 0x2 &mpic 0x3 0x1
  331. 0x0800 0x0 0x0 0x3 &mpic 0x4 0x1
  332. 0x0800 0x0 0x0 0x4 &mpic 0x1 0x1
  333. /* IDSEL 0x11 (PCI, 3.3V 32bit) @33MHz */
  334. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
  335. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
  336. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
  337. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1>;
  338. interrupt-parent = <&mpic>;
  339. interrupts = <0x18 0x2>;
  340. bus-range = <0 0>;
  341. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  342. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>;
  343. clock-frequency = <66000000>;
  344. #interrupt-cells = <1>;
  345. #size-cells = <2>;
  346. #address-cells = <3>;
  347. reg = <0xe0008000 0x1000>;
  348. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  349. device_type = "pci";
  350. };
  351. pci1: pcie@e000a000 {
  352. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  353. interrupt-map = <
  354. /* IDSEL 0x0 (PEX) */
  355. 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
  356. 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
  357. 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
  358. 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  359. interrupt-parent = <&mpic>;
  360. interrupts = <0x1a 0x2>;
  361. bus-range = <0x0 0xff>;
  362. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  363. 0x01000000 0x0 0x00000000 0xe2800000 0x0 0x08000000>;
  364. clock-frequency = <33000000>;
  365. #interrupt-cells = <1>;
  366. #size-cells = <2>;
  367. #address-cells = <3>;
  368. reg = <0xe000a000 0x1000>;
  369. compatible = "fsl,mpc8548-pcie";
  370. device_type = "pci";
  371. pcie@0 {
  372. reg = <0x0 0x0 0x0 0x0 0x0>;
  373. #size-cells = <2>;
  374. #address-cells = <3>;
  375. device_type = "pci";
  376. ranges = <0x02000000 0x0 0xa0000000
  377. 0x02000000 0x0 0xa0000000
  378. 0x0 0x10000000
  379. 0x01000000 0x0 0x00000000
  380. 0x01000000 0x0 0x00000000
  381. 0x0 0x00800000>;
  382. };
  383. };
  384. };