mgsuvd.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. /*
  2. * MGSUVD Device Tree Source
  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 = "MGSUVD";
  15. compatible = "keymile,mgsuvd";
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. cpus {
  19. #address-cells = <1>;
  20. #size-cells = <0>;
  21. PowerPC,852@0 {
  22. device_type = "cpu";
  23. reg = <0>;
  24. d-cache-line-size = <16>;
  25. i-cache-line-size = <16>;
  26. d-cache-size = <8192>;
  27. i-cache-size = <8192>;
  28. timebase-frequency = <0>; /* Filled in by u-boot */
  29. bus-frequency = <0>; /* Filled in by u-boot */
  30. clock-frequency = <0>; /* Filled in by u-boot */
  31. interrupts = <15 2>; /* decrementer interrupt */
  32. interrupt-parent = <&PIC>;
  33. };
  34. };
  35. memory {
  36. device_type = "memory";
  37. reg = <00000000 0x4000000>; /* Filled in by u-boot */
  38. };
  39. localbus@fff00100 {
  40. compatible = "fsl,mpc852-localbus", "fsl,pq1-localbus", "simple-bus";
  41. #address-cells = <2>;
  42. #size-cells = <1>;
  43. reg = <0xfff00100 0x40>;
  44. ranges = <0 0 0xf0000000 0x01000000>; /* Filled in by u-boot */
  45. flash@0,0 {
  46. compatible = "cfi-flash";
  47. reg = <0 0 0x1000000>;
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. bank-width = <1>;
  51. device-width = <1>;
  52. partition@0 {
  53. label = "u-boot";
  54. reg = <0 0x80000>;
  55. };
  56. partition@80000 {
  57. label = "env";
  58. reg = <0x80000 0x20000>;
  59. };
  60. partition@a0000 {
  61. label = "kernel";
  62. reg = <0xa0000 0x1e0000>;
  63. };
  64. partition@280000 {
  65. label = "dtb";
  66. reg = <0x280000 0x20000>;
  67. };
  68. partition@2a0000 {
  69. label = "root";
  70. reg = <0x2a0000 0x500000>;
  71. };
  72. partition@7a0000 {
  73. label = "user";
  74. reg = <0x7a0000 0x860000>;
  75. };
  76. };
  77. };
  78. soc@fff00000 {
  79. compatible = "fsl,mpc852", "fsl,pq1-soc", "simple-bus";
  80. #address-cells = <1>;
  81. #size-cells = <1>;
  82. device_type = "soc";
  83. ranges = <0 0xfff00000 0x00004000>;
  84. PIC: interrupt-controller@0 {
  85. interrupt-controller;
  86. #interrupt-cells = <2>;
  87. reg = <0 24>;
  88. compatible = "fsl,mpc852-pic", "fsl,pq1-pic";
  89. };
  90. cpm@9c0 {
  91. #address-cells = <1>;
  92. #size-cells = <1>;
  93. compatible = "fsl,mpc852-cpm", "fsl,cpm1", "simple-bus";
  94. interrupts = <0>; /* cpm error interrupt */
  95. interrupt-parent = <&CPM_PIC>;
  96. reg = <0x9c0 10>;
  97. ranges;
  98. muram@2000 {
  99. compatible = "fsl,cpm-muram";
  100. #address-cells = <1>;
  101. #size-cells = <1>;
  102. ranges = <0 0x2000 0x2000>;
  103. data@0 {
  104. compatible = "fsl,cpm-muram-data";
  105. reg = <0x800 0x1800>;
  106. };
  107. };
  108. brg@9f0 {
  109. compatible = "fsl,mpc852-brg",
  110. "fsl,cpm1-brg",
  111. "fsl,cpm-brg";
  112. reg = <0x9f0 0x10>;
  113. clock-frequency = <0>; /* Filled in by u-boot */
  114. };
  115. CPM_PIC: interrupt-controller@930 {
  116. interrupt-controller;
  117. #interrupt-cells = <1>;
  118. interrupts = <5 2 0 2>;
  119. interrupt-parent = <&PIC>;
  120. reg = <0x930 0x20>;
  121. compatible = "fsl,cpm1-pic";
  122. };
  123. /* MON-1 */
  124. serial@a80 {
  125. device_type = "serial";
  126. compatible = "fsl,cpm1-smc-uart";
  127. reg = <0xa80 0x10 0x3fc0 0x40>;
  128. interrupts = <4>;
  129. interrupt-parent = <&CPM_PIC>;
  130. fsl,cpm-brg = <1>;
  131. fsl,cpm-command = <0x0090>;
  132. current-speed = <0>; /* Filled in by u-boot */
  133. };
  134. ethernet@a40 {
  135. device_type = "network";
  136. compatible = "fsl,mpc866-scc-enet",
  137. "fsl,cpm1-scc-enet";
  138. reg = <0xa40 0x18 0x3e00 0x100>;
  139. local-mac-address = [ 00 00 00 00 00 00 ]; /* Filled in by u-boot */
  140. interrupts = <28>;
  141. interrupt-parent = <&CPM_PIC>;
  142. fsl,cpm-command = <0x80>;
  143. fixed-link = <0 0 10 0 0>;
  144. };
  145. };
  146. };
  147. };