sbc8548-post.dtsi 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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. };
  130. phy1: ethernet-phy@1a {
  131. interrupt-parent = <&mpic>;
  132. interrupts = <0x7 0x1>;
  133. reg = <0x1a>;
  134. };
  135. tbi0: tbi-phy@11 {
  136. reg = <0x11>;
  137. device_type = "tbi-phy";
  138. };
  139. };
  140. };
  141. enet1: ethernet@25000 {
  142. #address-cells = <1>;
  143. #size-cells = <1>;
  144. cell-index = <1>;
  145. device_type = "network";
  146. model = "eTSEC";
  147. compatible = "gianfar";
  148. reg = <0x25000 0x1000>;
  149. ranges = <0x0 0x25000 0x1000>;
  150. local-mac-address = [ 00 00 00 00 00 00 ];
  151. interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
  152. interrupt-parent = <&mpic>;
  153. tbi-handle = <&tbi1>;
  154. phy-handle = <&phy1>;
  155. mdio@520 {
  156. #address-cells = <1>;
  157. #size-cells = <0>;
  158. compatible = "fsl,gianfar-tbi";
  159. reg = <0x520 0x20>;
  160. tbi1: tbi-phy@11 {
  161. reg = <0x11>;
  162. device_type = "tbi-phy";
  163. };
  164. };
  165. };
  166. serial0: serial@4500 {
  167. cell-index = <0>;
  168. device_type = "serial";
  169. compatible = "fsl,ns16550", "ns16550";
  170. reg = <0x4500 0x100>; // reg base, size
  171. clock-frequency = <0>; // should we fill in in uboot?
  172. interrupts = <0x2a 0x2>;
  173. interrupt-parent = <&mpic>;
  174. };
  175. serial1: serial@4600 {
  176. cell-index = <1>;
  177. device_type = "serial";
  178. compatible = "fsl,ns16550", "ns16550";
  179. reg = <0x4600 0x100>; // reg base, size
  180. clock-frequency = <0>; // should we fill in in uboot?
  181. interrupts = <0x2a 0x2>;
  182. interrupt-parent = <&mpic>;
  183. };
  184. global-utilities@e0000 { //global utilities reg
  185. compatible = "fsl,mpc8548-guts";
  186. reg = <0xe0000 0x1000>;
  187. fsl,has-rstcr;
  188. };
  189. crypto@30000 {
  190. compatible = "fsl,sec2.1", "fsl,sec2.0";
  191. reg = <0x30000 0x10000>;
  192. interrupts = <45 2>;
  193. interrupt-parent = <&mpic>;
  194. fsl,num-channels = <4>;
  195. fsl,channel-fifo-len = <24>;
  196. fsl,exec-units-mask = <0xfe>;
  197. fsl,descriptor-types-mask = <0x12b0ebf>;
  198. };
  199. mpic: pic@40000 {
  200. interrupt-controller;
  201. #address-cells = <0>;
  202. #interrupt-cells = <2>;
  203. reg = <0x40000 0x40000>;
  204. compatible = "chrp,open-pic";
  205. device_type = "open-pic";
  206. };
  207. };
  208. pci0: pci@e0008000 {
  209. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  210. interrupt-map = <
  211. /* IDSEL 0x01 (PCI-X slot) @66MHz */
  212. 0x0800 0x0 0x0 0x1 &mpic 0x2 0x1
  213. 0x0800 0x0 0x0 0x2 &mpic 0x3 0x1
  214. 0x0800 0x0 0x0 0x3 &mpic 0x4 0x1
  215. 0x0800 0x0 0x0 0x4 &mpic 0x1 0x1
  216. /* IDSEL 0x11 (PCI, 3.3V 32bit) @33MHz */
  217. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
  218. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
  219. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
  220. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1>;
  221. interrupt-parent = <&mpic>;
  222. interrupts = <0x18 0x2>;
  223. bus-range = <0 0>;
  224. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  225. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>;
  226. clock-frequency = <66000000>;
  227. #interrupt-cells = <1>;
  228. #size-cells = <2>;
  229. #address-cells = <3>;
  230. reg = <0xe0008000 0x1000>;
  231. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  232. device_type = "pci";
  233. };
  234. pci1: pcie@e000a000 {
  235. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  236. interrupt-map = <
  237. /* IDSEL 0x0 (PEX) */
  238. 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
  239. 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
  240. 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
  241. 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  242. interrupt-parent = <&mpic>;
  243. interrupts = <0x1a 0x2>;
  244. bus-range = <0x0 0xff>;
  245. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  246. 0x01000000 0x0 0x00000000 0xe2800000 0x0 0x08000000>;
  247. clock-frequency = <33000000>;
  248. #interrupt-cells = <1>;
  249. #size-cells = <2>;
  250. #address-cells = <3>;
  251. reg = <0xe000a000 0x1000>;
  252. compatible = "fsl,mpc8548-pcie";
  253. device_type = "pci";
  254. pcie@0 {
  255. reg = <0x0 0x0 0x0 0x0 0x0>;
  256. #size-cells = <2>;
  257. #address-cells = <3>;
  258. device_type = "pci";
  259. ranges = <0x02000000 0x0 0xa0000000
  260. 0x02000000 0x0 0xa0000000
  261. 0x0 0x10000000
  262. 0x01000000 0x0 0x00000000
  263. 0x01000000 0x0 0x00000000
  264. 0x0 0x00800000>;
  265. };
  266. };
  267. };