sbc8548.dts 7.9 KB

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