tqm8555.dts 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. /*
  2. * TQM 8555 Device Tree Source
  3. *
  4. * Copyright 2008 Freescale Semiconductor Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2 of the License, or (at your
  9. * option) any later version.
  10. */
  11. /dts-v1/;
  12. / {
  13. model = "tqm,8555";
  14. compatible = "tqm,8555", "tqm,85xx";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. serial0 = &serial0;
  21. serial1 = &serial1;
  22. pci0 = &pci0;
  23. };
  24. cpus {
  25. #address-cells = <1>;
  26. #size-cells = <0>;
  27. PowerPC,8555@0 {
  28. device_type = "cpu";
  29. reg = <0>;
  30. d-cache-line-size = <32>;
  31. i-cache-line-size = <32>;
  32. d-cache-size = <32768>;
  33. i-cache-size = <32768>;
  34. timebase-frequency = <0>;
  35. bus-frequency = <0>;
  36. clock-frequency = <0>;
  37. };
  38. };
  39. memory {
  40. device_type = "memory";
  41. reg = <0x00000000 0x10000000>;
  42. };
  43. soc@e0000000 {
  44. #address-cells = <1>;
  45. #size-cells = <1>;
  46. device_type = "soc";
  47. ranges = <0x0 0xe0000000 0x100000>;
  48. reg = <0xe0000000 0x200>;
  49. bus-frequency = <0>;
  50. compatible = "fsl,mpc8555-immr", "simple-bus";
  51. memory-controller@2000 {
  52. compatible = "fsl,8540-memory-controller";
  53. reg = <0x2000 0x1000>;
  54. interrupt-parent = <&mpic>;
  55. interrupts = <18 2>;
  56. };
  57. l2-cache-controller@20000 {
  58. compatible = "fsl,8540-l2-cache-controller";
  59. reg = <0x20000 0x1000>;
  60. cache-line-size = <32>;
  61. cache-size = <0x40000>; // L2, 256K
  62. interrupt-parent = <&mpic>;
  63. interrupts = <16 2>;
  64. };
  65. i2c@3000 {
  66. #address-cells = <1>;
  67. #size-cells = <0>;
  68. cell-index = <0>;
  69. compatible = "fsl-i2c";
  70. reg = <0x3000 0x100>;
  71. interrupts = <43 2>;
  72. interrupt-parent = <&mpic>;
  73. dfsrr;
  74. rtc@68 {
  75. compatible = "dallas,ds1337";
  76. reg = <0x68>;
  77. };
  78. };
  79. mdio@24520 {
  80. #address-cells = <1>;
  81. #size-cells = <0>;
  82. compatible = "fsl,gianfar-mdio";
  83. reg = <0x24520 0x20>;
  84. phy1: ethernet-phy@1 {
  85. interrupt-parent = <&mpic>;
  86. interrupts = <8 1>;
  87. reg = <1>;
  88. device_type = "ethernet-phy";
  89. };
  90. phy2: ethernet-phy@2 {
  91. interrupt-parent = <&mpic>;
  92. interrupts = <8 1>;
  93. reg = <2>;
  94. device_type = "ethernet-phy";
  95. };
  96. phy3: ethernet-phy@3 {
  97. interrupt-parent = <&mpic>;
  98. interrupts = <8 1>;
  99. reg = <3>;
  100. device_type = "ethernet-phy";
  101. };
  102. };
  103. enet0: ethernet@24000 {
  104. cell-index = <0>;
  105. device_type = "network";
  106. model = "TSEC";
  107. compatible = "gianfar";
  108. reg = <0x24000 0x1000>;
  109. local-mac-address = [ 00 00 00 00 00 00 ];
  110. interrupts = <29 2 30 2 34 2>;
  111. interrupt-parent = <&mpic>;
  112. phy-handle = <&phy2>;
  113. };
  114. enet1: ethernet@25000 {
  115. cell-index = <1>;
  116. device_type = "network";
  117. model = "TSEC";
  118. compatible = "gianfar";
  119. reg = <0x25000 0x1000>;
  120. local-mac-address = [ 00 00 00 00 00 00 ];
  121. interrupts = <35 2 36 2 40 2>;
  122. interrupt-parent = <&mpic>;
  123. phy-handle = <&phy1>;
  124. };
  125. serial0: serial@4500 {
  126. cell-index = <0>;
  127. device_type = "serial";
  128. compatible = "ns16550";
  129. reg = <0x4500 0x100>; // reg base, size
  130. clock-frequency = <0>; // should we fill in in uboot?
  131. interrupts = <42 2>;
  132. interrupt-parent = <&mpic>;
  133. };
  134. serial1: serial@4600 {
  135. cell-index = <1>;
  136. device_type = "serial";
  137. compatible = "ns16550";
  138. reg = <0x4600 0x100>; // reg base, size
  139. clock-frequency = <0>; // should we fill in in uboot?
  140. interrupts = <42 2>;
  141. interrupt-parent = <&mpic>;
  142. };
  143. mpic: pic@40000 {
  144. interrupt-controller;
  145. #address-cells = <0>;
  146. #interrupt-cells = <2>;
  147. reg = <0x40000 0x40000>;
  148. device_type = "open-pic";
  149. };
  150. cpm@919c0 {
  151. #address-cells = <1>;
  152. #size-cells = <1>;
  153. compatible = "fsl,mpc8555-cpm", "fsl,cpm2", "simple-bus";
  154. reg = <0x919c0 0x30>;
  155. ranges;
  156. muram@80000 {
  157. #address-cells = <1>;
  158. #size-cells = <1>;
  159. ranges = <0 0x80000 0x10000>;
  160. data@0 {
  161. compatible = "fsl,cpm-muram-data";
  162. reg = <0 0x2000 0x9000 0x1000>;
  163. };
  164. };
  165. brg@919f0 {
  166. compatible = "fsl,mpc8555-brg",
  167. "fsl,cpm2-brg",
  168. "fsl,cpm-brg";
  169. reg = <0x919f0 0x10 0x915f0 0x10>;
  170. clock-frequency = <0>;
  171. };
  172. cpmpic: pic@90c00 {
  173. interrupt-controller;
  174. #address-cells = <0>;
  175. #interrupt-cells = <2>;
  176. interrupts = <46 2>;
  177. interrupt-parent = <&mpic>;
  178. reg = <0x90c00 0x80>;
  179. compatible = "fsl,mpc8555-cpm-pic", "fsl,cpm2-pic";
  180. };
  181. };
  182. };
  183. pci0: pci@e0008000 {
  184. cell-index = <0>;
  185. #interrupt-cells = <1>;
  186. #size-cells = <2>;
  187. #address-cells = <3>;
  188. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  189. device_type = "pci";
  190. reg = <0xe0008000 0x1000>;
  191. clock-frequency = <66666666>;
  192. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  193. interrupt-map = <
  194. /* IDSEL 28 */
  195. 0xe000 0 0 1 &mpic 2 1
  196. 0xe000 0 0 2 &mpic 3 1>;
  197. interrupt-parent = <&mpic>;
  198. interrupts = <24 2>;
  199. bus-range = <0 0>;
  200. ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
  201. 0x01000000 0 0x00000000 0xe2000000 0 0x01000000>;
  202. };
  203. };