sbc8548-post.dtsi 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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. /{
  14. soc8548@e0000000 {
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. device_type = "soc";
  18. ranges = <0x00000000 0xe0000000 0x00100000>;
  19. bus-frequency = <0>;
  20. compatible = "simple-bus";
  21. ecm-law@0 {
  22. compatible = "fsl,ecm-law";
  23. reg = <0x0 0x1000>;
  24. fsl,num-laws = <10>;
  25. };
  26. ecm@1000 {
  27. compatible = "fsl,mpc8548-ecm", "fsl,ecm";
  28. reg = <0x1000 0x1000>;
  29. interrupts = <17 2>;
  30. interrupt-parent = <&mpic>;
  31. };
  32. memory-controller@2000 {
  33. compatible = "fsl,mpc8548-memory-controller";
  34. reg = <0x2000 0x1000>;
  35. interrupt-parent = <&mpic>;
  36. interrupts = <0x12 0x2>;
  37. };
  38. L2: l2-cache-controller@20000 {
  39. compatible = "fsl,mpc8548-l2-cache-controller";
  40. reg = <0x20000 0x1000>;
  41. cache-line-size = <0x20>; // 32 bytes
  42. cache-size = <0x80000>; // L2, 512K
  43. interrupt-parent = <&mpic>;
  44. interrupts = <0x10 0x2>;
  45. };
  46. i2c@3000 {
  47. #address-cells = <1>;
  48. #size-cells = <0>;
  49. cell-index = <0>;
  50. compatible = "fsl-i2c";
  51. reg = <0x3000 0x100>;
  52. interrupts = <0x2b 0x2>;
  53. interrupt-parent = <&mpic>;
  54. dfsrr;
  55. };
  56. i2c@3100 {
  57. #address-cells = <1>;
  58. #size-cells = <0>;
  59. cell-index = <1>;
  60. compatible = "fsl-i2c";
  61. reg = <0x3100 0x100>;
  62. interrupts = <0x2b 0x2>;
  63. interrupt-parent = <&mpic>;
  64. dfsrr;
  65. };
  66. dma@21300 {
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma";
  70. reg = <0x21300 0x4>;
  71. ranges = <0x0 0x21100 0x200>;
  72. cell-index = <0>;
  73. dma-channel@0 {
  74. compatible = "fsl,mpc8548-dma-channel",
  75. "fsl,eloplus-dma-channel";
  76. reg = <0x0 0x80>;
  77. cell-index = <0>;
  78. interrupt-parent = <&mpic>;
  79. interrupts = <20 2>;
  80. };
  81. dma-channel@80 {
  82. compatible = "fsl,mpc8548-dma-channel",
  83. "fsl,eloplus-dma-channel";
  84. reg = <0x80 0x80>;
  85. cell-index = <1>;
  86. interrupt-parent = <&mpic>;
  87. interrupts = <21 2>;
  88. };
  89. dma-channel@100 {
  90. compatible = "fsl,mpc8548-dma-channel",
  91. "fsl,eloplus-dma-channel";
  92. reg = <0x100 0x80>;
  93. cell-index = <2>;
  94. interrupt-parent = <&mpic>;
  95. interrupts = <22 2>;
  96. };
  97. dma-channel@180 {
  98. compatible = "fsl,mpc8548-dma-channel",
  99. "fsl,eloplus-dma-channel";
  100. reg = <0x180 0x80>;
  101. cell-index = <3>;
  102. interrupt-parent = <&mpic>;
  103. interrupts = <23 2>;
  104. };
  105. };
  106. enet0: ethernet@24000 {
  107. #address-cells = <1>;
  108. #size-cells = <1>;
  109. cell-index = <0>;
  110. device_type = "network";
  111. model = "eTSEC";
  112. compatible = "gianfar";
  113. reg = <0x24000 0x1000>;
  114. ranges = <0x0 0x24000 0x1000>;
  115. local-mac-address = [ 00 00 00 00 00 00 ];
  116. interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
  117. interrupt-parent = <&mpic>;
  118. tbi-handle = <&tbi0>;
  119. phy-handle = <&phy0>;
  120. mdio@520 {
  121. #address-cells = <1>;
  122. #size-cells = <0>;
  123. compatible = "fsl,gianfar-mdio";
  124. reg = <0x520 0x20>;
  125. phy0: ethernet-phy@19 {
  126. interrupt-parent = <&mpic>;
  127. interrupts = <0x6 0x1>;
  128. reg = <0x19>;
  129. device_type = "ethernet-phy";
  130. };
  131. phy1: ethernet-phy@1a {
  132. interrupt-parent = <&mpic>;
  133. interrupts = <0x7 0x1>;
  134. reg = <0x1a>;
  135. device_type = "ethernet-phy";
  136. };
  137. tbi0: tbi-phy@11 {
  138. reg = <0x11>;
  139. device_type = "tbi-phy";
  140. };
  141. };
  142. };
  143. enet1: ethernet@25000 {
  144. #address-cells = <1>;
  145. #size-cells = <1>;
  146. cell-index = <1>;
  147. device_type = "network";
  148. model = "eTSEC";
  149. compatible = "gianfar";
  150. reg = <0x25000 0x1000>;
  151. ranges = <0x0 0x25000 0x1000>;
  152. local-mac-address = [ 00 00 00 00 00 00 ];
  153. interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
  154. interrupt-parent = <&mpic>;
  155. tbi-handle = <&tbi1>;
  156. phy-handle = <&phy1>;
  157. mdio@520 {
  158. #address-cells = <1>;
  159. #size-cells = <0>;
  160. compatible = "fsl,gianfar-tbi";
  161. reg = <0x520 0x20>;
  162. tbi1: tbi-phy@11 {
  163. reg = <0x11>;
  164. device_type = "tbi-phy";
  165. };
  166. };
  167. };
  168. serial0: serial@4500 {
  169. cell-index = <0>;
  170. device_type = "serial";
  171. compatible = "fsl,ns16550", "ns16550";
  172. reg = <0x4500 0x100>; // reg base, size
  173. clock-frequency = <0>; // should we fill in in uboot?
  174. interrupts = <0x2a 0x2>;
  175. interrupt-parent = <&mpic>;
  176. };
  177. serial1: serial@4600 {
  178. cell-index = <1>;
  179. device_type = "serial";
  180. compatible = "fsl,ns16550", "ns16550";
  181. reg = <0x4600 0x100>; // reg base, size
  182. clock-frequency = <0>; // should we fill in in uboot?
  183. interrupts = <0x2a 0x2>;
  184. interrupt-parent = <&mpic>;
  185. };
  186. global-utilities@e0000 { //global utilities reg
  187. compatible = "fsl,mpc8548-guts";
  188. reg = <0xe0000 0x1000>;
  189. fsl,has-rstcr;
  190. };
  191. crypto@30000 {
  192. compatible = "fsl,sec2.1", "fsl,sec2.0";
  193. reg = <0x30000 0x10000>;
  194. interrupts = <45 2>;
  195. interrupt-parent = <&mpic>;
  196. fsl,num-channels = <4>;
  197. fsl,channel-fifo-len = <24>;
  198. fsl,exec-units-mask = <0xfe>;
  199. fsl,descriptor-types-mask = <0x12b0ebf>;
  200. };
  201. mpic: pic@40000 {
  202. interrupt-controller;
  203. #address-cells = <0>;
  204. #interrupt-cells = <2>;
  205. reg = <0x40000 0x40000>;
  206. compatible = "chrp,open-pic";
  207. device_type = "open-pic";
  208. };
  209. };
  210. pci0: pci@e0008000 {
  211. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  212. interrupt-map = <
  213. /* IDSEL 0x01 (PCI-X slot) @66MHz */
  214. 0x0800 0x0 0x0 0x1 &mpic 0x2 0x1
  215. 0x0800 0x0 0x0 0x2 &mpic 0x3 0x1
  216. 0x0800 0x0 0x0 0x3 &mpic 0x4 0x1
  217. 0x0800 0x0 0x0 0x4 &mpic 0x1 0x1
  218. /* IDSEL 0x11 (PCI, 3.3V 32bit) @33MHz */
  219. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
  220. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
  221. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
  222. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1>;
  223. interrupt-parent = <&mpic>;
  224. interrupts = <0x18 0x2>;
  225. bus-range = <0 0>;
  226. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  227. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>;
  228. clock-frequency = <66000000>;
  229. #interrupt-cells = <1>;
  230. #size-cells = <2>;
  231. #address-cells = <3>;
  232. reg = <0xe0008000 0x1000>;
  233. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  234. device_type = "pci";
  235. };
  236. pci1: pcie@e000a000 {
  237. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  238. interrupt-map = <
  239. /* IDSEL 0x0 (PEX) */
  240. 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
  241. 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
  242. 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
  243. 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  244. interrupt-parent = <&mpic>;
  245. interrupts = <0x1a 0x2>;
  246. bus-range = <0x0 0xff>;
  247. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  248. 0x01000000 0x0 0x00000000 0xe2800000 0x0 0x08000000>;
  249. clock-frequency = <33000000>;
  250. #interrupt-cells = <1>;
  251. #size-cells = <2>;
  252. #address-cells = <3>;
  253. reg = <0xe000a000 0x1000>;
  254. compatible = "fsl,mpc8548-pcie";
  255. device_type = "pci";
  256. pcie@0 {
  257. reg = <0x0 0x0 0x0 0x0 0x0>;
  258. #size-cells = <2>;
  259. #address-cells = <3>;
  260. device_type = "pci";
  261. ranges = <0x02000000 0x0 0xa0000000
  262. 0x02000000 0x0 0xa0000000
  263. 0x0 0x10000000
  264. 0x01000000 0x0 0x00000000
  265. 0x01000000 0x0 0x00000000
  266. 0x0 0x00800000>;
  267. };
  268. };
  269. };