lite5200.dts 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  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. reg = <0x800 0x100>;
  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 17 0>;
  124. interrupt-parent = <&mpc5200_pic>;
  125. reg = <0x900 0x80>;
  126. };
  127. can@980 {
  128. compatible = "fsl,mpc5200-mscan";
  129. cell-index = <1>;
  130. interrupts = <2 18 0>;
  131. interrupt-parent = <&mpc5200_pic>;
  132. reg = <0x980 0x80>;
  133. };
  134. gpio@b00 {
  135. compatible = "fsl,mpc5200-gpio";
  136. reg = <0xb00 0x40>;
  137. interrupts = <1 7 0>;
  138. interrupt-parent = <&mpc5200_pic>;
  139. };
  140. gpio@c00 {
  141. compatible = "fsl,mpc5200-gpio-wkup";
  142. reg = <0xc00 0x40>;
  143. interrupts = <1 8 0 0 3 0>;
  144. interrupt-parent = <&mpc5200_pic>;
  145. };
  146. spi@f00 {
  147. compatible = "fsl,mpc5200-spi";
  148. reg = <0xf00 0x20>;
  149. interrupts = <2 13 0 2 14 0>;
  150. interrupt-parent = <&mpc5200_pic>;
  151. };
  152. usb@1000 {
  153. compatible = "fsl,mpc5200-ohci","ohci-be";
  154. reg = <0x1000 0xff>;
  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 = <0x1200 0x80>;
  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 10 0 3 11 0
  165. 3 12 0 3 13 0 3 14 0 3 15 0>;
  166. interrupt-parent = <&mpc5200_pic>;
  167. };
  168. xlb@1f00 {
  169. compatible = "fsl,mpc5200-xlb";
  170. reg = <0x1f00 0x100>;
  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 = <0x2000 0x100>;
  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 = <0x2200 0x100>;
  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 = <0x2400 0x100>;
  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 = <0x2600 0x100>;
  203. // interrupts = <2 11 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 = <0x2800 0x100>;
  212. // interrupts = <2 12 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 = <0x2c00 0x100>;
  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 = <0x3000 0x400>;
  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 = <0x3000 0x400>; // 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 = <0x3a00 0x100>;
  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 = <0x3d00 0x40>;
  257. interrupts = <2 15 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 = <0x3d40 0x40>;
  267. interrupts = <2 16 0>;
  268. interrupt-parent = <&mpc5200_pic>;
  269. fsl5200-clocking;
  270. };
  271. sram@8000 {
  272. compatible = "fsl,mpc5200-sram","sram";
  273. reg = <0x8000 0x4000>;
  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 = <0xf0000d00 0x100>;
  283. interrupt-map-mask = <0xf800 0 0 7>;
  284. interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3
  285. 0xc000 0 0 2 &mpc5200_pic 0 0 3
  286. 0xc000 0 0 3 &mpc5200_pic 0 0 3
  287. 0xc000 0 0 4 &mpc5200_pic 0 0 3>;
  288. clock-frequency = <0>; // From boot loader
  289. interrupts = <2 8 0 2 9 0 2 10 0>;
  290. interrupt-parent = <&mpc5200_pic>;
  291. bus-range = <0 0>;
  292. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
  293. 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
  294. 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
  295. };
  296. };