lite5200.dts 7.9 KB

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