tqm8541.dts 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /*
  2. * TQM 8541 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,8541";
  14. compatible = "tqm,8541", "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,8541@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. next-level-cache = <&L2>;
  38. };
  39. };
  40. memory {
  41. device_type = "memory";
  42. reg = <0x00000000 0x10000000>;
  43. };
  44. soc@e0000000 {
  45. #address-cells = <1>;
  46. #size-cells = <1>;
  47. device_type = "soc";
  48. ranges = <0x0 0xe0000000 0x100000>;
  49. reg = <0xe0000000 0x200>;
  50. bus-frequency = <0>;
  51. compatible = "fsl,mpc8541-immr", "simple-bus";
  52. memory-controller@2000 {
  53. compatible = "fsl,8540-memory-controller";
  54. reg = <0x2000 0x1000>;
  55. interrupt-parent = <&mpic>;
  56. interrupts = <18 2>;
  57. };
  58. L2: l2-cache-controller@20000 {
  59. compatible = "fsl,8540-l2-cache-controller";
  60. reg = <0x20000 0x1000>;
  61. cache-line-size = <32>;
  62. cache-size = <0x40000>; // L2, 256K
  63. interrupt-parent = <&mpic>;
  64. interrupts = <16 2>;
  65. };
  66. i2c@3000 {
  67. #address-cells = <1>;
  68. #size-cells = <0>;
  69. cell-index = <0>;
  70. compatible = "fsl-i2c";
  71. reg = <0x3000 0x100>;
  72. interrupts = <43 2>;
  73. interrupt-parent = <&mpic>;
  74. dfsrr;
  75. rtc@68 {
  76. compatible = "dallas,ds1337";
  77. reg = <0x68>;
  78. };
  79. };
  80. mdio@24520 {
  81. #address-cells = <1>;
  82. #size-cells = <0>;
  83. compatible = "fsl,gianfar-mdio";
  84. reg = <0x24520 0x20>;
  85. phy1: ethernet-phy@1 {
  86. interrupt-parent = <&mpic>;
  87. interrupts = <8 1>;
  88. reg = <1>;
  89. device_type = "ethernet-phy";
  90. };
  91. phy2: ethernet-phy@2 {
  92. interrupt-parent = <&mpic>;
  93. interrupts = <8 1>;
  94. reg = <2>;
  95. device_type = "ethernet-phy";
  96. };
  97. phy3: ethernet-phy@3 {
  98. interrupt-parent = <&mpic>;
  99. interrupts = <8 1>;
  100. reg = <3>;
  101. device_type = "ethernet-phy";
  102. };
  103. };
  104. enet0: ethernet@24000 {
  105. cell-index = <0>;
  106. device_type = "network";
  107. model = "TSEC";
  108. compatible = "gianfar";
  109. reg = <0x24000 0x1000>;
  110. local-mac-address = [ 00 00 00 00 00 00 ];
  111. interrupts = <29 2 30 2 34 2>;
  112. interrupt-parent = <&mpic>;
  113. phy-handle = <&phy2>;
  114. };
  115. enet1: ethernet@25000 {
  116. cell-index = <1>;
  117. device_type = "network";
  118. model = "TSEC";
  119. compatible = "gianfar";
  120. reg = <0x25000 0x1000>;
  121. local-mac-address = [ 00 00 00 00 00 00 ];
  122. interrupts = <35 2 36 2 40 2>;
  123. interrupt-parent = <&mpic>;
  124. phy-handle = <&phy1>;
  125. };
  126. serial0: serial@4500 {
  127. cell-index = <0>;
  128. device_type = "serial";
  129. compatible = "ns16550";
  130. reg = <0x4500 0x100>; // reg base, size
  131. clock-frequency = <0>; // should we fill in in uboot?
  132. interrupts = <42 2>;
  133. interrupt-parent = <&mpic>;
  134. };
  135. serial1: serial@4600 {
  136. cell-index = <1>;
  137. device_type = "serial";
  138. compatible = "ns16550";
  139. reg = <0x4600 0x100>; // reg base, size
  140. clock-frequency = <0>; // should we fill in in uboot?
  141. interrupts = <42 2>;
  142. interrupt-parent = <&mpic>;
  143. };
  144. mpic: pic@40000 {
  145. interrupt-controller;
  146. #address-cells = <0>;
  147. #interrupt-cells = <2>;
  148. reg = <0x40000 0x40000>;
  149. device_type = "open-pic";
  150. compatible = "chrp,open-pic";
  151. };
  152. cpm@919c0 {
  153. #address-cells = <1>;
  154. #size-cells = <1>;
  155. compatible = "fsl,mpc8541-cpm", "fsl,cpm2", "simple-bus";
  156. reg = <0x919c0 0x30>;
  157. ranges;
  158. muram@80000 {
  159. #address-cells = <1>;
  160. #size-cells = <1>;
  161. ranges = <0 0x80000 0x10000>;
  162. data@0 {
  163. compatible = "fsl,cpm-muram-data";
  164. reg = <0 0x2000 0x9000 0x1000>;
  165. };
  166. };
  167. brg@919f0 {
  168. compatible = "fsl,mpc8541-brg",
  169. "fsl,cpm2-brg",
  170. "fsl,cpm-brg";
  171. reg = <0x919f0 0x10 0x915f0 0x10>;
  172. clock-frequency = <0>;
  173. };
  174. cpmpic: pic@90c00 {
  175. interrupt-controller;
  176. #address-cells = <0>;
  177. #interrupt-cells = <2>;
  178. interrupts = <46 2>;
  179. interrupt-parent = <&mpic>;
  180. reg = <0x90c00 0x80>;
  181. compatible = "fsl,mpc8541-cpm-pic", "fsl,cpm2-pic";
  182. };
  183. };
  184. };
  185. pci0: pci@e0008000 {
  186. cell-index = <0>;
  187. #interrupt-cells = <1>;
  188. #size-cells = <2>;
  189. #address-cells = <3>;
  190. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  191. device_type = "pci";
  192. reg = <0xe0008000 0x1000>;
  193. clock-frequency = <66666666>;
  194. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  195. interrupt-map = <
  196. /* IDSEL 28 */
  197. 0xe000 0 0 1 &mpic 2 1
  198. 0xe000 0 0 2 &mpic 3 1>;
  199. interrupt-parent = <&mpic>;
  200. interrupts = <24 2>;
  201. bus-range = <0 0>;
  202. ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
  203. 0x01000000 0 0x00000000 0xe2000000 0 0x01000000>;
  204. };
  205. };