lite5200.dts 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  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. / {
  13. model = "fsl,lite5200";
  14. compatible = "fsl,lite5200";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. cpus {
  18. #address-cells = <1>;
  19. #size-cells = <0>;
  20. PowerPC,5200@0 {
  21. device_type = "cpu";
  22. reg = <0>;
  23. d-cache-line-size = <20>;
  24. i-cache-line-size = <20>;
  25. d-cache-size = <4000>; // L1, 16K
  26. i-cache-size = <4000>; // L1, 16K
  27. timebase-frequency = <0>; // from bootloader
  28. bus-frequency = <0>; // from bootloader
  29. clock-frequency = <0>; // from bootloader
  30. };
  31. };
  32. memory {
  33. device_type = "memory";
  34. reg = <00000000 04000000>; // 64MB
  35. };
  36. soc5200@f0000000 {
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. compatible = "fsl,mpc5200-immr";
  40. ranges = <0 f0000000 0000c000>;
  41. reg = <f0000000 00000100>;
  42. bus-frequency = <0>; // from bootloader
  43. system-frequency = <0>; // from bootloader
  44. cdm@200 {
  45. compatible = "fsl,mpc5200-cdm";
  46. reg = <200 38>;
  47. };
  48. mpc5200_pic: interrupt-controller@500 {
  49. // 5200 interrupts are encoded into two levels;
  50. interrupt-controller;
  51. #interrupt-cells = <3>;
  52. device_type = "interrupt-controller";
  53. compatible = "fsl,mpc5200-pic";
  54. reg = <500 80>;
  55. };
  56. timer@600 { // General Purpose Timer
  57. compatible = "fsl,mpc5200-gpt";
  58. cell-index = <0>;
  59. reg = <600 10>;
  60. interrupts = <1 9 0>;
  61. interrupt-parent = <&mpc5200_pic>;
  62. fsl,has-wdt;
  63. };
  64. timer@610 { // General Purpose Timer
  65. compatible = "fsl,mpc5200-gpt";
  66. cell-index = <1>;
  67. reg = <610 10>;
  68. interrupts = <1 a 0>;
  69. interrupt-parent = <&mpc5200_pic>;
  70. };
  71. timer@620 { // General Purpose Timer
  72. compatible = "fsl,mpc5200-gpt";
  73. cell-index = <2>;
  74. reg = <620 10>;
  75. interrupts = <1 b 0>;
  76. interrupt-parent = <&mpc5200_pic>;
  77. };
  78. timer@630 { // General Purpose Timer
  79. compatible = "fsl,mpc5200-gpt";
  80. cell-index = <3>;
  81. reg = <630 10>;
  82. interrupts = <1 c 0>;
  83. interrupt-parent = <&mpc5200_pic>;
  84. };
  85. timer@640 { // General Purpose Timer
  86. compatible = "fsl,mpc5200-gpt";
  87. cell-index = <4>;
  88. reg = <640 10>;
  89. interrupts = <1 d 0>;
  90. interrupt-parent = <&mpc5200_pic>;
  91. };
  92. timer@650 { // General Purpose Timer
  93. compatible = "fsl,mpc5200-gpt";
  94. cell-index = <5>;
  95. reg = <650 10>;
  96. interrupts = <1 e 0>;
  97. interrupt-parent = <&mpc5200_pic>;
  98. };
  99. timer@660 { // General Purpose Timer
  100. compatible = "fsl,mpc5200-gpt";
  101. cell-index = <6>;
  102. reg = <660 10>;
  103. interrupts = <1 f 0>;
  104. interrupt-parent = <&mpc5200_pic>;
  105. };
  106. timer@670 { // General Purpose Timer
  107. compatible = "fsl,mpc5200-gpt";
  108. cell-index = <7>;
  109. reg = <670 10>;
  110. interrupts = <1 10 0>;
  111. interrupt-parent = <&mpc5200_pic>;
  112. };
  113. rtc@800 { // Real time clock
  114. compatible = "fsl,mpc5200-rtc";
  115. device_type = "rtc";
  116. reg = <800 100>;
  117. interrupts = <1 5 0 1 6 0>;
  118. interrupt-parent = <&mpc5200_pic>;
  119. };
  120. can@900 {
  121. compatible = "fsl,mpc5200-mscan";
  122. cell-index = <0>;
  123. interrupts = <2 11 0>;
  124. interrupt-parent = <&mpc5200_pic>;
  125. reg = <900 80>;
  126. };
  127. can@980 {
  128. compatible = "fsl,mpc5200-mscan";
  129. cell-index = <1>;
  130. interrupts = <2 12 0>;
  131. interrupt-parent = <&mpc5200_pic>;
  132. reg = <980 80>;
  133. };
  134. gpio@b00 {
  135. compatible = "fsl,mpc5200-gpio";
  136. reg = <b00 40>;
  137. interrupts = <1 7 0>;
  138. interrupt-parent = <&mpc5200_pic>;
  139. };
  140. gpio@c00 {
  141. compatible = "fsl,mpc5200-gpio-wkup";
  142. reg = <c00 40>;
  143. interrupts = <1 8 0 0 3 0>;
  144. interrupt-parent = <&mpc5200_pic>;
  145. };
  146. spi@f00 {
  147. compatible = "fsl,mpc5200-spi";
  148. reg = <f00 20>;
  149. interrupts = <2 d 0 2 e 0>;
  150. interrupt-parent = <&mpc5200_pic>;
  151. };
  152. usb@1000 {
  153. compatible = "fsl,mpc5200-ohci","ohci-be";
  154. reg = <1000 ff>;
  155. interrupts = <2 6 0>;
  156. interrupt-parent = <&mpc5200_pic>;
  157. };
  158. dma-controller@1200 {
  159. device_type = "dma-controller";
  160. compatible = "fsl,mpc5200-bestcomm";
  161. reg = <1200 80>;
  162. interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
  163. 3 4 0 3 5 0 3 6 0 3 7 0
  164. 3 8 0 3 9 0 3 a 0 3 b 0
  165. 3 c 0 3 d 0 3 e 0 3 f 0>;
  166. interrupt-parent = <&mpc5200_pic>;
  167. };
  168. xlb@1f00 {
  169. compatible = "fsl,mpc5200-xlb";
  170. reg = <1f00 100>;
  171. };
  172. serial@2000 { // PSC1
  173. device_type = "serial";
  174. compatible = "fsl,mpc5200-psc-uart";
  175. port-number = <0>; // Logical port assignment
  176. cell-index = <0>;
  177. reg = <2000 100>;
  178. interrupts = <2 1 0>;
  179. interrupt-parent = <&mpc5200_pic>;
  180. };
  181. // PSC2 in ac97 mode example
  182. //ac97@2200 { // PSC2
  183. // compatible = "fsl,mpc5200-psc-ac97";
  184. // cell-index = <1>;
  185. // reg = <2200 100>;
  186. // interrupts = <2 2 0>;
  187. // interrupt-parent = <&mpc5200_pic>;
  188. //};
  189. // PSC3 in CODEC mode example
  190. //i2s@2400 { // PSC3
  191. // compatible = "fsl,mpc5200-psc-i2s";
  192. // cell-index = <2>;
  193. // reg = <2400 100>;
  194. // interrupts = <2 3 0>;
  195. // interrupt-parent = <&mpc5200_pic>;
  196. //};
  197. // PSC4 in uart mode example
  198. //serial@2600 { // PSC4
  199. // device_type = "serial";
  200. // compatible = "fsl,mpc5200-psc-uart";
  201. // cell-index = <3>;
  202. // reg = <2600 100>;
  203. // interrupts = <2 b 0>;
  204. // interrupt-parent = <&mpc5200_pic>;
  205. //};
  206. // PSC5 in uart mode example
  207. //serial@2800 { // PSC5
  208. // device_type = "serial";
  209. // compatible = "fsl,mpc5200-psc-uart";
  210. // cell-index = <4>;
  211. // reg = <2800 100>;
  212. // interrupts = <2 c 0>;
  213. // interrupt-parent = <&mpc5200_pic>;
  214. //};
  215. // PSC6 in spi mode example
  216. //spi@2c00 { // PSC6
  217. // compatible = "fsl,mpc5200-psc-spi";
  218. // cell-index = <5>;
  219. // reg = <2c00 100>;
  220. // interrupts = <2 4 0>;
  221. // interrupt-parent = <&mpc5200_pic>;
  222. //};
  223. ethernet@3000 {
  224. device_type = "network";
  225. compatible = "fsl,mpc5200-fec";
  226. reg = <3000 800>;
  227. local-mac-address = [ 00 00 00 00 00 00 ];
  228. interrupts = <2 5 0>;
  229. interrupt-parent = <&mpc5200_pic>;
  230. phy-handle = <&phy0>;
  231. };
  232. mdio@3000 {
  233. #address-cells = <1>;
  234. #size-cells = <0>;
  235. compatible = "fsl,mpc5200-mdio";
  236. reg = <3000 400>; // fec range, since we need to setup fec interrupts
  237. interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
  238. interrupt-parent = <&mpc5200_pic>;
  239. phy0:ethernet-phy@1 {
  240. device_type = "ethernet-phy";
  241. reg = <1>;
  242. };
  243. };
  244. ata@3a00 {
  245. device_type = "ata";
  246. compatible = "fsl,mpc5200-ata";
  247. reg = <3a00 100>;
  248. interrupts = <2 7 0>;
  249. interrupt-parent = <&mpc5200_pic>;
  250. };
  251. i2c@3d00 {
  252. #address-cells = <1>;
  253. #size-cells = <0>;
  254. compatible = "fsl,mpc5200-i2c","fsl-i2c";
  255. cell-index = <0>;
  256. reg = <3d00 40>;
  257. interrupts = <2 f 0>;
  258. interrupt-parent = <&mpc5200_pic>;
  259. fsl5200-clocking;
  260. };
  261. i2c@3d40 {
  262. #address-cells = <1>;
  263. #size-cells = <0>;
  264. compatible = "fsl,mpc5200-i2c","fsl-i2c";
  265. cell-index = <1>;
  266. reg = <3d40 40>;
  267. interrupts = <2 10 0>;
  268. interrupt-parent = <&mpc5200_pic>;
  269. fsl5200-clocking;
  270. };
  271. sram@8000 {
  272. compatible = "fsl,mpc5200-sram","sram";
  273. reg = <8000 4000>;
  274. };
  275. };
  276. pci@f0000d00 {
  277. #interrupt-cells = <1>;
  278. #size-cells = <2>;
  279. #address-cells = <3>;
  280. device_type = "pci";
  281. compatible = "fsl,mpc5200-pci";
  282. reg = <f0000d00 100>;
  283. interrupt-map-mask = <f800 0 0 7>;
  284. interrupt-map = <c000 0 0 1 &mpc5200_pic 0 0 3
  285. c000 0 0 2 &mpc5200_pic 0 0 3
  286. c000 0 0 3 &mpc5200_pic 0 0 3
  287. c000 0 0 4 &mpc5200_pic 0 0 3>;
  288. clock-frequency = <0>; // From boot loader
  289. interrupts = <2 8 0 2 9 0 2 a 0>;
  290. interrupt-parent = <&mpc5200_pic>;
  291. bus-range = <0 0>;
  292. ranges = <42000000 0 80000000 80000000 0 20000000
  293. 02000000 0 a0000000 a0000000 0 10000000
  294. 01000000 0 00000000 b0000000 0 01000000>;
  295. };
  296. };