cm5200.dts 5.6 KB

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