sbc8548.dts 9.6 KB

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