lite5200.dts 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Lite5200 board Device Tree Source
  4. *
  5. * Copyright 2006-2007 Secret Lab Technologies Ltd.
  6. * Grant Likely <[email protected]>
  7. */
  8. /dts-v1/;
  9. / {
  10. model = "fsl,lite5200";
  11. compatible = "fsl,lite5200";
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. interrupt-parent = <&mpc5200_pic>;
  15. cpus {
  16. #address-cells = <1>;
  17. #size-cells = <0>;
  18. PowerPC,5200@0 {
  19. device_type = "cpu";
  20. reg = <0>;
  21. d-cache-line-size = <32>;
  22. i-cache-line-size = <32>;
  23. d-cache-size = <0x4000>; // L1, 16K
  24. i-cache-size = <0x4000>; // L1, 16K
  25. timebase-frequency = <0>; // from bootloader
  26. bus-frequency = <0>; // from bootloader
  27. clock-frequency = <0>; // from bootloader
  28. };
  29. };
  30. memory@0 {
  31. device_type = "memory";
  32. reg = <0x00000000 0x04000000>; // 64MB
  33. };
  34. soc5200@f0000000 {
  35. #address-cells = <1>;
  36. #size-cells = <1>;
  37. compatible = "fsl,mpc5200-immr";
  38. ranges = <0 0xf0000000 0x0000c000>;
  39. reg = <0xf0000000 0x00000100>;
  40. bus-frequency = <0>; // from bootloader
  41. system-frequency = <0>; // from bootloader
  42. cdm@200 {
  43. compatible = "fsl,mpc5200-cdm";
  44. reg = <0x200 0x38>;
  45. };
  46. mpc5200_pic: interrupt-controller@500 {
  47. // 5200 interrupts are encoded into two levels;
  48. interrupt-controller;
  49. #interrupt-cells = <3>;
  50. compatible = "fsl,mpc5200-pic";
  51. reg = <0x500 0x80>;
  52. };
  53. timer@600 { // General Purpose Timer
  54. compatible = "fsl,mpc5200-gpt";
  55. reg = <0x600 0x10>;
  56. interrupts = <1 9 0>;
  57. fsl,has-wdt;
  58. };
  59. timer@610 { // General Purpose Timer
  60. compatible = "fsl,mpc5200-gpt";
  61. reg = <0x610 0x10>;
  62. interrupts = <1 10 0>;
  63. };
  64. timer@620 { // General Purpose Timer
  65. compatible = "fsl,mpc5200-gpt";
  66. reg = <0x620 0x10>;
  67. interrupts = <1 11 0>;
  68. };
  69. timer@630 { // General Purpose Timer
  70. compatible = "fsl,mpc5200-gpt";
  71. reg = <0x630 0x10>;
  72. interrupts = <1 12 0>;
  73. };
  74. timer@640 { // General Purpose Timer
  75. compatible = "fsl,mpc5200-gpt";
  76. reg = <0x640 0x10>;
  77. interrupts = <1 13 0>;
  78. };
  79. timer@650 { // General Purpose Timer
  80. compatible = "fsl,mpc5200-gpt";
  81. reg = <0x650 0x10>;
  82. interrupts = <1 14 0>;
  83. };
  84. timer@660 { // General Purpose Timer
  85. compatible = "fsl,mpc5200-gpt";
  86. reg = <0x660 0x10>;
  87. interrupts = <1 15 0>;
  88. };
  89. timer@670 { // General Purpose Timer
  90. compatible = "fsl,mpc5200-gpt";
  91. reg = <0x670 0x10>;
  92. interrupts = <1 16 0>;
  93. };
  94. rtc@800 { // Real time clock
  95. compatible = "fsl,mpc5200-rtc";
  96. reg = <0x800 0x100>;
  97. interrupts = <1 5 0 1 6 0>;
  98. };
  99. can@900 {
  100. compatible = "fsl,mpc5200-mscan";
  101. interrupts = <2 17 0>;
  102. reg = <0x900 0x80>;
  103. };
  104. can@980 {
  105. compatible = "fsl,mpc5200-mscan";
  106. interrupts = <2 18 0>;
  107. reg = <0x980 0x80>;
  108. };
  109. gpio@b00 {
  110. compatible = "fsl,mpc5200-gpio";
  111. reg = <0xb00 0x40>;
  112. interrupts = <1 7 0>;
  113. gpio-controller;
  114. #gpio-cells = <2>;
  115. };
  116. gpio@c00 {
  117. compatible = "fsl,mpc5200-gpio-wkup";
  118. reg = <0xc00 0x40>;
  119. interrupts = <1 8 0 0 3 0>;
  120. gpio-controller;
  121. #gpio-cells = <2>;
  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@0 {
  200. reg = <0>;
  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. };
  215. i2c@3d40 {
  216. #address-cells = <1>;
  217. #size-cells = <0>;
  218. compatible = "fsl,mpc5200-i2c","fsl-i2c";
  219. reg = <0x3d40 0x40>;
  220. interrupts = <2 16 0>;
  221. eeprom@50 {
  222. compatible = "atmel,24c02";
  223. reg = <0x50>;
  224. };
  225. };
  226. sram@8000 {
  227. compatible = "fsl,mpc5200-sram";
  228. reg = <0x8000 0x4000>;
  229. };
  230. };
  231. pci@f0000d00 {
  232. #interrupt-cells = <1>;
  233. #size-cells = <2>;
  234. #address-cells = <3>;
  235. device_type = "pci";
  236. compatible = "fsl,mpc5200-pci";
  237. reg = <0xf0000d00 0x100>;
  238. interrupt-map-mask = <0xf800 0 0 7>;
  239. interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3
  240. 0xc000 0 0 2 &mpc5200_pic 0 0 3
  241. 0xc000 0 0 3 &mpc5200_pic 0 0 3
  242. 0xc000 0 0 4 &mpc5200_pic 0 0 3>;
  243. clock-frequency = <0>; // From boot loader
  244. interrupts = <2 8 0 2 9 0 2 10 0>;
  245. bus-range = <0 0>;
  246. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000>,
  247. <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000>,
  248. <0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
  249. };
  250. localbus {
  251. compatible = "fsl,mpc5200-lpb","simple-bus";
  252. #address-cells = <2>;
  253. #size-cells = <1>;
  254. ranges = <0 0 0xff000000 0x01000000>;
  255. flash@0,0 {
  256. compatible = "amd,am29lv652d", "cfi-flash";
  257. reg = <0 0 0x01000000>;
  258. bank-width = <1>;
  259. };
  260. };
  261. };