sbc8548.dts 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  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. reg = <0xe0000000 0x00001000>; // CCSRBAR
  136. bus-frequency = <0>;
  137. compatible = "simple-bus";
  138. ecm-law@0 {
  139. compatible = "fsl,ecm-law";
  140. reg = <0x0 0x1000>;
  141. fsl,num-laws = <10>;
  142. };
  143. ecm@1000 {
  144. compatible = "fsl,mpc8548-ecm", "fsl,ecm";
  145. reg = <0x1000 0x1000>;
  146. interrupts = <17 2>;
  147. interrupt-parent = <&mpic>;
  148. };
  149. memory-controller@2000 {
  150. compatible = "fsl,mpc8548-memory-controller";
  151. reg = <0x2000 0x1000>;
  152. interrupt-parent = <&mpic>;
  153. interrupts = <0x12 0x2>;
  154. };
  155. L2: l2-cache-controller@20000 {
  156. compatible = "fsl,mpc8548-l2-cache-controller";
  157. reg = <0x20000 0x1000>;
  158. cache-line-size = <0x20>; // 32 bytes
  159. cache-size = <0x80000>; // L2, 512K
  160. interrupt-parent = <&mpic>;
  161. interrupts = <0x10 0x2>;
  162. };
  163. i2c@3000 {
  164. #address-cells = <1>;
  165. #size-cells = <0>;
  166. cell-index = <0>;
  167. compatible = "fsl-i2c";
  168. reg = <0x3000 0x100>;
  169. interrupts = <0x2b 0x2>;
  170. interrupt-parent = <&mpic>;
  171. dfsrr;
  172. };
  173. i2c@3100 {
  174. #address-cells = <1>;
  175. #size-cells = <0>;
  176. cell-index = <1>;
  177. compatible = "fsl-i2c";
  178. reg = <0x3100 0x100>;
  179. interrupts = <0x2b 0x2>;
  180. interrupt-parent = <&mpic>;
  181. dfsrr;
  182. };
  183. dma@21300 {
  184. #address-cells = <1>;
  185. #size-cells = <1>;
  186. compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma";
  187. reg = <0x21300 0x4>;
  188. ranges = <0x0 0x21100 0x200>;
  189. cell-index = <0>;
  190. dma-channel@0 {
  191. compatible = "fsl,mpc8548-dma-channel",
  192. "fsl,eloplus-dma-channel";
  193. reg = <0x0 0x80>;
  194. cell-index = <0>;
  195. interrupt-parent = <&mpic>;
  196. interrupts = <20 2>;
  197. };
  198. dma-channel@80 {
  199. compatible = "fsl,mpc8548-dma-channel",
  200. "fsl,eloplus-dma-channel";
  201. reg = <0x80 0x80>;
  202. cell-index = <1>;
  203. interrupt-parent = <&mpic>;
  204. interrupts = <21 2>;
  205. };
  206. dma-channel@100 {
  207. compatible = "fsl,mpc8548-dma-channel",
  208. "fsl,eloplus-dma-channel";
  209. reg = <0x100 0x80>;
  210. cell-index = <2>;
  211. interrupt-parent = <&mpic>;
  212. interrupts = <22 2>;
  213. };
  214. dma-channel@180 {
  215. compatible = "fsl,mpc8548-dma-channel",
  216. "fsl,eloplus-dma-channel";
  217. reg = <0x180 0x80>;
  218. cell-index = <3>;
  219. interrupt-parent = <&mpic>;
  220. interrupts = <23 2>;
  221. };
  222. };
  223. enet0: ethernet@24000 {
  224. #address-cells = <1>;
  225. #size-cells = <1>;
  226. cell-index = <0>;
  227. device_type = "network";
  228. model = "eTSEC";
  229. compatible = "gianfar";
  230. reg = <0x24000 0x1000>;
  231. ranges = <0x0 0x24000 0x1000>;
  232. local-mac-address = [ 00 00 00 00 00 00 ];
  233. interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
  234. interrupt-parent = <&mpic>;
  235. tbi-handle = <&tbi0>;
  236. phy-handle = <&phy0>;
  237. mdio@520 {
  238. #address-cells = <1>;
  239. #size-cells = <0>;
  240. compatible = "fsl,gianfar-mdio";
  241. reg = <0x520 0x20>;
  242. phy0: ethernet-phy@19 {
  243. interrupt-parent = <&mpic>;
  244. interrupts = <0x6 0x1>;
  245. reg = <0x19>;
  246. device_type = "ethernet-phy";
  247. };
  248. phy1: ethernet-phy@1a {
  249. interrupt-parent = <&mpic>;
  250. interrupts = <0x7 0x1>;
  251. reg = <0x1a>;
  252. device_type = "ethernet-phy";
  253. };
  254. tbi0: tbi-phy@11 {
  255. reg = <0x11>;
  256. device_type = "tbi-phy";
  257. };
  258. };
  259. };
  260. enet1: ethernet@25000 {
  261. #address-cells = <1>;
  262. #size-cells = <1>;
  263. cell-index = <1>;
  264. device_type = "network";
  265. model = "eTSEC";
  266. compatible = "gianfar";
  267. reg = <0x25000 0x1000>;
  268. ranges = <0x0 0x25000 0x1000>;
  269. local-mac-address = [ 00 00 00 00 00 00 ];
  270. interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
  271. interrupt-parent = <&mpic>;
  272. tbi-handle = <&tbi1>;
  273. phy-handle = <&phy1>;
  274. mdio@520 {
  275. #address-cells = <1>;
  276. #size-cells = <0>;
  277. compatible = "fsl,gianfar-tbi";
  278. reg = <0x520 0x20>;
  279. tbi1: tbi-phy@11 {
  280. reg = <0x11>;
  281. device_type = "tbi-phy";
  282. };
  283. };
  284. };
  285. serial0: serial@4500 {
  286. cell-index = <0>;
  287. device_type = "serial";
  288. compatible = "ns16550";
  289. reg = <0x4500 0x100>; // reg base, size
  290. clock-frequency = <0>; // should we fill in in uboot?
  291. interrupts = <0x2a 0x2>;
  292. interrupt-parent = <&mpic>;
  293. };
  294. serial1: serial@4600 {
  295. cell-index = <1>;
  296. device_type = "serial";
  297. compatible = "ns16550";
  298. reg = <0x4600 0x100>; // reg base, size
  299. clock-frequency = <0>; // should we fill in in uboot?
  300. interrupts = <0x2a 0x2>;
  301. interrupt-parent = <&mpic>;
  302. };
  303. global-utilities@e0000 { //global utilities reg
  304. compatible = "fsl,mpc8548-guts";
  305. reg = <0xe0000 0x1000>;
  306. fsl,has-rstcr;
  307. };
  308. crypto@30000 {
  309. compatible = "fsl,sec2.1", "fsl,sec2.0";
  310. reg = <0x30000 0x10000>;
  311. interrupts = <45 2>;
  312. interrupt-parent = <&mpic>;
  313. fsl,num-channels = <4>;
  314. fsl,channel-fifo-len = <24>;
  315. fsl,exec-units-mask = <0xfe>;
  316. fsl,descriptor-types-mask = <0x12b0ebf>;
  317. };
  318. mpic: pic@40000 {
  319. interrupt-controller;
  320. #address-cells = <0>;
  321. #interrupt-cells = <2>;
  322. reg = <0x40000 0x40000>;
  323. compatible = "chrp,open-pic";
  324. device_type = "open-pic";
  325. };
  326. };
  327. pci0: pci@e0008000 {
  328. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  329. interrupt-map = <
  330. /* IDSEL 0x01 (PCI-X slot) @66MHz */
  331. 0x0800 0x0 0x0 0x1 &mpic 0x2 0x1
  332. 0x0800 0x0 0x0 0x2 &mpic 0x3 0x1
  333. 0x0800 0x0 0x0 0x3 &mpic 0x4 0x1
  334. 0x0800 0x0 0x0 0x4 &mpic 0x1 0x1
  335. /* IDSEL 0x11 (PCI, 3.3V 32bit) @33MHz */
  336. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
  337. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
  338. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
  339. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1>;
  340. interrupt-parent = <&mpic>;
  341. interrupts = <0x18 0x2>;
  342. bus-range = <0 0>;
  343. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  344. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>;
  345. clock-frequency = <66666666>;
  346. #interrupt-cells = <1>;
  347. #size-cells = <2>;
  348. #address-cells = <3>;
  349. reg = <0xe0008000 0x1000>;
  350. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  351. device_type = "pci";
  352. };
  353. pci2: pcie@e000a000 {
  354. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  355. interrupt-map = <
  356. /* IDSEL 0x0 (PEX) */
  357. 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
  358. 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
  359. 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
  360. 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  361. interrupt-parent = <&mpic>;
  362. interrupts = <0x1a 0x2>;
  363. bus-range = <0x0 0xff>;
  364. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  365. 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x08000000>;
  366. clock-frequency = <33333333>;
  367. #interrupt-cells = <1>;
  368. #size-cells = <2>;
  369. #address-cells = <3>;
  370. reg = <0xe000a000 0x1000>;
  371. compatible = "fsl,mpc8548-pcie";
  372. device_type = "pci";
  373. pcie@0 {
  374. reg = <0x0 0x0 0x0 0x0 0x0>;
  375. #size-cells = <2>;
  376. #address-cells = <3>;
  377. device_type = "pci";
  378. ranges = <0x02000000 0x0 0xa0000000
  379. 0x02000000 0x0 0xa0000000
  380. 0x0 0x20000000
  381. 0x01000000 0x0 0x00000000
  382. 0x01000000 0x0 0x00000000
  383. 0x0 0x08000000>;
  384. };
  385. };
  386. };