mgcoge.dts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /*
  2. * Device Tree for the MGCOGE plattform from keymile
  3. *
  4. * Copyright 2008 DENX Software Engineering GmbH
  5. * Heiko Schocher <hs@denx.de>
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the
  9. * Free Software Foundation; either version 2 of the License, or (at your
  10. * option) any later version.
  11. */
  12. /dts-v1/;
  13. / {
  14. model = "MGCOGE";
  15. compatible = "keymile,mgcoge";
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. aliases {
  19. ethernet0 = &eth0;
  20. serial0 = &smc2;
  21. };
  22. cpus {
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. PowerPC,8247@0 {
  26. device_type = "cpu";
  27. reg = <0>;
  28. d-cache-line-size = <32>;
  29. i-cache-line-size = <32>;
  30. d-cache-size = <16384>;
  31. i-cache-size = <16384>;
  32. timebase-frequency = <0>; /* Filled in by U-Boot */
  33. clock-frequency = <0>; /* Filled in by U-Boot */
  34. bus-frequency = <0>; /* Filled in by U-Boot */
  35. };
  36. };
  37. localbus@f0010100 {
  38. compatible = "fsl,mpc8247-localbus",
  39. "fsl,pq2-localbus",
  40. "simple-bus";
  41. #address-cells = <2>;
  42. #size-cells = <1>;
  43. reg = <0xf0010100 0x40>;
  44. ranges = <0 0 0xfe000000 0x00400000
  45. 5 0 0x50000000 0x20000000
  46. >; /* Filled in by U-Boot */
  47. flash@0,0 {
  48. compatible = "cfi-flash";
  49. reg = <0 0x0 0x400000>;
  50. #address-cells = <1>;
  51. #size-cells = <1>;
  52. bank-width = <1>;
  53. device-width = <1>;
  54. partition@0 {
  55. label = "u-boot";
  56. reg = <0 0x40000>;
  57. };
  58. partition@40000 {
  59. label = "env";
  60. reg = <0x40000 0x20000>;
  61. };
  62. partition@60000 {
  63. label = "kernel";
  64. reg = <0x60000 0x220000>;
  65. };
  66. partition@280000 {
  67. label = "dtb";
  68. reg = <0x280000 0x20000>;
  69. };
  70. };
  71. flash@5,0 {
  72. compatible = "cfi-flash";
  73. reg = <5 0x0 0x2000000>;
  74. #address-cells = <1>;
  75. #size-cells = <1>;
  76. bank-width = <2>;
  77. device-width = <2>;
  78. partition@0 {
  79. label = "ramdisk";
  80. reg = <0 0x7a0000>;
  81. };
  82. partition@7a0000 {
  83. label = "user";
  84. reg = <0x7a0000 0x1860000>;
  85. };
  86. };
  87. };
  88. memory {
  89. device_type = "memory";
  90. reg = <0 0>; /* Filled in by U-Boot */
  91. };
  92. soc@f0000000 {
  93. #address-cells = <1>;
  94. #size-cells = <1>;
  95. compatible = "fsl,mpc8247-immr", "fsl,pq2-soc", "simple-bus";
  96. ranges = <0x00000000 0xf0000000 0x00053000>;
  97. // Temporary until code stops depending on it.
  98. device_type = "soc";
  99. cpm@119c0 {
  100. #address-cells = <1>;
  101. #size-cells = <1>;
  102. #interrupt-cells = <2>;
  103. compatible = "fsl,mpc8247-cpm", "fsl,cpm2",
  104. "simple-bus";
  105. reg = <0x119c0 0x30>;
  106. ranges;
  107. muram {
  108. compatible = "fsl,cpm-muram";
  109. #address-cells = <1>;
  110. #size-cells = <1>;
  111. ranges = <0 0 0x10000>;
  112. data@0 {
  113. compatible = "fsl,cpm-muram-data";
  114. reg = <0x80 0x1f80 0x9800 0x800>;
  115. };
  116. };
  117. brg@119f0 {
  118. compatible = "fsl,mpc8247-brg",
  119. "fsl,cpm2-brg",
  120. "fsl,cpm-brg";
  121. reg = <0x119f0 0x10 0x115f0 0x10>;
  122. };
  123. /* Monitor port/SMC2 */
  124. smc2: serial@11a90 {
  125. device_type = "serial";
  126. compatible = "fsl,mpc8247-smc-uart",
  127. "fsl,cpm2-smc-uart";
  128. reg = <0x11a90 0x20 0x88fc 0x02>;
  129. interrupts = <5 8>;
  130. interrupt-parent = <&PIC>;
  131. fsl,cpm-brg = <2>;
  132. fsl,cpm-command = <0x21200000>;
  133. current-speed = <0>; /* Filled in by U-Boot */
  134. };
  135. eth0: ethernet@11a60 {
  136. device_type = "network";
  137. compatible = "fsl,mpc8247-scc-enet",
  138. "fsl,cpm2-scc-enet";
  139. reg = <0x11a60 0x20 0x8300 0x100 0x11390 1>;
  140. local-mac-address = [ 00 00 00 00 00 00 ]; /* Filled in by U-Boot */
  141. interrupts = <43 8>;
  142. interrupt-parent = <&PIC>;
  143. linux,network-index = <0>;
  144. fsl,cpm-command = <0xce00000>;
  145. fixed-link = <0 0 10 0 0>;
  146. };
  147. };
  148. PIC: interrupt-controller@10c00 {
  149. #interrupt-cells = <2>;
  150. interrupt-controller;
  151. reg = <0x10c00 0x80>;
  152. compatible = "fsl,mpc8247-pic", "fsl,pq2-pic";
  153. };
  154. };
  155. };