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