cm5200.dts 6.6 KB

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