mucmc52.dts 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. /*
  2. * Manroland mucmc52 board Device Tree Source
  3. *
  4. * Copyright (C) 2009 DENX Software Engineering GmbH
  5. * Heiko Schocher <hs@denx.de>
  6. * Copyright 2006-2007 Secret Lab Technologies Ltd.
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation; either version 2 of the License, or (at your
  11. * option) any later version.
  12. */
  13. /dts-v1/;
  14. / {
  15. model = "manroland,mucmc52";
  16. compatible = "manroland,mucmc52";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. interrupt-parent = <&mpc5200_pic>;
  20. cpus {
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. PowerPC,5200@0 {
  24. device_type = "cpu";
  25. reg = <0>;
  26. d-cache-line-size = <32>;
  27. i-cache-line-size = <32>;
  28. d-cache-size = <0x4000>; // L1, 16K
  29. i-cache-size = <0x4000>; // L1, 16K
  30. timebase-frequency = <0>; // from bootloader
  31. bus-frequency = <0>; // from bootloader
  32. clock-frequency = <0>; // from bootloader
  33. };
  34. };
  35. memory {
  36. device_type = "memory";
  37. reg = <0x00000000 0x04000000>; // 64MB
  38. };
  39. soc5200@f0000000 {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. compatible = "fsl,mpc5200b-immr";
  43. ranges = <0 0xf0000000 0x0000c000>;
  44. reg = <0xf0000000 0x00000100>;
  45. bus-frequency = <0>; // from bootloader
  46. system-frequency = <0>; // from bootloader
  47. cdm@200 {
  48. compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
  49. reg = <0x200 0x38>;
  50. };
  51. mpc5200_pic: interrupt-controller@500 {
  52. // 5200 interrupts are encoded into two levels;
  53. interrupt-controller;
  54. #interrupt-cells = <3>;
  55. compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
  56. reg = <0x500 0x80>;
  57. };
  58. gpt0: timer@600 { // GPT 0 in GPIO mode
  59. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  60. reg = <0x600 0x10>;
  61. interrupts = <1 9 0>;
  62. gpio-controller;
  63. #gpio-cells = <2>;
  64. };
  65. gpt1: timer@610 { // General Purpose Timer in GPIO mode
  66. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  67. reg = <0x610 0x10>;
  68. interrupts = <1 10 0>;
  69. gpio-controller;
  70. #gpio-cells = <2>;
  71. };
  72. gpt2: timer@620 { // General Purpose Timer in GPIO mode
  73. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  74. reg = <0x620 0x10>;
  75. interrupts = <1 11 0>;
  76. gpio-controller;
  77. #gpio-cells = <2>;
  78. };
  79. gpt3: timer@630 { // General Purpose Timer in GPIO mode
  80. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  81. reg = <0x630 0x10>;
  82. interrupts = <1 12 0>;
  83. gpio-controller;
  84. #gpio-cells = <2>;
  85. };
  86. gpio_simple: gpio@b00 {
  87. compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio";
  88. reg = <0xb00 0x40>;
  89. interrupts = <1 7 0>;
  90. gpio-controller;
  91. #gpio-cells = <2>;
  92. };
  93. gpio_wkup: gpio@c00 {
  94. compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup";
  95. reg = <0xc00 0x40>;
  96. interrupts = <1 8 0 0 3 0>;
  97. gpio-controller;
  98. #gpio-cells = <2>;
  99. };
  100. dma-controller@1200 {
  101. compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
  102. reg = <0x1200 0x80>;
  103. interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
  104. 3 4 0 3 5 0 3 6 0 3 7 0
  105. 3 8 0 3 9 0 3 10 0 3 11 0
  106. 3 12 0 3 13 0 3 14 0 3 15 0>;
  107. };
  108. xlb@1f00 {
  109. compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
  110. reg = <0x1f00 0x100>;
  111. };
  112. serial@2000 { /* PSC1 in UART mode */
  113. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  114. reg = <0x2000 0x100>;
  115. interrupts = <2 1 0>;
  116. };
  117. serial@2200 { /* PSC2 in UART mode */
  118. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  119. reg = <0x2200 0x100>;
  120. interrupts = <2 2 0>;
  121. };
  122. serial@2c00 { /* PSC6 in UART mode */
  123. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  124. reg = <0x2c00 0x100>;
  125. interrupts = <2 4 0>;
  126. };
  127. ethernet@3000 {
  128. compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
  129. reg = <0x3000 0x400>;
  130. local-mac-address = [ 00 00 00 00 00 00 ];
  131. interrupts = <2 5 0>;
  132. phy-handle = <&phy0>;
  133. };
  134. mdio@3000 {
  135. #address-cells = <1>;
  136. #size-cells = <0>;
  137. compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio";
  138. reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts
  139. interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
  140. phy0: ethernet-phy@0 {
  141. compatible = "intel,lxt971";
  142. reg = <0>;
  143. };
  144. };
  145. ata@3a00 {
  146. compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata";
  147. reg = <0x3a00 0x100>;
  148. interrupts = <2 7 0>;
  149. };
  150. i2c@3d40 {
  151. #address-cells = <1>;
  152. #size-cells = <0>;
  153. compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
  154. reg = <0x3d40 0x40>;
  155. interrupts = <2 16 0>;
  156. hwmon@2c {
  157. compatible = "ad,adm9240";
  158. reg = <0x2c>;
  159. };
  160. rtc@51 {
  161. compatible = "nxp,pcf8563";
  162. reg = <0x51>;
  163. };
  164. };
  165. sram@8000 {
  166. compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram";
  167. reg = <0x8000 0x4000>;
  168. };
  169. };
  170. pci@f0000d00 {
  171. #interrupt-cells = <1>;
  172. #size-cells = <2>;
  173. #address-cells = <3>;
  174. device_type = "pci";
  175. compatible = "fsl,mpc5200b-pci","fsl,mpc5200-pci";
  176. reg = <0xf0000d00 0x100>;
  177. interrupt-map-mask = <0xf800 0 0 7>;
  178. interrupt-map = <
  179. /* IDSEL 0x10 */
  180. 0x8000 0 0 1 &mpc5200_pic 0 3 3
  181. 0x8000 0 0 2 &mpc5200_pic 0 3 3
  182. 0x8000 0 0 3 &mpc5200_pic 0 2 3
  183. 0x8000 0 0 4 &mpc5200_pic 0 1 3
  184. >;
  185. clock-frequency = <0>; // From boot loader
  186. interrupts = <2 8 0 2 9 0 2 10 0>;
  187. bus-range = <0 0>;
  188. ranges = <0x42000000 0 0x60000000 0x60000000 0 0x10000000
  189. 0x02000000 0 0x90000000 0x90000000 0 0x10000000
  190. 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>;
  191. };
  192. localbus {
  193. compatible = "fsl,mpc5200b-lpb","fsl,mpc5200-lpb","simple-bus";
  194. #address-cells = <2>;
  195. #size-cells = <1>;
  196. ranges = <0 0 0xff800000 0x00800000
  197. 1 0 0x80000000 0x00800000
  198. 3 0 0x80000000 0x00800000>;
  199. flash@0,0 {
  200. compatible = "cfi-flash";
  201. reg = <0 0 0x00800000>;
  202. bank-width = <4>;
  203. device-width = <2>;
  204. #size-cells = <1>;
  205. #address-cells = <1>;
  206. partition@0 {
  207. label = "DTS";
  208. reg = <0x0 0x00100000>;
  209. };
  210. partition@100000 {
  211. label = "Kernel";
  212. reg = <0x100000 0x00200000>;
  213. };
  214. partition@300000 {
  215. label = "RootFS";
  216. reg = <0x00300000 0x00200000>;
  217. };
  218. partition@500000 {
  219. label = "user";
  220. reg = <0x00500000 0x00200000>;
  221. };
  222. partition@700000 {
  223. label = "U-Boot";
  224. reg = <0x00700000 0x00040000>;
  225. };
  226. partition@740000 {
  227. label = "Env";
  228. reg = <0x00740000 0x00020000>;
  229. };
  230. partition@760000 {
  231. label = "red. Env";
  232. reg = <0x00760000 0x00020000>;
  233. };
  234. partition@780000 {
  235. label = "reserve";
  236. reg = <0x00780000 0x00080000>;
  237. };
  238. };
  239. simple100: gpio-controller-100@3,600100 {
  240. compatible = "manroland,mucmc52-aux-gpio";
  241. reg = <3 0x00600100 0x1>;
  242. gpio-controller;
  243. #gpio-cells = <2>;
  244. };
  245. simple104: gpio-controller-104@3,600104 {
  246. compatible = "manroland,mucmc52-aux-gpio";
  247. reg = <3 0x00600104 0x1>;
  248. gpio-controller;
  249. #gpio-cells = <2>;
  250. };
  251. simple200: gpio-controller-200@3,600200 {
  252. compatible = "manroland,mucmc52-aux-gpio";
  253. reg = <3 0x00600200 0x1>;
  254. gpio-controller;
  255. #gpio-cells = <2>;
  256. };
  257. simple201: gpio-controller-201@3,600201 {
  258. compatible = "manroland,mucmc52-aux-gpio";
  259. reg = <3 0x00600201 0x1>;
  260. gpio-controller;
  261. #gpio-cells = <2>;
  262. };
  263. simple202: gpio-controller-202@3,600202 {
  264. compatible = "manroland,mucmc52-aux-gpio";
  265. reg = <3 0x00600202 0x1>;
  266. gpio-controller;
  267. #gpio-cells = <2>;
  268. };
  269. simple203: gpio-controller-203@3,600203 {
  270. compatible = "manroland,mucmc52-aux-gpio";
  271. reg = <3 0x00600203 0x1>;
  272. gpio-controller;
  273. #gpio-cells = <2>;
  274. };
  275. simple204: gpio-controller-204@3,600204 {
  276. compatible = "manroland,mucmc52-aux-gpio";
  277. reg = <3 0x00600204 0x1>;
  278. gpio-controller;
  279. #gpio-cells = <2>;
  280. };
  281. simple206: gpio-controller-206@3,600206 {
  282. compatible = "manroland,mucmc52-aux-gpio";
  283. reg = <3 0x00600206 0x1>;
  284. gpio-controller;
  285. #gpio-cells = <2>;
  286. };
  287. simple207: gpio-controller-207@3,600207 {
  288. compatible = "manroland,mucmc52-aux-gpio";
  289. reg = <3 0x00600207 0x1>;
  290. gpio-controller;
  291. #gpio-cells = <2>;
  292. };
  293. simple20f: gpio-controller-20f@3,60020f {
  294. compatible = "manroland,mucmc52-aux-gpio";
  295. reg = <3 0x0060020f 0x1>;
  296. gpio-controller;
  297. #gpio-cells = <2>;
  298. };
  299. };
  300. };