sbc8548.dts 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  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,8548-memory-controller";
  140. reg = <0x2000 0x1000>;
  141. interrupt-parent = <&mpic>;
  142. interrupts = <0x12 0x2>;
  143. };
  144. L2: l2-cache-controller@20000 {
  145. compatible = "fsl,8548-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. mdio@24520 {
  173. #address-cells = <1>;
  174. #size-cells = <0>;
  175. compatible = "fsl,gianfar-mdio";
  176. reg = <0x24520 0x20>;
  177. phy0: ethernet-phy@19 {
  178. interrupt-parent = <&mpic>;
  179. interrupts = <0x6 0x1>;
  180. reg = <0x19>;
  181. device_type = "ethernet-phy";
  182. };
  183. phy1: ethernet-phy@1a {
  184. interrupt-parent = <&mpic>;
  185. interrupts = <0x7 0x1>;
  186. reg = <0x1a>;
  187. device_type = "ethernet-phy";
  188. };
  189. };
  190. enet0: ethernet@24000 {
  191. cell-index = <0>;
  192. device_type = "network";
  193. model = "eTSEC";
  194. compatible = "gianfar";
  195. reg = <0x24000 0x1000>;
  196. local-mac-address = [ 00 00 00 00 00 00 ];
  197. interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
  198. interrupt-parent = <&mpic>;
  199. phy-handle = <&phy0>;
  200. };
  201. enet1: ethernet@25000 {
  202. cell-index = <1>;
  203. device_type = "network";
  204. model = "eTSEC";
  205. compatible = "gianfar";
  206. reg = <0x25000 0x1000>;
  207. local-mac-address = [ 00 00 00 00 00 00 ];
  208. interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
  209. interrupt-parent = <&mpic>;
  210. phy-handle = <&phy1>;
  211. };
  212. serial0: serial@4500 {
  213. cell-index = <0>;
  214. device_type = "serial";
  215. compatible = "ns16550";
  216. reg = <0x4500 0x100>; // reg base, size
  217. clock-frequency = <0>; // should we fill in in uboot?
  218. interrupts = <0x2a 0x2>;
  219. interrupt-parent = <&mpic>;
  220. };
  221. serial1: serial@4600 {
  222. cell-index = <1>;
  223. device_type = "serial";
  224. compatible = "ns16550";
  225. reg = <0x4600 0x100>; // reg base, size
  226. clock-frequency = <0>; // should we fill in in uboot?
  227. interrupts = <0x2a 0x2>;
  228. interrupt-parent = <&mpic>;
  229. };
  230. global-utilities@e0000 { //global utilities reg
  231. compatible = "fsl,mpc8548-guts";
  232. reg = <0xe0000 0x1000>;
  233. fsl,has-rstcr;
  234. };
  235. mpic: pic@40000 {
  236. interrupt-controller;
  237. #address-cells = <0>;
  238. #interrupt-cells = <2>;
  239. reg = <0x40000 0x40000>;
  240. compatible = "chrp,open-pic";
  241. device_type = "open-pic";
  242. };
  243. };
  244. pci0: pci@e0008000 {
  245. cell-index = <0>;
  246. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  247. interrupt-map = <
  248. /* IDSEL 0x01 (PCI-X slot) @66MHz */
  249. 0x0800 0x0 0x0 0x1 &mpic 0x2 0x1
  250. 0x0800 0x0 0x0 0x2 &mpic 0x3 0x1
  251. 0x0800 0x0 0x0 0x3 &mpic 0x4 0x1
  252. 0x0800 0x0 0x0 0x4 &mpic 0x1 0x1
  253. /* IDSEL 0x11 (PCI, 3.3V 32bit) @33MHz */
  254. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
  255. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
  256. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
  257. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1>;
  258. interrupt-parent = <&mpic>;
  259. interrupts = <0x18 0x2>;
  260. bus-range = <0 0>;
  261. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  262. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>;
  263. clock-frequency = <66666666>;
  264. #interrupt-cells = <1>;
  265. #size-cells = <2>;
  266. #address-cells = <3>;
  267. reg = <0xe0008000 0x1000>;
  268. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  269. device_type = "pci";
  270. };
  271. pci2: pcie@e000a000 {
  272. cell-index = <2>;
  273. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  274. interrupt-map = <
  275. /* IDSEL 0x0 (PEX) */
  276. 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
  277. 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
  278. 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
  279. 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  280. interrupt-parent = <&mpic>;
  281. interrupts = <0x1a 0x2>;
  282. bus-range = <0x0 0xff>;
  283. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  284. 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x08000000>;
  285. clock-frequency = <33333333>;
  286. #interrupt-cells = <1>;
  287. #size-cells = <2>;
  288. #address-cells = <3>;
  289. reg = <0xe000a000 0x1000>;
  290. compatible = "fsl,mpc8548-pcie";
  291. device_type = "pci";
  292. pcie@0 {
  293. reg = <0x0 0x0 0x0 0x0 0x0>;
  294. #size-cells = <2>;
  295. #address-cells = <3>;
  296. device_type = "pci";
  297. ranges = <0x02000000 0x0 0xa0000000
  298. 0x02000000 0x0 0xa0000000
  299. 0x0 0x20000000
  300. 0x01000000 0x0 0x00000000
  301. 0x01000000 0x0 0x00000000
  302. 0x0 0x08000000>;
  303. };
  304. };
  305. };