digsy_mtc.dts 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. /*
  2. * Digsy MTC board Device Tree Source
  3. *
  4. * Copyright (C) 2009 Semihalf
  5. *
  6. * Based on the CM5200 by M. Balakowicz
  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 = "intercontrol,digsy-mtc";
  16. compatible = "intercontrol,digsy-mtc";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. interrupt-parent = <&mpc5200_pic>;
  20. cpus {
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. PowerPC,5200@0 {
  24. device_type = "cpu";
  25. reg = <0>;
  26. d-cache-line-size = <32>;
  27. i-cache-line-size = <32>;
  28. d-cache-size = <0x4000>; // L1, 16K
  29. i-cache-size = <0x4000>; // L1, 16K
  30. timebase-frequency = <0>; // from bootloader
  31. bus-frequency = <0>; // from bootloader
  32. clock-frequency = <0>; // from bootloader
  33. };
  34. };
  35. memory {
  36. device_type = "memory";
  37. reg = <0x00000000 0x02000000>; // 32MB
  38. };
  39. soc5200@f0000000 {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. compatible = "fsl,mpc5200b-immr";
  43. ranges = <0 0xf0000000 0x0000c000>;
  44. reg = <0xf0000000 0x00000100>;
  45. bus-frequency = <0>; // from bootloader
  46. system-frequency = <0>; // from bootloader
  47. cdm@200 {
  48. compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
  49. reg = <0x200 0x38>;
  50. };
  51. mpc5200_pic: interrupt-controller@500 {
  52. // 5200 interrupts are encoded into two levels;
  53. interrupt-controller;
  54. #interrupt-cells = <3>;
  55. compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
  56. reg = <0x500 0x80>;
  57. };
  58. timer@600 { // General Purpose Timer
  59. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  60. reg = <0x600 0x10>;
  61. interrupts = <1 9 0>;
  62. fsl,has-wdt;
  63. };
  64. timer@610 { // General Purpose Timer
  65. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  66. reg = <0x610 0x10>;
  67. interrupts = <1 10 0>;
  68. };
  69. timer@620 { // General Purpose Timer
  70. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  71. reg = <0x620 0x10>;
  72. interrupts = <1 11 0>;
  73. };
  74. timer@630 { // General Purpose Timer
  75. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  76. reg = <0x630 0x10>;
  77. interrupts = <1 12 0>;
  78. };
  79. timer@640 { // General Purpose Timer
  80. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  81. reg = <0x640 0x10>;
  82. interrupts = <1 13 0>;
  83. };
  84. timer@650 { // General Purpose Timer
  85. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  86. reg = <0x650 0x10>;
  87. interrupts = <1 14 0>;
  88. };
  89. timer@660 { // General Purpose Timer
  90. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  91. reg = <0x660 0x10>;
  92. interrupts = <1 15 0>;
  93. };
  94. timer@670 { // General Purpose Timer
  95. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  96. reg = <0x670 0x10>;
  97. interrupts = <1 16 0>;
  98. };
  99. gpio_simple: gpio@b00 {
  100. compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio";
  101. reg = <0xb00 0x40>;
  102. interrupts = <1 7 0>;
  103. gpio-controller;
  104. #gpio-cells = <2>;
  105. };
  106. gpio_wkup: gpio@c00 {
  107. compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup";
  108. reg = <0xc00 0x40>;
  109. interrupts = <1 8 0 0 3 0>;
  110. gpio-controller;
  111. #gpio-cells = <2>;
  112. };
  113. spi@f00 {
  114. compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi";
  115. reg = <0xf00 0x20>;
  116. interrupts = <2 13 0 2 14 0>;
  117. };
  118. usb@1000 {
  119. compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be";
  120. reg = <0x1000 0xff>;
  121. interrupts = <2 6 0>;
  122. };
  123. dma-controller@1200 {
  124. compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
  125. reg = <0x1200 0x80>;
  126. interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
  127. 3 4 0 3 5 0 3 6 0 3 7 0
  128. 3 8 0 3 9 0 3 10 0 3 11 0
  129. 3 12 0 3 13 0 3 14 0 3 15 0>;
  130. };
  131. xlb@1f00 {
  132. compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
  133. reg = <0x1f00 0x100>;
  134. };
  135. serial@2600 { // PSC4
  136. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  137. reg = <0x2600 0x100>;
  138. interrupts = <2 11 0>;
  139. };
  140. serial@2800 { // PSC5
  141. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  142. reg = <0x2800 0x100>;
  143. interrupts = <2 12 0>;
  144. };
  145. ethernet@3000 {
  146. compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
  147. reg = <0x3000 0x400>;
  148. local-mac-address = [ 00 00 00 00 00 00 ];
  149. interrupts = <2 5 0>;
  150. phy-handle = <&phy0>;
  151. };
  152. mdio@3000 {
  153. #address-cells = <1>;
  154. #size-cells = <0>;
  155. compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio";
  156. reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts
  157. interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
  158. phy0: ethernet-phy@0 {
  159. reg = <0>;
  160. };
  161. };
  162. ata@3a00 {
  163. compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata";
  164. reg = <0x3a00 0x100>;
  165. interrupts = <2 7 0>;
  166. };
  167. i2c@3d00 {
  168. #address-cells = <1>;
  169. #size-cells = <0>;
  170. compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
  171. reg = <0x3d00 0x40>;
  172. interrupts = <2 15 0>;
  173. fsl5200-clocking;
  174. rtc@50 {
  175. compatible = "at,24c08";
  176. reg = <0x50>;
  177. };
  178. rtc@68 {
  179. compatible = "dallas,ds1339";
  180. reg = <0x68>;
  181. };
  182. };
  183. sram@8000 {
  184. compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
  185. reg = <0x8000 0x4000>;
  186. };
  187. };
  188. lpb {
  189. compatible = "fsl,mpc5200b-lpb","simple-bus";
  190. #address-cells = <2>;
  191. #size-cells = <1>;
  192. ranges = <0 0 0xff000000 0x1000000>;
  193. // 16-bit flash device at LocalPlus Bus CS0
  194. flash@0,0 {
  195. compatible = "cfi-flash";
  196. reg = <0 0 0x1000000>;
  197. bank-width = <2>;
  198. device-width = <2>;
  199. #size-cells = <1>;
  200. #address-cells = <1>;
  201. partition@0 {
  202. label = "kernel";
  203. reg = <0x0 0x00200000>;
  204. };
  205. partition@200000 {
  206. label = "root";
  207. reg = <0x00200000 0x00300000>;
  208. };
  209. partition@500000 {
  210. label = "user";
  211. reg = <0x00500000 0x00a00000>;
  212. };
  213. partition@f00000 {
  214. label = "u-boot";
  215. reg = <0x00f00000 0x100000>;
  216. };
  217. };
  218. };
  219. };