lite5200.dts 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. /*
  2. * Lite5200 board Device Tree Source
  3. *
  4. * Copyright 2006-2007 Secret Lab Technologies Ltd.
  5. * Grant Likely <grant.likely@secretlab.ca>
  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 = "fsl,lite5200";
  15. compatible = "fsl,lite5200";
  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,mpc5200-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,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,mpc5200-pic";
  55. reg = <0x500 0x80>;
  56. };
  57. timer@600 { // General Purpose Timer
  58. compatible = "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,mpc5200-gpt";
  65. reg = <0x610 0x10>;
  66. interrupts = <1 10 0>;
  67. };
  68. timer@620 { // General Purpose Timer
  69. compatible = "fsl,mpc5200-gpt";
  70. reg = <0x620 0x10>;
  71. interrupts = <1 11 0>;
  72. };
  73. timer@630 { // General Purpose Timer
  74. compatible = "fsl,mpc5200-gpt";
  75. reg = <0x630 0x10>;
  76. interrupts = <1 12 0>;
  77. };
  78. timer@640 { // General Purpose Timer
  79. compatible = "fsl,mpc5200-gpt";
  80. reg = <0x640 0x10>;
  81. interrupts = <1 13 0>;
  82. };
  83. timer@650 { // General Purpose Timer
  84. compatible = "fsl,mpc5200-gpt";
  85. reg = <0x650 0x10>;
  86. interrupts = <1 14 0>;
  87. };
  88. timer@660 { // General Purpose Timer
  89. compatible = "fsl,mpc5200-gpt";
  90. reg = <0x660 0x10>;
  91. interrupts = <1 15 0>;
  92. };
  93. timer@670 { // General Purpose Timer
  94. compatible = "fsl,mpc5200-gpt";
  95. reg = <0x670 0x10>;
  96. interrupts = <1 16 0>;
  97. };
  98. rtc@800 { // Real time clock
  99. compatible = "fsl,mpc5200-rtc";
  100. reg = <0x800 0x100>;
  101. interrupts = <1 5 0 1 6 0>;
  102. };
  103. can@900 {
  104. compatible = "fsl,mpc5200-mscan";
  105. interrupts = <2 17 0>;
  106. reg = <0x900 0x80>;
  107. };
  108. can@980 {
  109. compatible = "fsl,mpc5200-mscan";
  110. interrupts = <2 18 0>;
  111. reg = <0x980 0x80>;
  112. };
  113. gpio@b00 {
  114. compatible = "fsl,mpc5200-gpio";
  115. reg = <0xb00 0x40>;
  116. interrupts = <1 7 0>;
  117. };
  118. gpio@c00 {
  119. compatible = "fsl,mpc5200-gpio-wkup";
  120. reg = <0xc00 0x40>;
  121. interrupts = <1 8 0 0 3 0>;
  122. };
  123. spi@f00 {
  124. compatible = "fsl,mpc5200-spi";
  125. reg = <0xf00 0x20>;
  126. interrupts = <2 13 0 2 14 0>;
  127. };
  128. usb@1000 {
  129. compatible = "fsl,mpc5200-ohci","ohci-be";
  130. reg = <0x1000 0xff>;
  131. interrupts = <2 6 0>;
  132. };
  133. dma-controller@1200 {
  134. compatible = "fsl,mpc5200-bestcomm";
  135. reg = <0x1200 0x80>;
  136. interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
  137. 3 4 0 3 5 0 3 6 0 3 7 0
  138. 3 8 0 3 9 0 3 10 0 3 11 0
  139. 3 12 0 3 13 0 3 14 0 3 15 0>;
  140. };
  141. xlb@1f00 {
  142. compatible = "fsl,mpc5200-xlb";
  143. reg = <0x1f00 0x100>;
  144. };
  145. serial@2000 { // PSC1
  146. compatible = "fsl,mpc5200-psc-uart";
  147. cell-index = <0>;
  148. reg = <0x2000 0x100>;
  149. interrupts = <2 1 0>;
  150. };
  151. // PSC2 in ac97 mode example
  152. //ac97@2200 { // PSC2
  153. // compatible = "fsl,mpc5200-psc-ac97";
  154. // cell-index = <1>;
  155. // reg = <0x2200 0x100>;
  156. // interrupts = <2 2 0>;
  157. //};
  158. // PSC3 in CODEC mode example
  159. //i2s@2400 { // PSC3
  160. // compatible = "fsl,mpc5200-psc-i2s";
  161. // cell-index = <2>;
  162. // reg = <0x2400 0x100>;
  163. // interrupts = <2 3 0>;
  164. //};
  165. // PSC4 in uart mode example
  166. //serial@2600 { // PSC4
  167. // compatible = "fsl,mpc5200-psc-uart";
  168. // cell-index = <3>;
  169. // reg = <0x2600 0x100>;
  170. // interrupts = <2 11 0>;
  171. //};
  172. // PSC5 in uart mode example
  173. //serial@2800 { // PSC5
  174. // compatible = "fsl,mpc5200-psc-uart";
  175. // cell-index = <4>;
  176. // reg = <0x2800 0x100>;
  177. // interrupts = <2 12 0>;
  178. //};
  179. // PSC6 in spi mode example
  180. //spi@2c00 { // PSC6
  181. // compatible = "fsl,mpc5200-psc-spi";
  182. // cell-index = <5>;
  183. // reg = <0x2c00 0x100>;
  184. // interrupts = <2 4 0>;
  185. //};
  186. ethernet@3000 {
  187. compatible = "fsl,mpc5200-fec";
  188. reg = <0x3000 0x400>;
  189. local-mac-address = [ 00 00 00 00 00 00 ];
  190. interrupts = <2 5 0>;
  191. phy-handle = <&phy0>;
  192. };
  193. mdio@3000 {
  194. #address-cells = <1>;
  195. #size-cells = <0>;
  196. compatible = "fsl,mpc5200-mdio";
  197. reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts
  198. interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
  199. phy0: ethernet-phy@1 {
  200. reg = <1>;
  201. };
  202. };
  203. ata@3a00 {
  204. compatible = "fsl,mpc5200-ata";
  205. reg = <0x3a00 0x100>;
  206. interrupts = <2 7 0>;
  207. };
  208. i2c@3d00 {
  209. #address-cells = <1>;
  210. #size-cells = <0>;
  211. compatible = "fsl,mpc5200-i2c","fsl-i2c";
  212. reg = <0x3d00 0x40>;
  213. interrupts = <2 15 0>;
  214. fsl5200-clocking;
  215. };
  216. i2c@3d40 {
  217. #address-cells = <1>;
  218. #size-cells = <0>;
  219. compatible = "fsl,mpc5200-i2c","fsl-i2c";
  220. reg = <0x3d40 0x40>;
  221. interrupts = <2 16 0>;
  222. fsl5200-clocking;
  223. };
  224. sram@8000 {
  225. compatible = "fsl,mpc5200-sram";
  226. reg = <0x8000 0x4000>;
  227. };
  228. };
  229. pci@f0000d00 {
  230. #interrupt-cells = <1>;
  231. #size-cells = <2>;
  232. #address-cells = <3>;
  233. device_type = "pci";
  234. compatible = "fsl,mpc5200-pci";
  235. reg = <0xf0000d00 0x100>;
  236. interrupt-map-mask = <0xf800 0 0 7>;
  237. interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3
  238. 0xc000 0 0 2 &mpc5200_pic 0 0 3
  239. 0xc000 0 0 3 &mpc5200_pic 0 0 3
  240. 0xc000 0 0 4 &mpc5200_pic 0 0 3>;
  241. clock-frequency = <0>; // From boot loader
  242. interrupts = <2 8 0 2 9 0 2 10 0>;
  243. bus-range = <0 0>;
  244. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
  245. 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
  246. 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
  247. };
  248. };