sbc8548.dts 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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. soc8548@e0000000 {
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. device_type = "soc";
  51. ranges = <0x00000000 0xe0000000 0x00100000>;
  52. reg = <0xe0000000 0x00001000>; // CCSRBAR
  53. bus-frequency = <0>;
  54. memory-controller@2000 {
  55. compatible = "fsl,8548-memory-controller";
  56. reg = <0x2000 0x1000>;
  57. interrupt-parent = <&mpic>;
  58. interrupts = <0x12 0x2>;
  59. };
  60. l2-cache-controller@20000 {
  61. compatible = "fsl,8548-l2-cache-controller";
  62. reg = <0x20000 0x1000>;
  63. cache-line-size = <0x20>; // 32 bytes
  64. cache-size = <0x80000>; // L2, 512K
  65. interrupt-parent = <&mpic>;
  66. interrupts = <0x10 0x2>;
  67. };
  68. i2c@3000 {
  69. #address-cells = <1>;
  70. #size-cells = <0>;
  71. cell-index = <0>;
  72. compatible = "fsl-i2c";
  73. reg = <0x3000 0x100>;
  74. interrupts = <0x2b 0x2>;
  75. interrupt-parent = <&mpic>;
  76. dfsrr;
  77. };
  78. i2c@3100 {
  79. #address-cells = <1>;
  80. #size-cells = <0>;
  81. cell-index = <1>;
  82. compatible = "fsl-i2c";
  83. reg = <0x3100 0x100>;
  84. interrupts = <0x2b 0x2>;
  85. interrupt-parent = <&mpic>;
  86. dfsrr;
  87. };
  88. mdio@24520 {
  89. #address-cells = <1>;
  90. #size-cells = <0>;
  91. compatible = "fsl,gianfar-mdio";
  92. reg = <0x24520 0x20>;
  93. phy0: ethernet-phy@19 {
  94. interrupt-parent = <&mpic>;
  95. interrupts = <0x6 0x1>;
  96. reg = <0x19>;
  97. device_type = "ethernet-phy";
  98. };
  99. phy1: ethernet-phy@1a {
  100. interrupt-parent = <&mpic>;
  101. interrupts = <0x7 0x1>;
  102. reg = <0x1a>;
  103. device_type = "ethernet-phy";
  104. };
  105. };
  106. enet0: ethernet@24000 {
  107. cell-index = <0>;
  108. device_type = "network";
  109. model = "eTSEC";
  110. compatible = "gianfar";
  111. reg = <0x24000 0x1000>;
  112. local-mac-address = [ 00 00 00 00 00 00 ];
  113. interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
  114. interrupt-parent = <&mpic>;
  115. phy-handle = <&phy0>;
  116. };
  117. enet1: ethernet@25000 {
  118. cell-index = <1>;
  119. device_type = "network";
  120. model = "eTSEC";
  121. compatible = "gianfar";
  122. reg = <0x25000 0x1000>;
  123. local-mac-address = [ 00 00 00 00 00 00 ];
  124. interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
  125. interrupt-parent = <&mpic>;
  126. phy-handle = <&phy1>;
  127. };
  128. serial0: serial@4500 {
  129. cell-index = <0>;
  130. device_type = "serial";
  131. compatible = "ns16550";
  132. reg = <0x4500 0x100>; // reg base, size
  133. clock-frequency = <0>; // should we fill in in uboot?
  134. interrupts = <0x2a 0x2>;
  135. interrupt-parent = <&mpic>;
  136. };
  137. serial1: serial@4600 {
  138. cell-index = <1>;
  139. device_type = "serial";
  140. compatible = "ns16550";
  141. reg = <0x4600 0x100>; // reg base, size
  142. clock-frequency = <0>; // should we fill in in uboot?
  143. interrupts = <0x2a 0x2>;
  144. interrupt-parent = <&mpic>;
  145. };
  146. global-utilities@e0000 { //global utilities reg
  147. compatible = "fsl,mpc8548-guts";
  148. reg = <0xe0000 0x1000>;
  149. fsl,has-rstcr;
  150. };
  151. mpic: pic@40000 {
  152. interrupt-controller;
  153. #address-cells = <0>;
  154. #size-cells = <0>;
  155. #interrupt-cells = <2>;
  156. reg = <0x40000 0x40000>;
  157. compatible = "chrp,open-pic";
  158. device_type = "open-pic";
  159. big-endian;
  160. };
  161. };
  162. pci0: pci@e0008000 {
  163. cell-index = <0>;
  164. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  165. interrupt-map = <
  166. /* IDSEL 0x01 (PCI-X slot) @66MHz */
  167. 0x0800 0x0 0x0 0x1 &mpic 0x2 0x1
  168. 0x0800 0x0 0x0 0x2 &mpic 0x3 0x1
  169. 0x0800 0x0 0x0 0x3 &mpic 0x4 0x1
  170. 0x0800 0x0 0x0 0x4 &mpic 0x1 0x1
  171. /* IDSEL 0x11 (PCI, 3.3V 32bit) @33MHz */
  172. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
  173. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
  174. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
  175. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1>;
  176. interrupt-parent = <&mpic>;
  177. interrupts = <0x18 0x2>;
  178. bus-range = <0 0>;
  179. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  180. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>;
  181. clock-frequency = <66666666>;
  182. #interrupt-cells = <1>;
  183. #size-cells = <2>;
  184. #address-cells = <3>;
  185. reg = <0xe0008000 0x1000>;
  186. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  187. device_type = "pci";
  188. };
  189. pci2: pcie@e000a000 {
  190. cell-index = <2>;
  191. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  192. interrupt-map = <
  193. /* IDSEL 0x0 (PEX) */
  194. 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
  195. 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
  196. 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
  197. 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  198. interrupt-parent = <&mpic>;
  199. interrupts = <0x1a 0x2>;
  200. bus-range = <0x0 0xff>;
  201. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  202. 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x08000000>;
  203. clock-frequency = <33333333>;
  204. #interrupt-cells = <1>;
  205. #size-cells = <2>;
  206. #address-cells = <3>;
  207. reg = <0xe000a000 0x1000>;
  208. compatible = "fsl,mpc8548-pcie";
  209. device_type = "pci";
  210. pcie@0 {
  211. reg = <0x0 0x0 0x0 0x0 0x0>;
  212. #size-cells = <2>;
  213. #address-cells = <3>;
  214. device_type = "pci";
  215. ranges = <0x02000000 0x0 0xa0000000
  216. 0x02000000 0x0 0xa0000000
  217. 0x0 0x20000000
  218. 0x01000000 0x0 0x00000000
  219. 0x01000000 0x0 0x00000000
  220. 0x0 0x08000000>;
  221. };
  222. };
  223. };